[riot-devel] GNRC with sleepy nodes

Daniel Evans photonthunder at gmail.com
Tue Nov 21 17:26:59 CET 2017

First, I should add that I currently have a working samd21 low power implementation but to accomplish that I use rtt.c for my always running clock and then standby sleep the module whenever it gets to the idle task.  This is a hack and is not a clean implementation and means you don’t use XTIMER and no use of the nice built in protocols, I have my own hacked LoRa mesh network.

Referring specifically to the samd21, which includes the samr21 and loosely the saml21, this is the path as I see it for getting low power working natively with RIOT:

1) Add a method to make setting up the generic clocks that includes run in standby and on demand options.
2) Add flags for peripherals so that you can set the clock and run in standby
3) Tweak XTIMER so that it can be run by a low power 32kHz clock when sleeping

All of these things have been discussed and are in the works and are on the list but not currently top priority.  Low power is critical for my application and I am a little surprised it isn’t for more users, but I imagine others just hack around it as well?

Hope that helps a little,


> On Nov 21, 2017, at 6:07 AM, Francisco Molina <francisco.molina at inria.cl> wrote:
> >Issues #7743 and #7332 both discuss the problem.
> >
> >Dan
> I saw those issues but they only refer to the fact that xtimer doesn't run during sleep modes, is that the only issue? Cheers
> Francisco
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20171121/8461027b/attachment.html>

More information about the devel mailing list