R8C/16 Group, R8C/17 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
REJ03B0101-0200
Rev.2.00
Jan 30, 2006
1.
Overview
This MCU is built using the high-performance silicon gate CMOS process using the R8C/Tiny Series CPU
core and is packaged in a 20-pin plastic molded LSSOP. This MCU operates using sophisticated
instructions featuring a high level of instruction efficiency. With 1 Mbyte of address space, it is capable of
executing instructions at high speed.
Furthermore, the data flash ROM (1KB × 2blocks) is embedded in the R8C/17 group.
The difference between the R8C/16 and R8C/17 groups is only the existence of the data flash ROM. Their
peripheral functions are the same.
1.1
Applications
Electric household appliance, office equipment, housing equipment (sensor, security), general industrial
equipment, audio, etc.
Rev.2.00 Jan 30, 2006
REJ03B0101-0200
Page 1 of 35
R8C/16 Group, R8C/17 Group
1. Overview
1.2
Performance Overview
Table 1.1 lists the Performance Outline of the R8C/16 Group and Table 1.2 lists the Performance Outline
of the R8C/17 Group.
Table 1.1
Performance Outline of the R8C/16 Group
Item
Performance
CPU
Number of Basic Instructions 89 instructions
Minimum Instruction
50ns(f(XIN)=20MHz, VCC=3.0 to 5.5V)
Execution Time
100ns(f(XIN)=10MHz, VCC=2.7 to 5.5V)
Operating Mode
Single-chip
Address Space
1 Mbyte
Memory Capacity
See
Table 1.3 R8C/16 Group Product Information
Peripheral
Port
I/O port : 13 pins (including LED drive port),
Function
Input : 2 pins
LED Drive Port
I/O port: 4 pins
Timer
Timer X: 8 bits × 1 channel, Timer Z: 8 bits × 1 channel
(Each timer equipped with 8-bit prescaler)
Timer C: 16 bits × 1 channel
(Circuits of input capture and output compare)
Serial Interface
1 channel
Clock synchronous serial I/O, UART
1 channel
I
2
C bus Interface (IIC)
(1)
A/D Converter
10-bit A/D converter: 1 circuit, 4 channels
Watchdog Timer
15 bits × 1 channel (with prescaler)
Reset start selectable, Count source protection mode
Interrupt
Internal: 9 factors, External: 4 factors, Software: 4
factors
Priority level: 7 levels
Clock Generation Circuit
2 circuits
Main clock oscillation circuit (Equipped with a built-in
feedback resistor)
On-chip oscillator (high speed, low speed)
Equipped with frequency adjustment function on high-
speed on-chip oscillator
Oscillation Stop Detection
Main clock oscillation stop detection function
Function
Voltage Detection Circuit
Included
Power-on Reset Circuit
Included
Electric
Supply Voltage
VCC=3.0 to 5.5V (f(XIN)=20MHz)
Characteristics
VCC=2.7 to 5.5V (f(XIN)=10MHz)
Power Consumption
Typ. 9mA (VCC=5.0V, f(XIN)=20MHz)
Typ. 5mA (VCC=3.0V, f(XIN)=10MHz)
Typ. 35µA (VCC=3.0V, wait mode, peripheral clock off)
Typ. 0.7µA (VCC=3.0V, stop mode)
Flash Memory Program/Erase Supply
VCC=2.7 to 5.5V
Voltage
Program/Erase Endurance
100 times
Operating Ambient Temperature
-20 to 85°C
-40 to 85°C (D Version)
Package
20-pin plastic mold LSSOP
NOTES:
1. I
2
C bus is a trademark of Koninklijke Philips Electronics N. V.
Rev.2.00 Jan 30, 2006
REJ03B0101-0200
Page 2 of 35
R8C/16 Group, R8C/17 Group
1. Overview
Table 1.2
Performance Outline of the R8C/17 Group
Item
Performance
CPU
Number of Basic Instructions 89 instructions
Minimum Instruction Execution 50ns(f(XIN)=20MHz, VCC=3.0 to 5.5V)
Time
100ns(f(XIN)=10MHz, VCC=2.7 to 5.5V)
Operating Mode
Single-chip
Address Space
1 Mbyte
Memory Capacity
See
Table 1.4 R8C/17 Group Product Information
Peripheral
Port
I/O : 13 pins (including LED drive port),
Function
Input : 2 pin
LED drive port
I/O port: 4 pins
Timer
Timer X: 8 bits × 1 channel, Timer Z: 8 bits × 1 channel
(Each timer equipped with 8-bit prescaler)
Timer C: 16 bits × 1 channel
(Circuits of input capture and output compare)
Serial Interface
1 channel
Clock synchronous serial I/O, UART
1 channel
I
2
C bus Interface (IIC)
(1)
A/D Converter
10-bit A/D converter: 1 circuit, 4 channels
Watchdog Timer
15 bits × 1 channel (with prescaler)
Reset start selectable, Count source protection mode
Interrupt
Internal: 9 factors, External: 4 factors, Software: 4
factors
Priority level: 7 levels
Clock Generation Circuit
2 circuits
Main clock generation circuit (Equipped with a built-in
feedback resistor)
On-chip oscillator (high speed, low speed)
Equipped with frequency adjustment function on high-
speed on-chip oscillator
Oscillation Stop Detection
Main clock oscillation stop detection function
Function
Voltage Detection Circuit
Included
Power-on Reset Circuit
Included
Electric
Supply Voltage
VCC=3.0 to 5.5V (f(XIN)=20MHz)
Characteristics
VCC=2.7 to 5.5V (f(XIN)=10MHz)
Power Consumption
Typ. 9mA (VCC = 5.0V, f(XIN) = 20MHz)
Typ. 5mA (VCC = 3.0V, f(XIN) = 10MHz)
Typ.35µA (VCC = 3.0V, wait mode, peripheral clock off)
Typ. 0.7µA (VCC = 3.0V, stop mode)
Flash Memory Program/Erase Supply Voltage VCC=2.7 to 5.5V
Program and Erase
10,000 times (Data flash)
1,000 times (Program ROM)
Endurance
Operating Ambient Temperature
-20 to 85°C
-40 to 85°C (D Version)
Package
20-pin plastic mold LSSOP
NOTES:
1. I
2
C bus is a trademark of Koninklijke Philips Electronics N. V.
Rev.2.00 Jan 30, 2006
REJ03B0101-0200
Page 3 of 35
R8C/16 Group, R8C/17 Group
1. Overview
1.3
Block Diagram
Figure 1.1 shows a Block Diagram.
8
4
1
2
I/O port
Peripheral Function
Timer
Port P1
Port P3
Port P4
A/D Converter
(10 bits
×
4 channels)
UART or
Clock Synchronous Serial I/O
(8 bits
×
1 channel)
Timer X (8 bits)
Timer Z (8 bits)
Timer C (16 bits)
System Clock Generator
XIN-XOUT
High-Speed On-Chip
Oscillator
Low-Speed On-Chip
Oscillator
I
2
C bus Interface
Watchdog Timer
(15 bits)
R8C/Tiny Series CPU Core
R0H
R1H
R2
R3
A0
A1
FB
R0L
R1L
SB
USP
ISP
INTB
PC
FLG
Memory
ROM
(1)
RAM
(2)
Multiplier
NOTES:
1. ROM size depends on MCU type.
2. RAM size depends on MCU type.
Figure 1.1
Block Diagram
Rev.2.00 Jan 30, 2006
REJ03B0101-0200
Page 4 of 35
R8C/16 Group, R8C/17 Group
1. Overview
1.4
Product Information
Table 1.3 lists the Product Information of R8C/16 Group and Table 1.4 lists the Product Information of
R8C/17 Group.
Table 1.3
Product Information of R8C/16 Group
ROM
Capacity
8 Kbytes
12 Kbytes
16 Kbytes
8 Kbytes
12 Kbytes
16 Kbytes
RAM
Capacity
512 bytes
768 bytes
1 Kbyte
512 bytes
768 bytes
1 Kbyte
Package
Type
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
As of Jan 2006
Remarks
Flash Memory Version
Type No.
R5F21162SP
R5F21163SP
R5F21164SP
R5F21162DSP
R5F21163DSP
R5F21164DSP
D Version
Type No.
R 5 F 21 16 4 D SP
Package Type:
SP : PLSP0020JB-A
Grouping
D : Operation Ambient Temperature -40°C to 85°C
No Symbol : Operation Ambient Temperature -20°C to 85°C
ROM Capacity
2 : 8KB
3 : 12KB
4 : 16KB
R8C/16 Group
R8C/Tiny Series
Memory Type
F : Flash Memory Version
Renesas MCU
Renesas Semiconductors
Figure 1.2
Part Number, Memory Size and Package of R8C/16 Group
Rev.2.00 Jan 30, 2006
REJ03B0101-0200
Page 5 of 35