启用复用器Pseudomultidrop RS-232接口传

通信设计应用

63人已加入

描述

Abstract: A circuit is described that allows four remote RS-232 transceivers to share a single UART. A dual four-to-one multiplexer permits transceiver IC1 to form a network with the four remote transceivers.

RS-232 communications with one µC and more than one remote system can be problematic, because most µCs contain only one UART, which provides an interface between synchronous and asynchronous ports. The multiplexer in the figure below, IC2 , allows multiple channels (four, in this case) to share a single UART. The dual four-to-one multiplexer permits transceiver IC1 to form a network with the four remote transceivers IC3 to IC6. The table that follows defines the channel-selection codes. Selecting Channel 1, for instance, enables IC1 to communicate with IC3 without being loaded by IC4 to IC6. Pulldown resistors inside the remote transceivers force the outputs of unselected receivers to a known state.

接口
One UART and one multiplexer enable one RS-232 transceiver to communicate with four others.

Channel Selection Codes
Selected channel A1 A0 EN
All channels disconnected X X 0
Channel 1 (IC3) 0 0 1
Channel 2 (IC4) 0 1 1
Channel 3 (IC5) 1 0 1
Channel 4 (IC6) 1 1 1

The circuit's supply-voltage range (3V to 5.5V) makes it compatible with 3V and 5V logic. IC2 receives its power directly from the V+ and V- terminals of IC1, whose ±5.5V outputs come from an internal charge pump. The multiplexer handles rail-to-rail signals, so obtaining its power from IC1 ensures that RS-232 signals pass directly through, regardless of amplitude. Each transceiver's charge pump requires four small capacitors (not shown), whose values depend on the VDD range but do not exceed 0.47µF. Note that pulling too much current from the charge-pump terminals of IC1, V+ and V-, can cause these rails to droop and can pull the IC's RS-232 transmission levels out of specification.

A similar version of this article appeared in the September 28, 2000 issue of EDN.

打开APP阅读更多精彩内容
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

全部0条评论

快来发表一下你的评论吧 !

×
20
完善资料,
赚取积分