382
CHAPTER 17 SERIAL INTERFACE CHANNEL 0 (
µ
PD78058FY SUBSERIES)
Writing
data to
SIO0
Setting
CSIIF0
Setting
ACKD
Serial Transmission
9
2
3
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
(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)
Summary of Contents for PD78056F
Page 2: ...2 MEMO ...
Page 14: ...14 MEMO ...
Page 34: ...34 MEMO ...
Page 154: ...154 MEMO ...
Page 170: ...170 MEMO ...
Page 238: ...238 MEMO ...
Page 278: ...278 MEMO ...
Page 432: ...432 MEMO ...
Page 476: ...476 MEMO ...
Page 548: ...548 MEMO ...
Page 564: ...564 MEMO ...
Page 580: ...580 MEMO ...
Page 584: ...584 MEMO ...
Page 592: ...592 MEMO ...