387
CHAPTER 17 SERIAL INTERFACE CHANNEL 0 (
ยต
PD78054Y Subseries)
(3) Slave wait release (slave reception)
The slave is released from the wait status when the WREL flag (bit 2 of the interrupt timing specify register
(SINT)) is set or when an instruction that writes data to the serial I/O shift register 0 (SIO0) is executed.
When the slave receives data, the first bit of the data sent from the master may not be received if the SCL
line immediately goes into a high-impedance state after an instruction that writes data to SIO has been
executed.
This is because SIO0 does not start operating if the SCL line is in the high-impedance state while the
instruction that writes data to SIO0 is executed (until the next instruction is executed).
Therefore, receive the data by manipulating the output latch of P27 by program, as shown in Figure 17-26.
For this timing, refer to Figure 17-22.
Figure 17-26. Slave Wait Release (Reception)
Writing
data to
SIO0
Setting
CSIIF0
Setting
ACKD
Serial transmission
923
A0 ACK D7 D6 D5
P27
output
latch 1
Setting
CSIIF0
ACK
output
Serial reception
Write
FFH
to SIO0
P27
output
latch 0
Wait
release
Software operation
Hardware operation
SCL
SDA0 (SDA1)
Software operation
Hardware operation
1
W
Master device operation
Transfer line
Slave device operation