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

SPI master and slave loop back test, but the slave is receive 0x00 bytes at all

Hi everyone,

I am using NRF52832 and I use SPI as communication protocol. I check my SPI master by connect its MOSI and MISO pins together, and it works correctly. Now I want to check my SPI slave. I connect SPI slave and SPI master as below:

SPI master------SPI slave
MOSI-------------MOSI
MISO-------------MISO
SCK--------------SCK
CSN--------------CSN

When I send the string "Nordic is the best" from SPI master to SPI slave, all slave bytes received i s 20 0x00 bytes. Can you help me please? Thanks for reading!

Related