RL78/G13 CHAPTER 4 PORT FUNCTIONS
R01UH0146EJ0100 Rev.1.00 280
Sep 22, 2011
4.6.2 Cautions on the pin settings on the products other than 128-pin
In the products other than 128-pin products, multiple alternate output functions may be assigned to P15 to P17, P30
and P31 pins.
In such cases, the output from the alternate functions that are not used in any settings except the one indicated in
Table 4-23 must be set to the same value as the one in the initial status.
The following indicates the specific targets and the method of processing;
(1) 30- to 52-pin products: P15/PCLBUZ1/SCK20/SCL20/(TI02)/(TO02)
· Using PCLBUZ1: SCK20/SCL20 output set to 1
Set serial channel enable status register 1 (SE1), serial output register 1 (SO1) and serial output enable register 1
(SOE1) to the default status.
· Using SCK20/SCL20: PCLBUZ1 output clear to 0
Set bit 7 (PCLOE1) of clock output select register 1 (CKS1) to “0”, which is the same as their default status setting.
(2) 20-pin products: P16/TI01/TO01/INTP5/SO11
· Using TO01: SO11 output set to 1
Set serial channel enable status register 0 (SE0), serial output register 0 (SO0) and serial output enable register 0
(SOE0) to the default status.
· Using SO11: TO01 output clear to 0
Set bit 1 (TO01) of timer output register 0 (TO0) and bit 1 (TOE01) of timer output enable register 0 (TOE0) to “0”,
which is the same as their default status setting.
(3) 20-pin products: P17/TI02/TO02/SI11/SDA11
· Using TO02: SDA11 output set to 1
Set serial channel enable status register 0 (SE0), serial output register 0 (SO0) and serial output enable register 0
(SOE0) to the default status.
· Using SDA11: TO02 output clear to 0
Set bit 2 (TO02) of timer output register 0 (TO0) and bit 2 (TOE02) of timer output enable register 0 (TOE0) to “0”,
which is the same as their default status setting.
(4) 24- and 25-pin products: P17/TI02/TO02/SO11
· Using TO02: SO11 output set to 1
Set serial channel enable status register 0 (SE0), serial output register 0 (SO0) and serial output enable register 0
(SOE0) to the default status.
· Using SO11: TO02 output clear to 0
Set bit 2 (TO02) of timer output register 0 (TO0) and bit 2 (TOE02) of timer output enable register 0 (TOE0) to “0”,
which is the same as their default status setting.
(5) 40- to 100-pin products: P30/INTP3/RTC1HZ/SCK11/SCL11
· Using RTC1HZ: SCK11/SCL11 output set to 1
Set serial channel enable status register 0 (SE0), serial output register 0 (SO0) and serial output enable register 0
(SOE0) to the default status.
· Using SCK11/SCL11: RTC1HZ output clear to 0
Set bit 5 (RCLOE1) of real-time clock control register 0 (RTCC0) to “0”, which is the same as its default status
setting.
<R>