nRFConnect SDK 1.9 system off sample fails to put the nRF52840DK into system off

*** Booting Zephyr OS build v2.7.99-ncs1 ***

nrf52840dk_nrf52840 system off demo
Retained data not supported
Busy-wait 2 s
Busy-wait 2 s with UART off
Sleep 2 s
Sleep 2 s with UART off
Entering system off; press BUTTON1 to restart
ERROR: System off failed

Parents
  • You are right, the sample zephyr\samples\boards\nrf\system_off\src\main.c does not work with NCS v1.9.0. I tested it with both the nrf52dk_nrf52832 and nrf52840dk_nrf52840 and I got "ERROR: System off failed" in both cases. It did work with NCS v1.8.0 however. After some investigation I found out it was the commit 749c3939c1a8605 that made it fail, if I use the commit 5952351d82b, right before, it works fine. I'm not exactly sure what in that commit that causes it to fail, but I will do some investigations tomorrow.

    Best regards,

    Simon

Reply
  • You are right, the sample zephyr\samples\boards\nrf\system_off\src\main.c does not work with NCS v1.9.0. I tested it with both the nrf52dk_nrf52832 and nrf52840dk_nrf52840 and I got "ERROR: System off failed" in both cases. It did work with NCS v1.8.0 however. After some investigation I found out it was the commit 749c3939c1a8605 that made it fail, if I use the commit 5952351d82b, right before, it works fine. I'm not exactly sure what in that commit that causes it to fail, but I will do some investigations tomorrow.

    Best regards,

    Simon

Children
Related