??? 08/01/05 23:37 Read: times |
#98644 - HC vs HCT vs TTL Responding to: ???'s previous message |
Just a-wondering.
What is the micro's VCC? What is the HC165's VCC? Here's a lesson learned. I did a USB device and the micro was powered by 3.3V downregulated from the USB 5V. The micro has LVTTL port outs and I was bitbanging an 'HC595 shift register. Originally the 'HC595 was powered from the 3.3V rail but I decided to minimize draw on that regulator so I powered it from the raw USB 5V. That USB 5V can be as high as 5.25V or more. The micro outputs switched between essentially ground and the 3.3V rail, but since the 'HC595 input thresholds vary with its VCC, when you have a high-ish 5V, that threshold can be greater than 3.3V. In other words, never a valid high! Changing to an 'HCT595, with TTL thresholds (2.4V high) fixed the problem. -a |