KL26Z & RTC

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

KL26Z & RTC

801 Views
simonatoumberto
Contributor I

I use

MKL26Z256VLL4 micro -  clock 8Mhz

I use  as RTC_CLKIN (pin PTC1) the output of pin PTC3

I set MGGIRCLK with souce 32KHz IRC


As you can see in Clock and RTC SET 

I have a RTC time error - about 2 minutes x day

I see that PTC3 output a 32898 hz signal

instaead of waiting 32768 hz. (see RTCinput.jpg)

I have tried to adjust this signal 

changing the value of  slow internal reference clock but no result

Can you give me some support?

Thanks

Umberto

0 Kudos
Reply
1 Reply

700 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please refer KL26 datasheet about the internal slow clock accuracy data:

pastedImage_1.png

pastedImage_2.png

If customer want more accuracy RTC clock, it need to use external 32.768KHz crystal or oscillator.

Thank you for the attention.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply