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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,044件の閲覧回数
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 返信

963件の閲覧回数
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 件の賞賛
返信