This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 DK UART0 and UARTE1

Hello,

I'm trying to use UART0 for communications between the nrf52840 and another microcontroller, while also using UARTE1 for debug communications between the nrf52840 and a FDTI cable which would be connected to a PC.

I am working with SDK 17, and studying the example located at \examples\peripheral\uart.

From what I've been able to find online, only UART0 can be used with app_uart, while UARTE1 would require using nrf_serial as described here. I cannot find any "nrf_serial" files in SDK 17, and the majority of threads which reference it are several years old now.

I am currently using RTT for debug communication via the USB connector, but am planning to move to a custom board with no USB connectors.

How can one use UARTE1 for debugging in SDK 17 along side the already existing UART0 (via app_uart)?

Edit: Looks like I missed libuarte (\examples\peripheral\libuarte), I can transmit on UARTE0 and UARTE1 now.

Related