kinetis KM34 SARADC calibration registers

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

kinetis KM34 SARADC calibration registers

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

Hi.

The 32.5.6 Calibration function of Kinetis KM34 Sub-Family Reference Manual, Rev. 3, 09/2017 describes how to return the value saved at startup to the register as follows.

Overall, the calibration routine may take as many as 14k ADCK cycles and 100 bus cycles, depending on the results and the clock source chosen. For an 8 MHz clock source, this length amounts to about 1.7 ms. To reduce this latency, the calibration values, which are offset, plus-side gain, and plus-side calibration values, may be stored in flash memory after an initial calibration and recovered prior to the first ADC conversion. This method can reduce the calibration latency to 20 register store operations on all subsequent power, reset, or Low-Power Stop mode recoveries.

1.
Are the following registers saved and written back at startup?
offset: ADCx_OFS
plus-side gain: ADCx_PG
plus-side calibration values: ADCx_CLPD, ADCx_CLPS, ADCx_CLP4-0

2.
The manual says 20 register store, but if you count the above registers, it's nine.
What do the 20 texts in the manual refer to?

Thank you.

 

0 件の賞賛
返信
1 解決策
1,555件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @jun1 ,

1. Yes, you can store these register in flash. Before first conversion, user should copy these value from flash to register.

2. Yes, there is only 9 register for calibration, not 20.

 

Regards,

Jing

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,543件の閲覧回数
jun1
Contributor V

Hi.

thank you for your answer. understand. It was helpful.

 

0 件の賞賛
返信
1,556件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @jun1 ,

1. Yes, you can store these register in flash. Before first conversion, user should copy these value from flash to register.

2. Yes, there is only 9 register for calibration, not 20.

 

Regards,

Jing

0 件の賞賛
返信