KL82 RTC load capacitance setting

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

KL82 RTC load capacitance setting

666件の閲覧回数
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 返信

431件の閲覧回数
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 件の賞賛