NRF5340 - Unable to enter PM_STATE_SOFT_OFF using Zephyr PM and LittleFS without a debugger.

Hello,

I am currently working on a project where I need to be able to put the device in low power mode (PM_STATE_SOFT_OFF), but I am also using the LittleFS filesystem for the configuration files. 

When I use the function `fs_mount()` before `pm_state_force()` the program won't enter the low power state.
This problem only occurs when there is no debugger or logger connected.
When I connect a debugger or logger (using JLink RTT, not UART), the code works as expected.

I am using nrf version v2.1.0, zephyr 3.1.99-ncs1, the same thing happens on earlier versions

Thank you.

Parents Reply Children
No Data
Related