INTRODUCTION

Thisapplicationnotedescribesamethodtoautomati-

callydetectthememorysizeofaserialEEPROMcon-

nectedtoanI

2

Cbus.Thetopicsinclude:

•AutomaticdetectionofmemorysizeontheI

2

C

bus

•StandardI

2

C

•SmartSerialortheI

2

CDilemma

•AnothersetofroutinesforI

2

C

•Howtotelltheaddressingscheme

•Howtotellthesize

•Puttingitalltogether

•Debugging

•Compatibility

•ReferencesMAN690I2CMemoryAutodetectdetection.Inthisapplicationnote,wewillshowhowtoAuthor:LucioDiJasioimplementtheautomaticdetectioninaneasy,safeandMicrochipTechnology,Italycompatibleway.Thesoftwaretechniquesexplainedinthefollowingwillbedemonstratedonagenericmid-rangePICmicroINTRODUCTIONmicrocontroller(MCU),PIC16C62Aandcanbe

IIC 存储器 自检

IIC 存储器 自检