AnsweredAssumed Answered

Uart vs Usart on DMA

Question asked by Karman de Lange on Aug 20, 2014
Latest reply on Aug 20, 2014 by Karman de Lange

I'm complete noob with STM32 but starting to get the hang of things.

I have problem that got me completly stumped now.  I have simple code that sends string over Uart4 . When using polling or _IT the string is represented perferctly on the other side, but using _DMA transmit then the first byte is simply repeated up to string length.

Using the same code and sending over USART1, then it works fine on DMA.

Is there a internal limit that DMA over Uart can only sent 1 byte and one have to use Usart for strings?

This is using f3cube Hal library's.  I tried to find examples of Uart coms, but all are based on Usart.

Any pointers/help appreciated.