335
CHAPTER 18 SERIAL INTERFACE (IIC0) (
μ
PD780024Y, 780034Y SUBSERIES ONLY)
Table 18-4. Status during Arbitration and Interrupt Request Generation Timing
Status during arbitration
Interrupt request generation timing
During address transmission
At falling edge of eighth or ninth clock following byte transfer
Note 1
Read/write data after address transmission
During extension code transmission
Read/write data after extension code transmission
During data transmission
During ACK signal transfer period after data transmission
When restart condition is detected during data transfer
When stop condition is detected during data transfer
When stop condition is output (when SPIE0 = 1)
Note 2
When data is at low level while attempting to output a
restart condition
At falling edge of eighth or ninth clock following byte transfer
Note 1
When stop condition is detected while attempting to
output a restart condition
When stop condition is output (when SPIE0 = 1)
Note 2
When data is at low level while attempting to output a
stop condition
At falling edge of eighth or ninth clock following byte transfer
Note 1
When SCL0 is at low level while attempting to output a
restart condition
Notes 1.
When WTIM0 (bit 3 of the IIC control register IICC0) = 1, an interrupt request occurs at the falling edge
of the ninth clock. When WTIM0 = 0 and the extension code’s slave address is received, an interrupt
request occurs at the falling edge of the eighth clock.
2.
When there is a chance that arbitration will occur, set SPIE0 = 1 for master device operation.
Remark
SPIE0 : Bit 5 of the IIC control register (IICC0)
18.5.13 Wake up function
The I
2
C bus slave function is a function that generates an interrupt request (INTIIC0) when a local address and
extension code have been received.
This function makes processing more efficient by preventing unnecessary interrupt requests from occurring when
addresses do not match.
When a start condition is detected, wake-up standby mode is set. This wake-up standby mode is in effect while
addresses are transmitted due to the possibility that an arbitration loss may change the master device (which has
output a start condition) to a slave device.
However, when a stop condition is detected, bit 5 (SPIE0) of the IIC control register (IICC0) is set regardless of
the wake up function, and this determines whether interrupt requests are enabled or prohibited.