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

rpi uses spi to communicate with nrf52840 and missed transmission problem

I am using raspberry pi to communicate with nrf52840
My rpi is used as msater, nrf52840 is used as slave
My nrf52840 is implemented as SPI slave under zephyr OS
At present, I found that when rpi uses spi to transfer data to nrf52840, there will be a problem that the transfer is not successful
I wonder if the frequency of my nrf52840 SPI and rpi SPI is not the same
I want to ask what is the SPI default frequency of nrf52840?

I can't find how much it is.
I only see the initialization function, but there is no place to set the frequency


So I want to change the frequency of my RPi SPI

The current settings of my rpi are as follows

Or how can I set the SPI slave frequency of my nrf52840 to 976000?

My nrf52840 SPI slave on Zephyr OS is set as follows

Thank,

Po-I