Part Number: AM6442
Hello TI supporters,
I have a AM64x-evm Kit,
I am testing uart3 on Linux SDK8.0 as below:
1. add node inside k3-am642-evm.dts
main_uart3_pins_default: main-uart3-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x0248, PIN_INPUT, 4) /* (D16 )UART1_CTSn.UART3_RXD */
AM64X_IOPAD(0x024c, PIN_OUTPUT, 4) /* (E16) UART1_RTSn.UART3_TXD */
>;
};
&main_uart3 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_uart3_pins_default>;
};
2. Build and copy dtb file inside the /root/boot/ and then reboot board.
3. testing UART3
root@am64xx-evm:~# cat /dev/ttyS5& echo "dsafdsadfsaf" > /dev/ttyS5 [5] 1079 root@am64xx-evm:~# cat /dev/ttyS2& echo "dfsafsaf" > /dev/ttyS2 [6] 1085 dfsafsaf
Nothing on the console,
I also open another minicom with /dev/ttyUSB3 but nothing to show.
I also test show devicetree infor by:
root@am64xx-evm:~# cat /proc/device-tree/bus@f4000/serial@2830000/status okay
On the am64x-evm board, UART3 connect to FTD chip with device file on PC is /dev/ttyUSB3 that is comfortable for testing.
But I don't know why UART3 can not work . Di you already tested UART3 on evm board yet?
I am wondering if the pin function is configurated correctly? Do I need to configure inside U-Boot?