XIAO nRF52840 Sense sleep problem #14024
-
Hi, I have a XIAO nRF52840 Sense and I'm trying to use lightsleep. An RFM95W Lora board is connected to it which is put in sleep mode when not transmitting. To save additional power I tried putting the XIAO into sleep mode. Am I missing something or is lightsleep broken? (Power consumption measured using a Nordic Power Profiler Kit on the battery connectors of the XIAO )
Edit: Fixed typo |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
lightsleep and deepsleep are not implemented for the NRF port. The methods exist, but do almost nothing. |
Beta Was this translation helpful? Give feedback.
lightsleep and deepsleep are not implemented for the NRF port. The methods exist, but do almost nothing.
lightsleep() just calls __WFE(), deepsleep() just resets the boards.
Edit: But the XIAO board should behave the same as the other one. Maybe update the firmware. lightsleep() and deepsleep() were moved to extmod in Nov 2023.