Kl15 RTC pins

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kl15 RTC pins

Jump to solution
857 Views
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?

Labels (1)
0 Kudos
1 Solution
654 Views
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

View solution in original post

0 Kudos
3 Replies
655 Views
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 Kudos
654 Views
yar
Contributor III

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

0 Kudos
654 Views
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 Kudos