2025-10-26 1:53 PM
Hi,
When configuring a DMA channel in Circular mode with the LL code generator for STM32H523, the generated initialization code is incorrect.
It creates a DMA Link Node (LL_DMA_LinkNodeTypeDef) on the stack, which is invalid since the DMA continuously accesses this structure. The link node should be placed in persistent memory instead.
Additionally, the generated code does not set the source address, destination address, or block length when the link node is created, although these can be manually set later.
Regards,
Peter