Hi,
I am trying to integrate Sensirion SHT40 sensor with nRF52840. I am using the sensor sample app from 2.9.0 SDK. I am building with 2.6.1 SDK with toolchain 2.6.1. The build is ok, but when the app starts, it just get stuck as I can see in the console as follows.
[00:00:00.003,143] <inf> ieee802154_nrf5: nRF5 802154 radio initialized [00:00:00.003,173] <dbg> temp_nrf5_mpsl: temp_nrf5_mpsl_init: [00:00:00.009,490] <inf> fs_nvs: 8 Sectors of 4096 bytes [00:00:00.
Then I added CONFIG_COAP_CLIENT=y to prj.conf and I get the following.
[00:00:00.[00:00[00:00:00.003,326] <dbg> temp_nrf5_mpsl: temp_nrf5_mpsl_init:
[00:00:00.009,643] <inf> fs_nvs: 8 Sectors of 4096 bytes
[00:00:00.009,643] <inf> fs_nvs: alloc wra: 0, e00
[00:00:00.009,674] <inf> fs_nvs: data wra: 0, 810
*** Booting nRF Connect SDK v3.5.99-ncs1-1 ***
ASSERTION FAIL @ WEST_TOPDIR/zephyr/kernel/thread.c:601
invalid priority (15); allowed range: 14 to -16
[00:00:00.038,909] <dbg> temp_nrf5_mpsl: temp_nrf5_mpsl_sample_fetch: sample: 96
[00:00:00.038,940] <dbg> temp_nrf5_mpsl: temp_nrf5_mpsl_channel_get: Temperature:24,0
[00:00:00.039,031] <err> os: r0/a1: 0x00000004 r1/a2: 0x00000259 r2/a3: 0x00000009
[00:00:00.039,062] <err> os: r3/a4: 0x20001a40 r12/ip: 0x00000014 r14/lr: 0x00022321
[00:00:00.039,062] <err> os: xpsr: 0x41000000
[00:00:00.039,093] <err> os: s[ 0]: 0x00000001 s[ 1]: 0x20003f10 s[ 2]: 0x20002bf8 s[ 3]: 0x0003b379
[00:00:00.039,093] <err> os: s[ 4]: 0x00000000 s[ 5]: 0x00000000 s[ 6]: 0x000539d0 s[ 7]: 0x20015744
[00:00:00.039,123] <err> os: s[ 8]: 0x20002bf8 s[ 9]: 0x0003ac5d s[10]: 0x000539d0 s[11]: 0x20015744
[00:00:00.039,154] <err> os: s[12]: 0x0000000e s[13]: 0x00022317 s[14]: 0x000539d0 s[15]: 0x0000000f
[00:00:00.039,154] <err> os: fpscr: 0x0000000e
[00:00:00.039,154] <err> os: Faulting instruction address (r15/pc): 0x0003ac4a
[00:00:00.039,215] <err> os: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
[00:00:00.039,245] <err> os: Current thread: 0x20003f10 (main)
I have attached my prj.conf and overlay file.
6366.nrf52840dk_nrf52840.overlay
I haven't modified any thread priority. I tried searching for where this priorities are assigned, but couldn't find that either.
Please help.
Cheers,
Kaushalya