[riot-notifications] [RIOT-OS/RIOT] sam0_common: make RTC implementation common across all sam0 MCUs (#11317)
notifications at github.com
Thu Apr 11 22:08:57 CEST 2019
dylad commented on this pull request.
- /* Software Reset the RTC */
- RTC->MODE2.CTRLA.bit.SWRST = 1;
- /* Wait end of reset */
- while (RTC->MODE2.CTRLA.bit.SWRST);
+ /* DISABLE RTC MASTER */
Please call `rtc_clock_setup();` before `rtc_poweroff();`
SAML10-XPRO get stuck within `rtc_poweroff();` which is a normal behavior since we're waiting for a bit but the IP is not clocked.
Strangely, it works so far for SAMD21, SAML21 and SAML11. Atmel black magic ?
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...
More information about the notifications