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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

504 Views
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 

Labels (1)
Tags (1)
0 Kudos
1 Reply

423 Views
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 Kudos