Resolved! When will the SPI_SR_RXNE bit be set to 0?
I'm using SPI on STM32F407VGT6 This is the code I use to check the state of the SPI_SR_RXNE bit:This is the code for the LIS3DSH accelerometer, when I send data to the accelerometer in response the accelerometer sends data to the Microcontroller.This...