STM32G071 DMA Will Not Transfer Data to UART1 TDR
I'm trying to operate the USART in DMA tx mode on the STM32G0. I've configured the DMA mux to route the USART1TX dma request to channel 2. I have configured channel 2 to enable TC and TE interrupts, enabled MINC, and set PSIZE & MSIZE as byte. The number of data to transfer is set correctly as well as the MAR and PAR. Obvious things like RCC and GPIO configuration have been checked. The UART registers are configured as expected as well.
However, the DMA number of data to transfer never decrements, despite TXE being high. This makes me think that the dma request is not making it to the correct channel, however I am certain the DMAMUX is configured correctly. Is there something I am missing? My understanding is the DMA transfer should trigger automatically once all the above is configured, so long as the TDR is empty (TXE is high).
