Datasheet

DS1338 I
2
C RTC with 56-Byte NV RAM
14 of 16
Figure 6. Data WriteSlave Receiver Mode
Figure 7. Data Read (From Current Pointer Location)Slave Transmitter Mode
Figure 8. Data Read (Write Pointer, Then ReadSlave Receive and Transmit
...
A
XXXXXXXX
A
1101000
S
1
XXXXXXXX
A
XXXXXXXX
XXXXXXXX
A
P
<Data (n+2)> <Data (n+X)>
A
S - START
A - ACKNOWLEDGE (ACK)
P - STOP
A
- NOT ACKNOWLEDGE (NACK)
<R/W>
DATA TRANSFERRED
(X+1 BYTES + ACKNOWLEDGE)
NOTE: LAST DATA BYTE IS FOLLOWED BY A NACK
<Slave Address>
<Data (n)>
<Data (n+1)>
MASTER TO SLAVE
SLAVE TO MASTER
...
A
XXXXXXXX
XXXXXXXX
A
XXXXXXXX
A
XXXXXXXX
A
P
S - START
SR - REPEATED START
A - ACKNOWLEDGE (ACK)
P - STOP
A - NOT ACKNOWLEDGE (NACK)
DATA TRANSFERRED
(X+1 BYTES + ACKNOWLEDGE)
NOTE: LAST DATA BYTE IS FOLLOWED BY A NACK
A
XXXXXXXX
A
1101000
S
0
<R/W>
<Word Address (n)>
A
1101000
Sr
1
<R/W>
<Slave Address>
<Data (n)>
<Data (n+1)>
<Data (n+2)>
<Data (n+X)>
MASTER TO SLAVE
SLAVE TO MASTER
...
A
XXXXXXXX
A
S
0
XXXXXXXX
A
XXXXXXXX
A
XXXXXXXX
A
P
S - START
A - ACKNOWLEDGE (ACK)
P - STOP
<R/W>
DATA TRANSFERRED
(X+1 BYTES + ACKNOWLEDGE)
1101000
<Slave Address>
<Word Address (n)>
<Data (n)>
<Data (n+1)>
<Data (n+X)>
MASTER TO SLAVE
SLAVE TO MASTER