Hi,
I'm trying to use the HCI UART sample to provide Bluetooth support through UART. At first I want to test it between two Nordic Boards, but later switch to another MCU.
One first nRF52840 DK I have flashed the HCI UART sample.
One the second nRF52840 DK I have flashed a peripheral_hr sample and added the the required configs:
/ {
chosen {
zephyr,bt-hci = &uart1;
};
};
&uart1
{
current-speed = <1000000>;
hw-flow-control;
status = "okay";
bt_hci_uart: bt_hci_uart {
compatible = "zephyr,bt-hci-uart";
status = "okay";
};
};
&uart1_default {
group2 {
psels = <NRF_PSEL(UART_RX, 1, 1)>,
<NRF_PSEL(UART_TX, 1, 2)>,
<NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 1, 4)>;
};
};