AnsweredAssumed Answered

DMA fails to complete (STM32F303x)

Question asked by bigden.gary on Nov 12, 2015
Latest reply on Nov 20, 2015 by bigden.gary
This is a rather complex problem. I have an interrupt routine running under the systick handler with a period of 10mS. Within this I do 4096 reads of ADC3 via DMA2_Channel5, which works fine. Single shot mode

The problem comes when I have data coming in from USART2 via DMA1_Channel6. Occasionally DMA2 fails to complete the transfer, that is, it's counter decrements but does not get to zero.

AFAIK I have set up the interrupts with systick having the highest priority, followed by DMA2 and then DMA1

Any ideas as to what might be happening?