Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

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

Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

445 Views
lucianomoretti
Contributor IV

It looks like the fsl_lpsci_driver (and uart driver) component does not contain internal transmit buffers like the old Asynchronous Serial Driver did to support queueing of serial messages.

 

Does anyone know of a good example of how to implement a buffered serial output so that I can queue multiple messages on the serial port?

Labels (1)
Tags (3)
0 Kudos
1 Reply

270 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Luciano Moretti,

I think you may implement the queue of serial output by RTOS, such as MsgQ of the freeRTOS. for example, you may create a task to handle the msgs from other tasks , and output the serial message one by one.

Hope that helps,


Have a great day,
Kan

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

0 Kudos