k64 cpu with mqx4.1 uart issue

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

k64 cpu with mqx4.1 uart issue

460 Views
wulinweng
Contributor II

Dear NXP,

I used K64 CPU with MQX4.1, When I used UART in my project, baud rate is setting to 115200, and the issue is if I set the parity to odd, the even/odd parity of my software can both connect to my device which is k64.

and if I set the device parity to even, the odd/even parity of my PC software can both connect to the device too.

Can you show me what's the problem, I think it is bsp of the mqx4.1 issue.

BR,

0 Kudos
2 Replies

322 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi wulin:

I would suggest you check the UARTx_C1 register to get the real value for parity check first.

pastedImage_5.png

Regards

Daniel

0 Kudos

322 Views
wulinweng
Contributor II

Dear Daniel,

Thank you for your reply, and I have checked the UARTx_C1 register:

ODD: 0x13

EVEN: 0x12

It seems right, but when I do the test, it is the same when setting even or odd.

BR,

0 Kudos