[riot-notifications] [RIOT] kinetis: hwtimer loses ticks when referenced against rtt ticks (#3139)

Joakim Gebart notifications at github.com
Tue Jun 2 11:10:42 CEST 2015

The hwtimer_now function loses something in the order of 130 ticks in 60 seconds. The hwtimer is using the LPTMR module which runs off the RTC crystal at 32768 Hz, so the loss is 130/32768 approx 4 ms per second. These numbers are from a test program where I compare the RTT seconds and sub tick counter registers against the time reported by hwtimer_now().

I am working on a refactor of the hwtimer module in kinetis_common.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150602/5305591a/attachment-0001.html>

More information about the notifications mailing list