STM32F303 UART 3 receiver hang without RX interrupt after run 1-2 hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-08-31 6: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
- Labels:
-
STM32F3 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-02 7: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-11 3: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

- « Previous
-
- 1
- 2
- Next »