Hi there,
I have got a small problem - either in my understanding of the documentation or with the documentation itself [www.ti.com/lit/ds/symlink/sn74hc595.pdf] - only I will use the names of the pins with inverted functionality without overlines [i.e. by writing "SRCLR high" I mean, that "\overline{SRCL}" is high].
Regarding my setup: I use an Arduino Uno at 5V and 16MHz [Atmega328p] to control a GM1803XYF E4 SN74HC595N.
My findings are:
- When 1:
- OE low, RCLK high, SRCLK high, SRCLR high and 0xff on the outputs
- I can now make SRCLR low, RCLK low, RCLK high -> 0x00 at outputs [which is fine]
Following that I can make SRCLR high, RCLK low, RCLK high -> 0xff at outputs [which is unexpected]
- When 2:
- OE low, RCLK high, SRCLK low, SRCLR high and 0xff on the outputs
- I can now make SRCLR low, RCLK low, RCLK high -> 0x00 at outputs [which is fine]
Following that I can make SRCLR high, RCLK low, RCLK high -> 0x00 at outputs [which is expected]
Is it correct that SRCLK has to be low for SRCLR to have a permanent effect? Did I not read so in the documentation? Are my parts faulty? Or did I do something wrong?
I hope, I could make myself sufficiently clear - if not, please don't hesitate to ask anything.
Best regards,
Johannes