2026-01-13 9:15 AM - last edited on 2026-01-13 9:29 AM by Andrew Neil
I am using STM32U575 Nucleo development board and I am trying to configure DMA through STMCube IDE. I have configured the DMA and generated code through it. Added required code but I am not getting data on serial through DMA. Is there any alternate way to get data on serial using DMA?
2026-01-13 9:23 AM
Maybe there is no data coming in.
Maybe the DMA can't access the memory where the buffer is.
Maybe you haven't called the function to read the data.
I suggest following an existing example or showing your code.
2026-01-13 9:28 AM
Welcome to the forum.
For best results, see How to write your question to maximize your chances to find a solution.
@nehaEmerson-123 wrote:I am not getting data on serial through DMA
How are you testing that?
Before adding the complications of DMA, have you got it working using just a basic HAL_UART_Transmit ?
You should find examples of UART comms with & without DMA via Cube MX
2026-01-13 9:28 AM
From where I can get existing example?
2026-01-13 9:29 AM
Yes I was able to get using basic HAL_UART_Transmit.
2026-01-13 9:31 AM
I will check the examples. Thanks @Andrew Neil.
2026-01-13 9:32 AM
Using the Example Selector in STM32CubeMX is probably the easiest way. Here is a relevant example:
2026-01-13 9:35 AM
Thanks @TDK.