AnsweredAssumed Answered

Inaccurate LPTMR

Question asked by Tobias Bystricky on Jun 10, 2013
Latest reply on Jun 18, 2013 by Tobias Bystricky

Hello,

I'm using the LPTMR of the K60. I configure it like that:

_lpt_install (0, 30 * 1000000, LPT_FLAG_CLOCK_SOURCE_ERCLK32K, 2, timer_wakeup_isr, TRUE))

and i expect that it will set an interrupt every 30 seconds.

But I got an interrupt every 32 second:

09-06-2013 03:28:18,

09-06-2013 03:28:50,

09-06-2013 03:29:22,

09-06-2013 03:29:54,

 

Now my question, what went wrong? I use the RTC as ERCLK32K.

 

Thanks for help,

Tobias

Outcomes