Hello,
I'm trying to use th nRF52832 as a slave SPI device but in the examples "spis" I see the firmware uses DMA.
Can I use it without DMA?
Also, what is the difference between SPIS1 and SPIS0?
Hello,
I'm trying to use th nRF52832 as a slave SPI device but in the examples "spis" I see the firmware uses DMA.
Can I use it without DMA?
Also, what is the difference between SPIS1 and SPIS0?
Hi
Sorry I didn't answer your other question initially. SPIS0 and SPIS1 are identical, they are just different instances of the SPI slave interface, as you can configure multiple SPI instances to run simultaneously.
The reason the SPI master and slave are different peripherals in the nRF52832 is that the SPIM contains multiple other key features, like transfer from PPI, and post-incrementation of buffer addresses and repeated transfers. You can read more on these differences in the Master and Slave driver documentation respectively.
Best regards,
Simon
Hi
Sorry I didn't answer your other question initially. SPIS0 and SPIS1 are identical, they are just different instances of the SPI slave interface, as you can configure multiple SPI instances to run simultaneously.
The reason the SPI master and slave are different peripherals in the nRF52832 is that the SPIM contains multiple other key features, like transfer from PPI, and post-incrementation of buffer addresses and repeated transfers. You can read more on these differences in the Master and Slave driver documentation respectively.
Best regards,
Simon