Hello,
I would like to change the default pin configuration for nrf9160:
TX: 29 -> 13
RX 28 -> 14
CTS: 26 -> 26
RTS: 27 -> 27
I followed this post: UART communication between nrf9160 and nrf52840 on Thingy91
Therefore my nrf9160dk_nrf9160_ns.overlay looks as follows:
&uart0 {
current-speed = <115200>;
status = "okay";
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 13)>,
<NRF_PSEL(UART_RX, 0, 14)>,
<NRF_PSEL(UART_RTS, 0, 27)>,
<NRF_PSEL(UART_CTS, 0, 26)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 13)>,
<NRF_PSEL(UART_RX, 0, 14)>,
<NRF_PSEL(UART_RTS, 0, 27)>,
<NRF_PSEL(UART_CTS, 0, 26)>;
low-power-enable;
};
};
};
I am able to see what I am receiving from PIN 13. However, The receiver is not receiving what I am sending. Moreover, It looks like I have some conflict in the definition, because VS shows me the following:

As we can see I have double definition of RX pin. the original and the redefinition. Also, I saw that there is a definition inside of the Kconfig, but according to the documentation it is only necessary to add an overlay file, no?
Thanks,
Javier