I use a hardware timer to capture/compare incoming pulses using PPI to trigger the captures from GPIOTE. I previously wrote the same application for nRF52832 on the old SDK using TIMER4 and it works well.
Am now writing code using nRF54L15 which works OK. But I need to port the same code to nRF52832. If I run the same code on 52832 I get kernel panic.
Before I spend too much time chasing the panic I want to verify which timers I can safely use on the nRF52832? Note I'm concurrently using a Zephyr timer k_timer_start() for other purposes.
For info, this is the panic
ASSERTION FAIL [pin_has_trigger(p_instance, pin)] @ WEST_TOPDIR/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c:487 [00:00:00.003,265] <err> os: r0/a1: 0x00000004 r1/a2: 0x000001e7 r2/a3: 0x00000001 [00:00:00.003,295] <err> os: r3/a4: 0x00000004 r12/ip: 0x00000004 r14/lr: 0x00024dd9 [00:00:00.003,295] <err> os: xpsr: 0x01000000 [00:00:00.003,326] <err> os: Faulting instruction address (r15/pc): 0x0002d2ee [00:00:00.003,356] <err> os: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 [00:00:00.003,417] <err> os: Current thread: 0x20002ad0 (main) [00:00:00.064,086] <err> os: Halting system