摘要
MCS-51系列单片机由于没有I2C总线接口而限制了其连接I2C器件.作者在文中分析了I2C总线和两个I2C器件(串行A/D转换器ADS1110和E2PROM存储器AT24C16)的技术特点,设计了51单片机使用普通I/O接口连接这两个I2C器件的硬件电路及软件模拟I2C总线时序的程序.实践证明,单片机模拟的I2C总线稳定可靠.
MCS-51 series microcomputer is limited to connect with component which has I^2C- BUS because of having no I^2C port. In this paper, the technique characteristic of the I^2C- BUS and two I^2C-component are introduced: serial A/D converter ADS1110 and E^2PROM memorizer AT24C16, the hardware and software imitate the YC-BUS procedure of microcomputer use common I/O port to connect with the I^2C-component are given. The fulfillment proves that microcomputer imitate of the I^2C-BUS is stability and credibility.
出处
《陕西科技大学学报(自然科学版)》
2008年第1期103-109,共7页
Journal of Shaanxi University of Science & Technology