[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: add STOP and STANDBY low-power for stm32f3, unify for all stm32 (#11211)

Francisco notifications at github.com
Thu Mar 21 19:23:37 CET 2019


@aabadie you are right, I was working with an old master branch. Problems where introduced in #9521. To fix when seting PM_STOP_CONFIG for L0 and L1 do:

`#define PM_STOP_CONFIG  (PWR_CR_LPSDSR | PWR_CR_ULP | PWR_CR_CWUF)`

WUF must be cleared before entering stop mode, and it is cleared by writing PWR_CR_CWUF. It was wasn't that explicit in the datasheet since it said that WUF must be 0 but didn't explicitly talk about CWUF.

Maybe add a comment before the configs definition, it should be clear what every flag is doing. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11211#issuecomment-475348652
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190321/0e087c06/attachment.html>


More information about the notifications mailing list