Hi.
I'm trying to use the UART5 on the i.mx6 on our board (Yocto project).
I'm using minicom as a terminal and it works fine to receive data, but I can't see any activity on the TX pin (CSI0_DAT14).
I have also tried to write small test code to write on the UART, but the same result.
Anyone who has a suggestion what could be wrong?
Is there anything I need to think of when setting up the UART in my device tree file?
My current settings:
uart5: serial@021f4000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f4000 0x4000>;
interrupts = <0 30 0x04>;
clocks = <&clks 160>, <&clks 161>;
clock-names = "ipg", "per";
dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
dma-names = "rx", "tx";
status = "disabled";
};
uart5 {
pinctrl_uart5_1: uart5grp-1 {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA 0x1b0b1
MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA 0x1b0b1
>;
};
};
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5_1>;
status = "okay";
};
Thanks,
Niklas
Solved! Go to Solution.
Seems like I had HW flow control enabled.