26
4173ES–USB–09/07
AT89C5132
Figure 6-14. SPI Master Waveforms (SSCPHA = 0)
Note:
1. SS handled by software using general purpose port pin.
Figure 6-15. SPI Master Waveforms (SSCPHA = 1)
Note:
1. SS handled by software using general purpose port pin.
6.3.4
Two-wire Interface
6.3.4.1
Timings
Table 17. TWI Interface AC Timing
T
CHCL
T
CLCH
MOSI
(input)
SCK
(SSCPOL = 0)
(input)
SS1
(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)
SS1
(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