cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 MDMA for UART DMA

farukisiker
Associate III

Hello,

I would like to transfer 3 linked list blocks over UART DMA. When I started HAL_MDMA_START_IT, it transmits only 16 bytes. How can I send big files back to back? Configurations are as follows:

MCU : STM32H7 series

Firmware : Last release

farukisiker_5-1757421149337.png

farukisiker_1-1757421028330.png

farukisiker_2-1757421036690.png

farukisiker_3-1757421050768.png

farukisiker_4-1757421081637.png

 

2 REPLIES 2
Saket_Om
ST Employee

Hello @farukisiker 

Please refer to the article below to configure your linked list dma transfer.

How to configure the linked list mode in STM32Cube... - STMicroelectronics Community

also see the workshop below:

STM32H5 workshop - 05 More advanced GPDMA - Linked Lists (intermediate)

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
Saket_Om
ST Employee

Hello @farukisiker 

Please refer to this example as starting point. 

STM32CubeU5/Projects/NUCLEO-U575ZI-Q/Examples/UART/UART_TwoBoards_ComDMAlinkedlist at main · STMicroelectronics/STM32CubeU5 · GitHub

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om