datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

C8051F362-GM2 View Datasheet(PDF) - Silicon Laboratories

Part Name
Description
MFG CO.
C8051F362-GM2
Silabs
Silicon Laboratories 
C8051F362-GM2 Datasheet PDF : 288 Pages
First Prev 211 212 213 214 215 216 217 218 219 220 Next Last
C8051F360/1/2/3/4/5/6/7/8/9
18.5.2. Master Receiver Mode
Serial data is received on SDA while the serial clock is output on SCL. The SMBus interface generates the
START condition and transmits the first byte containing the address of the target slave and the data direc-
tion bit. In this case the data direction bit (R/W) will be logic ‘1’ (READ). Serial data is then received from
the slave on SDA while the SMBus outputs the serial clock. The slave transmits one or more bytes of serial
data. After each byte is received, ACKRQ is set to ‘1’ and an interrupt is generated. Software must write
the ACK bit (SMB0CN.1) to define the outgoing acknowledge value (Note: writing a ‘1’ to the ACK bit gen-
erates an ACK; writing a ‘0’ generates a NACK). Software should write a ‘0’ to the ACK bit after the last
byte is received, to transmit a NACK. The interface exits Master Receiver Mode after the STO bit is set and
a STOP is generated. The interface will switch to Master Transmitter Mode if SMB0DAT is written while an
active Master Receiver. Figure 18.6 shows a typical Master Receiver sequence. Two received data bytes
are shown, though any number of bytes may be received. Notice that the ‘data byte transferred’ interrupts
occur before the ACK cycle in this mode.
S
SLA
RA
Data Byte
A
Data Byte
NP
Interrupt
Interrupt
Received by SMBus
Interface
Transmitted by
SMBus Interface
Interrupt
Interrupt
S = START
P = STOP
A = ACK
N = NACK
R = READ
SLA = Slave Address
Figure 18.6. Typical Master Receiver Sequence
214
Rev. 1.0

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]