Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  13   SERIAL  INTERFACE  IICA 
CHAPTER  13   SERIAL  INTERFACE  IICA 
 
 
13.1  Functions of Serial Interface IICA 
 
Serial interface IICA has the following three modes. 
 
(1)   Operation stop mode 
This mode is used when serial transfers are not performed.  It can therefore be used to reduce power consumption. 
 
(2) I
2
C bus mode (multimaster supported) 
This mode is used for 8-bit data transfers with several devices via two lines:  a serial clock (SCLA0) line and a serial 
data bus (SDAA0) line. 
This mode complies with the I
2
C bus format and the master device can generated “start condition”, “address”, 
“transfer direction specification”, “data”, and “stop condition” data to the slave device, via the serial data bus.  The 
slave device automatically detects these received status and data by hardware.  This function can simplify the part 
of application program that controls the I
2
C bus. 
Since the SCLA0 and SDAA0 pins are used for open drain outputs, serial interface IICA requires pull-up resistors 
for the serial clock line and the serial data bus line. 
 
(3) Wakeup mode 
The STOP mode can be released by generating an interrupt request signal (INTIICA0) when an extension code 
from the master device or a local address has been received while in STOP mode.  This can be set by using the 
WUP0 bit of IICA control register 01 (IICCTL01). 
 
Figure 13-1 shows a block diagram of serial interface IICA. 
 
R01UH0305EJ0200  Rev.2.00 
 
 
566  
Jul 04, 2013