MPC5675k UART parity and Format error simulation by connecting UARTs externally.

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

MPC5675k UART parity and Format error simulation by connecting UARTs externally.

1,412 次查看
arunparthy
Contributor I

Hello all, I am working on mpc5675k controller. I am trying to simulate UART parity and format error. Below i have provided the sequence that i i followed to simulate.

1. Configured UART 1 as odd parity and UART 3 as even parity.

2. Connected UART 1 and UART 3 together by external cables.

3. Transmitted 1 byte data from UART 1 and Received at UART 3.

4. But my parity error bit is not setting

 I have enable PEC(Parity Error Control) bit . Even then parity error is not setting. 

May i know the exact sequence that i have to do. Exact registers that i need to enable or disable 

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,331 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

did you set the PCE bit during initialization mode?

I tested it using communication with a PC and the parity error bit was set when different parity setting was used.

BR, Petr

0 项奖励
回复