Achieving The Lowest Possible Sleep Current With Seeed XIAO nRF52840
Hello! Today I’m going to show you how to hit and exceed the 5uA deep sleep current that XIAO cites in their product listing page for the nRF52840, all from the comfort of the Arduino IDE.
The Problem
You, dear reader, may have stumbled upon this post because you have already tried following the deep_sleep.ino
guide from the XIAO wiki and it didn’t work. They ask you to upload this code to your factory-fresh XIAO nRF52840, provoking this error:
In your desperation, you may have tried commenting out this code block and uploading it in anyway.
When you power your nRF through the VBAT pin, you find the sleep current is much higher than promised, around 20uA!