KM34 SAR ADC calibration registers

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

KM34 SAR ADC calibration registers

ソリューションへジャンプ
1,339件の閲覧回数
jun1
Contributor V

Hi.

I am trying to omit the automatic calibration at startup by automatically calibrating the KM34's SARADC at the time of board manufacturing, saving the register value in FROM, and writing the value back to the register at reboot. If so, which register should be saved?
Are ADCx_OFS and ADCx_PG okay?
In the explanation of the manual, CLP0, CLP1, CLP2, CLP3, CLP4, CLPS are added to the variable divided by 2, and MSB is set by ADCx_PG, so if you also set the above two register values I thought there was no problem.


Thank you very much.

0 件の賞賛
1 解決策
1,097件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jun1 

I agree with you.

Diego

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
1,231件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jun1

You can also consider the plus-side calibration values. ,CLPx registers. 

Just note that all the calibration values that you obtain  need to be made for every ADC instance. This is mentioned in the recommended calibration procedure of this document  16-bit SAR ADC calibration

Please accept my apologies for the delayed response. 

 

Do not hesitate to let me know if you have any further question. 

Diego. 

0 件の賞賛
1,152件の閲覧回数
jun1
Contributor V

Hi.

"You need to create each ADC instance" means that if you have a CPU with only one SAR-CONVERTER, you can calibrate it with that SAR-CONVERTER, right?
Since the AD input is multiplexed and enters the SAR-CONVERTER, calibration should be done only once for the representative AD input, right?

thank you.

 

 

0 件の賞賛
1,098件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jun1 

I agree with you.

Diego

0 件の賞賛