I am using SDK version v3.2.1 and trying to put the nRF54L15 DK board into deep sleep using the sys_poweroff() function and wake it up using Button 1 on the DK.
This setup works correctly when I use the nrf54l15dk_nrf54l15_cpuapp build configuration. However, the same implementation does not work with the nrf54l15dk_nrf54l15_cpuapp_ns (non-secure) firmware build. In the non-secure build device went to deep sleep state but its not waking up on button press.
What could be the possible reasons for this behavior?
Are there specific configurations or additional steps required to enable deep sleep and GPIO wake-up from the non-secure firmware?
Any guidance on how to properly implement deep sleep and wake-up using a button in the non-secure build would be appreciated.