2023-04-10 03:36 PM
Hi,
Is there a LL Library project example or at least a code snippet of how to transmit uart data using the GPDMA?
Solved! Go to Solution.
2023-04-13 07:13 AM
Hello @Community member ,
I reported your request internally.
Internal ticket number: 140709 (This is an internal tracking number and is not accessible or usable by customers).
Foued
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.
2023-04-11 01:38 AM
Hello @Community member,
You may need to specify STM32 product. Here is an example on how to use the MDMA triggered by GP-DMA using HAL;
Hope this helps!
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.
2023-04-11 03:00 AM
Hi F.Belaid,
GPDMA is ST's new DMA that is currently only available on the new STM32U5 and STM32H5. I'm using the NUCLEO-H563ZI board, but examples for the STM32U5 would also do. And I need low-level examples, using the LL Library or register-level, of how to use this new DMA.
2023-04-11 03:50 AM
Actually, There are no available examples for the UART with GPDMA in the CubeFW for the STM32H5 using LL .
I recommend you check this section 16 General purpose direct memory access controller (GPDMA) in the Reference Manual : STM32H563/H573 and STM32H562 Arm<Sup>®</Sup>-based 32-bit MCUs - Reference manual
Foued
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.
2023-04-11 05:02 AM
Hi,
I just don't understand how ST releases a new DMA, and doesn't post any code examples on how to use it. There's no way to do this from scratch just based on the reference manual. And the code that transmits over DMA using the HAL is incredibly inefficient. If I transmit a few bytes, the process of the function takes longer than the transmission itself. So I think ST should release code examples on how to use GPDMA with UART, SPI, ADC, etc. In normal mode and using the LL Library. This way it is easier for us to migrate applications from the previous STM32 to the new H5 while maintaining performance.
2023-04-12 05:55 AM
You can refer to the STM32CubeFW for more examples using GPDMA using HAL( ADC / I2C/ UART ..)
STM32Cube_FW_H5_V1.0.0\Projects\NUCLEO-H563ZI\Examples
Foued
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.
2023-04-13 07:13 AM
Hello @Community member ,
I reported your request internally.
Internal ticket number: 140709 (This is an internal tracking number and is not accessible or usable by customers).
Foued
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.
2024-02-27 08:05 AM
Could not say better