UART i.MX6 9-bit mode. Receiver discard all characters until get a 9-bit on frame

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

UART i.MX6 9-bit mode. Receiver discard all characters until get a 9-bit on frame

跳至解决方案
1,988 次查看
joseluiszabalz1
Contributor II

Hello

I am playing with i.MX6 9-Bit UART mode implementing a new device driver.

When I read the Reference Manual I thought I was in a mistake but now I have verified that is true.

The UART receiver discard all characters until it receive a frame with 9-bit on.

Can someone corroborate this behavior?

Is it possible change this behavior?

Does i.MX8 UART soc have the same behavior ? The reference manual is identical.

Thanks in advance.

1 解答
1,882 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jose

I am afraid it is not possible to change behaviour described in Reference Manual.

Best regards
igor

在原帖中查看解决方案

3 回复数
1,882 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jose

similar behaviour is described in sect.64.7.3.1 RS-485 Slave Address Normal

Detect Mode i.MX6DQ Reference Manual :

"The receiver ignores all data frames (9th bit = 0) until an address frame is received (9th bit = 1)."

http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

>Does i.MX8 UART soc have the same behavior ? The reference manual is identical.

yes if reference manual is identical, in particular i.MX8MQ has the same UART module as i.MX6Q.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,882 次查看
joseluiszabalz1
Contributor II

Thanks Igor, but is It possible change this behavior and get frames before the first 9-bit=1 frame arrive?

Best regards.

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

Hi Jose

I am afraid it is not possible to change behaviour described in Reference Manual.

Best regards
igor