<div dir="ltr">Hi Patrick,<div><br></div><div>welcome to RIOT!</div><div>I'm not the best specialist of the topic, maybe others will have complementary advice (or may correct me).<br></div><div>Can you scan through the wikipage on this topic [1] ?</div><div><br></div><div>For the L4, pm is not there yet.</div><div>What you could do is look at [2] an consider extending for L4.</div><div>Then if you mimic what is done for the L0 [3] by activating the pm_layered module, </div><div>you will have access to the api: if you activate pm_layered, you have access to pm_set for manual setting (or you can let pm_layered autopilot the pm).</div><div>There are some use cases with GPIO or UART which require special care / manual settings.</div><div><br></div><div>And: contributions are welcome!</div><div><br></div><div>Cheers</div><div><br></div><div>Emmanuel</div><div><br></div><div>[1] <a href="https://github.com/RIOT-OS/RIOT/wiki/Power-Management">https://github.com/RIOT-OS/RIOT/wiki/Power-Management</a><br></div><div>[2] <a href="https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32_common/periph/pm.c">https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32_common/periph/pm.c</a></div><div>[3] <a href="https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32l0/Makefile.include">https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32l0/Makefile.include</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 8:43 AM, Patrick Ciccone <span dir="ltr"><<a href="mailto:patrick@sensemetrics.com" target="_blank">patrick@sensemetrics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hello All,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">We are looking at possibly using RIOT for a product we are developing, and so far we really like how well RIOT functions.  One thing that is crucial for us is to minimize power usage down to the absolute minimum allowable.  I have been looking into this and am having a hard time find documentation on the PM section.  I was wondering what level of effort it would take to implement the sleep, or standby function, and how well RIOT plays with that. Any pointers or example implementation of board specific low power modules or documentation would be greatly appreciated.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Thank you,</div><span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_174247841002757968gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table style="color:rgb(0,0,0);font-size:13px;font-family:"Helvetica Neue","Open Sans""><tbody><tr><td style="border-right:1px solid rgb(0,0,0);padding-right:10px;width:124.984px"><a href="http://sensemetrics.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://sensemetrics.com/wp-content/uploads/email-sig-logo.png" alt="sensemetrics" style="max-width:125px;width:124.984px;height:auto;border:none!important"></a></td><td style="padding-left:12px;line-height:18px"><b>Patrick Ciccone</b><br>Hardware Engineer<br>619.485.0575 |  San Diego, CA<br><span style="line-height:16px"><a href="http://sensemetrics.com/" style="color:rgb(146,194,62)" target="_blank">www.sensemetrics.com</a></span></td></tr></tbody></table></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@riot-os.org">devel@riot-os.org</a><br>
<a href="https://lists.riot-os.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.riot-os.org/<wbr>mailman/listinfo/devel</a><br>
<br></blockquote></div><br></div>