Explorable with two devices on same SPI


The short answer is “yes”. But you usually pass the CS pin to whichever library is communicating with each device and let the library toggle the pin for you.

Please tell us more about these two devices:

What are they?

Are they the same?

Which library / libraries are you using to communicate with them?

Can you share the start of your code, where you “begin” SPI and the two devices?

Where does it fail?