Hi all.
I have a project on nrf52840 with ble. I needed to add a nrfx timer there. I deleted everything from the main function. Added the code from the timer-counter example.
The whole program crashes in a timer interrupt. The program crashed while processing a timer interrupt. Moreover, I made the interrupt empty, but it didn't help. Removing the bluetooth part from prj.conf helped. So far, I don't need ble in the project, but it will come in handy soon. Can you tell me how to return ble to the project?
Error:
[00:00:29.494,415] <err> mpsl_init: MPSL ASSERT: 112, 817
[00:00:29.494,781] <err> os: **** HARD FAULT ****
[00:00:29.495,117] <err> os: Fault escalation (see below)
[00:00:29.495,483] <err> os: ARCH_EXCEPT with reason 3
[00:00:29.495,849] <err> os: r0/a1: 0x00000003 r1/a2: 0x20003f8c r2/a3: 0x00000001
[00:00:29.496,368] <err> os: r3/a4: 0x00000000 r12/ip: 0x2000504c r14/lr: 0x0003bd25
[00:00:29.496,856] <err> os: xpsr: 0x41000018
[00:00:29.497,222] <err> os: s[ 0]: 0x00000000 s[ 1]: 0x00000000 s[ 2]: 0x0004be28 s[ 3]: 0x20007fc0
[00:00:29.497,863] <err> os: s[ 4]: 0x00000331 s[ 5]: 0x00000000 s[ 6]: 0x0000000a s[ 7]: 0x00018db9
[00:00:29.498,504] <err> os: s[ 8]: 0x00323131 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x000161e1
[00:00:29.499,145] <err> os: s[12]: 0x20001e30 s[13]: 0x200019b0 s[14]: 0x00000000 s[15]: 0x0001692f
[00:00:29.499,786] <err> os: fpscr: 0x00000000
[00:00:29.500,122] <err> os: Faulting instruction address (r15/pc): 0x00038808
[00:00:29.500,579] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:29.515,777] <err> os: Fault during interrupt handling
[00:00:29.516,143] <err> os: Current thread: 0x20003cb0 (unknown)
[00:00:29.521,453] <err> fatal_error: Resetting system
Configuration: