Can't use UART2 in nrf9160 when update sdk 1.6.0

Hi.

I used sdk 1.4.0 with nrf9160, I used UART2 to comunicate with another mcu. I run fine and no problem.

Today, I update to SDK 1.6.0, I edited UART2 ( in device tree), but it can't receive any data from uart 2 ( but uart 1 still run fine).

This is my config in nrf9160dk_nrf9160_common.dts in zephyr>boards>arm>nrf9160dk_nrf9160

&uart1 {
status = "okay";
current-speed = <115200>;
tx-pin = <1>;
rx-pin = <0>;
rts-pin = <14>;
cts-pin = <15>;
};

&uart2 {
status = "okay";
current-speed = <115200>;
tx-pin = <1>;
rx-pin = <0>;
tx-pin = <27>;
rx-pin = <26>;
};

(In SEGGER Embedded Studio, I had turned on uarte2 is non_secure, in Edit device tree, UART2 Tx, UART2  Rx pin is correct)

Please help me and thank you

Parents Reply Children
Related