Systemsrequiringembeddedcontrolarebecoming
moreandmoresophisticated,withmicrocontrollers
requiredtocontrolthesesystemsincreasingin
complexity.Manymicrocontrollerstodayarebeing
designedwithbuilt-inserialcommunicationcapability
tobeabletoeasilyaccessotherfeaturesthatarenot
builtintothemicrocontrolleritself.Deviceslike
EEPROMs,A/Ds,D/As,LCDsetc.areallbeingbuilt
withaserialinterfacetoreducecost,size,pincount,
andboardarea.Therearemanydifferentserial
interfacesonthemarketusedtointerfaceperipherals
(I
2
C
,Microwire
,SPI,forexample).Oneoftheserial
interfacesthatisgaininginpopularityisSPI(Serial
PeripheralInterface).Itisbecomingmorepopular
becauseofitscommunicationspeed,simultaneous
full-duplexcommunication,andeaseofprogramming.AN613UsingMicrochip93SeriesSerialEEPROMswithMicrocontrollerSPIPortstomakesureitwrites(pollingready/busypintoverifyAuthor:KeithPazulwritecyclecompletion)andreadsproperly.AMemoryandASSPDivisionschematic(Figure2)isincludedinthisapplicationnotetodescribeexactlyhowthe93LC56/66wasconnectedtothemicrocontroller.INTRODUCTIONSystemsrequiringembeddedcontrol
暂无评论