使用PIC18系列器件低延迟驱动程序来访问外部EEPROM
Thisapplicationnoteisdevelopedbasedonlowlatency
design.Itprovidesanalgorithm,whichisdesignedto
usetheSPI/I
2
C™interrupts,toachievetherequired
communicationandenableoptimumprocessorusage.
ThealgorithmisdevelopedbasedonthePIC18Master
SynchronousSerialPort(MSSP)modulewithexternal
SerialPeripheralInterface(SPI)EEPROMsandI
2
C
EEPROMs,respectively.Thealgorithmusesan
interruptdrivenapproach.AN1243LowLatencyDrivertoAccessExternalEEPROMUsingPIC18FamilyDevicesAuthors:ObulReddyandGaneshKrishnaS.MDisadvantagesofConventionalApproachMicrochipTechnologyInc.ExternalEEPROMchips,connectedviaSPIorI2C,tendtoconsumealotofmicrocontrollerthroughputtocommunicate.TheroutinesaccessingtheEEPROMINTRODUCTIONwillhavetowaituntilthecommunicationisreliablyThisapplicationnoteisdevelopedbasedonlowlatencycompleted.Duringt