Wow THANK YOU all for your amazing suggestions and sample code! I'd seen most of those registers mentioned in the datasheet, but it was very helpful to see them used in context, and to get some confirmation that using them would have the effect I wanted. After disabling all of the clocks except PIO0 and PIO1 in the SLEEP_ENx registers, building with COPY_TO_FLASH, powering down unneeded RAM and switching to __wfi() instead of sleep_ms(), I've more than halved the power use of the entire circuit. I'm going to try out some of the other suggestions soon!
Statistics: Posted by aparrish — Sat Apr 20, 2024 10:41 pm