EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 541

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© 2004 Microchip Technology Inc. DS70068C-page 21-27
Section 21. Inter-Integrated Circuit (I
2
C)
Inter-Integrated
Circuit (I
2
C)
21
Figure 21-17: Master Message (10-bit Transmission)
1
- Setting the SEN bit starts a Start event.
AKDT
ACKEN
SEN
SCL
SDA
SCL
SDA
I2CTRN
TBF
I2CRCV
RBF
MI2CIF
ACKSTAT
1 2 3 4 5 6 7 8
A9A8
9
A
PEN
RCEN
1 2 3 4 5 6 7 8
D3D2D1D0D7D6D5D4A7A6A5A4A3A2A1A0
1 2 3 4 5 6 7 8 9
W01 1 1 1
RSEN
1 2 3 4 5 6 7 8 9
1 32
9
A
1 2 3 4 5 6 7 8 9
AA
4 5 6
7
2
- Writing the I2CTRN register starts a master transmission. The data is the first
3
- Writing the I2CTRN register starts a master transmission. The data is the second
4
- Writing the I2CTRN register starts a master transmission. The data is the first
- Setting the PEN bit starts a master Stop event.
byte of the address.
byte of the address.
byte of the message data.
D3D2D1D0D7D6D5D4D3D2D1D0D7D6D5D4
A
5
- Writing the I2CTRN register starts a master transmission. The data is the second
byte of the message data.
6
- Writing the I2CTRN register starts a master transmission. The data is the third
byte of the message data.
7
(Master)
(Master)
(Slave)
(Slave)
MI2CIF cleared by user software.

Table of Contents

Other manuals for Microchip Technology dsPIC30F