I.MX6ULL uart 0xff infinite receive interrupt by noise

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

I.MX6ULL uart 0xff infinite receive interrupt by noise

跳至解决方案
1,990 次查看
Sungkyun
Contributor II

Hi,

I am using imx6ull kernel 4.1.15. It is connected to an old PC by UART, and noise causes an infinite 0xff Rx problem. At this time, even if the cable is removed, this phenomenon continues. Is it a chip problem? I also saw a post that says that enabling the auto baud rate detection function will solve it, but we have to fix the baud rate. Can you provide a perfect solution?

Thanks.

Sungkyun Ko

0 项奖励
回复
1 解答
1,958 次查看
Yuri
NXP Employee
NXP Employee

@Sungkyun 
Hello,

   I am afraid it is not possible to detect the issue on registers level. 
Higher level protocol is required here.

Regards,
Yuri.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,976 次查看
Sungkyun
Contributor II

Hi~

It was confirmed that it returned to normal after SW Reset. But is it possible to detect whether a 0xff storm has occurred with S/W? For reference, in my case, frame error is not set when 0xff storm occurs.

Thanks.

Sungkyun Ko

1,959 次查看
Yuri
NXP Employee
NXP Employee

@Sungkyun 
Hello,

   I am afraid it is not possible to detect the issue on registers level. 
Higher level protocol is required here.

Regards,
Yuri.

0 项奖励
回复
1,985 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sungkyun

 

one can try with new kernels as they have uart driver improvements, also one can

check hardware: use short shielded cable, pay attention to grounding board and PC,

try to ground them in one point.

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 项奖励
回复