Visitor II
October 14, 2022
Solved
Can the STM32L4 transmit and receive USART over DMA?
- October 14, 2022
- 1 reply
- 1702 views
Hello, I am inquiring about USART communication using DMA. I am following github.com/MaJerle/stm32-usart-uart-dma-rx-tx tutorial using the low level drivers for a STM32L432. I have reception working with no troubles and I believe my interrupts are being hit okay. However, I am having trouble with transmission, simplifying the code from the tutorial I can't seem to get the USART to actually start transmitting the data. When I check the size of the DMA buffer it says it is full of 32 bytes, then when I start channel it never empties. Apologies if this is simple, but I've tried numerous combinations with no success. Thank you.
