Hello,
I am developing a Zigbee switch based on the nRF54L15. One of the mandatory features is transitioning into sleep mode when the device is not in use. I thought I had implemented this using the same approach as in the example (zigbee_configure_sleepy_behavior(true);
).
I purchased the Power Profiler Kit 2 to verify its operation. However, I did not see the microcontroller enter sleep mode at all. I even tried forcing it into sleep mode (zb_set_rx_on_when_idle(ZB_FALSE); zb_sleep_now();
), but the microcontroller just reset with an error.
It seems that certain conditions need to be met before going to sleep, which may be indicated by a specific event. However, I first wanted to practice transitioning the microcontroller into different sleep modes while measuring current consumption.
By the end of the day, I was only able to achieve the deepest sleep mode, but I could not get the other modes to work. I also couldn't find clear examples—most attempts ended in failure. I’m concerned that solving this might take several days, so I’m reaching out here as a potential way to find a solution more quickly.
Is it possible to put the device into sleep mode when not in use in the Zigbee Light Switch example? What is the simplest way to transition the microcontroller into sleep mode? I believe I need System ON with GRTC.
Thank you!