I've got a problem with background DMA transfers and timer0 interrupts. I try to read data from external port according to timer0 interrupts and at the same time I use UART in autobuffer mode. In that case I read wrong buffer from external port, so DMA definitely has an impact on my main program.
Finally I have 3 interrupts in the program (timer0, tx, rx UART). Could someone explain to me what happens during simultaneous work DMA and other interrupts?
Thanks for help.