LPC802 ADC self calibration

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

LPC802 ADC self calibration

ソリューションへジャンプ
2,210件の閲覧回数
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 件の賞賛
返信
1 解決策
2,186件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
2,167件の閲覧回数
fabx4
Contributor I

Thank you for your answer Carlos.

2,187件の閲覧回数
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 件の賞賛
返信
2,022件の閲覧回数
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 件の賞賛
返信