IMX8MQ UART2(SER2) problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MQ UART2(SER2) problem

937 Views
prathap_ponnuch
Contributor I

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

					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
0 Kudos
Reply
3 Replies

877 Views
prathap_ponnuch
Contributor I

Hi Igor,

Thanks for replay.

we are using the following path to modify:

linux-imx/4.14.98-r0/git/arch/arm64/boot/dts/msc$ vi msc-sm2s-imx8m-qc-001.dts

Regards,

prathap

0 Kudos
Reply

877 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prathap

 

if  this is third party software may be suggested to post issue to tech support

of vendor of that software.

 

Best regards
igor

0 Kudos
Reply

877 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prathap

what bsp used in the case, for uart3 dts example one can look at

imx8mq-evk.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

test with uart unit test and Demo Image:

mxc_uart_test\test - imx-test - i.MX Driver Test Application Software 

Demo Image i.MX 8M Quad EVK

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply