Hi,
I found one opensource KiCAD project and I want to modify schematics and PCB files a little bit. By default ERC returns four “Pins of type Power output and Tri-state are connected” errors:
If I remove PWR_FLAG, those four errors disappear but another error appeared: “Input pin not driven by any Output Power pins”, the problem is with those B4 to B7 pins.
How to solve this problem? The connection is valid for this 74LVC234 IC.
It’s an interesting issue. The '243 and '245 types are transceivers with tri-state capability.
Perhaps it would be more correct to define the data pins as bidirectional instead?
In general, yes (given that CE is tied low so the high Z state will never be invoked), but here the direction pin is also tied low. Depends quite how bespoke you want to be!
ERC is just a simple comparison of pintypes according to the matrix shown by JamesJ. It does not have spice like features. there is no model in KiCad for the 74LVC245, and KiCad does not know how the direction and Chip Enable influence the behavior of the other pins. But you are smarter, and can disable some of those warnings once you have confirmed that the circuit works as intended.
Some people have the opinion that ERC is not powerful enough to actually be useful, and they just never run ERC.
Long ago I was taught that connecting tri-state pins of a '245 directly to power was dangerous design. 10k pull down resistors were the approved approach.
This is what Ti “prints” in their LVxx user manual:
Proper Termination of Unused Inputs and Bus Hold
A characteristic of all CMOS input structures is that any unused inputs should not be left floating; they should be tied high to
VCC or low to GND via a resistor. The value of the resistor should be approximately 1kΩ. If the inputs are not tied high or low
but are left floating, excessive output glitching or oscillations can result due to induced voltage transients on the parasitic lead
inductance inherent to the device input and output structure.
Source, page 43 of:
I also like the idea of the bus hold feature added to devices with an extra H in their type number.