NRF7002DK Use NRF5340 UART1 pins

Hello,

We have an NRF7002DK and are trying to connect a sensor via UART1 to the NRF5340 application core running Zephyr OS.

However, the UART signal from the sensor does not seem to reach the application - we do either cannot read data at all or receive framing errors.
We have tried several alternative pin configurations and UART instances but none of them works.

When connecting the sensor to the RX line of UART0 (console) however, we receive the data as expected.

Does this have to do with the DK board configuration (switches, etc.)?

Here is the DTS configuration of the UART1 node

uart1: uart@9000 {
	compatible = "nordic,nrf-uarte";
	reg = < 0x9000 0x1000 >;
	interrupts = < 0x9 0x1 >;
	status = "okay";
	current-speed = < 0x1c200 >;
	pinctrl-0 = < &uart1_default >;
	pinctrl-1 = < &uart1_sleep >;
	pinctrl-names = "default", "sleep";
	mysensor: mysensor-uart0 {
    	compatible = "my-company,mysensor-uart";
		status = "okay";
	};
};

Thank you very much for your help.

Kind regards,

Nils

Related