STM32 UART DMA RX/TX
Tilen MAJERLE
ST Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
on 2020-08-25 5:16 AM
STM32 UART DMA RX/TX
This is an application note and contains a list of examples about 2 distinct topics:
- Receiving data with UART and DMA when application does not know in advance size of bytes to be received
- Transmitting data with UART and DMA to avoid CPU stalling and use CPU for other purposes
FOR THE FULL ARTICLE, EXAMPLES AND RESOURCES, PLEASE VISIT THE PROJECT'S GITHUB PAGE ON THIS LINK. IT IS FREE AND OPEN FOR ALL.
Labels:
Comments
CWang.16
Associate
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-04
3:13 PM
Have STPM32H7 CPU running in 108 Mhz, and UART1 pull off PLL3 @50 Mhz, set baud rate at 3375000 with 8x oversampling rate.
Do see the Tx signal by DMA (303 ns each baud ) out to device and replied with about 302 ns baud, signal is clean on the scope, however, the DMA Rx never catch anything. Both are working fine when it is half the baud rate( 1687500 with 16x oversampling ).
What else need to change for DMA Rx?