UART 8N2 with MK02

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

UART 8N2 with MK02

462 Views
tirak
Contributor I

I had to note to my horror the MK02 supports no 2nd stop at UART. But I need it.
Is it possible to use the 9th bit at a 9bit transmission? I think it is but maybe not considered something. So better to ask.
I noticed also the 9bit transmission is not supported in the SDK. Is there a similar SDK what supports it?

Marcus 

Tags (1)
0 Kudos
1 Reply

347 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Marcus Günther 

I don't see problem implementing this. Your ninth bit will represent your first stop bit. Some points to consider;

-You will not be able to enable parity

-When transmitting in 9-bit data format and using 8-bit write instructions, write first to transmit bit 8 in UART control register 3 (C3[T8]), then D.

No, there isn't implemented 9bit for the sdk, you can setup this in the C1 register and writting the ninth C3[T8].

Hope this information helps you

Best regards

Jorge Alcala

0 Kudos