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