beautypg.com

Single-byte data transfer figure 7, Multiple-byte burst transfer figure 8 – Rainbow Electronics DS1670 User Manual

Page 11

background image

DS1670

11 of 17

Data transfers can occur 1 byte at a time or in multiple-byte burst mode. After CS is driven high an
address is written to the DS1670. After the address, one or more data bytes can be read or written. For a
single-byte transfer 1 byte is read or written and then CS is driven low. For a multiple-byte transfer,
multiple bytes can be read or written to the DS1670 after the address has been written. Each read or write
cycle causes the register address to automatically increment. Incrementing continues until the device is
disabled. After accessing register 0Eh, the address wraps to 00h.

Data transfer for single-byte transfer and multiple-byte burst transfer is illustrated in Figures 7 and 8.

SINGLE-BYTE DATA TRANSFER Figure 7

CS

SCLK

MULTIPLE-BYTE BURST TRANSFER Figure 8

A0

A1

A2

A3

A4

A5

A6

D0

D1

D2

D3

D4

D5

D6

D7

RD

WR

CS

SCLK

I/O

ADDRESS

BYTE

DATA

BYTE 0

DATA

BYTE 1

DATA

BYTE N