MCP7940M
5.2.2.3
Sequential Read
generate an Acknowledge but will generate a Stop
condition. To provide sequential reads, the MCP7940M
contains an internal Address Pointer which is
incremented by one at the completion of each
operation. This Address Pointer allows the entire
memory contents to be serially read during one
operation. The internal Address Pointer will automat-
ically roll over to the start of the Block.
Sequential reads are initiated in the same way as a
random read except that after the MCP7940M
transmits the first data byte, the master issues an
Acknowledge as opposed to the Stop condition used in
a
random read. This Acknowledge directs the
MCP7940M to transmit the next sequentially
addressed 8-bit word (Figure 5-6). Following the final
byte transmitted to the master, the master will NOT
FIGURE 5-5:
RANDOM READ
S
S
BUS ACTIVITY
MASTER
T
A
R
T
T
A
R
T
S
T
O
P
CONTROL
BYTE
ADDRESS
BYTE
CONTROL
BYTE
DATA
BYTE
SDA LINE
S 1 1 0 1
0
1 1 1
S 1 0 1 0
1
P
A
C
K
A
C
K
N
O
A
C
K
A
C
K
BUS ACTIVITY
FIGURE 5-6:
SEQUENTIAL READ
S
T
O
P
CONTROL
BYTE
BUS ACTIVITY
MASTER
DATA n
DATA n + 1
DATA n + 2
DATA n + X
P
SDA LINE
A
C
K
A
C
K
A
C
K
A
C
K
N
O
A
C
K
BUS ACTIVITY
2012 Microchip Technology Inc.
Preliminary
DS22292A-page 17