Dear Support
Try to modify this use UART_1 for sending out data received via BLE, which is pin P0.14 on nrf52833dk_nrf52833, I modified Kconfig file under the boards folder
Dear Support
Try to modify this use UART_1 for sending out data received via BLE, which is pin P0.14 on nrf52833dk_nrf52833, I modified Kconfig file under the boards folder
Thanks for your help, Oivind
I use VS Code and connect SDK v1.9.1. I added uart1.overlay file when build and use pins like below:
You could change the BT_NUS_UART_DEV in prj.conf, but doing it in the Kconfig file is also fine, and accomplishes the exact same thing.
The overlay file needs to be named the same as the board you are using, in your case nrf52833dk_nrf52833, or else it will not be included in the build.
Pin P0.11 will cause you problems, as it is used by the network core. Pin P0.14 is used by the qspi, so you might encounter some issues there too. If you disable i2c1 like I suggested, P1.02 and P1.03 are both available. Those can be used by setting the pins to 34 and 35 in the overlay. (32+2 and 32+3) Edit: Wrong advice for the board used.
Also try building pristine after changes to the prj.conf, overlay or Kconfig file.
You could change the BT_NUS_UART_DEV in prj.conf, but doing it in the Kconfig file is also fine, and accomplishes the exact same thing.
The overlay file needs to be named the same as the board you are using, in your case nrf52833dk_nrf52833, or else it will not be included in the build.
Pin P0.11 will cause you problems, as it is used by the network core. Pin P0.14 is used by the qspi, so you might encounter some issues there too. If you disable i2c1 like I suggested, P1.02 and P1.03 are both available. Those can be used by setting the pins to 34 and 35 in the overlay. (32+2 and 32+3) Edit: Wrong advice for the board used.
Also try building pristine after changes to the prj.conf, overlay or Kconfig file.