How to properly restart UART+DMA receiver - because it stops receiving characters ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-16 3:38 PM
Hello,
I have written UART+DMA receiving code under CubeIDE. After few days, receive process stops receiving characters from UART. I can confirm with the oscilloscope that the GSM module is responding properly to At queries, but nothing is received in the code.
Has anyone spotted something similar?
How to properly restart UART (it seems like a possible solution for now) ?
Thanks in advance,
regards,
bully.
- Labels:
-
DMA
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-16 10:42 PM
Do you handle properly the UART errors?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-16 11:15 PM
Hello,
I recommend reviewing this UART-DMA code. It may help to robust your DMA communication.
