beautypg.com

Rainbow Electronics DS1624 User Manual

Page 11

background image

DS1624

11 of 16

BUS MASTER

MODE

DS1624

MODE

DATA (MSB

FIRST)

COMMENTS

NOTES

TX

RX

NACK

Bus Master sends “NO
ACKNOWLEDGE” bit.

TX

RX

STOP

Bus Master initiates the STOP condition.

{Command protocol for writing to EEPROM}
{Start here}

TX

RX

START

Bus Master initiates a Start condition.

TX

RX

Bus Master sends DS1624 address;

R/

W

=0;

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

17h

Bus Master sends Access Memory
command protocol.

RX

TX

ACK

DS1624 generates acknowledge bit.

1

TX

RX

Bus Master sets the starting memory
address.

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

Bus Master sends the first byte of data.

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

Bus Master sends the second byte of data.

RX

TX

ACK

DS1624 generates acknowledge bit.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

TX

RX

Bus Master sends the n-th byte of data.

3

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

STOP

Bus Master initiates the STOP condition.

2, 4

{Command protocol for reading from EEPROM}
{Start here}

TX

RX

START

Bus Master initiates a Start condition.

TX

RX

Bus Master sends DS1624 address;

R/

W

=0;

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

17h

Bus Master sends Access Memory
command protocol.

RX

TX

ACK

DS1624 generates acknowledge bit.

1

TX

RX

Bus Master sends the starting memory
address.

RX

TX

ACK

DS1624 generates acknowledge bit.

TX

RX

START

Bus Master initiates a Repeated Start
condition.

TX

RX

Bus Master sends DS1624 address;

R/

W

=1;

RX

TX

ACK

DS1624 generates acknowledge bit.

RX

TX

DS1624 sends the first byte of data.

TX

RX

ACK

Bus Master generates acknowledge bit.