STM32H750 DMA HAL_UART_Receive_DMA acting oddly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-24 9:49 AM
Solved! Go to Solution.
- Labels:
-
STM32CubeMCUPackages (Cube FW)
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-24 12:50 PM
> Why would the DMA counter increase but not the memory buffer contents?
Mind the cache. Check that the destination memory address can be accessed by the DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-24 12:50 PM
> Why would the DMA counter increase but not the memory buffer contents?
Mind the cache. Check that the destination memory address can be accessed by the DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 2:08 PM
@Pavel A. wrote:> Why would the DMA counter increase but not the memory buffer contents?
Mind the cache. Check that the destination memory address can be accessed by the DMA.
Thanks, I think it was this. I also got a lot of help from this:
DMA is not working on STM32H7 devices - STMicroelectronics Community
I moved DMA buffers to a fixed location and made a new MPU region with cache disabled.
