I have a CPLD (3.3V) and a CPU (+5V), the level shifter SN74ALVCH164245 is between them
CPLD(3.3V)--A Port of level shifter ---B Port of level shifter---CPU(5V)
At first CPU wirte data "0" to CPLD,a pin of the level shifter is outputing a "0" to CPLD
then CPU read data, the CPLD change direction quicker than level shifter,
CPLD output a "1", at this moment , the direction of level shift has not turn over,it is still outputing a "0", so there is a contention, there is a short cut on this pin, "0" is connected to "1"outputed by the CPLD , will this damage the IO port ? Can it work safely for a long time?
I heard some IC designer say that the IO pin often has pullup and pulldown resitors and clamp diodes inside,it will limit the current and voltage, so it is safe. He also says these kind of contention is very common, IC designers have considered it. Is it true?
best regards
koushan