BLE AoA and nRF 802.15.4 Driver sharing Radio

Hi,

I am trying to get both the 802.15.4 stack and the BLE AoA stacks to run concurrently on an nRF52833.

Looking at the documentation here, it appears that it should be possible to do this using MPSL.

My setup:

  • nRF SDK v2.5.3
  • nRF52833DK_nRF52833

I started with a pristine copy of the peripheral_uart sample to verify my timeslot implemetation. I added the following KCONFIGs to prj.conf to allow it to receive 802.15.4 packets.

CONFIG_NRF_802154_RADIO_DRIVER=y
CONFIG_NRF_802154_SL=y
CONFIG_NRF_802154_TEMPERATURE_UPDATE=n

CONFIG_MPSL=y
CONFIG_MPSL_TIMESLOT_SESSION_COUNT=6
CONFIG_MPSL_WORK_STACK_SIZE=2048

With this setup, I am able to use the peripheral_uart project as expected, while also being able to see incoming 802.15.4 packets.

I then moved to a pristine copy of the direction_finding_connectionless_rx project. Without making any modifications to it, I was able to receive BLE AoA packets from my transmitter (as expected). After adding the above KCONFIGs to this direction_finding_connectionless_rx project, I am unable to begin BLE scanning.

*** Booting nRF Connect SDK v2.5.3 ***

[00:00:00.000,122] <inf> main: Starting Connectionless Locator Demo


[00:00:00.000,122] <inf> main: Bluetooth initialization...

[00:00:00.001,495] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)

[00:00:00.001,525] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)

[00:00:00.001,556] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.4 Build 99

[00:00:00.002,075] <inf> bt_hci_core: Identity: EE:0F:64:89:E3:D9 (random)

[00:00:00.002,105] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1

[00:00:00.002,136] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff

[00:00:00.002,166] <inf> main: success


[00:00:00.002,166] <inf> main: Scan callbacks register...

[00:00:00.002,197] <inf> main: success.


[00:00:00.002,197] <inf> main: Periodic Advertising callbacks register...

[00:00:00.002,227] <inf> main: success.


[00:00:00.002,227] <inf> main: Start scanning...

ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:331

        command opcode 0x2042 timeout with err -11

[00:00:10.003,509] <err> os: r0/a1:  0x00000003  r1/a2:  0x00000000  r2/a3:  0x00000002

[00:00:10.003,540] <err> os: r3/a4:  0x20000f08 r12/ip:  0x00000010 r14/lr:  0x00006295

[00:00:10.003,540] <err> os:  xpsr:  0x41000000

[00:00:10.003,540] <err> os: Faulting instruction address (r15/pc): 0x000062a0

[00:00:10.003,601] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0

[00:00:10.003,631] <err> os: Current thread: 0x20001ab8 (unknown)

[00:00:10.081,695] <err> fatal_error: Resetting system

I was able to set the BT debug level to DBG to get a more detailed log of events, which I have attached below for reference.

[00:00:00.000,091] <dbg> bt_hci_core: bt_hci_driver_register: Registered Controller

*** Booting nRF Connect SDK v2.5.3 ***

[00:00:00.000,152] <inf> main: Starting Connectionless Locator Demo

//I added a 5s delay after logging the start banner

[00:00:05.002,319] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

--- 84 messages dropped ---

[00:00:05.002,319] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.002,349] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 14 bytes

[00:00:05.002,349] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2003

[00:00:05.002,380] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2003 status 0x00 buf 0x2000df08

[00:00:05.002,410] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.002,410] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.002,441] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2003 len 9

[00:00:05.002,471] <dbg> bt_hci_core: read_le_features_complete: status 0x00

[00:00:05.002,471] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x201c param_len 0

[00:00:05.002,502] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.002,532] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x201c len 3

[00:00:05.002,563] <dbg> bt_hci_core: process_events: count 1

[00:00:05.002,563] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.002,593] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.002,593] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.002,624] <dbg> bt_hci_core: send_cmd: Sending command 0x201c (buf 0x2000df08) to driver

