171
CHAPTER 5 PERIPHERAL HARDWARE FUNCTIONS
Figure 5-69. Data Transfer Operation from Master Device to Slave Device
Program processing
Hardware operation
Program processing
SCK pin 123456789
SB0 or SB1 pin D7
Hardware operation
D6 D5 D4 D3 D2 D1 D0 ACK READY
Data
Master device processing (transmitter)
Transfer line
Slave device processing (receiver)
Interrupt handling (preparation for next serial transfer)
Serial transmission
Generate
IRQCSI
Serial reception
Generate
IRQCSI
BUSY
Write
to SIO
Set
ACKD Stop
SCK
Read
SIO Set
ACKT Clear
BUSY
Output
BUSY
Output
ACK
Clear
BUSY