I’m following the nRF54L Series Express Course – Lesson 5: Power Consumption Demo Part 2 sample code, using nRF54L15DK to test the deepsleep → wakeup functionality.
However, the wakeup doesn’t work in my case.
I suspect this is due to an incorrect GPIO sense configuration.
After checking multiple online posts and forum discussions, I found several suggested approaches, including:
-
Calling
nrf_gpio_cfg_sense_input(5, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW); -
Adding the following to the overlay (.dts) file:
&gpio0 { wakeup-source; };
Unfortunately, none of these methods compile or work properly in my environment.
So, I’d like to ask:
Is there any working example for SDK v3.0.2 that demonstrates deep sleep with GPIO wakeup on nRF54L15 or a similar board?
Also, could you please help confirm the following points?
-
Has the GPIO sense mechanism changed in SDK v3.0.2 (e.g., deprecated APIs, renamed functions, or new configurations)?
-
Does
wakeup-sourcerequire a specific syntax or additional settings in the overlay/dts file for the nRF54L platform? -
Does the original sample assume certain Kconfig, device tree, or board layer settings are already enabled?
Thanks in advance for your help!