How to change the communication port from USB to UART in OpenThread CLI sample?

Hi,

I don't know how do I change port from USB to UART in OpenThread CLI sample.

I'd like to connect to the other board with UART TXD/RXD and the other board sends cli command.
I seem the nRF52840-DK communicates using IMCU_USB in nRF5340.

How can I use any free port as a UART and use that UART port for CLI communication?

Best regards,

Yuma

Parents Reply
  • Yuma said:
    - When the board directly communicates with another device using the RX pin and TX pin of "nRF52_UART", it can connect by wiring from the P0.06/P0.08 pin header by turning SW11 OFF.

    Correct.

    Yuma said:
    - When the board directly communicates with another device using the RX pin and TX pin of "nRF52_UART", it can connect by wiring from the P0.06/P0.08 pin header by turning SW11 OFF.

    Yep.

    Yuma said:
    - When the board directly communicates with another device using the RX pin and TX pin of "nRF52_UART", it can connect by wiring from the P0.06/P0.08 pin header by turning SW11 OFF.

    SW11 only turns of flow control.

    You can still connect P0.06 and 0.08 to something even when the Interface MCU is connected.
    The cleaner method for getting UART to pins would be to re-route the UART to some other pins in your software for the developement nRF, using pinctrl.

Children
No Data
Related