网站大量收购独家精品文档,联系QQ:2885784924

串列埠模式1、2.ppt

  1. 1、本文档共58页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
串列埠模式1、2.ppt

class 4 UART、LCD Control Parallel transmission(8bits/time)fast but it need more transmission lines,it’s disadvantageous for long distance transmission Serial transmission(1bit/time)slow but it need less transmission lines, it’s advantageous for long distance transmission? Synchronous(have the same CLOCK) Asynchronous (have different CLOCK,but usually use communication protocol to make communication) What is UART A universal asynchronous receiver transmitter (usually abbreviated UART ) is a type of asynchronous receiver/transmitter, a piece of computer hardware that translates data between parallel and serial forms. UART is commonly used in conjunction with other communication standards such as EIA RS-232. RS232 RS-232 (Recommended Standard 232) is a standard for serial binary data signals connecting between a DTE (Data Terminal Equipment) and a DCE (Data Communication Equipment). It is commonly used in computer serial ports. 由於RS-232在傳送資料時,並不需要另外使用一條傳輸線來傳送同步訊號,就能正確的將資料順利傳送到對方,因此叫做「非同步傳輸」,簡稱UART (Universal Asynchronous Receiver Transmitter) 比起「同步傳輸」的方式,可以節省一條傳輸線。 節省一條傳輸線的代價,是必須在每一筆資料的前後都加上同步訊號,把同步訊號與資料混和之後,使用同一條傳輸線來傳輸。 8051 UART(1) 8051 includes an on-chip serial port that can operate in several modes over a wide range of frequencies. The essential function of the serial port is to perform parallel-to-serial conversion for output data, and serial-to-parallel conversion for input data. Hardware access to the serial port is through the RXD and TXD pins (P3.0 P3.1) 8051 UART(2) The serial port feature full duplex operation and receive buffering, allowing one character to be received and held in a buffer while a second character is received. If the CPU reads the first character before the second is fully received, data are not lost. The serial port buffer at address 99H is really two buffers. Writing to SBUF loads data to be transmitted, and reading SBUF accesses received data. 8051 UART(3) The serial port frequency of operation, or baud rate, can be fixed or

文档评论(0)

youbika + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档