• <li id="00i08"><input id="00i08"></input></li>
  • <sup id="00i08"><tbody id="00i08"></tbody></sup>
    <abbr id="00i08"></abbr>
  • 新聞中心

    EEPW首頁 > 電源與新能源 > Serial interface

    Serial interface

    ——
    作者: 時間:2007-04-27 來源: 收藏

    If you send bits one at a time, you are using serial communication. If you send one extra bit for each 8 bits to make sure your data got there intact, it is called a parity bit.  Bit parity can be odd or even.  It is even, if you assign 0 to the parity bit when the sum of the 8 bits is a even number.  In this case, you assign 1 to the parity bit when the sum is an odd number.  The parity is odd, if the logics is reversed.  After the byte has arrived, the system will sum 8 bits and check if it matches the even-or-oddness predicted by the parity bit.

    Two common connector type are used for serial communication: the 9-pin connector DB9 and ( less often) 25-pin DB25 connector,which is essentially the same. A serial port male connector looks like this:  

    				---------------------
    				   o o o o o o    /
    				     o o o o     /
    				   --------------
    				

    The heart of the serial communication technology is the UART (Universal Asynchronous Receiver/Transmitter), which converts parallel streams of data into a single sequence. As soon as the CPU sends the bits to the UART, it is free for another job, and the UART will convert the data into a single sequence and send the bits one at a time over the serial cable using the internal clock to define the time interval for the next bit to be sent. The UART will also send the start bit, the stop bit, and the parity bit (if necessary). 

    Modern PCs can exchange data over the serial port at rates up to 115 KB/s, but this will translate into a maximum data rate of about only 11.5 KB/s without parity and 10.5 KB/s with parity due to the serial communication protocol overhead.



    關鍵詞: interface Serial

    評論


    相關推薦

    技術專區

    關閉
    主站蜘蛛池模板: 历史| 遵义市| 西藏| 兖州市| 宣恩县| 兰考县| 商洛市| 犍为县| 千阳县| 惠安县| 天津市| 独山县| 黄浦区| 万盛区| 土默特左旗| 绥阳县| 舟山市| 秀山| 东乌| 庆元县| 丰县| 桐庐县| 大冶市| 含山县| 四会市| 博白县| 工布江达县| 茌平县| 宜章县| 修武县| 勃利县| 自治县| 喀喇沁旗| 宽甸| 成安县| 突泉县| 呼伦贝尔市| 福清市| 瑞丽市| 涿州市| 大悟县|