beautypg.com

Figure 125. spi master waveforms (sscpha = 0), Figure 126. spi master waveforms (sscpha = 1) – Rainbow Electronics AT89C5132 User Manual

Page 148

background image

148

AT8xC5132

4173A–8051–08/02

Figure 125. SPI Master Waveforms (SSCPHA = 0)

Note:

SS handled by software using general purpose port pin.

Figure 126. SPI Master Waveforms (SSCPHA = 1)

Note:

SS handled by software using general purpose port pin.

T

CHCL

T

CLCH

MOSI

(input)

SCK

(SSCPOL = 0)

(input)

SS#1

(input)

SCK

(SSCPOL = 1)

(input)

MISO

(output)

T

CHCH

T

CLCX

T

CHCX

T

IVCL

T

CLIX

T

CHIX

T

IVCH

T

CLOV

T

CHOV

T

CLOX

T

CHOX

MSB IN

BIT 6

LSB IN

SLAVE MSB OUT

SLAVE LSB OUT

BIT 6

T

SLOV

1

T

SHOX

T

SHSL

T

CHSH

T

CLSH

T

SLCL

T

SLCH

SI

(input)

SCK

(SSCPOL = 0)

(output)

SS#1

(output)

SCK

(SSCPOL = 1)

(output)

SO

(output)

T

CHCH

T

CLCX

T

CHCX

T

IVCL

T

CLIX

T

CHIX

T

IVCH

T

CHOV

T

CLOV

T

CHOX

T

CLOX

MSB IN

BIT 6

LSB IN

MSB OUT

Port Data

LSB OUT

Port Data

BIT 6

T

CHCL

T

CLCH