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

How to use 2 UARTS in nrf52840

I am having issues to use 2nd UART. When I run Keil in debug mode it shows me three UART registers. i) UART0 ii) UARTE0 iii) UARTE1

Is this UART0 and UARTE0 same thing?

#define NRF_UART0_BASE 0x40002000UL #define NRF_UARTE0_BASE 0x40002000UL

Both base address is same in “nrf52.h”. Please confirm is it the right address allocation? If there is any working example where both UART's working will be helpful.

Related