ADC calibration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ADC calibration

1,137件の閲覧回数
Gargi2021
Contributor I

hi Team,

i want to implement ADC calibration using two point method in S32K144. i will provide two range of voltage and calculate gain and offset values for the same, those gain and offset i will utilize to calibrate the input provided. 

do you have any sample code including this method.

Thanks,

Gargi 

0 件の賞賛
返信
1 返信

1,127件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looking at reference manual ADC calibration is done in HW, you simply enable it after power on reset:

41.13 ADC calibration scheme
After a POR, and after the flash memory has been made available, the ADC calibration must be executed by use of the CAL bit in the ADC_SC3 control register.

After the ADC has been configured and calibrated, no further calibration is required as long as the power is maintained. Hence, upon subsequent exits from power mode STOP2, re-calibration is not required. Since the power is continuous in all of the device power modes (STOP2 RUN, and HSRUN), all of the ADC specifications are maintained as per the data sheet.

petervlna_0-1654674075145.png

I am not sure what you want to achieve? Some SW calibration when there is HW mechanism for it?

Best regards,

Peter

 

0 件の賞賛
返信