DMA RX interrupt sometimes not firing?
I have an STM32L452 part in a system with multiple DMA and interrupt operations going on.
The main problem I'm having right now is _sometimes_ I don't get the interrupt for DMA RX on UART4. Sometimes I do, sometimes I don't.
I have been adjusting the NVIC priorities and have set "UART4 Global Interrupt", and "DMA2 Channel 2 Global Interrupt" (the DMA for UART4) at the highest priority (0), and given that DMA the highest priority among the other DMAs
I have a strong feeling that the issue is related to interrupt preemption, and that the UART 4 interrupts not being reset correctly. However, the issue persists even when when I give UART 4 max priority over everything.
The code is to complex to post, but I'm hoping that someone can throw out some ideas for me to check out?
Thank you!
