Hi,
I have configured UART2 as follows,
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2>;
status = "okay";
};
pinctrl_uart2: uart2grp {
fsl,pins = <
MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
>;
};
For testing, I tried loopback. But I'm not getting any response.
For loopback I have shorted 1&2 in J1703. I probed TX pin and found that data is transmitting.But nothing received in console.
Also, I tried UART1(default configuartion in imx6ull). For that I'm getting responses.
Could you mention the mistakes in above?
Regards
Hi mathew_k_t
uart2 example can be found on linux/arch/arm/boot/dts/imx6ull-14x14-evk.dts :
linux-imx.git - i.MX Linux Kernel
in particular one can pay attention to fsl,uart-has-rtscts, DTE mode properties
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your response.
I modified the dts file according to the reference. But the issue not resolved.
Regards
one can attach jtag and check uart registers: data ready RDR bit,
register UARTx_USR2
Best regards
igor
Hi Igor,
It is found that the UART2 is working at a baud rate of 9600. Because I'm able to receive data when set serial port at 9600. How to change this baud rate to 115200. I tried changing baud rate variable to 115200. But failed to produce output. How to resolve this issue?
regards