MPSL assert: 106, 508 when using UARTE ASYNC API

Hi,

I'm developing at work with a custom nRF52840 based board, using NCS version 2.2.0.

I am a beginner, and I created a new project based on the official zigbee sample "network_coordinator", and used asynchronous api (with hw counting) to drive UARTE 0 for serial port transceiver. My code is very simple, but it crashes at runtime and prints the following MPSL assert over RTT.

When "uart_rx_enable" is commented out, the assertion disappears.

Is it possible to learn more about the reason for this assert? Please tell me how to solve this problem.

[00:*** Booting Zephyr OS build v3.2.99-ncs1 ***
[00:00:00.013,580] <inf> app: Starting ZBOSS Coordinator example
[00:00:00.013,580] <inf> app: my_uart_init()
[00:00:00.014,556] <inf> app: ZBOSS Coordinator example started
[00:00:00.228,149] <err> mpsl_init: MPSL ASSERT: 106, 508
[00:00:00.228,149] <err> os: ***** HARD FAULT *****
[00:00:00.228,179] <err> os:   Fault escalation (see below)
[00:00:00.228,179] <err> os: ARCH_EXCEPT with reason 3

[00:00:00.228,210] <err> os: r0/a1:  0x00000003  r1/a2:  0x00000000  r2/a3:  0x00000005
[00:00:00.228,240] <err> os: r3/a4:  0x20001600 r12/ip:  0x20000d38 r14/lr:  0x00013951
[00:00:00.228,240] <err> os:  xpsr:  0x41000000
[00:00:00.228,271] <err> os: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
[00:00:00.228,302] <err> os: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
[00:00:00.228,302] <err> os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:00.228,332] <err> os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
[00:00:00.228,332] <err> os: fpscr:  0x20000de8
[00:00:00.228,363] <err> os: Faulting instruction address (r15/pc): 0x0001980c
[00:00:00.228,393] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:00.228,424] <err> os: Current thread: 0x20002878 (unknown)
[00:00:01.284,332] <err> fatal_error: Resetting system

3060.network_coordinator_test.zip

Related