MQX UART Write Lockup when using Flow Control

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

MQX UART Write Lockup when using Flow Control

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

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