Hi,
I am attempting to merge two example programs together and have hit an issue with a hard fault when my timer interrupt triggers.
This works fine in the standalone timer example program.
I suspect the issue is that the BLE code also uses the same time timer rtc0 but I can't see where I can change this.
[00:00:20.279,083] <err> mpsl_init: m_assert_handler: MPSL ASSERT: 112, 2181 [00:00:20.279,113] <err> os: hard_fault: ***** HARD FAULT ***** [00:00:20.279,113] <err> os: hard_fault: Fault escalation (see below) [00:00:20.279,144] <err> os: hard_fault: ARCH_EXCEPT with reason 3 [00:00:20.279,144] <err> os: esf_dump: r0/a1: 0x00000003 r1/a2: 0x00000002 r2/a3: 0x00000001 [00:00:20.279,174] <err> os: esf_dump: r3/a4: 0x20001ff8 r12/ip: 0x00000000 r14/lr: 0x00013c59 [00:00:20.279,174] <err> os: esf_dump: xpsr: 0x4100001b [00:00:20.279,205] <err> os: esf_dump: Faulting instruction address (r15/pc): 0x0002c4f8 [00:00:20.279,235] <err> os: z_fatal_error: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 [00:00:20.279,235] <err> os: z_fatal_error: Fault during interrupt handling [00:00:20.279,266] <err> os: z_fatal_error: Current thread: 0x20002920 (idle) �*** Booting Zephyr OS build v3.0.99-ncs1 ***tal_error_handler: Resetting system
My combined project prj.conf file contains:
thanks...