Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Tx Buffering for fsl_lpsci_driver/fsl_uart_driver?

596 次查看
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 回复

421 次查看
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 项奖励
回复