IMX6D debug UART weird behaviour

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6D debug UART weird behaviour

3,185 次查看
peterhygren
Contributor III

Hi all,

Can anyone explain this behaviour:

When trying to boot various uboot images I can read out the debug info just fine. However, if I ever wanna input data to the UART, I get this weird voltage level shift that results in me having to reboot the board. This first image shows the TXD from the CPU (1.8V logic level) in blue. This gets interpreted by my USB-UART just fine as a normal boot log (that crashes, but that's another issue).

20130521_140336.jpg

Now if I try to send data in the other direction (yellow) the data is read correctly by the CPU, but the output signal becomes distorted after the first pulse, and can no longer be read by my USB-UART because of the high LOW-level. See the image below:

20130521_140621.jpg

All sub-sequent responses from the CPU is at this weird high level and I have to cycle power to remove the behaviour.

Has anyone got a clue what might cause this?

标签 (2)
标记 (3)
0 项奖励
回复
5 回复数

2,537 次查看
peterhygren
Contributor III

I've concluded that the reason for the behaviour is the dual drivers.

0 项奖励
回复

2,537 次查看
fabio_estevam
NXP Employee
NXP Employee

Can you post your the schematics that show the serial port connection (transceiver + serial connector) and also your code that does the serial pins configuration?

0 项奖励
回复

2,533 次查看
peterhygren
Contributor III

The data comes from the boot log on the debug UART. Sometimes, like 1 out of 20 or so, it doesn't hang like this, and I can actually talk to the uboot console.

The UART is 1.8V logic, and it's connected to our Wifi/Bluetooth module, and I've soldered two wires on the RXD and TXD.

RXD and TXD connections on the CPU.

1.png

Harness connection to Wifi module

2.png

Wifi module

3.png

And I also attached the CPU power schematic as a PDF.

0 项奖励
回复

2,533 次查看
YixingKong
Senior Contributor IV

Peter, if your question had been answered, please click Corret Answer/Helpful Answer.

Thanks,

Yixing

0 项奖励
回复

2,533 次查看
LinWang
NXP Employee
NXP Employee

Hi Hygren,

Do you mean you connect one UART port to WiFi and UART-USB debug at same time?

If yes, please disconnect WiFi connection and only use UART-USB debug. let's see if same issue happens again.

Thanks!