2021-06-04 12:04 AM
If the H7 HAL_SPI driver function HAL_SPI_TransmitReceive(......) is called in my main()
,It runs correctly, I can transmit and receive data correctly. But it is called in my EXTI9_5_IRQHandler() interrupt , It runs dead loop, and can't return.
2021-06-04 8:14 AM
Calling blocking functions in interrupts is not ideal, but you can do it as long as the systick handler priority is higher (numerically lower) than the interrupt you're currently in.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.