cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303 UART 3 receiver hang without RX interrupt after run 1-2 hours.

Jiannong Zhou
Associate II

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

11 REPLIES 11

RXNE is RX Not Empty, so indicates data available.

O​RE suggests you missed the service window, ie RXNE already signaling and more data arrives with no place to put it.

C​heck that you don't have blocking code in a higher priority interrupt or callbacks.

K​eep handlers very quick/cheap and put them in a group that can preempt slower and less critical ones.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Jiannong Zhou
Associate II

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