Help with M74HC595B1 shift register

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
Not sure where I am going wrong here. No matter what data I send the shift register all the outputs are high. In the example below I would expect only one output to be high but all are high.

The only way I can get the outputs to go low is to send all zeros in the data.

upload_2018-2-18_19-55-2.png

upload_2018-2-18_19-56-31.png
 

Papabravo

Joined Feb 24, 2006
22,082
The shift register and the output register operate independently. The procedure is to clock 8 bits of data into the shift register. Then clock 8 bits of data from the shift register to the output register. In this way the transient state of the shift register does not show up in the output register.

You schematic is faulty and misleading because it shows the shift register clock and the parallel output register clock connected together with no driving source. Read datasheets carefully you must -- young Jedi!

Your default assumption must be that the datasheet is correct and the error is one of understanding.
 

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
Thanks. Yeah I think I got it now. Or at least getting closer. I know have an issue with an output or two not lighting when I expect but need to investigate further
 

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
OK I modified my circuit to have separate clocks. What I do now is to clock in the 8 bits on SRClock then Clock in te result to the register with RClock. All is working as expected except,


Here where no outputs go high

upload_2018-2-19_16-44-49.png

And here where QF and QE both go high simultaneously.
upload_2018-2-19_16-46-45.png


upload_2018-2-19_16-37-49.png
 
Top