实时钟和I2C总线电路设计及软件编程.docVIP

实时钟和I2C总线电路设计及软件编程.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
实时钟和I2C总线电路设计及软件编程

实时钟与I2C总线电路设计及软件编程 摘 要 实时钟,自从它被发明的那天起,就成为人们生活中必不可少的一种工具,尤其是在现在这个讲究效率的年代,时钟更是在人类生产、生活、学习等多个领域得到广泛的应用。然而随着时间的推移,科学技术的不断发展,人们不仅对于实时钟精度的要求越来越高,而且对于时钟功能的要求也越来越多,实时钟已不仅仅是一种用来显示时间的工具,在很多实际应用中它还需要能够实现更多其它的功能。本文主要以PCF8563时钟芯片为核心制成并通过ZLG7290键盘LED控制器进行显示的数字实时时钟。其中用到的时钟芯片PCF8563是低功耗的CMOS 实时时钟/日历芯片,它提供一个可编程时钟输出,一个中断输出和掉电检测器,所有的地址和数据通过I2C总线接口串行传递。最大总线速度为400Kbits/s,每次读写数据后,内嵌的字地址寄存器会自动产生增量。本电路在实验板上进行,采用软件和硬件组合的方法,其最大特点是:硬件电路简单,安装方便易于实现,软件设计独特、可靠。 关键词:寄存器,定时器,I2C总线,实时时钟,PCF8563 Re Real-time clock and I2C-bus circuit’s design and Software programming Abstract Real-time clock, since the day it was invented, has become indispensable to people’s lives in a tool, particularly now that it has the efficiency of the era, in the human production and living, learning and other fields, the clock has a wide range of apply. But with the passage of time, the continuous development of science and technology, not only demanding of people for the accuracy of real-time clock is increasing, but also we have more and more demands for the clock functions, real-time clock is not just a tool used to show time, and it is able to achieve more other features in many practical applications. This paper introduces PCF8563 clock chip used as the core and ZLG7290 used to display. The PCF8563 clock chip is a CMOS low-power device. It provides a programmable clock output; a power-fail interrupt output and detector, all the addresses and dates are transferred through real-time clock / calendar chip Serial I2C-bus. The biggest Bus speed is 400Kbits/s, after data is read or written, embedded word address register will automatically generate incremental. The circuit is carried on the experiment board using sing software and hardware portfolio, and the largest features are as follows: simple hardware circuit, easy installation, software design unique and reliable. Key words: Register, Timer, Real-Time Dock, I2C-bus, PCF8563 目 录 1 绪论 1 1.1 课题背景及目的 1 1.2 国内外研究现状 1 1.3 课题的

文档评论(0)

189****7685 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档