This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

peripheral_uart, how to separate console and communication ?

Hi,

I work with win10 laptop, Toolchain  nrf Connect SDK 1.6.1 on a nrf5340dk.

I like to use the uart1 for the console (printk debugging) and the uart0 for communication.

In prj.conf I add "CONFIG_NRFX_UARTE1=y".

And in nrf5340_cpuapp_common.dts (in board folder) I change uart0 by uart1

" chosen {
        zephyr,console = &uart1;   //&uart0;
        zephyr,shell-uart = &uart0;
        zephyr,uart-mcumgr = &uart0;
        zephyr,bt-mon-uart = &uart0;
        zephyr,bt-c2h-uart = &uart0;
    }; "

But  nothing works, Leds are not blinking no more,

I can not see anymore the bluetooth module on the App nRF Connect,

and nothing on the serial terminal.

Could you help me please ?

Best Regards,

Rob.