Skip to main content
Associate
January 27, 2025
Question

STM32H503CBU6 GPDMA Help to transfer data from the flash to the GPIO

Hi to All

I would like to try a configuration for GPDMA1 for STM32H503CBU6 using memory to memory. I will would like to use a Link-Lists. Source will be two different array of DATA Bytes inside the Flash Memory and Destination will be the GPIOB. It will be circular mode just to try out the configuration. Is this possible?

If possible, what settings will be there for GPDMA1_CxCR, GPDMA1_CxTR1,GPDMA1_CxTR2, GPDMA1_CxBR1, GPDMA1_CxSAR, GPDMA1_CxDAR, GPDMA1_CxTR3, GPDMA1_CxBR2 and GPDMA1_CxLLR?

I have read the manual regarding memory to memory but i'm not satisfied with the explanation. Maybe someone out there would be kind enough to share some knowledge.

 

thanks and best regards

This topic has been closed for replies.

1 reply

ST Employee
January 29, 2025

Hello @Rashid,

Besides the RM, there is an application note on How to use the GPDMA for STM32, covering STM32H5 product, check section "GPDMA configuration for internal memories".

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.