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

nRF52840 UART connection

Hi support team,

I'm using Nordic nRF52840 with PCA10056 and SDK 14.1. I have a problem with UART connection. I have a custom board which need to hook up UART connection with Nordic PDK for data or command transferring. And also I need annother UART connection between Nordic PDK and PC, which is used to print debug trace. I can download firmware to the PDK and also print messages to the virtual COM port via USB.

  1. I know nRF52840 has two instances of UART. Is the virtual COM port(USB interface to PDK MCU) one of UART instance? If not, what is the difference?

  2. I started with the example "nRF5_SDK_14.1.0_1dda907\examples\peripheral\serial", I can see UART data from the USB interface of the PDK MCU by Tera Term. Then I tried to change UART pins to my custom ones. I used an FTDI usb to uart convertor to hook up my PC with PDK on gpio pins of P0.26(RXD), P0.27(TXD), P0.02(CTS), P1.15(RTS). Also I change the UART config in the example code like this:

image description

However, I can't see any UART output from the my FTDI USB port or the PDK USB interface port. I'm pretty sure that my FTDI connection is good. Could someone help about this?

3.Still started with the example "examples\peripheral\serial", if I retain the USB interface for PDK UART connection, how should I do if I want another UART connection between my custom board and PDK?

Thank you in advance.

Best regards,

Tengfei.

Parents Reply Children
No Data
Related