Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual page 350

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: SERIAL INTERFACE
• Clock-synchronized master mode
The timing at which the device starts transmitting in the master mode is as follows:
When #SRDY is on a low level while TDBEx = "0" (the transmit-data register contains data written to it) or
when TDBEx is set to "0" (data has been written to the transmit-data register) while #SRDY is on a low level.
Figure 8.4 shows a transmit timing chart in the clock-synchronized master mode.
#SCLKx
#SRDYx
SOUTx
C
TDBEx
TENDx
Transmit-buffer empty
interrupt request
Figure 8.4 Transmit Timing Chart in Clock-Synchronized Master Mode
1. If the #SRDYx signal from the slave is on a high level, the master waits until it is on a low level (ready to
receive).
2. If #SRDYx is on a low level, the synchronizing clock input to the serial interface begins. The
synchronizing clock is also output from the #SCLKx pin to the slave device.
3. The content of the data register is transferred to the shift register synchronously with the first falling edge
of the clock. At the same time, the LSB of the data transferred to the shift register is output from the
SOUTx pin.
4. The data in the shift register is shifted 1 bit by the next falling edge of the clock, and the bit following the
LSB is output from SOUTx. This operation is repeated until all 8 bits of data are transmitted.
The slave device must take in each bit synchronously with the rising edges of the synchronizing clock.
• Clock-synchronized slave mode
Figure 8.5 shows a transmit timing chart in the clock-synchronized slave mode.
#SCLKx
SOUTx
#SRDYx
A
TDBEx
TENDx
Transmit-buffer empty
interrupt request
Figure 8.5 Transmit Timing Chart in Clock-Synchronized Slave Mode
1. After setting the #SRDYx signal to a low level (ready to transmit), the slave waits for clock input from the
master.
2. When the synchronizing clock is input from the #SCLKx pin, the content of the data register is transferred
to the shift register synchronously with the first falling edge of the clock. At the same time, the LSB of the
data transferred to the shift register is output from the SOUTx pin.
The #SRDYx signal is returned to a high level at this point.
B-III-8-8
A
D0
D1
D2
D3
D4
D
A
Slave device receives the LSB.
B
Slave device receives the MSB.
D0
D1
D2
D3
D4
B
A
First data is written.
B
Next data is written.
B
D5
D6
D7
D0
D1
Transmit-buffer empty
interrupt request
C
First data is written.
D
Next data is written.
D5
D6
D7
D0
D1
Transmit-buffer empty
interrupt request
EPSON
B
D2
D6
D7
D2
D6
D7
S1C33L03 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents