- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
I2C总线研究及其基于89S52单片机的模拟实现
摘 要 早在1980年,飞利浦公司提出了芯片间控制的双向两线串行I2C总线,I2C是Inter Interated Circuit首字母的缩写。I2C总线仅用一条数据线(SDA)加一条时钟线(SCL)来完成数据的传输及外围器件的扩展,对于各节点的寻址是软寻址的方式,节省了片选线。本文所介绍的I2C总线模拟设计,可使不具备I2C总线接口功能的AT89S52单片机,通过软件编程,仅用两个引脚便可模拟实现I2C总线的功能。这种设计既简化了硬件电路,降低了复杂程度又节省了成本,提高了效率,具有一定的实用价值。 本设计研究了I2C总线的定义、规范以及如何在没有I2C总线接口的AT89S52单片机上模拟实现I2C总线;设计了基于AT89S52单片机的最小系统以及基于ZLG7290的按键输入和LED显示模块、并在硬件基础上编写了相关程序,实现了通过AT89S52单片机模拟的I2C总线接口与ZLG7290的I2C通信。经软硬件制作和调试证明本文所描述的设计是合理可行的。 文章将分为以下几个章节进行论述,第一章是原理及相关设计工具介绍;第二、三章是系统总体设计和详细设计部分;第四章是系统调试与分析部分,最后一章是结论与展望。 关键词:I2C总线,AT89S52,ZLG7290 ABSTRACT As early as 1980’s, the Philips company brought forword the chips of control two-way between two lines of serial I2C bus, I2C is the first alphabet of the initials of Inter Interated Circuit. I2C bus has only one data line (SDA) and a Clock Line (SCL) to complete the transmission of data and the external device pieces of the expansion, to the addressable node is soft addressable manner, saving unit alignment. This paper introduced the use do not have the I2C bus interface function of SCM AT89S52 through software programming, only two pins can be simulated to achieve the full functionality of the bus, that is simplified circuit design, reduce the complexity of cost savings, improved efficiency. The design of the definition of I2C bus, norms and how in the absence of I2C bus interface AT89S52 MCU simulation I2C bus; AT89S52 design based on the smallest microcontroller-based systems, as well as the keys ZLG7290 input and LED Display Module, and hardware on the basis of the relevant procedures, achieved through AT89S52 microcontroller simulation I2C bus interface with ZLG7290 I2C communications. Produced by the hardware and software debugging and described in this paper the design is reasonable and workable. The article is divided into the following chapters exposition, the first chapter is related to the design principles and tools introduced; The second and the third chapters are system design and detailed design; The fout
文档评论(0)