LPC802 ADC self calibration

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

LPC802 ADC self calibration

Jump to solution
1,324 Views
fabx4
Contributor I

Hi,

We are beginning to work with LPC802 to replace a former design.

We use the integrated ADC and are wondering about the "Hardware self-calibration" evoked in the AN13102: How to Get Best ADC Accuracy for LPC800.

In this AN, it is written "For detailed usage, see LPC800 UM." but there is nothing on this subject in the user manual (UM11045).

There is an example in LPC802-EX-CODE-MCUXPRESSO bundle but again, there is no trace in the user manual and bit corresponding to ADC_CALMODE is stated as reserved in the UM11045.

 

Does Hardware self-calibration is still available?

0 Kudos
1 Solution
1,300 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @fabx4, yes, is still available, a self-calibration is a mechanism which adjusts the internal sampling capacitor banks aiming to compensate for capacitance variations that come out of the factory for each IC unit. It is mandatory for the user to launch the self-calibration of the ADC after each Power On Reset to obtain the ADC accuracy specified in the datasheet

You can see more information about it on the next document https://www.nxp.com/docs/en/application-note/AN13413.pdf witch is for s32 but can apply to LPC80x, so, you can find it on the examples (adc --> lpc_adc_interrupt) on the file fsl_adc.c, approx. on line 346 you find a function ADC_DoSelfCalibration.

Have a good day

View solution in original post

0 Kudos
3 Replies
1,281 Views
fabx4
Contributor I

Thank you for your answer Carlos.

1,301 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @fabx4, yes, is still available, a self-calibration is a mechanism which adjusts the internal sampling capacitor banks aiming to compensate for capacitance variations that come out of the factory for each IC unit. It is mandatory for the user to launch the self-calibration of the ADC after each Power On Reset to obtain the ADC accuracy specified in the datasheet

You can see more information about it on the next document https://www.nxp.com/docs/en/application-note/AN13413.pdf witch is for s32 but can apply to LPC80x, so, you can find it on the examples (adc --> lpc_adc_interrupt) on the file fsl_adc.c, approx. on line 346 you find a function ADC_DoSelfCalibration.

Have a good day

0 Kudos
1,136 Views
emmanuelJJ
Contributor I

Hi carlos,

The field CALMODE is no more mentioned in ADC control register (User manual UM11045)

So, how can we  do the auto calibration?

emmanuelJJ_0-1658241105437.pngemmanuelJJ_1-1658241115775.png

 

Best regards,

 

Emmanuel

0 Kudos