beautypg.com

Rainbow Electronics DS1393 User Manual

Page 20

background image

DS1390/DS1391/DS1392/DS1393

Low-Voltage SPI/3-Wire RTCs with
Trickle Charger

20

____________________________________________________________________

CS

SCLK

DIN

DOUT

HIGH-IMPEDANCE

ADDRESS

BYTE

ADDRESS

BYTE

DATA BYTE 0

DATA BYTE 1

DIN

DATA BYTE N

DATA

BYTE 0

DATA

BYTE 1

DATA

BYTE N

WRITE

READ

Figure 13. SPI Multiple-Byte Burst Transfer

A1

A2

A3

A4

A5

A6

CE

SCLK

I/O

W/R

A0

D1

D2

D3

D4

D5

D6

D7

D0

Figure 14. 3-Wire Single-Byte Read

A1

A2

A3

A4

A5

A6

CE

SCLK

I/O

W/R

A0

D1

D2

D3

D4

D5

D6

D7

D0

Figure 15. 3-Wire Single-Byte Write