After I ported my project to ncs2.0.0, I found that the RX of nrf9160 could not receive data. To this end, I modified at_client for testing and found the same phenomenon. Please how to solve this problem.
Add boards/nrf9160dk_nrf9160_ns.overlay in at_clinet
nrf9160dk_nrf9160_ns.overlay:
&uart0 {
current-speed = <115200>;
status = "okay";
pinctrl-0 = < &uart0_default >;
pinctrl-1 = < &uart0_sleep >;
pinctrl-names = "default", "sleep";
};
&uart1 {
status = "disabled";
};
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 18)>,
<NRF_PSEL(UART_RX, 0, 19)>,
<NRF_PSEL(UART_RTS, 0, 30)>,
<NRF_PSEL(UART_CTS, 0, 31)>;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 18)>,
<NRF_PSEL(UART_RX, 0, 19)>,
<NRF_PSEL(UART_RTS, 0, 30)>,
<NRF_PSEL(UART_CTS, 0, 31)>;
low-power-enable;
};
};
};
