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.
Содержание PD78076
Страница 2: ...2 MEMO ...
Страница 12: ...12 MEMO ...
Страница 48: ...48 MEMO ...
Страница 64: ...64 MEMO ...
Страница 82: ...82 MEMO ...
Страница 100: ...100 MEMO ...
Страница 130: ...130 MEMO ...
Страница 180: ...180 MEMO ...
Страница 222: ...222 MEMO ...
Страница 248: ...248 MEMO ...
Страница 288: ...288 MEMO ...
Страница 308: ...308 MEMO ...
Страница 364: ...364 MEMO ...
Страница 494: ...494 MEMO ...
Страница 526: ...526 MEMO ...
Страница 544: ...544 MEMO ...
Страница 558: ...558 MEMO ...
Страница 580: ...580 MEMO ...
Страница 596: ...596 MEMO ...
Страница 598: ...598 MEMO ...
Страница 626: ...626 MEMO ...