Kl15 RTC pins

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
900件の閲覧回数
yar
Contributor III

Hello, I'm a newbie in Kinetis microcontollers. I use KL15 microcontroller and I would use XTAL, EXTAL (PTA18-19) pins for RTC and connect to them 32.768 crystal. And as the system oscillator use internal KL15 osciallator. KL15 support this configuration?

ラベル(1)
0 件の賞賛
1 解決策
697件の閲覧回数
mjbcswitzerland
Specialist V

Hi

If you use a 32.768kHz crystal the oscillator's output OSC32KCLK can be used to drive the RTC.

The OSCCLK (also 32.768kHz output can then be used as reference to the FLL to generate a 47.972352MHz system clock.

You can also use internal oscillators to generate the system clock but the 32768kHz will be more accurate if you have it anyway. The KL15 has also a PLL that could be used instead (with additional flexibility) so you have various options.

Regards

Mark

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
698件の閲覧回数
mjbcswitzerland
Specialist V

Hi

If you use a 32.768kHz crystal the oscillator's output OSC32KCLK can be used to drive the RTC.

The OSCCLK (also 32.768kHz output can then be used as reference to the FLL to generate a 47.972352MHz system clock.

You can also use internal oscillators to generate the system clock but the 32768kHz will be more accurate if you have it anyway. The KL15 has also a PLL that could be used instead (with additional flexibility) so you have various options.

Regards

Mark

0 件の賞賛
697件の閲覧回数
yar
Contributor III

If i use 32.768 crystall on EXTAL0 XTAL0 it will continue to work in sleep mode?

0 件の賞賛
697件の閲覧回数
mjbcswitzerland
Specialist V

Hi

The KL15 has various low power modes and the SLEEP setting is just one input to the actual low power mode used. Therefore you need to know which one you require to use - check the table 7-2 to see which modules are operational in the various types (eg. RTC and OSC).

I think that the "low frequency range" oscillator will operate in all low power modes and, apart from VLLS0, also the RTC from this clock source.

Regards

Mark

0 件の賞賛