This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN74HCS594-Q1: Need the device sample code to help customer develop the system

Part Number: SN74HCS594-Q1

Hi team

My customer is using the chip to achieve LED control I would like to ask that if we have sample codes for them to develop the device? I do not see some example codes in datasheet or E2E forum, so we may need your help to provide some example codes, thank you..

  • Example code for '595 shift registers can be found everywhere on the internet. (The only difference between the '595 and the '594 is the OE/RCLR pin.)

    pseudo code to set all eight outputs:

    for x in (QH,QG,QF,QE,QD,QC,QB,QA)

    output to SER the desired value of bit x

    output to SRCLK high, then output to SRCLK low

    output to RCLK high, then output to RCLK low

  • Hi Clemens,

    Thank you. Since there are some types of codes on the internet, could you please help to provide me an example from TI? It will convince customer and they could use it to develop the device, thank you.

  • Hello Zirui,

    Our team doesn't provide code. This will have to be done by the customer with their specific MCU or processor in their particular coding language and development environment. It will also depend on the configuration of the hardware.

    I'm happy to answer any specific questions you have in regards to using the SN74HCS594-Q1 -- is there something that's problematic about this device for the customer? What are they trying to do with the device?