AnsweredAssumed Answered

ls1043ardb duart (uart+bluetooth) 问题

Question asked by ning li on Apr 2, 2018
Latest reply on Apr 3, 2018 by Pavel Chubakov

Dear NXP

      ls1043ardb (QorIQ-SDK-V2.0-20160527-yocto),使用duart1连接蓝牙,蓝牙(kernel)read到的数据偶尔异常。

连接方式:

duart0 作为普通串口;

duart1连接蓝牙。

采用这种方式之后,只能用作3线连接,即:RTS/CTS悬空。

 

DTS:

duart0: serial@21c0500 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x00 0x21c0500 0x0 0x100>;
interrupts = <0 54 0x4>;
clocks = <&clockgen 4 0>;
};

duart1: serial@21c0600 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x00 0x21c0600 0x0 0x100>;
interrupts = <0 54 0x4>;
clocks = <&clockgen 4 0>;
};

 

而且发现,串口(duart0)打印越多,蓝牙(duart1)越容易数据异常。

请问,duart0 和duart1是否会相互干扰?或者是别的什么原因?

 

谢谢!

Outcomes