2022-08-31 06:33 AM
I am using my boards with STM32F303VBT6, There is a UART 3 hang after run for 1-2 hours. There is no UART interrupt of the receiver. I monitored the RS232 signal is there.
After reset the receiver board, the receiving date can be recovered.
What is the possible reason to cause no UART 3 interrupt?
Best regards,
Jiannong
2022-09-02 07:25 PM
RXNE is RX Not Empty, so indicates data available.
ORE suggests you missed the service window, ie RXNE already signaling and more data arrives with no place to put it.
Check that you don't have blocking code in a higher priority interrupt or callbacks.
Keep handlers very quick/cheap and put them in a group that can preempt slower and less critical ones.
2022-09-11 03:22 AM
Hi Tesla,
Now I cleared these two bits when each interrupt routine calls. At least the communication does nots stop.
I need to do more detailed investigation to find which higher priority interrupt or callbacks to cause this issue.
Thank you so much for your advice.
Thanks,
Jiannong