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
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.