2021-10-18 11:29 AM
Hi,
The GPDMA of the STM32U5 is much more complex to configure than the DMA of the other STM32. I would like to know in which applications GPDMA is better than DMA and also would like to know if ST has plans to use GPDMA in future general purpose microcontrollers or will GPDMA be exclusive to the U5 series?
2021-10-19 03:47 AM
Hello @Community member ,
the microcontrollers are getting more complex, that's a fact. There is a constant push for better power efficiency and one way to achieve that is to have the DMA more autonomous. The DMA can perform more tasks without waking the CPU from low power mode. The U5 can perform various DMA operation while the CPU is in Stop mode, which is groundbreaking in terms of power consumption (that's actually LPDMA).
The GPDMA will be used in future products as well, but there are going to be more examples, tools, improved code generation in CubeMX, application notes an user guides to help developers.
BR,
J.
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.
2021-10-19 06:49 AM
JHOUD, thank you for the explanation.
It would be very helpful for us if ST released an application note showing how to migrate from DMA to GPDMA. Either using the STM32CubeMX and at register level. Without getting into the advanced features of GPDMA, rather with an emphasis on simply showing how to do with GPDMA exactly what was done with DMA.
2021-10-21 08:57 AM
Good luck with that. The U5's GPDMA is the most obscenely baroque train wreck I've seen in a long time. And what passes for "documentation" is downright impenetrable. If this a glimpse of the future then the liquor stores will do very well.