Hi, I'm using nrf52810 ,nrf connect, zephyr, vscode extension. I’m having trouble using both UART0 and the NUS UART service. Here’s a snippet from my overlay file:
/ {
chosen {
nordic,nus-uart = &uart0;
};
};
&uart0 {
compatible = "nordic,nrf-uarte";
current-speed = <115200>;
status = "okay";
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};
I previously tested this code on an NRF52840, which has two physical UARTs (UART0 and UART1), where NUS used UART0 and the physical UART was set to UART1.
How can I bind the NUS UART service to something other than UART0? When both are on the same UART peripheral, the code doesn’t work.
br
Teijo