Hi all,
I'm using 2 x 14 pin 74HC164Ns, cascaded together, to operate an LCD, 3 LEDs and a Piezo sounder. Controlled by a PIC16F874. Running at 4MHz.
My problem is: when I write to the shift registers, I get a clicking sound on the Piezo, and flashing on the LEDs. The LCD is unaffected as I'm driving the en input directly from the PIC.
The PCB has already been designed and manufactured, so I am a bit stuck. Even toggling the clear input on the shift register doesn't solve the problem.
Ideally I should have used a shift register with tri state outputs such as the 595. However I am stuck with making what I have here work.
Possible solutions:
a) run the PIC at a higher speed?
b) fit a small filter to my LED and Piezo outputs (which are on flying leads) so they ignore these very short signals?
I'd appreciate your comments on the above - many thanks.
Phil