beautypg.com

Data transfer – Rainbow Electronics AT75C220 User Manual

Page 126

background image

AT75C220

126

Data Transfer

Figure 31, Figure 32 and Figure 33 show examples of data transfers.

Figure 31. SPI Transfer Format (NPCHA Equals One, Eight Bits per Transfer)

Figure 32. SPI Transfer Format (NCPHA Equals Zero, Eight Bits per Transfer)

SPCK

(CPOL=0)

SPCK

(CPOL=1)

1

2

3

4

5

6

7

MOSI

(from master)

MISO

(from slave)

NPCSS (to slave)

SPCK Cycle (for reference)

8

MSB

MSB

LSB

LSB

6

6

6

5

5

4

4

3

3

2

2

1

1

X

SPCK

(CPOL=0)

SPCK

(CPOL=1)

1

2

3

4

5

6

7

MOSI

(from master)

MISO

(from slave)

NPCSS (to slave)

SPCK Cycle (for reference)

8

MSB

MSB

LSB

LSB

6

6

6

5

5

4

4

3

3

2

2

1

1

X