Question
STM32F411 SPI RXNE bit is automatically clear
I'm very first to embedded programming, i have written a application using SPI protocol to communicate with 2 STM32F411 broads. And I got trouble in slave code, when the data from the master are sent to slave, then slave RXNE bit is set and go to SPI1_IRQHandler but if i go to HAL_SPI_IRQHandler(&hspi1), this bit is automatically clear while DR is still have data ? Do i need to check anything ? Or Can you tell some bugs possibly happen in my application ? Tks you so much .

