K60 UART4 with DMA have problems

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

K60 UART4 with DMA have problems

Jump to solution
666 Views
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 Kudos
1 Solution
526 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
527 Views
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 Kudos