nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

nrF5340 app_core reboot when CONFIG_LSM6DSO=y is set for netcore

nrF5340 Appcore sw based on peripheral_lbs and netcore sw based on hci_rpmsg are working fine.  However, the appcore sw will crash when I set 

CONFIG_LSM6DSO=y in the pro.conf of the netcore.
  • CONFIG_SERIAL=n # Need to free up UART0 for SPI0
  • CONFIG_LOG=n # No logging. Logging will need UART0
  • CONFIG_SPI=y
  • CONFIG_SENSOR=y
  • CONFIG_LSM6DSO=y #<---------- This is the problem. No problem if it is set to n

*** Booting Zephyr OS build v2.4.99-ncs2-1 ***

I: 2 Sectors of 4096 bytes
I: alloc wra: 0, fb0
I: data wra: 0, 5c


$: ASSERTION FAIL @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:333.        <---------  Appcore sw Crash !!!!!!
E: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000000
E: r3/a4: 0x00011329 r12/ip: 0x00003000 r14/lr: 0x00013dfb
E: xpsr: 0x49000000
E: Faulting instruction address (r15/pc): 0x00013e06
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
E: Current thread: 0x200012c8 (main)
E: Resetting system *** Booting Zephyr OS build v2.4.99-ncs2-1 ***.     <---------- Reboot

I: 2 Sectors of 4096 bytes
I: alloc wra: 0, fb0
I: data wra: 0, 5c

I have turn off logging and disabled UART0 of the netcore in order to enable SPI0 for the LSM6DSO device. 

Am I missing something ??   Forget to turn off something using the UART0 ??

 

Parents Reply Children
Related