Skip to main content
Associate
Jan 13, 2026 5:15 PM UTC
Question

Nucleo-U575: Not getting serial output data with DMA

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?

7 replies

TDK
Jan 13, 2026 5:23 PM UTC

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
Jan 13, 2026 5:28 PM UTC

From where I can get existing example?

TDK
Jan 13, 2026 5:32 PM UTC

Using the Example Selector in STM32CubeMX is probably the easiest way. Here is a relevant example:

TDK_0-1768325553374.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
Jan 13, 2026 5:28 PM UTC

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

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
Jan 13, 2026 5:29 PM UTC

Yes I was able to get using basic HAL_UART_Transmit.

Associate
Jan 13, 2026 5:31 PM UTC

I will check the examples. Thanks @Andrew Neil.