How to achieve the lowest power consumption while "sleeping" but still being able to awake from an internal timer ?
For the timer I'm using the Ticker class from mbed...
How to achieve the lowest power consumption while "sleeping" but still being able to awake from an internal timer ?
For the timer I'm using the Ticker class from mbed...
In the meantime I checked that the mBed implementation for my board (Arduino Nano 33 BLE) is very lacking, so I'm willing to bypass mBed.
So, how to make the board enter "deep sleep", while maintaining the capability to wake up from the RTC ?
In the meantime I checked that the mBed implementation for my board (Arduino Nano 33 BLE) is very lacking, so I'm willing to bypass mBed.
So, how to make the board enter "deep sleep", while maintaining the capability to wake up from the RTC ?
"Deep sleep" (System OFF mode) is not possible with wake on RTC. In this mode, all clock sources are turned off, and a wakeup from one of the supported sources (RESET, GPIO, LPCOMP, NFC, USB) will trigger a reset. How to enter System ON idle mode depends on the system you are using. In our SDK we use the following:
These are typically called in a loop in main(), to enter sleep whenever CPU is not required for other tasks.