receive data uart with DMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-11 07:13 AM
I am trying to receive data over usart using dma with LL. I'm stuck with this for one week. I need help please.
- Labels:
-
DMA
-
STM32F4 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-13 04:38 AM - edited ‎2023-11-20 08:31 AM
My bad, I did not take the screenshot at the right time. Here are the registers, TX is working, RX is empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-13 05:31 AM
Okay, so if DMA1_Stream5's NDTR and both address registers (PAR and M0AR) are zero, you obviously don't write into them, do you. So how could it work?
Please try to check the registers yourself and try to figure out what's going on. You can step through the program while observing the registers. Decimal display of registers is rarely useful, too.
JW
- « Previous
-
- 1
- 2
- Next »