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 项奖励
回复