AnsweredAssumed Answered

ADC Calibration

Question asked by benson.timothy on May 23, 2012
Latest reply on Jun 1, 2012 by benson.timothy
I am trying to figure out if the ADC calibration is reset when the "ADC_DeInit" function (from the peripheral library) is called after previously calibrating. My guess is that it does, since the ADC_DeInit function is supposed to reset the peripheral to the power-on state. 

Here is a contrived example:
ADC_Cmd(ADC2, ENABLE);
 
ADC_ResetCalibration(ADC2);
 
while(ADC_GetResetCalibrationStatus(ADC2));
//ADC is now calibrated
 
ADC_DeInit(ADC1);
//but is it still calibrated now?

I haven't been able to verify this though, since there is no mention of where these values are stored. I can't see anything changing in the ADC1 memory space (other than the data register) before and after calibration. Does anybody know for sure if the calibration is reset?

At this point it is for my own curiosity, because I am removing the DeInit calls in the actual code. They were being used to place the ADCx into a "known" state, but that seems to have many side effects (one of them being lost calibration I think). 

Outcomes