This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 SPI interface with 3 SPI slaves advice

Hi, I am after a bit of advice regarding the SPI interface between a nRF52832 acting as a master, and 3 slave devices. I only need to communicate with one SPI device at a time. I am designing the PCB at the moment so can go one of two ways;

1 - First idea is to create a shared SPI daisy chain, so have 1 SPI instance with the SDI, SDO, SCK pins shared between all 3 slaves. Each slave would have its own CS. This will take up only 6 GPIO, but my crammed PCB would need some more vias and traces on inner layers to route between all the connections.

2 - I see you can have SPI 3 instances, so maybe I could have a SDI, SDO, SCK and CS for each device. This would take up 12 GPIO, but I have enough free to do this. Also the way the sensors are spread around the nRF52832 this would be easier to route with no vias needed.

Basically are there any pitfalls to option 2, I would be quite confident with option 1 as I have done this with PIC devices before that have only one SPI core.

Thanks in advance,

Phil

Related