Using uart0 rx in jetson nano

I want to use uart0(pin 99 and 101)for simple serial transceiver without using cts and rts。So I change dts file as follows

serial@70006200 {
		compatible = "nvidia,tegra114-hsuart";
		reg = <0x0 0x70006200 0x0 0x40>;
		reg-shift = <0x2>;
		interrupts = <0x0 0x2e 0x4>;
		iommus = <0x2b 0xe>;
		dmas = <0x4c 0xa 0x4c 0xa>;
		dma-names = "rx", "tx";
		clocks = <0x21 0x37 0x21 0xf3>;
		clock-names = "serial", "parent";
		resets = <0x21 0x37>;
		reset-names = "serial";
		nvidia,adjust-baud-rates = <0x1c200 0x1c200 0x64>;
		status = "okay";
		linux,phandle = <0x10a>;
		phandle = <0x10a>;
	};

now I can find ttyTHS2 at MMIO 0x70006200 is a TEGRA_UART。AND I can send message through ttyTHS2, but I can not receive message from the port.
So is there any thing wrong in my dts setting?
Thanks

Hi chengfch,

Are you using the devkit or custom board for Jetson Nano?
What’s your Jetpack version in use?

Could you share the full dmesg for further check?

after two days testing, I found the uart0 worked fine, the question is the baud rate is not set correctly. The dtb setting is correct.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.