Document
Datasheet
R8C/38A Group
RENESAS MCU
REJ03B0274-0120 Rev.1.20
Jul 31, 2010
1. Overview
1.1 Features
The R8C/38A Group of single-chip MCUs incorporate 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/38A Group have data flash (1 KB × 4 blocks) with the background operation (BGO) function.
1.1.1 Applications
Electronic household appliances, office equipment, audio equipment, consumer equipment, etc.
REJ03B0274-0120 Rev.1.20 Jul 31, 2010
Page 1 of 57
R8C/38A Group
1. Overview
1.1.2 Specifications
Tables 1.1 and 1.2 outline the Specifications for R8C/38A Group.
Table 1.1 Specifications for R8C/38A Group (1)
Item CPU
Function
Central processing unit
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 RD
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/38A Group
• Power-on reset • Voltage detection 3 (detection level of voltage detection 0 and voltage
detection 1 selectable)
• Input-only: 1 pin • CMOS I/O ports: 75, selectable pull-up resistor
• 3 circuits: XIN clock oscillation circuit, XCIN clock oscillation circuit (32 kHz), Low-speed on-chip oscillator
• 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 (high-speed clock, low-speed clock, low-speed onchip oscillator), wait mode, stop mode
Real-time clock (timer RE)
• 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: 39 • Transfer modes: 2 (normal mode, repeat mode)
8 bits (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 oneshot 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 × 2 (with 4 capture/compare registers) Timer mode (input capture function, output compare function), PWM mode (output 6 pins), reset synchronous PWM mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary PWM mode (output three-phase waveforms (6 pins), triangular wave modulation), PWM3 mode (PWM output 2 pins with fixed period)
REJ03B0274-0120 Rev.1.20 Jul 31, 2010
Page 2 of 57
R8C/38A Group
1. Overview
Table 1.2 Specifications for R8C/38A Group (2)
Item Timer
Function Timer RE
Timer RF
Timer RG
Serial Interface
UART0, UART1 UART2
Synchronous Serial Communication Unit (SSU) I2C bus LIN Module A/D Converter
D/A Converter Comparator A
Comparator B Flash Memory
Operating Frequency/Supply Voltage Current consumption
Operating Ambient Temperature Package
Specification
8 bits × 1 Output compare mode
16 bits × 1 Input capture mode (input capture circuit), output compare mode (output compare circuit)
16 bits × 1 Timer mode (input capture function, output compare function), PWM mode (output 1 pin), phase counting mode (available automatic measurement for the counts of 2-phase encoder)
Clock synchronous serial I/O/UART × 2 channel
Clock synchronous serial I/O, UART, I2C mode (I2C bus), multiprocessor communication function
1 (shared with I2C bus)
1 (shared with SSU)
Hardware LIN: 1 (timer RA, UART0)
10-bit resolution × 20 channels, includes sample and hold function, with sweep mode
8-bit resolution × 2 circuits
• 2 circuits (shared with voltage monitor 1 and voltage monitor 2) • External reference voltage input available
2 circuits
• Programming and erasure voltage: VCC = 2.7 to 5.5 V • Programming and erasure end.