cancel
Showing results for 
Search instead for 
Did you mean: 

An example for LPUART with LPDMA - STM32U575

Epamuk
Associate III

Hello everyone,

I develop a project with STM32U575 and I want to use LPUART with LPDMA, normally I use LPUART with normal DMA in my other stm32L4 projects but here I couldnt work with this peripherals. Low power is not a critical issue of this part of project. So I just want to use LPUART with LPDMA in a normal way. First picture is my old settings in L4 series and second picture ise for current U5 mcu. Do I miss something ? Where can I find and example for LPDMA and LPUART for Standart Request Mode. 

Thanks

1.png

2.png

1 REPLY 1
Tombedded
Associate II

I have a very similar problem. I try to use LPDMA to send (TX) data from memory buffer to LPUART. But no data is sent out from the TX pin. The HAL_UART_Transmit_DMA(&hlpuart1, uart_tx_buffer, length) function returns without error. I'm having the MCU in normal run mode. Plan is to go to a low power mode later, but only after I get this thing to work. I was looking that the STM32Cube did not generate code to enable LPDMA clock, so I manually enabled it: __HAL_RCC_LPDMA1_CLK_ENABLE(); but that did not help. I'm using the STM32U585.