odd parity not working in mqx4.0 in code warrior 10.2

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

odd parity not working in mqx4.0 in code warrior 10.2

425 Views
karanpatel
Contributor I

i develop application in code warrior 10.2 based on mqx4.0 for serial port.for none parity and its working fine.

what when i try same application for odd parity its not working.....

here i attach application

its very argent

any one can help??????

Original Attachment has been moved to: test_serialzip.zip

0 Kudos
1 Reply

253 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

I have tried to test odd parity on K70 (no pxn board on my side).

I enabled uart2 with even parity , using IO_IOCTL_SERIAL_SET_PARITY , then I checked the parity type using IO_IOCTL_SERIAL_GET_PARITY, the result is right.

I checked the register value of uart2, it is even parity enabled. it means MQX can configure the right value to register.

I think you can check if you can get the right register value on your board.

You also can refer to the following link.

https://community.freescale.com/message/64746#64746


Have a nice day,
Daniel

0 Kudos