2 posts / 0 new
Last post
paradisers
Offline
Last seen:2 years 10 months ago
加入:2014-11-05 05:38
Calibrate RC32KHz

Hi,
I try to use CLK_REF_SEL_REG to calibrate RC32K.
Code as follows

SetWord16(CLK_REF_CNT_REG, 500);
SetBits16(CLK_REF_SEL_REG,REF_CAL_START,1);
while ((GetWord16(CLK_REF_SEL_REG) & REF_CAL_START)!=0);

But it seems not work.Is it right?

And after calibration, RC32K is 32K or 32.768K ?

Thanks a lot

AK_Dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2013-12-16 15:49
Hi Paradisers,

Hi Paradisers,

The RC32k oscillator cannot be callibrated. What can be done using these registers is measuring the deviation of the RC32k compared to the 16MHz clock.

The outcome of the REF_CAL_START is the deviation of the RC32k.

Dialog Bluetooth Support Team.