AnsweredAssumed Answered

STM32Cube HAL_UART_Transmit_DMA strange behaviour

Question asked by we.jesper on Jan 27, 2015
Latest reply on Jan 27, 2015 by Andrei Chichak
I have built a system using STM32CubeMX 4.5 and STM32Cube v1.1.0 for a F072 CPU.

I just started implementing the UART parts. I want to run using DMA, but I can't get it to work.

A call like HAL_UART_Transmit_DMA( &huart3, string, size ) always outputs size characters of string[0]. In other words, the correct number of characters are transmitted, but they are all repeats of the first character in the string.

If I use the blocking version of the call (without _DMA but with a timeout) all is fine and the output is correct.

...any pointers???