Datasheet
R8C/34K Group
RENESAS MCU
R01DS0040EJ0100
Rev.1.00
Feb 25, 2011
1.Overview
1.1
Features
The R8C/34K Group of single-chip MCUs incorporates the R8C CPU core, employing sophisticated instructions
for a high level of efficiency. With 1 Mbyte of address space, and it is capable of executing instructions at high
speed. In addition, the CPU core boasts a multiplier for high-speed operation processing.
Power consumption is low, and the supported operating modes allow additional power control. These MCUs are
designed to maximize EMI/EMS performance.
Integration of many peripheral functions, including multifunction timer and serial interface, reduces the number of
system components.
The R8C/34K Group has data flash (1 KB × 4 blocks) with the background operation (BGO) function.
1.1.1
Applications
Peripherals (USB applicable), audio components, cameras, televisions, household appliances, office equipment,
communication devices, mobile devices, industrial equipment, and other applications.
R01DS0040EJ0100 Rev.1.00
Feb 25, 2011
Page 1 of 58
R8C/34K Group
1. Overview
1.1.2
Specifications
Tables 1.1 and 1.2 outline the Specifications for R8C/34K Group.
Table 1.1
Item
CPU
Specifications for R8C/34K Group (1)
Function
Central processing
unit
Specification
R8C CPU core
• Number of fundamental instructions: 89
• Minimum instruction execution time:
50 ns (f(XIN) = 20 MHz, VCC = 2.7 to 5.5 V)
200 ns (f(XIN) = 5 MHz, VCC = 1.8 to 5.5 V)
• Multiplier: 16 bits × 16 bits
→
32 bits
• Multiply-accumulate instruction: 16 bits × 16 bits + 32 bits
→
32 bits
• Operation mode: Single-chip mode (address space: 1 Mbyte)
Refer to
Table 1.3 Product List for R8C/34K Group
• Power-on reset
• Voltage detection 3 (detection level of voltage detection 0 and voltage
detection 1 selectable)
• CMOS I/O ports: 36, selectable pull-up resistor
• High current drive ports: 36
• 4 circuits: XIN clock oscillation circuit,
High-speed on-chip oscillator (with frequency adjustment function),
Low-speed on-chip oscillator
PLL frequency synthesizer
• Oscillation stop detection: XIN clock oscillation stop detection function
• Frequency divider circuit: Dividing selectable 1, 2, 4, 8, and 16
• Low power consumption modes:
Standard operating mode (XIN clock, PLL frequency synthesizer, high-speed
on-chip oscillator, low-speed on-chip oscillator), wait mode, stop mode
• Interrupt Vectors: 69
• External: 9 sources (INT × 5, key input × 4)
• Priority levels: 7 levels
• 14 bits × 1 (with prescaler)
• Reset start selectable
• Low-speed on-chip oscillator for watchdog timer selectable
• 1 channel
• Activation sources: 30
• Transfer modes: 2 (normal mode, repeat mode)
8 bits × 1 (with 8-bit prescaler)
Timer mode (period timer), pulse output mode (output level inverted every
period), event counter mode, pulse width measurement mode, pulse period
measurement mode
8 bits × 1 (with 8-bit prescaler)
Timer mode (period timer), programmable waveform generation mode (PWM
output), programmable one-shot generation mode, programmable wait one-
shot generation mode
16 bits × 1 (with 4 capture/compare registers)
Timer mode (input capture function, output compare function), PWM mode
(output 3 pins), PWM2 mode (PWM output pin)
16 bits × 1
Input capture mode (input × 1)
Output compare mode (output × 4)
Clock synchronous serial I/O/UART × 3 channel
Clock synchronous serial I/O, UART, multiprocessor communication function
1 (shared with I
2
C bus)
Memory
ROM, RAM,
Data flash
Power Supply Voltage detection
Voltage
circuit
Detection
I/O Ports
Programmable I/O
ports
Clock
Clock generation
circuits
Interrupts
Watchdog Timer
DTC (Data Transfer Controller)
Timer
Timer RA
Timer RB
Timer RC
Timer RF
Serial
Interface
UART0, UART1,
UART3
UART2
Synchronous Serial
Communication Unit (SSU)
R01DS0040EJ0100 Rev.1.00
Feb 25, 2011
Page 2 of 58
R8C/34K Group
1. Overview
Table 1.2
Item
I
2
C bus
LIN Module
USB Functions
Specifications for R8C/34K Group (2)
Function
1 (shared with SSU)
Hardware LIN: 1 (timer RA, UART0)
• USB 2.0 specification compliant, Full speed (12 Mbps) supported
• USB Device Controller (UDC), transceiver for USB2.0 are incorporated, and
on-chip USB transceiver
• 5 pipes provided with individual FIFO
Arbitrary EP numbers can be specified for PIPE4 to 7
• USB OTG (On-The-Go) operation is possible
• FIFO size (total 448 bytes:
DCP (EP0) = 64 bytes,
PIPE4 and PIPE5 = 128 bytes (64-byte double buffer),
PIPE6 and PIPE7 = 64 bytes
• Supported transfer:
DCP = Control transfer IN/OUT,
PIPE4 and PIPE5 = Bulk transfer IN/OUT,
PIPE6 and PIPE7 = Interrupt transfer IN/OUT
• When the host controller is selected
Automatic scheduling for SOF and packet transmissions
Programmable intervals for interrupt transfers
10-bit resolution
×
12 channels, includes sample and hold function, with sweep
mode
2 circuits
• Programming and erasure voltage: VCC = 2.7 to 5.5 V
• Programming and erasure endurance: 10,000 times (data flash)
1,000 times (program ROM)
• Program security: ROM code protect, ID code check
• Debug functions: On-chip debug, on-board flash rewrite function
• Background operation (BGO) function (data flash)
f(XIN) = 20 MHz (VCC = 2.7 to 5.5 V)(USB not used)
f(XIN) = 5 MHz (VCC = 1.8 to 5.5 V)(USB not used)
Typ. 7.0 mA (VCC = 5.0 V, f(XIN) = 20 MHz)
Typ. 3.5 mA (VCC = 3.0 V, f(XIN) = 10 MHz)
Typ. 4.0
µA
(VCC = 3.0 V, wait mode)
Typ. 2.0
µA
(VCC = 3.0 V, stop mode)
−20
to 85°C (N version)
−40
to 85°C (D version)
48-pin LQFP
Package code: PLQP0048KB-A (previous code: 48P6Q-A)
Specification
A/D Converter
Comparator B
Flash Memory
Operating Frequency/Supply
Voltage
Current consumption
Operating Ambient Temperature
Package
R01DS0040EJ0100 Rev.1.00
Feb 25, 2011
Page 3 of 58
R8C/34K Group
1. Overview
1.2
Product List
Table 1.3 lists Product List for R8C/34K Group. Figure 1.1 shows a Part Number, Memory Size, and Package of
R8C/34K Group.
Table 1.3
Product List for R8C/34K Group
RAM
Capacity
8 Kbytes
10 Kbytes
8 Kbytes
10 Kbytes
8 Kbytes
10 Kbytes
8 Kbytes
10 Kbytes
Package Type
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0048KB-A
Current of Feb 2011
Remarks
N version
D version
N version
D version
Factory
programmin
g product
(1)
ROM Capacity
Part No.
Program
Data flash
ROM
R5F21348KNFP
64 Kbytes 1 Kbyte
×
4
R5F2134CKNFP
128Kbytes 1 Kbyte
×
4
R5F21348KDFP
64 Kbytes 1 Kbyte
×
4
R5F2134CKDFP
128Kbytes 1 Kbyte
×
4
R5F21348KNXXXFP 64 Kbytes 1 Kbyte
×
4
R5F2134CKNXXXFP 128Kbytes 1 Kbyte
×
4
R5F21348KDXXXFP 64 Kbytes 1 Kbyte
×
4
R5F2134CKDXXXFP 128Kbytes 1 Kbyte
×
4
Note:
1. The user ROM is programmed before shipment.
Part No. R 5 F 21 34 8 K N XXX FP
Package type:
FP: PLQP0048KB-A
ROM number
Classification
N: Operating ambient temperature -20°C to 85°C
D: Operating ambient temperature -40°C to 85°C
ROM capacity
8: 64 KB
C: 128 KB
R8C/34K Group
R8C/3x Series
Memory type
F: Flash memory
Renesas MCU
Renesas semiconductor
Figure 1.1
Part Number, Memory Size, and Package of R8C/34K Group
R01DS0040EJ0100 Rev.1.00
Feb 25, 2011
Page 4 of 58
R8C/34K Group
1. Overview
1.3
Block Diagram
Figure 1.2 shows a Block Diagram.
8
8
5
5
4
2
4
I/O ports
Port P0
Port P1
Port P3
Port P4
Port P6
Port P7
Port P8
Peripheral functions
Timers
Timer RA (8 bits
×
1)
Timer RB (8 bits
×
1)
Timer RC (16 bits
×
1)
Timer RF (16 bits
×
1)
UART or
clock synchronous serial I/O
(8 bits
×
4)
I C bus or SSU
(8 bits
×
1)
Comparator B
Watchdog timer
(14 bits)
Low-speed on-chip oscillator for
watchdog timer
USB Function
(USB2.0 Full speed)
2
System clock generation
circuit
XIN-XOUT
High-speed on-chip oscillator
Low-speed on-chip oscillator
PLL frequency synthesizer
Voltage detection circuit
A/D converter
(10 bits
×
12 channels)
USB FIFO
(448 bytes)
DTC
LIN module
R8C 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 varies with MCU type.
2. RAM size varies with MCU type.
Figure 1.2
Block Diagram
R01DS0040EJ0100 Rev.1.00
Feb 25, 2011
Page 5 of 58