Question
STM32F407xx SPI Slave usage - Polling method.
Posted on July 09, 2016 at 08:03
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.cThe 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,