STM32407x ADC , DMA and overrun
Hello,
I want to know when ADC DMA is enabled and if ADC overrun status sets to 1.
the RM says this
>>>>>>>>>>>>>>>>.
To recover the ADC from OVR state when the DMA is used, follow the steps below:
1. Reinitialize the DMA (adjust destination address and NDTR counter)
2. Clear the ADC OVR bit in ADC_SR register
3. Trigger the ADC to start the conversion.
>>>>>>>
Question 1 ) with what value NDTR needs to be adjusted ?
question 2) when i trigger the ADC(step 3 above) will the sequence start from the beginning or will it resume from the channel where data was lost due to overrun ?
Thank you very much
