Associate II
February 20, 2016
Question
STM32F072-DISCO UART DMA doesn't work
- February 20, 2016
- 5 replies
- 1568 views
Posted on February 20, 2016 at 18:28
Code is in the Attatchments.
I'm trying to periodically send data over SPI and to receive data over USART. Sending over SPI w/ DMA works. But the USART DMA doesn't work. I can send whichever data I want, but the DMA wont trigger an interrupt. Disabling DMA and using UART interrupts works, the interrupt fires as soon as USART receives data, so my data or USART aren't to blame. Is there something wrong with my init routines? Or something else?