UART 8N2 with MK02

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

UART 8N2 with MK02

475件の閲覧回数
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 

ラベル(2)
タグ(1)
0 件の賞賛
1 返信

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