[riot-notifications] [RIOT-OS/RIOT] Systemtime xtimer or alternative (#10572)

vac notifications at github.com
Sat Mar 30 14:39:21 CET 2019

`xtimer` is a nice "tool" that can control multiple processes in an easy, readable way.
>From my experience on samd21/samr21 it is possible to:
* switch xtimer to 32768Hz,
* make xtimer work in deep sleep, properly.

But... while I was using different OS and board, I think it is impossible to create one, generic timer solution that will work perfectly on every hardware.
**You should make a decision after you will know your hardware capabilities.**
There is always like balancing between timer resolution and power consumption.

I.e. while `xtimer` is somehow a great solution it is not very reliable on samd21 as reading it's value takes a relatively very long time (on this particular platform). Note that xtimer reads timer value, internally.

Not quite sure about it but I think I've seen that `GoMacH protocol` use `RTT` for superframes synchronization etc (you may take a look at its sources:  sys\net\gnrc\link_layer\gomach\gomach.c). As RTT is much simpler it is easier to make not complex, but reliable solution on it.

You are receiving this because you are subscribed to this thread.
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/20190330/fe7e1930/attachment.html>

More information about the notifications mailing list