I want to have my Arduino control several SPI slave devices, among them a 74HC595 shift register. I've having some trouble understanding how to properly handle communication – I get that the Slave Select (SS) should be tied to the Register Clock in so that it is enabled when low, but wouldn't the parallel output keep changing when sending serial data to other SPI slaves (having SS high)?
74HC595 sharing SPI data line
74hc595arduinoserialspi
Related Topic
- Electrical – Serial Peripheral Interface – multi slave question
- Electronic – arduino – safely toggle the CS pin without sending any data
- Electrical – Controlling MAX31855 via SPI with Verilog from FPGA
- Electrical – Feedback on daisy chained SPI Sensors
- Electronic – Is the SPI multiplexing design correct
Best Answer
No, the outputs won't change, even though the contents of the internal shift register will be changing. You just need to make sure that you shift in the correct data before the next time you strobe the output latches.