[00:00:05.002,624] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.002,655] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.002,655] <dbg> bt_ctlr_hci: le_read_supp_states: states: 0x0000000000003330

[00:00:05.002,685] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 14 bytes

[00:00:05.002,685] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x201c

[00:00:05.002,716] <dbg> bt_hci_core: hci_cmd_done: opcode 0x201c status 0x00 buf 0x2000df08

[00:00:05.002,746] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.002,746] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.002,777] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x201c len 9

[00:00:05.002,807] <dbg> bt_hci_core: le_read_supp_states_complete: status 0x00

[00:00:05.002,807] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2058 param_len 0

[00:00:05.002,838] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.002,868] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2058 len 3

[00:00:05.002,899] <dbg> bt_hci_core: process_events: count 1

[00:00:05.002,899] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.002,929] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.002,929] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.002,960] <dbg> bt_hci_core: send_cmd: Sending command 0x2058 (buf 0x2000df08) to driver

[00:00:05.002,960] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.002,990] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.002,990] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 10 bytes

[00:00:05.003,021] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2058

[00:00:05.003,021] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2058 status 0x00 buf 0x2000df08

[00:00:05.003,051] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.003,082] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.003,112] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2058 len 5

[00:00:05.003,112] <dbg> bt_df: hci_df_read_ant_info: DF: sw. sampl rates: 6 ant num: 12 , max sw. pattern len: 12,max CTE len 20

[00:00:05.003,143] <dbg> bt_df: le_df_init: DF initialized.

[00:00:05.003,173] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2001 param_len 8

[00:00:05.003,173] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.003,204] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2001 len 11

[00:00:05.003,234] <dbg> bt_hci_core: process_events: count 1

[00:00:05.003,234] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.003,265] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.003,265] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.003,295] <dbg> bt_hci_core: send_cmd: Sending command 0x2001 (buf 0x2000df08) to driver

[00:00:05.003,295] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 11 type 0

[00:00:05.003,326] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.003,326] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 6 bytes

[00:00:05.003,356] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2001

[00:00:05.003,356] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2001 status 0x00 buf 0x2000df08

[00:00:05.003,387] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.003,417] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.003,448] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2001 len 1

[00:00:05.003,479] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x0c01 param_len 8

[00:00:05.003,479] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.003,509] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x0c01 len 11

[00:00:05.003,540] <dbg> bt_hci_core: process_events: count 1

[00:00:05.003,540] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.003,570] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.003,570] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.003,601] <dbg> bt_hci_core: send_cmd: Sending command 0x0c01 (buf 0x2000df08) to driver

[00:00:05.003,601] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 11 type 0

[00:00:05.003,631] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.003,631] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 6 bytes

[00:00:05.003,662] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x0c01

[00:00:05.003,692] <dbg> bt_hci_core: hci_cmd_done: opcode 0x0c01 status 0x00 buf 0x2000df08

[00:00:05.003,692] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.003,723] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.003,753] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x0c01 len 1

[00:00:05.003,784] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0xfc01 param_len 0

[00:00:05.003,784] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.003,814] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0xfc01 len 3

[00:00:05.003,845] <dbg> bt_hci_core: process_events: count 1

[00:00:05.003,875] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.003,875] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.003,875] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.003,906] <dbg> bt_hci_core: send_cmd: Sending command 0xfc01 (buf 0x2000df08) to driver

[00:00:05.003,906] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.003,936] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.003,967] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 18 bytes

[00:00:05.003,967] <dbg> bt_hci_core: hci_cmd_complete: opcode 0xfc01

[00:00:05.003,997] <dbg> bt_hci_core: hci_cmd_done: opcode 0xfc01 status 0x00 buf 0x2000df08

[00:00:05.003,997] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.004,028] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.004,058] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0xfc01 len 13

[00:00:05.004,089] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)

[00:00:05.004,119] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)

[00:00:05.004,150] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.4 Build 99

[00:00:05.004,180] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0xfc02 param_len 0

[00:00:05.004,180] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.004,211] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0xfc02 len 3

