3 CS in the same SPI BUS


#1

Hi everyone,

Well, i need to subscribe in a SPI BUS three different Chip Selects. So what i have is one “master” and three “slaves” in the same BUS. How can i do that?

Best regards,

Alfonso


#2

I don’t remember the exact syntax but when setting up the SPI bus you should set it up so that the bus APIs don’t control the CS. Instead, you will need to manually control the three CS lines using the GPIO APIs.