dsPIC30F Family Reference Manual
DS70068C-page 21-40 © 2004 Microchip Technology Inc.
Figure 21-27: Slave Message (Write Data to Slave: 7-bit Address; Address Matches; A10M = 0; GCEN = 0; IPMIEN = 0)
1
- Slave recognizes Start event, S and P bits set/clear accordingly.
SCL (Master)
SDA (Master)
SCL (Slave)
SDA (Slave)
I2CRCV
RBF
SI2CIF
STREN
1 2 3 4 5 6 7 8
A1A0
9
A
D7D6D5D4D3D2D1D0
1 2 3 4 5 6 7 8 9
W
1 32
A
4 3 3 3 5
2
- Slave receives address byte. Address matches. Slave Acknowledges
3
- Next received byte is message data. Byte moved to I2CRCV register, sets RBF.
4
- Software reads I2CRCV register. RBF bit clears.
5
- Slave recognizes Stop event, S and P bits set/clear accordingly.
Address byte is moved to I2CRCV register and must be read by user software to prevent buffer overflow.
Slave generates interrupt. Slave Acknowledges reception.
A6A5A4A3A2
S
P
I2COV
R_W
D_A
D7D6D5D4D3D2D1D0
1 2 3 4 5 6 7 8 9
A
D7D6D5D4D3D2D1D0
1 2 3 4 5 6 7 8 9
A
D7D6D5D4D3D2D1D0
1 2 3 4 5 6 7 8 9
A
SCLREL
4 4 4
SI2CIF cleared by user software.
and generates interrupt.