[00:00:05.004,241] <dbg> bt_hci_core: process_events: count 1

[00:00:05.004,241] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.004,272] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.004,272] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.004,302] <dbg> bt_hci_core: send_cmd: Sending command 0xfc02 (buf 0x2000df08) to driver

[00:00:05.004,302] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.004,333] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.004,364] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 70 bytes

[00:00:05.004,364] <dbg> bt_hci_core: hci_cmd_complete: opcode 0xfc02

[00:00:05.004,394] <dbg> bt_hci_core: hci_cmd_done: opcode 0xfc02 status 0x00 buf 0x2000df08

[00:00:05.004,425] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.004,425] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.004,455] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0xfc02 len 65

[00:00:05.004,486] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0xfc03 param_len 0

[00:00:05.004,516] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.004,516] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0xfc03 len 3

[00:00:05.004,547] <dbg> bt_hci_core: process_events: count 1

[00:00:05.004,577] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.004,577] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.004,608] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.004,608] <dbg> bt_hci_core: send_cmd: Sending command 0xfc03 (buf 0x2000df08) to driver

[00:00:05.004,638] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.004,638] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.004,669] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 14 bytes

[00:00:05.004,669] <dbg> bt_hci_core: hci_cmd_complete: opcode 0xfc03

[00:00:05.004,699] <dbg> bt_hci_core: hci_cmd_done: opcode 0xfc03 status 0x00 buf 0x2000df08

[00:00:05.004,730] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.004,730] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.004,791] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0xfc03 len 9

[00:00:05.004,791] <dbg> bt_id: bt_id_init: No user identity. Trying to set public.

[00:00:05.004,821] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x1009 param_len 0

[00:00:05.004,821] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.004,852] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x1009 len 3

[00:00:05.004,882] <dbg> bt_hci_core: process_events: count 1

[00:00:05.004,882] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.004,913] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.004,913] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.004,943] <dbg> bt_hci_core: send_cmd: Sending command 0x1009 (buf 0x2000df08) to driver

[00:00:05.004,943] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.004,974] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.004,974] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 12 bytes

[00:00:05.005,004] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x1009

[00:00:05.005,035] <dbg> bt_hci_core: hci_cmd_done: opcode 0x1009 status 0x00 buf 0x2000df08

[00:00:05.005,035] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.005,065] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.005,096] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x1009 len 7

[00:00:05.005,126] <dbg> bt_id: bt_id_read_public_addr: Controller has no public address

[00:00:05.005,126] <dbg> bt_id: bt_id_init: No public address. Trying to set static random.

[00:00:05.005,157] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0xfc09 param_len 0

[00:00:05.005,157] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.005,187] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0xfc09 len 3

[00:00:05.005,218] <dbg> bt_hci_core: process_events: count 1

[00:00:05.005,249] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.005,279] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.005,279] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.005,310] <dbg> bt_hci_core: send_cmd: Sending command 0xfc09 (buf 0x2000df08) to driver

[00:00:05.005,340] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 3 type 0

[00:00:05.005,371] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.005,401] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 29 bytes

[00:00:05.005,401] <dbg> bt_hci_core: hci_cmd_complete: opcode 0xfc09

[00:00:05.005,432] <dbg> bt_hci_core: hci_cmd_done: opcode 0xfc09 status 0x00 buf 0x2000df08

[00:00:05.005,462] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.005,493] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.005,523] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0xfc09 len 24

[00:00:05.005,615] <dbg> bt_id: set_random_address: EE:0F:64:89:E3:D9

[00:00:05.005,645] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2005 param_len 6

[00:00:05.005,676] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.005,706] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2005 len 9

[00:00:05.005,737] <dbg> bt_hci_core: process_events: count 1

[00:00:05.005,737] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.005,767] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.005,798] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.005,828] <dbg> bt_hci_core: send_cmd: Sending command 0x2005 (buf 0x2000df08) to driver

[00:00:05.005,828] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 9 type 0

[00:00:05.005,859] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.005,889] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 6 bytes

[00:00:05.005,889] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2005

