Hi All,
I flashed an nRF5340 DK board with a samples/bluetooth/hci_uart image and one more nRF5340 Audio DK with a samples/bluetooth/peripheral image.
I have not made any DTS changes for the nRF5340 DK board (using it as a controller). Below are the changes made in the nRF5340 Audio DK DTS file,
chosen { zephyr,bt-uart = &uart3; }; &uart3 { status = "okay"; current-speed = <115200>; pinctrl-0 = <&uart3_default>; pinctrl-1 = <&uart3_sleep>; pinctrl-names = "default", "sleep"; }; uart3_default: uart3_default { group1 { psels = <NRF_PSEL(UART_TX, 1, 12)>, <NRF_PSEL(UART_RTS, 1, 11)>; }; group2 { psels = <NRF_PSEL(UART_RX, 1, 13)>, <NRF_PSEL(UART_CTS, 1, 1)>; bias-pull-up; }; }; uart3_sleep: uart3_sleep { group1 { psels = <NRF_PSEL(UART_TX, 1, 12)>, <NRF_PSEL(UART_RX, 1, 13)>, <NRF_PSEL(UART_RTS, 1, 11)>, <NRF_PSEL(UART_CTS, 1, 1)>; low-power-enable; }; };
I connected jumper wires between these two boards and the jumper configs are as follows:
Pin | nRF5340 DK | nRF5340 Audio DK |
Tx | P1.12 | P1.0 |
Rx | P1.13 | P1.1 |
RTS | P1.11 | P0.11 |
CTS | P1.1 | P0.10 |
With the above configs, I am getting HCI timeout in the nRF5340 Audio DK board (flashed with samples/bluetooth/peripheral)
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:331 command opcode 0x0c03 timeout with err -11
Please help me resolve this error and let me know if I am doing anything wrong. I appreciate any help you can provide.