Hi all,
I’m working with a Raspberry Pi Pico 2W (RP2350) and trying to use the “hello_sleep” example ( using pico-extras, linked on datasheet) to put the device into SLEEP mode via the AON timer, then wake back up after 10 s and resume USB debugging or even connect the Wi-Fi. Unfortunately neither USB serial nor Wi-Fi ever worked after the wake-up.
1. Do I need to explicitly re-gate or un-gate any SLEEP_ENx / WAKE_ENx registers in software beyond what sleep_goto_sleep_until() and the SDK provide? (After reading the datasheet I thought sleep mode was preferred because it saves the states before going sleep mode)
2. Should I be using DORMANT instead of SLEEP if I want reliable Wi-Fi setup on wake?
3. Are there any SDK hooks or helper functions (in pico-extras or elsewhere) I’ve overlooked that handle full clock restoration after sleep?
I’ve poured over the RP2350 datasheet and the Pico SDK / pico-extras code, but clearly I’m overlooking something fundamental about RP2350’s wake-up clock behavior.
My interest is to measure the power consumption with an OTII in these power saving sleep modes that RP2350 offer, so I would like to have a basic application that connects to WiFi network after waking up but im struggling to get it to work.
I've checked it's not a serial monitor issue due the sleep and awake cycles disconnecting it and tomorrow I will measure the power consumption of the basic hello_sleep to see if it really wakes up after the 10s of the AON timer.
(Source of the example that is linked in the datasheet: https://github.com/raspberrypi/pico-pla ... leep_aon.c . I've modified this only after it wakes up)
I’m working with a Raspberry Pi Pico 2W (RP2350) and trying to use the “hello_sleep” example ( using pico-extras, linked on datasheet) to put the device into SLEEP mode via the AON timer, then wake back up after 10 s and resume USB debugging or even connect the Wi-Fi. Unfortunately neither USB serial nor Wi-Fi ever worked after the wake-up.
1. Do I need to explicitly re-gate or un-gate any SLEEP_ENx / WAKE_ENx registers in software beyond what sleep_goto_sleep_until() and the SDK provide? (After reading the datasheet I thought sleep mode was preferred because it saves the states before going sleep mode)
2. Should I be using DORMANT instead of SLEEP if I want reliable Wi-Fi setup on wake?
3. Are there any SDK hooks or helper functions (in pico-extras or elsewhere) I’ve overlooked that handle full clock restoration after sleep?
I’ve poured over the RP2350 datasheet and the Pico SDK / pico-extras code, but clearly I’m overlooking something fundamental about RP2350’s wake-up clock behavior.
My interest is to measure the power consumption with an OTII in these power saving sleep modes that RP2350 offer, so I would like to have a basic application that connects to WiFi network after waking up but im struggling to get it to work.
I've checked it's not a serial monitor issue due the sleep and awake cycles disconnecting it and tomorrow I will measure the power consumption of the basic hello_sleep to see if it really wakes up after the 10s of the AON timer.
(Source of the example that is linked in the datasheet: https://github.com/raspberrypi/pico-pla ... leep_aon.c . I've modified this only after it wakes up)
Statistics: Posted by vicenspb9 — Wed Jun 25, 2025 12:35 pm