MQX UART Write Lockup when using Flow Control

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

MQX UART Write Lockup when using Flow Control

1,094 次查看
jmag99
Contributor II

We use a device that needs to allow us to disable/enable flow control on the uart on the fly.  This normally works fine, but on occasion, the device does not enable flow control and therefore sending data to the uart causes a lockup (stuck in the driver send routines).  We would like to wrap this in a timeout and we are wondering if there is a built-in way to do this using MQX.  Any ideas?

0 项奖励
回复
1 回复

921 次查看
apanecatl
Senior Contributor II

I'm afraid the UART's hardware does not support flow control activation on the fly; every time the flow control is enabled/disabled, the Tx and Rx pins must be disabled and re-enabled or the module reset for the changes to have effect. This means any time you change the flow control you will lose the connection with the UART counterpart.

0 项奖励
回复