411
CHAPTER 18 SERIAL INTERFACE CHANNEL 0 (
µ
PD78078Y Subseries)
18.4.6 Restrictions in I
2
C bus mode
The following restrictions apply to the
µ
PD78078Y Subseries.
• Restrictions when used as slave device in I
2
C bus mode
Applicable models
µ
PD78076Y, 78078Y, 78P078Y, and IE-78078-R-EM
Description
When the wake-up function is executed (by setting the WUP flag (bit 5 of the serial
operation mode register 0 (CSIM0)) in the serial transfer status
Note
, data between the
other slaves and master will be judged as an address. If this data happens to coincide
with the slave address of the
µ
PD78078Y Subseries, the
µ
PD78078Y Subseries will
initiate communication, destroying the communication data.
Note
The serial transfer status is the status in which the interrupt request flag (CSIIF0)
is set because of the end of serial transfer after the serial I/O shift register 0
(SIO0) has been written.
Preventive measure
This restriction can be avoided by modifying the program.
Before executing the wake-up function, execute the following program that releases serial
transfer status. To execute the wake-up function, do not execute an instruction that
writes SIO0. Even if such an instruction is not executed, data can be received when the
wake-up function is executed.
This program releases the serial transfer status. To release the serial transfer status,
the serial interface channel 0 must be set once in the operation stop status (by clearing
the CSIE0 flag (bit 7 of the serial operation mode register (CSIM0) to 0). However, if the
serial interface channel 0 is set in the operation stop status in the I
2
C bus mode, the SCL
pin output a high level and the SDA0 (SDA1) pin outputs a low level, affecting
communication of the I
2
C bus. Therefore, this program places the SCL and SDA0 (SDA1)
pins in the high-impedance state to prevent the I
2
C bus from being affected.
In the example below, SDA0 (/P25) is used as a serial data input/output pin. When
SDA1 (/P26) is used as the serial data input/output pin, take P2.5 and PM2.5 in the
program below as P2.6 and PM2.6, respectively
For the timing of each signal when this program is executed, refer to Figure 18-22.
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...