K24 RTC compenstation

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

K24 RTC compenstation

Jump to solution
1,009 Views
yuanli
NXP Employee
NXP Employee

Hi,

Is there any doc to guidance how to compensate K24 RTC?

Customer is using external RTC clock, When run the MCU continuously for 5 days, there are 23 seconds difference between MCU and PC.

Please help advise how to compensate it, thanks.

Best regards,

Ryan

Labels (1)
Tags (3)
0 Kudos
1 Solution
3 Replies
770 Views
egoodii
Senior Contributor III

You should be able to do 'a lot better' than 4s/day just by setting the proper chip load-capacitors.  See my discussion:

Re: RTC accuracy with MQX 4.1 on a K70

But as I say there, your 'worst case parts' will still only get you about 2s/day at room temperature with 'inexpensive' crystals -- a nice oscillator can hold 1s/day.  The APNOTE mentioned above helps you improve a crystal over temperature, BUT that requires the CPU to be 'awake', at least periodically, to be able to MEASURE said temperature and 'do something with it' -- the SiTime part 'does that for you'.

770 Views
yuanli
NXP Employee
NXP Employee

Thanks a lot for the advices from both of you, I will study and have a try. :smileyhappy:

0 Kudos
771 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello Yuan Li,

Have a look here:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4949.pdf

Regards,

Santiago