EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 540

Microchip Technology dsPIC30F
738 pages
Print Icon
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...
dsPIC30F Family Reference Manual
DS70068C-page 21-26 © 2004 Microchip Technology Inc.
Figure 21-16: Master Message (7-bit Address: Transmission And Reception)
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
A1A0
9
A
PEN
RCEN
1 2 3 4 5 6 7 8
D7D6D5D4D3D2D1D0
1 2 3 4 5 6 7 8 9
W
RSEN
1 32
9 1 2 3 4 5 6 7 8
D3D2D1D0D7D6D5D4
9
N
A
4 5 6 97 8
2
- Writing the I2CTRN register starts a master transmission. The data is the
3
- Writing the I2CTRN register starts a master transmission. The data is the
4
- Setting the PEN bit starts a master Stop event.
5
- Setting the SEN bit starts a Start event.
6
- Writing the I2CTRN register starts a master transmission. The data is the
7
- Setting the RCEN bit starts a master reception.
8
- Setting the ACKEN bit starts an Acknowledge event. ACKDT = 0 to send NACK.
- Setting the PEN bit starts a master Stop event.
address byte with R/W
bit clear.
message byte.
A6A5A4A3A2
A
A1A0
R
A6A5A4A3A2
address byte with R/W bit set.
9
(Master)
(Master)
(Slave)
(Slave)
MI2CIF cleared by user software.

Table of Contents

Other manuals for Microchip Technology dsPIC30F