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

使用PIC器件从动IIC通信的SSP和MSSP模块

使用PIC器件从动IIC通信的SSP和MSSP模块