雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1989|回复: 0

[讨论/求助] 异步串行端口与同步串行端口的不同和用途

[复制链接]
发表于 2005-3-16 22:25:38 | 显示全部楼层 |阅读模式
Asynchronous Transmission<br>Asynchronous means &quot;without respect to time.&quot; In terms of data transmission, asynchronous means that no clock or timing source is needed to keep both the sender and the receiver synchronized. Without the benefit of a clock, the sender must signal the start and stop of each character so that the receiver knows when to expect data. <br>Asynchronous transmission is often described as &quot;character-framed&quot; or &quot;start/stop&quot; communication because this method frames each character with a start and stop bit. Each character is typically a 7- or 8-bit value that can represent a number, a letter, a punctuation mark, etc. Each character is preceded by a start bit and followed by a stop bit, or in some cases, two stop bits &#40;see Figure &#41;. An additional bit may be added for parity error checking prior to the first stop bit. <br><br>Synchronous Transmission<br>Synchronous means &quot;with time.&quot; In terms of data transmission, &quot;synchronous&quot; means that a common timing signal is used between hosts. A clock signal is either embedded in the data stream or is sent separately to the interfaces. <br><br>If two hosts use a timing signal to &quot;synch up,&quot; start and stop bits for every 8-bit character value are not necessary. Instead, a large amount of data &#40;e.g., hundreds or even thousands of bytes&#41; can be preceded by synchronization bits. For example, in Ethernet a field of synchronization bits precedes the data payload. This field of synchronization bits, called a preamble, forms a pattern of alternating ones and zeros. The receiver uses this pattern to synchronize with the sender. <br><br>Service providers offer a variety of synchronous and asynchronous WAN services. These services can be grouped into three categories depending on their connection type: <br><br>dedicated connectivity<br>circuit-switched networks<br>packet-switched networks<br><br>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-28 05:52 , Processed in 0.082855 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表