Hi all,
I am trying UART3(SER2 TX and RX) communication.
Following setting are done:
/* ser2 */&uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; assigned-clocks = <&clk IMX8MQ_CLK_UART3>; assigned-clock-parents = <&clk IMX8MQ_CLK_25M>; uart-has-rtscts; status = "okay"; };
/* ser 2 */ pinctrl_uart3: uart3grp { fsl,pins = < /* SER2_RX */ MX8MQ_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX 0xe /* SER2_TX */ MX8MQ_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX 0xe /* SER2_CTS_N */ MX8MQ_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0xe /* SER2_RTS_N */ MX8MQ_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0xe >; };
After this,
in console side we given the following command:
note:ttymxc2(tx and rx pin, rts)connected to other host at 115200 baudrate.
root@sm2s-imx8m-qc:~# stty -echo raw speed 115200 < /dev/ttymxc2115200 root@sm2s-imx8m-qc:~# echo "testing" > /dev/ttymxc2 root@sm2s-imx8m-qc:~# After this commands there is no output in host system?
May i know what is the problem and how to check this uart?
Thanks in advance.
Regards,
prathap