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?
已解决! 转到解答。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------