Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

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

Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

966件の閲覧回数
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?

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

791件の閲覧回数
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 件の賞賛
返信