Question
DMA works only first time
Posted on March 10, 2015 at 22:16
Hi,
I'm using ADC and DMA. For learning purposes no interrupts, just polling LIFR. Staring conversion with ADC_CR2_SWSTART. As soon as TCIF is set, I'm writing 1 to ALL flags to LIFCR (LIFR becomes 0) then re-enabling DMA. Do ADC_CR2_SWSTART again and no more flags in LIFR...EOC flag for ADC is set.Why is that? What am I missing? #dma