About the Parity bit of UART - k22fn512

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

About the Parity bit of UART - k22fn512

442 Views
Fan_xy
Contributor III

Hello ,

my question is no matter how to configure the "Parity " bit on PC terminal , why received character is right ? on the MCU  part , the parity is "none" .

And i have also test on K60 and K70, use the same PC terminal , the result is different : when i configure the Parity bit to "Odd" on PC termianal (the muc part still NONE),

when i send "hello world " from mcu , the character  will like this :

31248_31248.pngpastedImage_0.png

so i think on K22 chip , this have some strange , any suggestion will be appreciate !

The attachment is the test project on frdm-k22 and twr-k60d100.   KDS3.0 . without KSDK.

Thank!

0 Kudos
2 Replies

315 Views
Fan_xy
Contributor III

The attachment !

0 Kudos

315 Views
EarlOrlando
Senior Contributor II

Hello,

I ran both projects. In both projects I sent the string "A" (0x41 0x00) without parity and I found that both MCUs send the same serial signal so I think that this is not a problem in the MCU.

FRDM-K22F

k22.jpg

TWR-K60D100M

k60.jpg

Regards,

Earl.

0 Kudos