Goodmorning,
I have a problem with ble advertising on nrf52840.
I'm using a custom board using "zephyrOS v3.3.99-ncs1-1" and "nrf connect SDK v2.4.2".
An hard fault occours just after the system starts advertising and resets with RESETREAS = 4 (soft reset).
From the ble log:
E: MPSL ASSERT: 112, 2134
E: ***** HARD FAULT *****
E: Fault escalation (see below)
E: ARCH_EXCEPT with reason 3
E: r0/a1: 0x00000003 r1/a2: 0x20009028 r2/a3: 0x80000000
E: r3/a4: 0x00000001 r12/ip: 0x200053ba r14/lr: 0x00031863
E: xpsr: 0x41010018
E: Faulting instruction address (r15/pc): 0x0003186e
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
E: Fault during interrupt handling
E: Current thread: 0x200033a8 (unknown)
E: Resetting system
This problem shows only for some boards so could be hardware related (i.e. problem with warm up time of low power external crystal oscillator?).
Anyone have any suggestions?
Thanks,
Simone