Interfacing one logic family with another

Thread Starter

electrophile

Joined Aug 30, 2013
167
Would the interfacing in the attached image work? The buffer and OR gate are LVC family chips. The MCU input is from an Atmega328 AVR. VHC is apparently a speed upgrade for the HC family. Everything is powered with a 5V supply.

 
Last edited:

Papabravo

Joined Feb 24, 2006
21,225
If all chips run from a VCC of +5V including the AVR then it will be fine. You should have a pullup resistor on the input to the LVC buffer to prevent it from oscillating when the switch is open.
 

Thread Starter

electrophile

Joined Aug 30, 2013
167
Did you check the datasheets for these devices and compare their input/output voltage specifications?
Yep! they do seem to all operate within the specs. Did some more research on this and the LVC is designed to run with 3.3V supplies (though quite a few now specify that they can also be powered with 5V) and hence its Voh is at 2.4V and the Vih of the VHC is at 3.5V. Hence in a mixed environment this may not work. However since everything is powered with 5V and the LVC are 5V tolerant, there shouldn't be a problem in this specific case.
If all chips run from a VCC of +5V including the AVR then it will be fine. You should have a pullup resistor on the input to the LVC buffer to prevent it from oscillating when the switch is open.
Thanks. That helps!
 

hp1729

Joined Nov 23, 2015
2,304
Would the interfacing in the attached image work? The buffer and OR gate are LVC family chips. The MCU input is from an Atmega328 AVR. VHC is apparently a speed upgrade for the HC family. Everything is powered with a 5V supply.

.
Yes, pullup resistor on the LVC input. Check your data sheets. The LVC can drive 24 mA to either rail. The VHC is not needed and may be an open drain output.
 
Top