S32K ADC calibration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K ADC calibration

1,347 Views
赵子成
Contributor IV

Hi All,

Now I use the ADC auto calibration, the initial codes are like that:

void ADC_Init(void)

{

ADC_DRV_ConfigConverter(INST_ADCONV1, &adConv1_ConvConfig0);

ADC_DRV_AutoCalibration(INST_ADCONV1);

ADC_DRV_ConfigChan(INST_ADCONV1, I_A_BAT, &adConv1_I_A_BATConfig0);

..............................

}

Here I use the ADC_DRV_AutoCalibration between ADC_DRV_ConfigConverter and ADC_DRV_ConfigChan.

Did the ADC calibration worked?

0 Kudos
2 Replies

984 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please check the following ADC calibration registers before and after the calibration:

CLPS, CLP3, CLP2, CLP1, CLP0, CLPX, CLP9

If calibrated, the registers are updated.

Regards,

Daniel

0 Kudos

743 Views
k_g
Contributor II

Hello,

Could you please provide typical values of these registers for a rough check of the calibration?
Or if you can suggest some other way to check if the calibration is done properly or not?

Thank you.

0 Kudos