beautypg.com

Figure 9. spi timing, mode (0,0), Figure 10. spi timing, mode (1,1) – Rainbow Electronics DS28DG02 User Manual

Page 18

background image

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog

18 of 33

Figure 9. SPI Timing, Mode (0,0)

CSZ

SCK

SI

SO

High Impedance

High Impedance

Data Valid

t

DS

t

DH

t

CSS

t

CSH

t

CPH

Writing to the device

CSZ

SCK

SO

SI

Data Valid

t

CSH

t

CHZ

t

HO

t

V

t

CLH

Reading from the device

t

CLL

Figure 10. SPI Timing, Mode (1,1)

CSZ

SCK

SI

SO

High Impedance

High Impedance

t

CSS

t

CSH

t

CPH

Data Valid

t

DS

t

DH

Writing to the device

t

CSH

CSZ

SCK

SO

SI

t

CHZ

t

HO

t

CLL

t

CLH

Data Valid

t

V

Reading from the device

Legend

: t

CLH

= 0.5 * (1/f

CLK

- t

SCKR

-t

SCKF

)

t

CLL

= 0.5 * (1/f

CLK

- t

SCKR

-t

SCKF

)

t

HO

= t

VMIN