1. 首页
  2. 课程学习
  3. 嵌入式
  4. 使用pic16c5x与IIC总线通信

使用pic16c5x与IIC总线通信

上传者: 2022-10-20 19:09:35上传 PDF文件 93.48 KB 热度 12次

TheMicrochipTechnologyInc.’s24CXXand85CXX

SerialEEPROMsfeatureatwowireserialinterfacebus.

ThebusprotocolisI

2

Ccompatible.Interfacetoaserial

portwithI

2

Cbusprotocolinamicrocontrolleristrivial.

Thisapplicationnoteisintendedfordesignengineers

whowanttodeveloptheirsoftwareprogramstocommu-nicateamicrocontrollerwitha2-wirebusSerialEEPROM

throughageneralpurposeI/Oport.

CommunicatingwiththeI2CBusUsingthePIC16C5XAN515CommunicatingwiththeI2CBusUsingthePIC16C5XINTRODUCTIONline(SDA)mustremainstablewhenevertheclockline(SCL)ishigh.ChangesinthedatalinewhiletheclockTheMicrochipTechnologyInc.’s24CXXand85CXXlineishighareinterpretedasaSTARTorSTOPcondi-SerialEEPROMsfeatureatwowireserialinterfacebus.tion.AtypicaltransferformatisshowninFigure1.ThebusprotocolisI2Ccompatible.Interface

下载地址
用户评论