Hello,
I have recently used the new toolchain manager to upgrade to ncs v1.3.0.
Now I am using Segger Embedded Studio to flash an nRF9160 with the at_client sample.
My issue is that I am not able to use pins 0 and 1 as UART0 on my custom nRF9160 board.
I have created the file ncs\v1.3.0\nrf\samples\nrf9160\at_client\nrf9160_pca10090ns.overlay
&uart0 {
status = "okay";
tx-pin = <1>;
rx-pin = <0>;
rts-pin = <0xFFFFFFFF>;
cts-pin = <0xFFFFFFFF>;
};
I also put this same text into a new file: ncs\v1.3.0\nrf\samples\nrf9160\spm\nrf9160_pca10090.overlay
Other than the fact that I don't get any response when I send AT commands to these pins, or get any data out at reset, I found that if I look at the file ncs\v1.3.0\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns\zephyr\include\generated\devicetree_unfixed.h
I can find the lines:
#define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin 29 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rx_pin 28 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rx_pin_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin 27 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin 26 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_current_speed 115200 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_current_speed_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_label "UART_0" #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_label_EXISTS 1 #define DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_status "okay"
So I think maybe this shows me that my attempts to change the UART0 pins are not taking?
Any help would be much apprecaited.