I'm trying to get NFC power-up/restart working on nrf54lDK but the call to sys_poweroff() results in:
E: ***** BUS FAULT *****
E: Precise data bus error
E: BFAR Address: 0x0
E: r0/a1: 0x400cf000 r1/a2: 0x00000000 r2/a3: 0x00000001
E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x0007cd37
E: xpsr: 0x81000000
E: Faulting instruction address (r15/pc): 0x0007ccb8
E: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
E: Current thread: 0x20016318 (unknown)
E: Halting system
SDK: nRF Connect SDK v3.2.1
Toolchain: nRF Connect SDK Toolchain v3.2.1
board: nrf54l15dk/nrf54l15/cpuapp/ns
I added these lines to proj.conf:
CONFIG_BUILD_WITH_TFM=y
CONFIG_TFM_NRF_SYSTEM_OFF_SERVICE=y
but still get the Bus Fault.
The sample at 'ncs\v3.2.1\nrf\samples\nfc' does work (not /ns)
How can I get this to work for /ns build?