AnsweredAssumed Answered

STM32F407xx SPI Slave usage - Polling method.

Question asked by Ch.Pradeep on Jul 9, 2016
Latest reply on Aug 8, 2016 by Clive One
I am working on establishing SPI communication between STM32F407ZET6 and NRF52832 chipsets.

Currently, I am configuring STM32F407ZET6 is the slave as I need to send the data continuously from NRF52832.

I found code in github for configuring STM32F407xx as master, not as slave.
https://github.com/g4lvanix/STM32F4-examples/blob/master/SPI/main.c

The main function in this example continuously sends SPI data. In the same way, if you could show me how I can configure SPI slave and also continuously check for arrived data, it will be great. I am going to use polling method.

I know there is example code in spi standard peripheral drivers from ST that use interrupt method, but I am looking for polling method, that continuously check for arrived data.

Rgds,



Outcomes