KL82 RTC load capacitance setting

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

KL82 RTC load capacitance setting

806 次查看
diandizhu
Contributor II

I have this crystal as my rtc timer clock: NX2012SA-32.768K-STD-MUB-1 NDK | Crystals, Oscillators, Resonators | DigiKey  for a KL82 micro controller. Any the RTC is drifting a lot. So I looked into the datasheets and found load capacitance setting on page 1299 of the manual:

微信截图_20161202121913.png

cause there is no 12.5pf setting, should I enable SC16P bit or should I enable both SC8P and SC4P?

What's the meaning of enable the additional load? When I set these bits, do they enable the cap inside mcu or just tell the mcu we have a crystal which has this amount of load capacitance?

Thank you very in advance.

Best,

标记 (3)
0 项奖励
回复
1 回复

571 次查看
diandizhu
Contributor II

46.4.1.1 Oscillator control
The 32.768 kHz crystal oscillator is disabled at VBAT POR and must be enabled by
software. After enabling the cystal oscillator, wait the oscillator startup time before
setting SR[TCE] or using the oscillator clock external to the RTC.
The crystal oscillator includes tunable capacitors that can be configured by software. Do
not change the capacitance unless the oscillator is disabled.

0 项奖励
回复