K60 UART4 with DMA have problems

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

K60 UART4 with DMA have problems

ソリューションへジャンプ
838件の閲覧回数
charliezx
Contributor I

I want to use the uart4/Dma to do the serial communication .

The parameters are

 BPS: 9600

 Parity: Even

 Data bits: 7

 Stop bits: 2

 Flow control: None

And now I have a problem that  I can't set the Stopbits 2. It seems that K60 just  support stopbits1 setting.

Any suggestions?

0 件の賞賛
返信
1 解決策
698件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello charlie zx:

You are correct, unfortunately the K60 does not support 2 stop bits.

However you can see the recommendations in the next discussions in the community:

K20 UART with 2 stop bit or parity

How can I do 2 stop bits on a K60 UART2 at 9600 baud rate

Notice however that there is no workaround with DMA.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
699件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello charlie zx:

You are correct, unfortunately the K60 does not support 2 stop bits.

However you can see the recommendations in the next discussions in the community:

K20 UART with 2 stop bit or parity

How can I do 2 stop bits on a K60 UART2 at 9600 baud rate

Notice however that there is no workaround with DMA.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信