STA sent.
1.
Clear the STA and STO flags.
2.
Write SMB0DAT with the slave address
and R/W bit set to 1.
3.
Clear the interrupt flag (SI).
a
Set the STA bit.
Interrupt
Idle
ACK?
Interrupt
Yes
No
More Data
to Send?
Yes
No
ACK received
1.
Write next data to SMB0DAT.
2.
Clear the interrupt flag (SI).
Interrupt
Send
Repeated
Start?
Yes
1.
Set the STO
flag.
2.
Clear the
interrupt flag (SI).
No
1.
Set the STA
flag.
2.
Clear the
interrupt flag (SI).
Idle
Interrupt
b
c
d
Figure 20.6. Master Write Sequence State Diagram (EHACK = 1)
EFM8SB2 Reference Manual
System Management Bus / I2C (SMB0)
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 234