2011-02-22 03:21 AM
DMA Transfer sporadically not done
2011-05-17 05:25 AM
Now i have disabled circular mode and set back DMA_Channel1->CNDTR manually in ADC_IRQHandler- ISR (interrupt from ADC1, EOC).
I observe DMA_Channel1->CNDTR in the isr and sometimes (very seldom) it is NOT 0, but EOC ist set! So it seems to me as if the DMA request does not reach its target sometimes. A silicone bug?2011-05-17 05:25 AM
Hi,
Probably you should try to raise the priority of the DMA channel associated to the ADC and verify if this makes any difference. Giovanni ---2011-05-17 05:25 AM
I already did it, the ADC-DMA has the maximum Priority 11b, all other DMAs have the Prio. 10b
2011-05-17 05:25 AM
Is the ADC operating within its maximum frequency? if I remember well it is 14MHz.
You may also try to reduce the ADC clock or increase the sampling time on your channels. Giovanni2011-05-17 05:25 AM
Double post, sorry.
2011-05-17 05:25 AM
Hi, i have no Solution till now, only a workaround (i do not use the circular mode any longer and throw away the memory-results when i notice the error -> DMA count not 0 when EOC is set). What do you mean, ''the failure continues''?
2011-05-17 05:25 AM