ManyofthePIC
®
microcontrollerdeviceshavea
SynchronousSerialPort(SSP)orMasterSynchronous
SerialPort(MSSP).Theseperipheralscanbeusedto
implementtheSPIorI
2
C™communicationprotocols.
Thepurposeofthisapplicationnoteistoprovidethe
readerwithabetterunderstandingoftheI
2
Cprotocol
andtoshowhowdeviceswiththesemodulesareused
asaslavedeviceonanI
2
Cbus.
FormoreinformationontheI
2
Cbusspecificationorthe
SSPandMSSPperipherals,youmayrefertosources
indicatedinthe“References”section.AN734UsingthePICDevices’SSPandMSSPModulesforSlaveI2CTMCommunicationTheI2Cprotocolincludesahandshakingmechanism.Author:StephenBowlingandNaveenRajAftereach8-bittransfer,a9thclockpulseissentbytheMicrochipTechnologyInc.master.Atthistime,thetransmittingdeviceonthebusreleasestheSDAlineandthereceivingdeviceonthe
暂无评论