MQX UART Write Lockup when using Flow Control

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

MQX UART Write Lockup when using Flow Control

516 Views
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 Kudos
1 Reply

343 Views
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 Kudos