beautypg.com

Rainbow Electronics DS1852 User Manual

Page 9

background image

DS1852

9 of 25

Once the device address is clocked in and acknowledged by the DS1852 with the R/W bit set to high,
the current address data word is clocked out. The master does not respond with a zero, but does generate
a stop condition afterwards.

RANDOM READ

A random read requires a dummy byte write sequence to load in the data word address. Once the device
and data address bytes are clocked in by the master, and acknowledged by the DS1852, the master must
generate another start condition. The master now initiates a current address read by sending the device
address with the R/W bit set high. The DS1852 will acknowledge the device address and serially clocks
out the data byte.

SEQUENTIAL ADDRESS READ

Sequential reads are initiated by either a current address read or a random address read. After the master
receives the first data byte, the master responds with an acknowledge. As long as the DS1852 receives
this acknowledge after a byte is read, the master may clock out additional data words from the DS1852.
After reaching address FFh, it resets to address 00h.

The sequential read operation is terminated when the master initiates a stop condition. The master does
not respond with a zero.

For a more detailed description of 2-wire theory of operation, see 2-WIRE SERIAL PORT OPERATION.