i.mx6 uart tx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,387件の閲覧回数
niklasmolin
Senior Contributor I

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

ラベル(3)
0 件の賞賛
返信
1 解決策
745件の閲覧回数
niklasmolin
Senior Contributor I

Seems like I had HW flow control enabled.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
746件の閲覧回数
niklasmolin
Senior Contributor I

Seems like I had HW flow control enabled.

0 件の賞賛
返信