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

How can I map an UART interface on other nrF51422 pins ?

I use a nRF51 dongle for some tests and I want to map the UART interface of UART_example on the pins 15,16,17 and 18 of the Dongle.

I try to juste adapt this lines of code:

#define UART0_CONFIG_PSEL_TXD 16
#define UART0_CONFIG_PSEL_RXD 18
#define UART0_CONFIG_PSEL_CTS 17
#define UART0_CONFIG_PSEL_RTS 15

I have change the number and hope I can see the byte on TXD (the ASCII code with a scope) by example but I think, I forget to make other modifications. Somebody have an idea ?

Related