[00:00:05.005,920] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2005 status 0x00 buf 0x2000df08

[00:00:05.005,950] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.005,981] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.006,042] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2005 len 1

[00:00:05.006,134] <inf> bt_hci_core: Identity: EE:0F:64:89:E3:D9 (random)

[00:00:05.006,164] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1

[00:00:05.006,225] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff

[00:00:05.006,225] <inf> main: success


[00:00:05.006,256] <inf> main: Scan callbacks register...

[00:00:05.006,256] <inf> main: success.


[00:00:05.006,286] <inf> main: Periodic Advertising callbacks register...

[00:00:05.006,317] <inf> main: success.


[00:00:05.006,317] <inf> main: Start scanning...

[00:00:05.006,408] <dbg> bt_id: set_random_address: 3C:DB:4D:2C:48:CD

[00:00:05.006,439] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2005 param_len 6

[00:00:05.006,469] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.006,500] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2005 len 9

[00:00:05.006,530] <dbg> bt_hci_core: process_events: count 1

[00:00:05.006,561] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.006,561] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.006,591] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.006,622] <dbg> bt_hci_core: send_cmd: Sending command 0x2005 (buf 0x2000df08) to driver

[00:00:05.006,652] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 9 type 0

[00:00:05.006,652] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.006,683] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 6 bytes

[00:00:05.006,713] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2005

[00:00:05.006,744] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2005 status 0x00 buf 0x2000df08

[00:00:05.006,744] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.006,805] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.006,835] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2005 len 1

[00:00:05.006,866] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2041 param_len 8

[00:00:05.006,896] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.006,927] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2041 len 11

[00:00:05.006,958] <dbg> bt_hci_core: process_events: count 1

[00:00:05.006,988] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.006,988] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.007,019] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.007,049] <dbg> bt_hci_core: send_cmd: Sending command 0x2041 (buf 0x2000df08) to driver

[00:00:05.007,080] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 11 type 0

[00:00:05.007,080] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

[00:00:05.007,110] <dbg> bt_ctlr_hci_driver: cmd_handle: Replying with event of 6 bytes

[00:00:05.007,141] <dbg> bt_hci_core: hci_cmd_complete: opcode 0x2041

[00:00:05.007,171] <dbg> bt_hci_core: hci_cmd_done: opcode 0x2041 status 0x00 buf 0x2000df08

[00:00:05.007,202] <dbg> bt_ctlr_hci_driver: hci_driver_send: exit: 0

[00:00:05.007,232] <dbg> bt_hci_core: hci_tx_thread: Calling k_poll with 1 events

[00:00:05.007,263] <dbg> bt_hci_core: bt_hci_cmd_send_sync: rsp 0x2000df08 opcode 0x2041 len 1

[00:00:05.007,293] <dbg> bt_hci_core: bt_hci_cmd_create: opcode 0x2042 param_len 6

[00:00:05.007,324] <dbg> bt_hci_core: bt_hci_cmd_create: buf 0x2000df08

[00:00:05.007,354] <dbg> bt_hci_core: bt_hci_cmd_send_sync: buf 0x2000df08 opcode 0x2042 len 9

[00:00:05.007,385] <dbg> bt_hci_core: process_events: count 1

[00:00:05.007,415] <dbg> bt_hci_core: process_events: ev->state 4

[00:00:05.007,446] <dbg> bt_hci_core: send_cmd: calling net_buf_get

[00:00:05.007,446] <dbg> bt_hci_core: send_cmd: calling sem_take_wait

[00:00:05.007,476] <dbg> bt_hci_core: send_cmd: Sending command 0x2042 (buf 0x2000df08) to driver

[00:00:05.007,507] <dbg> bt_hci_core: bt_send: buf 0x2000df08 len 9 type 0

[00:00:05.007,507] <dbg> bt_ctlr_hci_driver: hci_driver_send: enter

Do you have any recommendations for using MPSL to use both BLE AoA Rx as well as 802.15.4 Rx?

Thank you,

Zach

Parents Reply Children
Related