beautypg.com

Rainbow Electronics DS28DG02 User Manual

Page 26

background image

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

26 of 33

Figure 18. Single-Byte Write to Memory and PIO Timing


CSZ


SCK


SI


SO

High Impedance

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Single-Byte Write Timing, Mode (0,0)

0 0 0 0 A8 0 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0

Instruction

8-bit Address

Data Byte

t

PROG


CSZ


SCK


SI


SO

High Impedance

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Single-Byte Write Timing, Mode (1,1)

0 0 0 0 A8 0 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0

Instruction

8-bit Address

Data Byte

t

PROG

Figure 19. Multiple-Byte Write to Memory and PIO Timing


CSZ

SCK

SI

Multiple-Byte Write Timing, Mode (0,0)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

0 0 0 0 A8 0 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0

Instruction

8-bit Address

Data Byte 1


CSZ

SCK


SI

t

PROG

7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0

Data Byte n-2

Data Byte n-1

Data Byte n