COLDFIRE UARTS Carrier Detect

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

COLDFIRE UARTS Carrier Detect

1,339 Views
queequeg
Contributor I
Is there any way to implement carrier detect on the RS232 ports ?
I see only RTS/CTS.
Is there software available to implement using a gpio ?
Thanks in advance !
John
Labels (1)
0 Kudos
Reply
1 Reply

707 Views
mjbcswitzerland
Specialist V
Hi

Some of the UARTs support RTS/CTS lines which have capabilities of automatically controlling flow control:
http://www.utasker.com/forum/index.php?topic=105.msg424#msg424

The CTS interrupt capability allows interrupt driven flow control too.

Since CD input is generally more of an informative nature rather than than controlling data flow (with some reaction constraints) it doesn't usually merit a dedicated modem control signal at the UART.

The same function can be achieved by any free Edge Port line. When there are no edge ports free further interrupt capability is possible by using timers in edge-capture more and even the interrupt driven trigger functionality of the ADC inputs. More generally polling any free GPIO is often adequate as well.

Regards

Mark

www.uTasker.com
0 Kudos
Reply