2015-01-27 12:17 PM
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 likeHAL_UART_Transmit_DMA( &huart3, string, size )
always outputssize
characters ofstring[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???2015-01-27 01:14 PM
Did you configure the DMA controller to autoincrement the memory pointer?
2015-12-22 02:47 AM
Hi,
I too facing same issue, did you solved the issue?2015-12-22 09:56 AM
Hi murugesan.kudiarasu,
Which version of STM32CubeMx and STM32 firmware package are you using?Did you enable the DMA IRQ handler (HAL_DMA_IRQHandler() )?-Shahrzad-