KM34 SAR ADC calibration registers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KM34 SAR ADC calibration registers

跳至解决方案
1,356 次查看
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,114 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jun1 

I agree with you.

Diego

在原帖中查看解决方案

0 项奖励
3 回复数
1,248 次查看
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,169 次查看
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,115 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @jun1 

I agree with you.

Diego

0 项奖励