<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > 單片機串行通信基礎:同步通信和異步通信

單片機串行通信基礎:同步通信和異步通信

作者: 時(shí)間:2013-05-14 來(lái)源:網(wǎng)絡(luò ) 收藏

在計算機系統中,CPU和外部通信有兩種通信方式:并行通信和。并行通信,即數據的各位同時(shí)傳送;,即數據一位一位順序傳送。

的分類(lèi)

按照串行數據的時(shí)鐘控制方式,串行通信可分為兩類(lèi)。

1. (Asynchronous Communication)

中,數據通常是以字符為單位組成字符幀傳送的。字符幀由發(fā)送端一幀一幀地發(fā)送,每一幀數據均是低位在前,高位在后,通過(guò)傳輸線(xiàn)被接收端一幀一幀地接收。發(fā)送端和接收端可以由各自獨立的時(shí)鐘來(lái)控制數據的發(fā)送和接收,這兩個(gè)時(shí)鐘彼此獨立,互不同步。

在異步通信中,接收端是依靠字符幀格式來(lái)判斷發(fā)送端是何時(shí)開(kāi)始發(fā)送,何時(shí)結束發(fā)送的。字符幀格式是異步通信的一個(gè)重要指標。

字符幀(Character Frame)

字符幀也叫數據幀,由起始位、數據位、奇偶校驗位和停止位等4部分組成,

波特率(baud rate)

異步通信的另一個(gè)重要指標為波特率。

波特率為每秒鐘傳送二進(jìn)制數碼的位數,也叫比特數,單位為b/s,即位/秒。波特率用于表征數據傳輸的速度,波特率越高,數據傳輸速度越快。但波特率和字符的實(shí)際傳輸速率不同,字符的實(shí)際傳輸速率是每秒內所傳字符幀的幀數,和字符幀格式有關(guān)。

2. (Synchronous Communication)

是一種連續串行傳送數據的通信方式,一次通信只傳輸一幀信息。這里的信息幀和異步通信的字符幀不同,通常有若干個(gè)數據字符,如圖8.4所示。圖8.4(a)為單同步字符幀結構,圖8.4(b)為雙同步字符幀結構,但它們均由同步字符、數據字符和校驗字符CRC三部分組成。在同步通信中,同步字符可以采用統一的標準格式,也可以由用戶(hù)約定。

數字通信相關(guān)文章:數字通信原理


通信相關(guān)文章:通信原理




評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>