COLDFIRE UARTS Carrier Detect

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

COLDFIRE UARTS Carrier Detect

1,356 次查看
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
标签 (1)
0 项奖励
回复
1 回复

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