Renesas | M16C FAMILY | Renesas R5F3650TDFB#U0 datasheet: pdf

M16C™ Family of
Microcontrollers
R8C • M16C • R32C
2008.9
TABLE OF CONTENTS
Family Overview . . . . . . . . . . . 2
Top Reasons to
Select M16C . . . . . . . . . . . . . . 4
On-chip Peripherals . . . . . . . 12
Highly Functional Timers . . .12
A/D Converter . . . . . . . . . . .12
Data Flash & BGO . . . . . . . .13
High-precision, High-speed
On-chip Oscillator . . . . . . . .13
Serial Interface . . . . . . . . . . 14
I2C Bus Interface . . . . . . . . . 14
Intelligent I/O . . . . . . . . . . . . 15
On-board LCD Controller . . . 15
Development Tools . . . . . . . .16
IDE Overview . . . . . . . . . . . . 16
IDE Features . . . . . . . . . . . . 17
■ One of the world’s leading IDTM (Integrated
Device and Technology Manufacturer)
companies serving the global market
■ In-house manufacturing capability
for advanced process nodes —
90, 65 and 45 nm
■ Complete System-Level Solutions
in all core segments (automotive,
mobile, consumer, industrial and PCs),
with the right mix of technology such
as networking (wired/wireless), security,
low power and analog/RF interface capabilities,
plus full-scale development support
#1
Renesas is the
World’s largest
MCU supplier
with over
21% market
share*
■ Proven credibility based on more than 30 years of experience
— “Zero Defects” as the objective
— Compliance with international standards such as ISO/TS 16949
— High quality, tested and proven by customers (automotive electronics)
— Commitment to safety and protection of environment
Debugging Software . . . . . . 18
Flash Programming . . . . . . .18
Debugging Hardware . . . . . .19
ICE Comparison Table . . . . .20
E30A Trace Emulator . . . . . .21
Third-party Support . . . . . . . 21
Rapid Evaluation . . . . . . . . . 22
Tool Selector . . . . . . . . . . . . 24
ICE Selection Guide . . . . . . 25
Device Selection . . . . . . . . . 26
R8C/2x, 3x Series . . . . . . . .26
R8C/Lx Series . . . . . . . . . . .30
M16C/Tiny Series . . . . . . . . .32
M16C/6x Series . . . . . . . . . .34
R32C Series . . . . . . . . . . . . .36
Renesas — Your Best Decision for
Microcontrollers and Microprocessors
Choose for your next design; use for all your future ones.
Renesas Technology, the #1 global supplier of microcontrollers, offers
hundreds of devices in our M16C™, H8®, and SuperH® families, among
others, that have solid technology roadmaps and cover wide spans of
performance, integration, power efficiency and price points. Our advanced
silicon solutions simplify system optimizations, facilitate design
enhancements and diversifications, and help you meet tight cost budgets.
You can shorten your system design cycles and improve your time-to-market
by taking advantage of our total system support, which includes starter kits,
HW/SW tools, reference designs/platforms, example software code, and
middleware. Expert third-party support is available as well.
MCUs for CAN
Applications . . . . . . . . . . . . .38
Appendices . . . . . . . . . . . . . 40
Appendix A:
Part Number Decoders . . . . 40
Appendix B:
Abbreviations . . . . . Back Flap
Appendix C:
Package
Specifications . . . . . Back Flap
* According to Gartner Dataquest, March 2008
IMPORTANT!
• This document may, wholly or partially, be subject to change without notice.
• All rights are reserved: No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without
the express permission of Renesas Technology America, Inc.
• Renesas will not be held responsible for any damage to the user that may result from accidents or any other reasons during the
operation of the user’s unit according to this document.
• Circuitry and other examples described herein are meant merely to indicate the characteristics and performance of Renesas
semiconductor products. Renesas assumes no responsibility for any intellectual property claims or other problems that may
result from applications based on the examples described herein.
• No license is granted by implication or otherwise under any patents or other rights of any third party or Renesas Technology Corp.
• MEDICAL APPLICATIONS:
Renesas products are not authorized for use in MEDICAL APPLICATIONS without the written consent of the appropriate
officer of Renesas’ sales company. Such use includes, but is not limited to, use in life support systems. Buyers of Renesas products
are requested to notify the relevant Renesas sales officers when planning to use the products in MEDICAL APPLICATIONS.
®
M16C Family of Microcontrollers
2008 Catalog
RISC
Renesas Microcontroller Solutions: H8® Family, M16C™ Family, SuperH® Family, and Rx Family
32-bit
Superscalar & MMU
SH-4A
Video and audio processing
32-bit
High-performance
CISC with FPU
SH-2, SH-2A
R32C
NEXT
CISC
16-bit
Application-specific integration
(200 MHz)
RX600
NEXT
(200 MHz)
(80 MHz)
H8SX
(80 MHz)
NEXT
(600 MHz)
RX200
NEXT
(50 MHz)
M16C
H8S
(32 MHz)
(35 MHz)
Scalable solutions
for general purpose use
8-bit
Lowest-cost MCUs
R8C
R-Secure
H8
(20 MHz)
(20 MHz)
(20 MHz)
Long-term customer support programs — Renesas Ecosystem
Samples
왘
Why choose Renesas?
왘
Renesas is one of the
largest semiconductor
companies in the world,
and the #1 supplier of
microcontrollers worldwide.
왘
Renesas microcontrollers feature modern
architectures implemented in ranges of
popular device families designed to suit
virtually every type of embedded
application.
왘
Renesas is totally committed to the
embedded systems market globally and
has developed and continues to enhance
and expand its own microcomputer IP.
왘
Renesas provides world-class support to
its customers, including the Renesas
Alliance Partner Program, which is tiered
to suit the voluntary participation of
program members.
왘
Renesas establishes, nurtures, and values
long-term business relationships based on
performance, trust, and mutual success
and satisfaction.
Get a first-hand look at our products. Let us know
your needs, and we’ll get some samples out to you.
America.Renesas.com/Samples
Alliance Partner Program
왘
The Alliance Partner Program allows you to connect
instantly with hundreds of qualified design consulting
and contracting professions. America.Renesas.com/Alliance
Renesas Interactive
왘
Gain the technical knowledge you need. Evaluate,
research, and learn Renesas microcontrollers and
tools at your own pace, where you want, when
RenesasInteractive.com
you want, and always for free.
Renesas University
왘
For educators and students. Get published.
Teach with professional grade tools. Learn MCUs
with a modern architecture. RenesasUniversity.com
My Renesas
왘
Customize your data-retrieval needs on the Renesas
website. You’ll receive updates on the products that
you’re interested in. America.Renesas.com/MyRenesas
RenesasRulz
왘
A community site and gathering place for technical
information and those who use Renesas
RenesasRulz.com
microcontrollers and microprocessors.
Make Renesas your next choice!
Visit America.Renesas.com
For product selection assistance,
click Purchasing Info link.
For technical questions,
click Technical Support link.
Communications Voice/Video/Data
Elevators &
Escalators
HVAC
Fire & Life Safety
Systems
Appliances
& Lighting
Enabling
Intelligence
Access
Systems
Security
Metering
& Energy
Management
Remote
Monitoring
The M16C Family Evolution
Compatibility and continuity, higher speed [64MHz]
Enhanced communication functions
(FlexRay ®, CAN-Multi ch, Hardware LIN)
R32C/121
R32C/120
R32C/100 Series
High-speed
R32C/161
R32C/160
M32C/80 Series
M32C/84
R32C/118
R32C/117
R32C/116
R32C/111
Full-32-bit
Higher speed
R32C/1xx
R32C/157
R32C/156
R32C/153
R32C/152
R32C/151
R32C/134
R32C/133
Compatibility and continuity,
higher speed [50MHz]
Enhanced communication functions (Serial Interface: 9ch)
M32C/85
M32C/87
M32C/8B
On-chip large-capacity flash memory (Max.1MB)
Enhanced peripheral functions (On-chip CAN)
M16C/60 Series
Standard
M16C/62P
Enhanced lineup of memory options
Numerous peripheral functions
M16C/30 Series
M16C/30P
Optimized peripheral functions,
enhanced cost effectiveness
M16C/64
M16C/6C
M16C/65
Enhanced peripheral functions
Compatibility and continuity, higher speed
(On-chip USB)
[25 to 32MHz]
Faster A/D converter, enhanced peripheral functions
M16C/63
Low voltage operation (at 1.8V)
M16C/Tiny Series
Compact
R8C/Lx Series
M16C/26A
M16C/28
M16C/29
M16C/26B, M16C/28B: High speed (24MHz)
M16C/29: Enhanced peripheral functions (on-chip CAN)
R8C/2x Series
R8C/2x
High speed on-chip oscillator
Support 64, 80pin: R8C/2A to 2D
M16C/5L, M16C/5M
(Automotive)
High reliability
Higher speed (32MHz)
Enhanced peripheral functions
R8C/2E, 2F
R8C/2G, 2H, 2J
R8C/2K, 2L
R8C/LX
R8C/3x Series
R8C/3x
:New Product
:Under Development
:In Planning Stage
The M16C Family is a complete development platform in all respects.
B ro a d
Platform
Powerful
A rc h i t e c t u re
C o m pa t i bi l i t y
Quiet
Effi ci e n t
F l e x i bl e
and
Tr u s t e d
F l a sh
Reliable
The M16C Family solves design issues that traditionally
affect MCUs, while reducing total system costs
and supporting a wide range of applications.
4
™
Top Reasons to select the M16C Platform
■ REASON #1: BROAD PLATFORM
M16C Platform:
Fully Upward Compatible
Increased Functionality,
Better Performance
Same
CPU fo
Binary
r
Comp
atibilit
y
Upwa
rd Com
patibil
Assem
ity at
bly La
n g u ag
e Leve
l
The M16C MCU platform offers comprehensive
scalability with a variety of products to meet different
levels of performance and integration — from the
cost-sensitive R8C Series to the high-performance
R32C/100 Series. Designers can add features to
products simply by moving up to the next
M16C group while maintaining full software
compatibility. Similarly, they can scale down
designs by choosing products with fewer features,
minimizing development cycles and meeting
production costs.
M16C Platform:
Broad MCU Selection
The M16C family is comprised of hundreds of
different MCUs, all based on the same core
platform. Choices ranging from 20 pins and
2KB of Flash to 144 pins and 1MB of Flash,
with many options in between, let designers
select the best device to fit their application
requirements.
• 4G space
• 50-100MHz
• 32-bit multiplier
• 32-bit barrel shifter
• On-chip FPU
R32C
• 1M space
• 16 to 32MHz
• 16-bit multiplier
• 2 to 4-channel DMA
M16C
M16C/Tiny
• Small package
(42 to 85 pins)
• 10 to 24MHz
• Single chip only
• 20 to 100 pins
• 16 to 20MHz
• Single chip only
R8C
Reduced Functionality,
Lower Pin Count
1Mb
768K
512K
384K
256K
■
■
■■
■■
■■
■
ROM SIZE
128K
96K
64K
48K
32K
16K
8K
4K
2K
■
■
■
■
■
■
■
■
■
20
24-32
48-52
■■■■
■■■■
■■■■
■■
■■
■■
■■
■
■
■■■■
■■■■
■■■■
■■■■
■■
■■■
■■
■
64
80
PIN COUNT
LEGEND:
■ R8C ■ M16C/Tiny ■ M16C ■ R32C
■■■■
■■■■
■■■■
■■■■
■■■■
■■■■
■■■
■■■
■■■
■■■■
■■■■
■■■■
■■■■
■■■■
100
128-144
5
™
Top Reasons to Select the M16C Platform
■ REASON #2: COMPATIBILITY
Pin-Compatible
M32C/85 Group Added Functions (Previous Functions Retained)
M16C/62P
CTS4 / RTS4 / SS4 +
CTS3 / RTS3 / SS3 +
IEOUT / OUTC2_0 / SDA3 / SRXD3 +
IEIN / SCL3 / STXD3 +
DA1 / TB4IN / P9_4
DA0 / TB3IN / P9_3
SOUT3 / TB2IN / P9_2
SIN3 / TB1IN / P9_1
TB0IN / CLK3 / P9_0
BYTE
CNVSS
XCIN / P8_7
XCOUT / P8_6
RESET
XOUT
VSS
XIN
VCC
NMI / P8_5
INT2 / P8_4
INT1 / P8_3
INT0 / P8_2
TA4IN / U / P8_1
TA4OUT / U / P8_0
TA3IN / P7_7
TA3OUT / P7_6
TA2IN / W / P7_5
TA2OUT / W/ P7_4
TA1IN / V / CTS2 / RTS2 / P7_3
CAN0OUT / CAN1OUT +
HDTXD / OUTC1_5 / INPC1_4 +
ISRXD0 +
CAN0IN / ISCLK0 / OUTC1_4 / INPC1_4 +
CAN0OUT / ISTXD0 / OUTC1_3 / INPC1_3 +
ISRXD1 / OUTC1_2 / INPC1_2 +
ISCLK1 / OUTC1_1 / INPC1_1 +
INPC1_0 / SS2 / ISTXD1 / OUTC1_0 +
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(VCC1)
The products in the
M16C Family are pin
compatible, so there is
almost no need for wiring
changes on the board
when switching to newer
versions or changing to
different MCUs within
the same family.
Example of One Side of Device
COMPATIBLE PERIPHERAL FUNCTIONS
Compatible
Peripheral
Functions
Products in the M16C
Family have compatible
CPU cores and peripheral
functions.
As new devices are introduced, the base peripheral
set is maintained and new
functions are added for
higher integration.
M16C/Tiny
(M16C/26A, 28, 29)
M16C/65
Operating frequency:
32MHz (PLL)
Multimaster I2C: 1 ch.
M16C/28, M16C/29
Operating frequency: 20MHz (PLL)
Multimaster I2C: 1 ch.
Input Capture: 8 ch.
Output Compare: 8 ch.
CAN: 1 ch.
10-bit A/D: +8 ch (28); +9 ch. (29)
Standard M16C
DMAC: 2 ch
10-bit A/D: 18 ch
UART/SIO: 3 ch
Timer: 6 ch
EXT-INT: 6 ch
WDT
CRC
R32C/116, 117, 118
Operating frequency:
50MHz (PLL)
Input Capture: 16 ch.
Output Compare: 8 ch.
CAN: +1 (/117), +2 (/118) ch.
Multimaster I2C: 1 ch.
DMA II / DTC
X-Y Conversion circuit
UART/SIO: +1 ch.
M16C/26A
Operating frequency: 20MHz (PLL)
Voltage-detector circuit
On-chip oscillator
Position data hold function
Digital debouncer
Single chip only
10-bit A/D: -6 ch
DMAC: +2 ch.
8-bit D/A: 2 ch.
10-bit A/D: +8 ch.
UART/SIO: +5 ch.
Timer: +3 ch.
Voltage-detect circuit: +1 level
Timer: +2 ch
On-chip oscillator
Three-phase inverter controller
EXT-INT: + 2 ch
Refer to selector guide for detailed specifications
Advantages of
Compatibility
Products can be changed
without other modifications.
Pin compatibility and
peripheral function compatibility minimize the
need for changes to
the board design or
software.
S/W
Peripheral function compatibility
minimizes the need for changes to
source programs.
M16C
/65
Function compatibility
means no changes are
needed to peripheral devices.
Pin compatibility eliminates the need
for changes to the board design.
6
™
Top Reasons to select the M16C Platform
■ REASON #3: POWERFUL ARCHITECTURE
R32C/M32C Register Model
M32C/80 Series
Basic registers
R32C/100 Series
b15
b31
b0
R2
R3
b31
b0
FLG
R2
R0H
R1H
Flag register
FLG
R0L
R1L
R2H
R3H
R2
R3
b23
: Added in R32C/100
R2L
R3L
R0H
R1H
R0L
R1L
R6
R7
Data registers
R4
R5
A0
A1
A0
A1
Address registers
A2
A3
High-speed
interrupt registers
DMA-related
Static base register
Frame base register
SB
FB
SB
FB
USP
ISP
INTB
PC
USP
ISP
INTB
PC
b1
b0
b31
b0
SVF
b23
User stack pointer
Interrupt stack pointer
Interrupt table register
Program counter
SVF
Vector register
PC save register
Flag save register
SVP
VCT
SVP
VCT
4 dedicated DMA registers
2 dedicated DMA registers
b7
b0
DMD0
b31
b0
DMD0
DMA mode register
b15
DCT0
DCT0
DMA terminal count register
DRC0
DCR0
DMA terminal count reload register
b23
DSA0
DSA0
DMA source address register
DRA0
DSR0
DMA source address reload register
DMA0
DDA0
DMA destination address register
DDR0
DMA Function
DMA, which transfers data
without
CPU
intervention,
supports up to four channels.
The DMA-II/DTC function
provides many other memory
transfer capabilities, such as
transfer of multiple bytes by
a single event and transfer of
data to multiple addresses by a
single event (M32C/80 core,
R32C/100 core).
DMA Applications
DMA destination address reload register
DMA-II / DTC Applications
• Automatic serial I/O transfers
Memory
• Motor drive using microsteps
Memory
Event
• Multichannel PWM output (max. 64)
Transfer of
multiple
bytes by a
single event
RAM
UART
Event
Port0
RAM
Port1
RAM
Port2
RAM
CPU
Transfer of
data to
multiple
addresses
by a single
event
7
™
Top Reasons to Select the M16C Platform
R32C CPU
Core Pipeline
Clock
Instruction
1
The number of pipeline stages
has been increased from three
(previous version) to five to
boost processing speed.
Fetch
instruction
Decode
instruction
Read micro
instruction
Read
register
Write
result
Hazard
processing
Operation
Instruction
2
Fetch
instruction
Decode
instruction
Read micro
instruction
Read
register
Write
result
Operation
Instruction
3
Fetch
instruction
Decode
instruction
Read micro
instruction
Read
register
Write
result
Operation
High-Speed Interrupt Processing (R32C/M32C)
PC
SVP
Interrupt request acknowledged
Interrupt Sequence
Interrupt request generated
FLG
ISR
Addr
SVF
Normal
Response
VCT
R32C/100
M32C/80
High-speed
Response
Inst
Instructions in the
Inst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 interrupt
routine
Inst
Inst
1 2 3 4 5
Instructions in the
interrupt routine
Interrupt Sequence
A single interrupt can be set
as a high-speed interrupt.
Executes in approximately one-fourth
the number of clock cycles
Bank 0
Active when bank
bit “B” in flag register
= 0 (default state)
R0H
R1H
R0L
R1L
The R32C incorporates a
single-precision 32-bit FPU
inline and supports floating
point instructions.
Instruction set
CNVIF: Convert integer → floating point number
ROUND: Convert floating point number → integer
ADDF: Floating point add
SUBF: Floating point subtract
MULF: Floating point multiply
DIVF: Floating point divide
CMPF: Floating point compare
Rounding modes
• Round to nearest value
• Round towards zero
• Round towards negative infinity
Exception processing
• Illegal input
• Overflow
• Underflow
Bank 1
Active when bank
bit “B” in flag
register = 1
SWITCH
R2
R3
A0
A1
FB
R0H
R1H
Good for
entering
interrupt:
R0L
R1L
R2
R3
A0
A1
FB
Do not need to
save to stack when
switching to another bank.
*The interrupt return instruction requires three cycles (one-half that required by the M16C).
Other interrupt sequences use 14 cycles on the R32C/100 and M32C/80.
Floating Point
Instructions (R32C)
Dual
Register
Banks
Data format (single-precision floating point number)
32 bits
Exponent (8 bits)
Mantissa (23 bits)
Sign (1 bit)
(–1) sign × 2 exponent –127 × (1 + mantissa)
Supported numeric values
• Normalized numbers: 0 < exponent < 255
• Zero: 0 and mantissa = 0
Unsupported numeric values
• Not a number (Nan): Exponent = 255 and mantissa ≠ 0
• Infinity: Exponent = 255 and mantissa = 0
• Subnormal numbers: Exponent = 0 and mantissa ≠ 0
8
™
Top Reasons to select the M16C Platform
■ REASON #4: EFFICIENT
Multiple Clock Sources and Multiple Power-Saving Modes
The M16C is ideal for
portable devices because
it has multiple clock
sources and multiple
power-saving modes.
Multiple Clock Sources:
Multiple Power-saving Modes:
• Main clock oscillator
• Main clock can be slowed down
• Sub-clock oscillator
• Processor can be put to sleep
• Peripherals can be individually
powered down
• On-chip oscillators
• Processor and/or peripherals can
be driven by 32kHz sub-clock
• All clocks can be turned off for
the lowest possible power draw
• External clock
Clock Generator Circuitry (R8C/2x)
125
kHz
40
MHz
20
MHz
32
kHz
Low-speed
On-chip Osc.
Low-speed
On-chip Osc.
XCIN
Vref
Multiple
Dividers
Adjust
High-speed
On-chip Osc.
XIN
ADC Vref Cut-off
WDT
Stop
Detect
Divider
• Peripherals such as the ADC can be
physically disconnected from the
power path for lowest power drain
AVss
Select
Timers
A/D
Converter
Analog input
Power-Down Modes (R8C/2x @ 5V)
Power Consumption (relative)
• Low-voltage operation down to 2.2V
reduces current consumption while
maintaining a high level of performance
Off
CPU
Divider
Extensive Power Management
• Independent clock signal selection for CPU
and peripherals provides great flexibility
for performance and power management
Resistor
Peripherals
Divide by 1
or greater
Select
125
kHz
1
1/4
10mA
Active: 20 MHz (XIN)
1/77
2.5mA
Active: 10 MHz High-speed OCO*
130µA
Active: 125 kHz Low-speed OCO*
1/333
30µA
Active: 32 kHz (XCIN)
2.2µA
1/4500
Wait: 32 kHz (XCIN)
800nA
1/12500
Stop Mode
* OCO = On-chip Oscillator
Bi-directional bus
Load Capacitance
Reduction By Optimized
Bi-directional Bus
(Driver: Large)
Resistor ladder
Load capacitance is distributed by
using separate buses, thereby reducing
the power loss caused by charging and discharging.
In addition, the reduced load capacitance allows increases in
bus operating speeds.
M16C
Bi-directional bus (b)
Bi-directional bus(a)
(Driver: Optimized)
Resistor ladder
9
™
Top Reasons to Select the M16C Platform
■ REASON #5: QUIET
Excellent EMI and EMS Performance
Power supply
ferrite beads placed
on the VCC pin
The M16C family of MCUs incorporates various design techniques that help minimize EMI and EMS effects. Innovative
layout schemes and built-in
components make the M16C
Conventional
MCU
robust and can significantly
Capacitors
reduce the total system cost
and resistors
by eliminating external filter
unnecessary
Control signal
circuits (e.g., decoupling
lines protected
with noise filters
capacitors) typically needed
and capacitors
by conventional MCUs.
Conventional MCU-based circuit board
M16C-based circuit board
Low Noise Emissions
M16C MCU devices are designed to minimize switching noise, improving EMI performance.
The clock driving circuit can be configured for high- or low-level drive according to the system crystal.
Internal oscillators also help reduce
the overall noise emission. PortComparison of Noise Emissions (Field Probe Test)
output buffers have been tuned to
왎 M16C/62P
왎 Conventional MCU
drive at the appropriate voltage
Supply voltage: 5V
Supply voltage: 5V
levels and switching timing is
Oscillation
frequency:
Oscillation frequency:
controlled to minimize current
24MHz (PLL)
20MHz (PLL)
spiking.
Input Port
External to
the chip
High Immunity to Noise
Noise Filter
All input pins include Schmitt trigger, RC circuits
and clamp diodes, providing analog filtering and
protection for all external signals. For functions
such as input capture, additional digital filters are
implemented.
Location of Vcc and Vss pins is optimized for best
effect of bypass capacitor. Internal parasitic
capacitors provide further protection against noise.
Layout of MCU’s supply planes is isolated to reduce
noise propagation.
Clamp
diode
Clamp diode
Noise Filter
Clamp diode
Noise Filter
M16C
Noise
Vcc
GND
Absorbed as
common-mode noise
Parasitic capacitor
Wiring inductance
Analog circuit power supply
Innovative Chip Layout
Reduces Noise
Internal
Peripheral buffer power supply
Internal logic power supply
10
™
Top Reasons to select the M16C Platform
■ REASON #6: FLEXIBLE AND TRUSTED FLASH
#1 Supplier of Flash-based MCUs in the World
Renesas Technology has been an industry leader in flash-based MCUs for over a decade and has already shipped over 1 Billion
of these devices. As a technology innovator, Renesas continues to invest in research and development of faster and denser
memory technologies that can be incorporated in future generations of microcontrollers.
Flash Memory Roadmap
Memory Structure
2004
2005
2006
2007
2008
Next-Generation Non-volatile Memory
- MRAM
- PRAM (Phase Change RAM)
MONOS
80MHz
100MHz
MONOS
MONOS
NOR
NOR
80MHz
2011
100MHz
133MHz
2012 2013
New
NVM
2014
(45nm)
166MHz
(65nm)
(90nm)
(150nm)
(180nm)
50 MHz
Stacked-type
(NOR) Flash HND
NOR
2010
MRAM
New
NVM
MONOS-type FLASH
(MONOS = Metal Oxide
Nitride Oxide Silicon)
2009
1 Billion Flash MCUs
shipped by 2007!
(130nm)
80MHz
(150nm)
80MHz
(200 - 180nm)
Flexible Flash Programming
Boot Mode Option
• Programmer Mode: MCUs can be
programmed using an external box such as
a parallel programmer or debug emulator.
• Boot Mode: Built-in boot loader program
allows PC connection through RS232 interface
for easy programming.
• CPU/User Mode: Customer can develop custom
bootloader program to rewrite the flash memory.
The rewrite program can be transferred to RAM
when all flash memory contents need to be changed.
Secured Contents
• ROM Code Protect bits prevent reading or rewriting of the
on-chip flash memory when using a parallel programmer.
• Similarly, during serial programming, the Flash Memory
ID Code protection feature prevents unauthorized access.
The multi-byte ID sent by the serial programmer must
match the ID previously set by the user in order to access
the flash memory.
• Individual flash blocks can also be set to an Execute-Only
Mode to prevent undesired reading or rewriting.
User Target
CPU/User Mode Option
CPU
RS232 I/F
Rewrite
Program
Or
Rewrite
Program
Block 0
Block 1
Dedicated I/F
RAM
…
Block n
FLASH
Programmer Mode Option
Reading/writing
prohibited
ROM Code Protection
Flash writer (parallel rewrite supported)
ID Code
Protection
0101000110010110010110001010010110
11
™
Top Reasons to Select the M16C Platform
■ REASON #7: RELIABLE
Oscillation Stop Detection
Upon the detection of abnormal
operation of the external oscillator, the
M16C devices can automatically
switch to the high-speed, highly
accurate on-chip oscillator.
Thus,
system operation can be maintained
and a graceful shut-down can be
accomplished, if necessary.
Normal XIN
oscillation
On-chip
oscillator
On-chip
oscillator
On-chip
oscillator
CPU
CPU
XIN
XIN
The Power Supply Monitoring circuitry in M16C
devices can be used for Power-On Reset (POR) and
Low-Voltage Detect (LVD) functions. Three different
detection levels can be enabled to detect rising or falling
voltage. If the system’s power supply fluctuates beyond
normal levels, the circuit can generate an interrupt
signal to notify of a malfunction or can RESET the
MCU to prevent an undesirable operating condition.
System Operation Access Control
The contents of Special Function Registers (SFRs)
can be protected from undesirable access. System
critical registers that configure operations such as
system clock control, power supply monitoring and
others can be set to read-only by using the Access
Control Register (PRCR).
WATCHDOG TIMER
Reload
Settable Count Value
CPU Clock
Reset or
Interrupt
Signal
Underflow
MUX
Power Supply Monitoring
(R8C/3x only)
CPU
XIN
Enhanced Watchdog Timer (WDT)
WDTs in M16C devices provide enhanced functionality such as automatic run after reset is released.
They can also be initiated by software. In addition,
for added reliability, a dedicated low-speed on-chip
oscillator (125kHz) can be selected as the clock
source, ensuring operation independent from
external clocks.
Back-up by the
internal on-chip
oscillator
Abnormal XIN
oscillation
Dedicated
On-chip
Oscillator
CLK
No Vcc rise time condition
required for Power-on reset
Settings available from 2.20V to 4.45V
(with 0.15V interval)
Reset Detection
Low-voltage Detection
VCC [V]
Vdet2
(2 options)
Vdet1
(16 options)
Vdet0
(4 options)
0
Internal
status
In
reset
In
reset
Program execution
(1/fosc-s) x 8
Interrupt
Interrupt
Normal Procedure
When out of control
CPU
CPU
1
Protect
register
STOP
2
Important register
1) Unlock
2) Register setting
Important register
12
™
M16C Platform On-chip Peripherals
■ Highly Functional Timers
M16C MCUs have input and output timers that are used in combination with other peripheral functions.
Independent Timer Operation
The timer’s count operation is independent of the operation
of the CPU. Even if the CPU is stopped, it is possible to
operate the timer by means of external signals or a subclock
(32kHz, etc.), thereby reducing current consumption.
3-Phase Inverter PWM Output (Applicable to Motor Control Systems)
M16C
NMI
3-phase inverter PWM output
Emergency-stop input
U
U
Motor
driver
V
Two-phase
pulse signal
processing
function
High-speed
A/D
converter
V
XIN
Clock Generator
Circuit
W
W
XCIN
1/32
Timer
External
signals input
Z phase
B phase
A phase
Current monitor
Encoder input
Position detection
Phase detection circuit
On-chip Oscillator
(Max. 40MHz)
Motor
■ A/D Converter
High-Speed A/D Converter with Sample-and-Hold
Improved A/D Converter Characteristics
(1) Conversion Speed (ØAD = 25MHz) (M16C/65) 10-Bit: 1.72 µs
The M16C/63, M16C/64, and M16C/65 deliver better
A/D conversion accuracy than other M16C models.
(2) Successive Conversion ±3 LSB Accuracy
(3) High-Speed Sample-and-Hold
10MHz Operation: 0.3 µs, 20MHz Operation: 0.15 µs
AN33
Max. A/D conversion error
At AVCC
S/H
AN26
A/D Converter
= VREF = 5V
AN23
Max. 26-Channel A/D Pins (M16C/62P, 64, 65)
AN16
(R32C/118: Max. 34-Channel)
AN7
(M16C/30P: Max. 10-Channel)
(M16C/28: Max. 24-Channel)
At AVCC
= VREF = 3.3V
At AVCC
= VREF = 3V
AN0
(R32C/1xx: Max. 34-Channel)
M16C/63, 64, 65
Analog input (ANi, ANj_i)
±3 LSB
Extended analog input (ANEXi)
±3 LSB
Better
accuracy
Analog input (ANi, ANj_i)
±3 LSB
Better
accuracy
Extended analog input (ANEXi)
±3 LSB
Better
accuracy
Analog input (ANi, ANj_i)
±3 LSB
Better
accuracy
Extended analog input (ANEXi)
±3 LSB
Better
accuracy
AN EX1
AN EX0
VREF Cutoff
The analog circuit reference voltage, VREF, can be turned on or off.
Turning off VREF when the A/D converter is not being used can help
reduce current consumption.
Measurement Error Avoidance
(Unused A/D Overvoltage Processing)
This feature helps prevent measurement error due to wraparound
between channels, even if the other A/D inputs include input that
exceeds the VCC level. It also provides more accurate A/D
conversion values.
VREF
OFF
Resistor
Vcc
AVSS
GND
ON
Vcc
A/D Converter
Analog Input
GND
A/D
Converter
13
■ Data Flash and BackGround Operation (BGO)
Data Flash
Typical Flash Memory Operation:
Hold
State
Program
Execution
(1)
CPU
Data
Flash
Program
Execution
(2)
Hold
State
Program
Execution
(3)
Data
Erase
Data
Write
Write Request
Program
Execution
(1)
Program
Execution
(2)
Program
Execution
(3)
Data
Write
Data
Erase
Write
Request
Erase
Request
Data
Flash
• Single-byte writing capable of wear-leveling format
(example of Data Storage shown)
BGO
Erase Request
• BGO (BackGround Operation) allows Erasing or Programming
of Data Flash while executing application code.
Flash Memory with BackGround Operation (BGO):
CPU
• Up to four blocks of 1KB each of Data Flash are available for R8C
(two blocks of 4KB for other devices) for storage of non-volatile data
Shorter processing time
Suspend Mode
• Erase operation of Flash Memory (Program or Data block)
can be suspended automatically to Read/Execute from
different Flash Blocks
• Erase operation can also be suspended to
Write different Flash Blocks (Program or Data)
Suspend Mode
Memory Map
SUSPEND
Program
Block A
Erase
Erase
Program
Block B or
Data Block
RAM
x KB
Data
Flash
1KB
1KB
1KB
1KB
Read/Write
Interrupt Request
SUSPEND
Data Block A
Erase
Erase
Program
Flash
Data Block B
or
Program Block
Read/Write
Example of Data Storage format
User-assigned
record label
(0-254)
Size in
WORDs
(1-256)
User data
for that
record
Address
A
1
10
Data n
B
1
10
Data n’
C
1
10
Data n’’
Update
1
Update
2
4KB (Block 2)
2KB (Block 1)
Data n’’ is latest value
2KB (Block 0)
Interrupt Request
■ High-Precision High-Speed On-Chip Oscillator
• The 40MHz clock generated can be used to operate 16-bit timers directly
Power Supply Voltage Dependency
Temp (C)
-20
-10
0
+25
+40
+85
3
2
1
R8C/3x
+/- 1 %
-1
-2
-3
Typical
MCU
-5
2
3
5
Vcc (V)
5
Oscillation Error [%]
% Accuracy
5
Temperature Dependency
R8C/20-29 High-Speed On-Chip Oscillator
Voltage Characteristics (40MHz)
(TA=25°C@2.7 to 5.5V, TYP)
R8C/20-29 High-Speed On-Chip Oscillator
Temperature Characteristics (40MHz)
(VCC=5.0V@-45 to 135°C, typ.
3.0%
2.5%
2.0%
1.5%
1.0%
0.5%
0.0%
2.5V 3.0V
-0.5%
-1.0%
-1.5%
-2.0%
-2.5%
-3.0%
3.0%
2.5%
2.0%
1.5%
1.0%
0.5%
0.0%
-25
-25°C
-0.5%
-1.0% -50°C
-1.5%
-2.0%
-2.5%
-3.0%
3.5V
4.0V
4.5V
4.5V
VCC
5.0V
5.0V
5.5V
5.5V 6.0V
Oscillation Error [%]
High Accuracy
0°C
25
25°C
50°C
50
75°C
75
100°C
100
125 150°C
125°C
TA
* OCO characteristics based on evaluation data
14
™
M16C Platform On-chip Peripherals
■ Serial Interface
UART/Clock-Synchronous Serial I/O
UART Function
The R32C/100 has nine on-chip UART/clock-synchronous
serial I/O channels
In addition to normal UART capabilities, special functions are supported.
MCU
Peripheral IC 1
TxD
RxD
RxD
TxD
Peripheral IC 2
CTS/RTS
CTS/RTS
CLK
Data
CLKS
TxD
MCU
UART3
(Does not apply to M16C/Tiny.)
MCU
UART4
Synchronous Serial Communication Unit (SPI compatible)
Port
Port 5
Gateway Function
Broad range of communication peripherals
provides gateway functionality.
IC4
P93(SS)
P90(CLK)
P91(R XD3/STXD3)
P92(T xD3/SRxD3)
Port 5
CAN
SI/0
MCU
4
3
2
1
0
IC5
P93(SS)
P90(CLK)
P91(R XD3/STXD3)
P92(T xD3/SRxD3)
M16C
Port 5
Port
MCU
(AVC-LAN)
MCU
IC3
4
3
2
1
0
M16C(M&S)
Gateway Function
P93(SS)
P90(CLK)
P91(R XD3/STXD3)
P92(T xD3/SRxD3)
M16C(S)
P93(SS)
P90(CLK)
P91(R XD3/STXD3)
P92(T xD3/SRxD3)
IEBus
UART
M16C(S)
P93(SS)
P90(CLK)
P91(R XD3/STXD3)
P92(T xD3/SRxD3)
M16C(M&S)
IC2
I2C
MCU
4
3
2
1
0
M16C(M&S)
IC1
Port
MCU
CLK
Data
R32C
UART8
MCU
MCU
UART2
UART7
MCU
CLK
MCU
UART1
UART6
MCU
Capability to Connect 2 Peripheral ICs
UART0
UART5
MCU
CTS/RTS Control
Ports 0 to 4 output slave select signals.
Port 5 is for the sync signal between masters.
SS low-level output selects slave operation.
M&S : Used by master and slave.
S
: Used only as slave.
■ I2C Bus Interface
Supported MCUs
M16C/62P, M16C/64, M32C, R32C/111
M16C/63, M16C/65, M16C/Tiny, R8C, R32C/118
Communication control method
Partial software control
Hardware control
Start condition overlap detection
No detection
Detection supported
Arbitration lost detection
Requires flag to be initialized for each byte
Does not require flag to be initialized for each byte
Slave address match determination
Match determination by software
Match determination by hardware, interrupt generated only on match
Initial acknowledge generation
Generated by software after slave address determined
Automatic processing by hardware
Timeout detection function
None
Supported (dedicated timer)
Max. communication speed
384 kbps
400 kbps
(because the SCL low-duration ≥ 1.3µs
(max. value of I2C Bus standard high-speed mode)
standard is not met at faster speeds)
15
■ Intelligent I/O
I/O ports can be configured to implement different peripheral functions.
Output Compare (Waveform Generator Function)
Interrupts are generated when matches occur between the base timer
and waveform generator register values, generating a PWM waveform.
Input Capture (Time Measurement Function)
At trigger input, the timer value is stored in the time measurement
register and an interrupt is generated.
The following waveform output modes are implemented on all groups.
(1) Single-Phase Waveform Output
(2) Inverted Waveform Output
(3) SR Waveform Output
Base Timer Value
OFFFF 16
Waveform Generator
Register 1 Value
Waveform Generator
Register 0 Value
Trigger Input to
INPC Pin
Base Timer
Count Source
Elapsed Time
Interrupt Request at Match with
Waveform Generator Register 0 Value
Interrupt Request at Match with
Waveform Generator Register 1 Value
Base Timer
Value
xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e
Time Measurement
Register Value
(Both Edges Selected)
Single-Phase Waveform Output OUTCx0
OUTCx1
XX71
XX76
XX78
xx xx xx xx xx xx xx xx
7f 80 81 82 83 84 85 86
XX7c
XX80
Time Measurement
Interrupt Request
Inverted Waveform Output OUTCx0
Cleared to 0
by a program.
OUTCx1
SR Waveform Output OUTCx0
Bit Modulation PWM
High-frequency PWM output can be produced based on any bit
between 6 and 16.
b15
Waveform Generator 32
Register
b10 b9
16
8
4
2
1
1
2
PWM Duty Setting
k=0~3F16
Base Timer Count
Source
Input Capture (Digital Filter Function)
Digital Filter Function (INPC10 to INPC17)
The trigger input level is determined every f1 or fBT1, and pulses are
allowed to pass through when three matches occur. (The clock of
the digital filter can be selected to match the noise band.)
b0
1
4
1
8
1
16
1
32
1
64
1
1
1
1
128 256 512 1024
Bit Modulation Rate of Recurrence
m=0~3FF16
Filter Clock
(f 1 or fBT1)
INPC Pin
PWM Frequency (40 16)
Output Waveform
PWM Duty (k)
Among 1,024 pulses,
m pulses are added
to the clock cycle duty.
D/A Converter Application Example Using PWM Output
Trigger Signal After
Passing Through
Digital Filter
Signals that do not match three times are eliminated.
High-resolution output can be
obtained by changing the PWM
duty by one clock cycle at a
user-defined rate of recurrence.
ICC
Signal Delay Caused by Digital Filter
(Max. 3.5 Cycles of Filter Clock)
■ On-board LCD Controller Circuit
• Segment- or Dot Matrix-type support
• Up to 56 Segment lines and
8 Common lines for a maximum
of 416 LCD segments/dots
• Internal multiplier function for
LCD voltage supply
LCD Clock Circuit
Control
Registers
Example: Three 7-segment Digits
(6 SEG; 4 COM)
COMMON
Lines Circuit
..
.
• Supports 3V or 5V LCD glass
• 1/2, 1/3 and 1/4 Bias options
(internal or external configuration)
F
LCD
Display
Data
Registers
SEGMENT
Lines Circuit
• Dedicated LCD RAM area for display and control
of each segment
LCD DRIVE
VOLTAGE
Circuit
• Automatic Blink Function for
each segment independently
E
A
G
D
B
F
C
E
A
G
D
F
B
E
C
A
G
D
B
C
• Multiple clock sources
including 32kHz Sub-clock
• All SEG and COM pins are multiplexed with GPIO
FGED
ABC
FGED
ABC
FGED
ABC
16
Development Tools: IDE Overview
EVALUATION
DEBUGGING
PROGRAMMING
Experiment with and
verify the performance of
devices, the HEW IDE,
and HW/SW tools
Develop code with optimized
compilers; find elusive bugs
with emulators' powerful
capture/record capabilities
Download software to
reliable on-chip flash
memory easily with the
Flash Development Toolkit.
High-performance Embedded Workshop (HEW)
INTEGRATED DEVELOPMENT & DEBUGGING SYSTEM
The Renesas High-performance Embedded Workshop integrates everything you need to
build and debug your embedded applications in a single flexible easy-to-use environment.
Project Build System
Project
Generators
Analysis
Tools
Project Manager
– Graphical control of compiler/linker options
– Function browser
– Drag and drop code templates
– Built-in (or external) project make
Project
Navigation
Output Window
– Shows messages
from build and
find-in-files
– Linked to source
in editor
– Version-control log
Local
Variable
Watch
Test
Environment
C/C++
Variable
Watch
Built-in Editor
Manual
Navigator
– Syntax-sensitive
coloring
– Multiple files
open at once
– Source-level
debugging
Stack
Trace
Complex
Break
Conditions
Integrated
Debugging
Full Bus Trace
Virtual Desktop
– Allows multiple screen
layouts to be recalled
at the click of a button
Autoupdater
Utility
Memory View
– Highlights
changed values
Flexible and FREE
Licensing
Target Server
F e a t u re s 1 - 1 0 a re d e t a i l e d o n p a g e s 1 7 a n d 1 8 , f o l l o w e d b y i n f o o n d e b u g g i n g a n d p ro g r a m m i n g .
More information about HEW is available at http://www.america.renesas.com/HEW
17
Development Tools: IDE Features
Project Build System
HEW provides an easy-to-understand graphical interface for
setting toolchain options and lets you store multiple
configurations of options-to-file mappings. HEW’s highly flexible
build engine manages the toolchain executables and make system.
Custom phases for pre- and post-processing may be inserted at any
stage in the build.
Project Generators
Wizards guide you through
setting up your embedded
application code. Starter Kits ship
with sample code generators for all the
peripherals.
Project Navigation
HEW provides multiple
views for efficiently navigating
your project. The Workspace view
shows the files that make up the
project. You can even add project documentation or schematics to the project.
The Navigator shows functions and variables. Double-clicking on any of the icons takes
you to the object’s definition.
Autoupdater Utility
HEW ships with a utility that
can automatically search Renesas
web downloads for updates to
components in your system and install
them for you.
Manual Navigator
The Manual Navigator is a central repository for all documentation relating
to the Renesas tools installed on your system. A single location allows quick
access for finding information.
Target Server
HEW Target Server publishes a set
of API functions which let you write
your own Basic, C++ or C# Windows
applications
to
control
the
HEW
environment or your target system.
Flexible and FREE Licensing
Multiple licensing options including
free evaluation, workstation, floating
network and USB keys give you ultimate
flexibility. You can download a free evaluation copy of HEW with the compiler and
generate unlimited code for 60 days. This is
very useful for benchmarking optimization
efficiency and architecture performance.
After 60 days, code size is limited to 64 KB,
which still allows you to evaluate the
architecture or experiment
with peripherals. For
smaller devices, you
can even complete
a full application
since the evaluation version is
identical to the
full version.
Development Tools: Debugging Software
Integrated Debugging
HEW provides a common debug environment that lets
you connect to multiple targets (simulator, on-chip
debugger or full in-circuit emulator) from the same workspace
and presents a consistent set of debugging views irrespective of
the debug target you are using.
Analysis Tools
HEW’s advanced analysis tools let you optimize your
application code with features such as Code Profiling,
Performance Analysis, Stack Analysis and graphical Map View.
A simple Session Wizard lets you easily add a new debug target
to an existing workspace. As well as standard source/assembly,
watchpoints, locals, memory and stack trace views, HEW
supports advanced debugging features such as branch/bus trace
and complex events.
Test Environment
Automated testing options in HEW feature TCL
scripting and recordable macros, which may be run to
duplicate a set of actions. This is further enhanced by the Test
Suite feature that allows you to record the output of the macro
operation and later perform a differences analysis between the
current and stored results.
Code Profiling
Stack Analyzer
Map View
■ Programming with the
Flash Development Toolkit (FDT)
Renesas’ Flash Development Toolkit (FDT) is an
easy-to-use utility for programming your code into the
on-chip flash memory of M16C MCUs. You can create
workspaces to combine several s-record files into one
download image and save connection settings to easily
manage device programming.
FDT offers:
• Support for programming via E8/E8a USB debugger
• Serial communication at up to 115,200 baud
• Simple mode for 1-button programming
• Hex image editor
• Extensive messaging that helps hardware
development
• Direct USB connection for USB boot mode devices
18
19
Development Tools: Debugging Hardware
Debugging Solutions Line-up
Professional
High-performance
Features and Capabilities
E100 Emulator
Advanced full In-Circuit Emulator
• Full speed emulation up to 133MHz
• Full-feature debug functions,
including real-time trace, profiling,
coverage and RTOS support
PC7501 Emulator
Debugger Package
Compact Emulators
• Full range of basic functions,
including real-time trace
• All-in-one package with
evaluation C compiler
• Capable of emulation
up to 20MHz
• Full-feature debug functions,
including real-time trace
and RTOS support
E8a Emulator
On-chip debug emulator
• Can be used as a flash writing tool
• Powered by the USB bus, so
doesn't need external power
Starter Kits
• CPU board
• On-chip debug emulator
• Free evaluation version of C compiler
Low-price
Evaluation, small and
medium-scale development
Evaluation
Applications
Medium and
large-scale development
■ E8a on-chip emulators
■ Compact Emulators
The E8a emulators are designed to connect with
Renesas’ on-chip debugging interfaces. These low-cost
tools provide real-time debugging on the target device
using the dedicated debugging resources built into the
target microcontroller in your user hardware. The onchip emulators connect to the target system via an
interface that can be used both to debug the system and
to program the MCU’s on-chip flash memory.
For users who require full in-circuit emulation, but not the expanded
resources of a traditional ICE, the compact emulator provides a superior
cost-performance ratio in an extremely compact design. The emulator’s main
unit is significantly smaller than conventional emulator systems, allowing
easier connection to target systems.
The E8a emulators use plug-and-play USB 2.0 compatible interfaces for easy connection to both notebook
computers and desktop machines. These emulators offer:
• Includes HEW integrated development and debugging environment and
an evaluation copy of C/C++ compiler tools
• 255 PC breakpoints
Although the compact emulator is very affordable, it has all the basic
functions needed for real development, such as access to all of the devices’
pins and memory map. It also provides real-time trace and hardware breaks.
• Supplied as a package, including the target cable and PCB adaptor
• Hardware breakpoints on data and address
■ PC7501 & E100 Full In-Circuit Emulators
• Saved record of last 4-8 branches
These fully featured ICEs provide advanced debugging capabilities such as
complex hardware break events and extensive bus trace to help you track
down elusive bugs. They also include performance measurement and code
analysis features to help you tune your applications for optimum
performance and to verify your code test cases.
• On-chip flash programming
• Integrated debugging support in HEW
20
Development Tools: ICE Comparison
In-Circuit Emulator Feature Comparison
Features
E100 (M16C/64)
PC7501 (M16C/62P)
Compact Emulator
System configuration
E100Emulator + MCU unit
PC7501Emulator + Emulation probe
Compact Emulator + Target Cable
Maximum operating
clock frequency
133MHz
66.7MHz
66.7MHz
Software break
4096 points
64 points
64 points
Hardware break
maximum 16 points
8 points
2 points
Exception event
detection
• Access protect
• Access protect
• Stack overflow detection
• Initialization omission detection
Multi-purpose
events
• Hardware break
• Trace
• Performance
• An event can be assigned freely to
HW break, Trace point and Performance
Real-time trace
• Trace range : 4M cycles
• Trace range : 256K cycles
• Trace data : Bus (Address, Data, Status),
Time stamp, External trigger signal *
• Trace data : Bus, External trigger,
and Time stamp
• Trace modes : Free/Full/Point & Delay
(65,535 times of delay count)/
Repeat (Free/Full)
• Five trace modes :
Break/Before/About/After/Full
• 64Kcycles (20-bit address,
16-bit data, 12-bit MCU status)
• 5 modes
(Break/Before/About/After/Full)
• Can be turned ON/OFF by event
• Can be recorded ON/OFF by events
*External trigger cable is sold separately.
Real-time RAM
monitor
• 16K bytes (512 bytes × 32 blocks)
• 4K bytes (256 bytes × 16 blocks)
• 1024 bytes (256 bytes x 4 blocks)
• Data / Last access result (Read/
Write/Non-access)
• Data / Last access result
(Read/Write/Non-access)
• Data / Accessed or not
Execution time between
program start to stop.
Execution time between
program start to stop.
Execution time between
program start to stop.
Maximum/minimum/average execution
time and pass count (32-bits counter) of
specified eight zones.
Maximum/minimum/average execution
time and pass count (32-bits counter) of
specified four zones.
Count clock: 10MHz
• C0 coverage : 2MB area, excludes
pre-fetch (256K bytes × 32 blocks)
• 8,192K bytes (256K bytes × 32 blocks)
• Initialization omission detection
Execution time
measurement
Coverage
• Data coverage :512KB area
(64K bytes × 8 blocks)
Real-time profile
Execution time and call frequency of up to
8K functions (128K bytes × 8 blocks)
can be measured.
Host computer
Interface
• USB (USB2.0 high-speed)
N/A
• USB (USB 1.1, Full-speed)
• LAN (10BASE-T)
• LPT Parallel
External Trigger
Input / Event Output
32 signals * (Input level : CMOS or TTL,
Output level : CMOS) The upper 16 bits
are only for input, other 16 bits are
switchable for input or output.
*External trigger cable is sold separately.
External trigger input
(MCU-dependent-voltage
CMOS level × 8) or Event output
(Break × 1, event × 7)
USB (USB 1.1, Full-speed)
21
Development Tools: Third-Party Support
■ E30A High-speed single-wire trace emulator for R32C
The E30A Emulator provides enhanced debugging and trace capabilities using the high-speed coaxial NSD (New Single-wire Debugger)
debugging circuit in the R32C/100 series and connects to the PC using USB 2.0.
Execution address break
Hardware break
Max. 8 points (execution address/ data access)
- Trace point/ time measurement event
- Only address and R/W attribute specifiable for data access break
- One data comparison breakpoint specifiable in software
Combinatorial break point
OR/status transition (in forward direction)
Trace mode
Trace priority/ MCU execution priority specifiable
Trace capacity
8M events (Trace Priority)/ 512 events (MCU execution priority)
Trace contents
Branch source and Branch destination/ conditional branch/ data access
Trace event.
Max. 8 points/ 4 areas (prefetch address/ data access)
- Trace point/ time measurement event- Start/ end/ extraction events
Time measurement
Execution time (between Go-Stop, 32-bit CPU clock counter)
Interval time (3 points, between data access, 40-bit counter)
RAM monitor
Selectable byte or word access- pseudo-RAM monitor
realized by software (one event used)
Part #:
R0E00030AKCT00
Guide to Selected Third-party Development Tools
Many third-party experts offer hardware and software development tools supported by design services, RTOS, compilers, board-level
solutions, custom firmware, and board-support packages (BSPs) to meet the needs of customers developing H8-based products.
IAR Systems offers a consistent IDE
that supports nearly all MCU targets in
the industry. The environment includes
IAR Embedded
MISRA C support with integrated CSpy
Workbench ®
Integrated Development
debugging, E8a and Full ICE support
Environment
and Elf/Dwarf debug output (compatible with HEW for enhanced debugging
with full ICE). In addition, IAR offers RTOS-aware debugging
with plug-ins for Micriµm µC/OS-II, OSEK (ORTI) and Segger
embOS. www.iar.com
Micriµm
provides
high-quality
embedded software components by way
of engineer-friendly source code, unsurpassed documentation and customer
support. The company's world-renowned real-time operating
system, the Micrium µC/OS-II, features the highest-quality source
code available for today's embedded market. Micrium's products
consistently shorten time-to-market throughout all product development cycles. www.micrium.com
Segger Microcontroller Systems
provides a small and efficient real-time
kernel embOS with graphical GUI and
file system libraries. www.segger.com
KPIT Cummins Infosystems provides
free-of-charge maintenance and support
for GNU compiler tools, including
installers that integrate the GCC
toolchain into the HEW IDE and allow
its use with Renesas debuggers and
emulators. www.kpitgnutools.com
CMX Systems focuses on providing its
customers with all of the tools needed to
program their embedded applications.
The company's core business is to
develop and support real-time, multitasking operating systems (RTOS),
TCP/IP stacks, Flash File Systems and USB stacks for a
wide variety of 8-bit, 16-bit, and 32-bit microcontrollers,
microprocessors, and digital signal processors. www.cmx.com
P&E Micro's Cyclone for Renesas is a
powerful standalone in-circuit programmer
for Renesas devices. It is able to communicate with a device using the control
protocol of the target processor.
The Cyclone is equipped with Ethernet,
USB, and serial ports, which allow for quick and easy
configuration. Once the Cyclone is configured, programming
operations are completed in one touch. http://renesas.pemicro.com
For more details about third-party support, please visit: http://america.renesas.com/toolspartners
22
Development Tools: Rapid Evaluation
IO Wizard
Code builder for R8C & M16C/Tiny Micros
Get a quick start on peripheral evaluation
with Renesas’ free graphical initialization-code
creator. Generates commented C source code
directly into your HEW project.
Supported micros:
씰 R8C/10, 11, 12, 13
R8C/1A, 1B
씰 R8C/22, 23, 24, 25, 26, 27, 28, 29
R8C/2A, 2B, 2C, 2D
R8C/2E, 2F, 2G, 2H, 2J, 2K, 2L
씰 M16C/26A
M16C/28
M16C/29
Download the application and tutorials:
america.renesas.com/IOWizard
Renesas Starter Kits [RSK...]
Renesas’ low-cost Starter Kits (RSKs) are inexpensive ways to experience the performance of M16C microcontrollers. These kits
bundle a low-cost target board with the on-chip debug emulator and the evaluation version of the HEW IDE to offer an integrated
evaluation and development platform that lets you get up and
running quickly with the M16C platform. Each kit comes
complete with board and a CD-ROM that contains:
• Evaluation version of HEW (High-performance
Embedded Workshop) and C/C++ compilers
• Flash Development Toolkit (FDT)
The CD included also has a quick-start guide that
shows how to install the software and contains full
documentation, plus a Project Generator HEW plug-in
for tutorials and peripheral sample code.
The E8a emulator provides a foolproof connection to
the host IDE and can also power the target board
without the need for an external power supply.
For more information on starter kits, please visit
america.renesas.com/rsk
23
Development Tools: Rapid Evaluation
Revolutionary Microcontroller Evaluation Approach
Renesas’ Subatomic Particle Demonstration Platform
Innovative
Hardware-interactive
Multimedia Interface
Complete Environment
to Discover
Microcontroller Solutions
Unlimited Development
Resources
Just One Click Away
D E M O N S T R AT I O N
P L AT F O R M
Activity Center
씲 Hardware and
Software
Verification
씲 Getting Started
씲 What’s Cool about
HEW
씲 Performance
Measurement
씲 Training Resources
왘
왘
One platform for demonstration of CPU architecture and peripherals for a complete
씲 Document Updater
microcontroller family
씲 HEW Target Server
씲 What’s New
Interactive graphical user interface for automatic verification
씲 What’s Next
of software and hardware operation
씲 Buy Now – RSKs,
왘
Activity Center for progress tracking and access to key development resources
왘
Free full-featured software suites for 64KB maximum code size
Samples
씲 3rd Party Suppliers
씲 Uninstall Activity
(No code restriction for first 60 days)
왘
Center
On-board sound playback for voice-aided
instructions and application use
Ordering Part Numbers:
R8C:
M16C:
YR8CSPB
YM16CSPB
www.america.renesas.com/SPB
CONTENTS:
왘
Interactive GUI with automated installer and
activity center
왘
Free C Compiler and High-performance
Embedded Workshop with sample projects
왘
Platform board with representative MCU
왘
USB I/F to Host PC
왘
Switch, LED’s, light sensor
왘
Headphones for audio connection
Development Tools: Selectors & Ordering Information
Development Tool Selector for Focus Products
Series
R8C
M16C/Tiny
M16C
M32C
R32C
Group
R8C/1B
R8C/2J
R8C/2H
R8C/2H
R8C/29
R8C/27
R8C/2G
R8C/2G
R8C/2F
R8C/2L
R8C/23
R8C/23
R8C/25
R8C/25
R8C/2B
R8C/2B
R8C/2D
R8C/2D
R8C/35A
R8C/L3AC
M16C/26A
M16C/26A
M16C/28
M16C/28
M16C/28
M16C/28
M16C/29
M16C/29
M16C/29
M16C/30P
M16C/30P
M16C/62P
M16C/62P
M16C/62P
M16C/62P
M16C/62P
M16C/62P
M16C/64
M16C/65
M16C/65
M16C/6C
M16C/6N4
M16C/6NK
M16C/6NM
M32C/87
M32C/87
M32C/87B
M32C/87B
M32C/87B
R32C/111
R32C/118
R32C/118
Ordering Part
Number
R5F211B4SP#U0
R5F212J0SNSP#U0
R5F212H1SNSP#U0
R5F212H2SNSP#U0
R5F21294SNSP#U0
R5F21276SNFP#U0
R5F212G4SNFP#U0
R5F212G6SNFP#U0
R5F212F2NFP#U0
R5F212L4SNFP#U0
R5F21238DFP#U0
R5F2123CKFP#U0
R5F21256SNFP#U0
R5F21258SNFP#U0
R5F212B8SNFP#U0
R5F212BCSNFP#U0
R5F212D8SNFP#U0
R5F212DCSNFP#U0
R5F21356ANFP#U0
R5F2L3ACANFP#U0
M30260F3AGP#U5A
M30260F8AGP#U5A
M30281F6HP#U5B
M30281FCHP#U5B
M30280FCHP#U5B
M30280FAWG#U5B
M30291FCHP#U3A
M30290FAHP#U3A
M30290FCHP#U3A
M30302FCPGP#U5
M30302FEPGP#U5
M30623F8PGP#U5C
M30622F8PGP#U5C
M30620FCPGP#U5C
M3062LFGPGP#U5C
M30626FHPGP#U5C
M30626FJPGP#U5C
R5F3640MDFB#U0
R5F3650TDFB#U0
R5F3651TDFC#U0
R5F36C0MDFB
M306N4FGGP#U3
M306NKFHGP#U3
M306NMFJGP#U3
M30879FKGP#U3
M30879FLGP#U3
M30876FJBGP#U3
M30875FHBGP#U3
M3087BFLBGP#U3
R5F64112DFB#U0
R5F64189DFB#U0
R5F64189DFD#U0
Renesas Package
Code
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLQP0032GB-A
PLQP0032GB-A
PLQP0032GB-A
PLQP0032GB-A
PLQP0032GB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0052JA-A
PLQP0052JA-A
PLQP0064KB-A
PLQP0064KB-A
PLQP0080KB-A
PLQP0080KB-A
PLQP0052JA-A
PLQP0100KB-A
PLQP0048KB-A
PLQP0048KB-A
PLQP0064KB-A
PLQP0064KB-A
PLQP0080KB-A
PTLG0085JB-A
PLQP0064KB-A
PLQP0080KB-A
PLQP0080KB-A
PLQP0100KB-A
PLQP0100KB-A
PRQP0080JA-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0128KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0128KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0144KA-A
PLQP0144KA-A
PLQP0100KB-A
PLQP0100KB-A
PLQP0144KA-A
Starter Kit
R0K5211B4S001BE
R0K521276S000BE
R0K521276S000BE
R0K521276S000BE
R0K521276S000BE
R0K521276S000BE
R0K521276S000BE
R0K521276S000BE
R0K5212F4S000BE
R0K5212D8S000BE
R0K521237S000BE
R0K521237S000BE
R0K521256S000BE
R0K521256S000BE
R0K5212D8S000BE
R0K5212D8S000BE
R0K5212D8S000BE
R0K5212D8S000BE
R0K521356S000BE
R0K52L3ACS000BE
R0K33026AS001BE
R0K33026AS001BE
R0K330290S001BE
R0K330290S001BE
R0K330290S001BE
SKP16CMINI28
R0K330290S001BE
R0K330290S001BE
R0K330290S001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K33062PS001BE
R0K53650MS000BE
R0K53650MS000BE
R0K53650MS000BE
Availability: 2Q2009
R0K3306NKS001BE
R0K3306NKS001BE
R0K3306NKS001BE
R0K330879S001BE
R0K330879S001BE
R0K330879S001BE
R0K330879S001BE
R0K330879S001BE
R0K564112S000BE
R0K564189S000BE
R0K564189S000BE
On-chip Emulator
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
R0E00008AKCE00
To find specific emulator
part numbers, see opposite page
Compact
E100
PC7501
Emulator
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
E30A
E30A
E30A
-
HEW Ordering Numbers
Node Locked
Floating Network
USB Key
Family
1 user
5 user
1 user
5 user
1 user
M16C & R8C
RTA-HEWNC30-1U
RTA-HEWNC30-5U
RTA-HEWNC30-1UL
RTA-HEWNC30-5UL
RTA-HEWNC30-1K
M32C
RTA-HEWNC308-1U
RTA-HEWNC308-5U
RTA-HEWNC308-1UL
RTA-HEWNC308-5UL
RTA-HEWNC308-1K
R32C
YRTA-HEWNC100-1U
YRTA-HEWNC100-5U
YRTA-HEWNC100-1UL
YRTA-HEWNC100-5UL
YRTA-HEWNC100-1K
24
25
Development Tools: ICE Selection
In-Circuit Emulator Selection
Choosing the components required to complete a full emulation system for a device can be a complicated task
due to specific device support and package variations. The Renesas website provides helpful resources that simplify
the selection of the required components.
Three Easy Steps:
1
Go to the
Renesas
web site
and browse
to an
emulator
product
page.
2
Click on
the Options
link in the
navigation
menu to open the
selection search.
3
Select the emulator type in
the “Tool Name” menu and
then the required MCU
Family, Series, and Group.
Click “Display Results” for
a list of the required
components.
26
R8C/2x, 3x Series
R8C/2x, 3x Series Line-up
2ch D/A, 20ch A/D
with Sweep Mode,
80-pin
64/80
PINS
2ch D/A, 64-pin
CAN, BGO, DTC (2.7-5.5V)
12ch A/D, 52-pin
R8C/20-21
R8C/22-23*
R8C/24-25
R8C/34E-H*
R8C/35A
32-128KB Flash
2-6KB RAM
32-128KB Flash
2-6KB RAM
16-64KB Flash
1-3KB RAM
32-128KB Flash
2.5-10KB RAM
16-128KB Flash
1.5-10KB RAM
8ch A/D, BGO, DTC, 24-pin
12ch A/D, BGO, DTC
8MHz; Comparators
20MHz; 12ch A/D
Motor
Lighting, (2.7 – 5.5V)
R8C/2G
R8C/26-27
R8C/2K-2L
R8C/2E-2F
R8C/3GA
R8C/33A
16-32KB Flash
0.5-1KB RAM
8-32KB Flash
0.5-1.5KB RAM
8-16KB Flash
1.0-1.5KB RAM
8-16KB Flash
0.5-1KB RAM
4-32KB Flash
0.5-2.5KB RAM
4-32KB Flash
0.5-2.5KB RAM
20
PINS
4ch A/D, BGO, DTC
8MHz; RTC, Comparators
20MHz; 4ch A/D
R8C/2J
R8C/2H
R8C/28-29
R8C/32A
2-4KB Flash
0.25-0.375KB RAM
4-8KB Flash
0.25-0.375KB RAM
8-32KB Flash
0.5-1.5KB RAM
4-16KB Flash
0.5-1.5KB RAM
R8C/2x (2.2 – 5.5 V)
R8C/3x (1.8 – 5.5 V) **
(Broad Line-up, Application-Focused Devices)
(High Performance, Advanced Features)
* R8C/22-23 and R8C/34E-F products are listed under the CAN MCU section on pages 38-39.
■ R8C/3x Features
• 40 MHz ±1% over temperature and voltage
(Factory calibrated and guaranteed)
• Four 1KB Data Flash blocks with BackGround Operation for
simultaneous execution of application code and Flash re-write
• Window Watchdog Timer with dedicated 125kHz oscillator,
Power-On Reset circuit with no Vcc rise time requirement.
Low-voltage detect circuit with 16 software-selectable options
• 2.15µs ADC with up to eight conversion registers for Sweep mode
R8C/3x Application Example
R8C/35A Controlling a Brushless DC Motor
Data
Flash
RAM
40MHz
OCO
125kHz
OCO
ADC
Trig
Shut-off
LVD
POR
Debug
Unit
LIN
1-wire I/F
Network
Motor Current
R8C Core
Program Flash
(16KB - 128KB)
Data Transfer
Controller
40MHz On-chip
Oscillator
Data Flash & BGO
(4 x 1KB)
On-chip Debug
Main Clock
(20MHz)
RAM
(1.5KB - 10KB)
Enhanced
Watchdog Timer
Ext. Oscillation
Stop Detection
Enhanced
POR & LVD
Timer RA: 8-bit
125kHz On-chip
Oscillator x2
Analog
Comparator (4 ch)
Timer RB: 8-bit
Sub Clock
(32kHz)
ADC: 10-bit
(12 ch)
Timer RC: 16-bit
Clock Sync./
UART (3 ch)
DAC: 8-bit
(2 ch)
Timer RD: 16-bit
(2 ch)
Hardware LIN
I2C / SSU
Timer RE: 8-bit
(Real-time Clock)
Power Module
CLK
16-bit Motor
Timer (RD)
WDT
** Contact Renesas for details and availability
R8C/35A Block Diagram
• 16-bit CPU with 16-bit multiplier and Data Transfer Control
yielding over 50% increased performance compared to R8C/2x
Program
Flash
12ch A/D, BGO, DTC, 52-pin
CAN (2.7-5.5V)
8MHz; Comparators, 16-pin
16-bit
CPU
+ MUL
: Application
focused devices
: Automotive
version available
Automotive Grade (2.7-5.5V)
48/52
PINS
24/32
PINS
: No data
flash option
R8C/2A-2C
48-128KB Flash
2.5-7.5KB RAM
U
U
V
V
GP I/O: 48
M
W
W
BLDC
R8C/3x Starter Kit*
over-current
CLK
16-bit Timer (RC)
Comp.
R8C/35A Development Kit
(includes free compiler)
Part Number:
R0K521356S000BE
* available Q1 2009
27
Hardware LIN
External Interrupts
GPIO (High Current)
Temp/Grade Code (Note 3)
R5F212J0S
R5F212J1S
R5F212H1S
R5F212H2S
R5F212G4S
R5F212G5S
R5F212G6S
R5F212E2
R5F212E4
R5F212F2
R5F212F4
R5F212K2S
R5F212K4S
R5F212L2S
R5F212L4S
R5F21206
R5F21207
R5F21208
R5F2120A
R5F2120C
R5F21216
R5F21217
R5F21218
R5F2121A
R5F2121C
R5F21244S
R5F21245S
R5F21246S
R5F21247S
R5F21248S
R5F21254S
R5F21255S
R5F21256S
R5F21257S
R5F21258S
R5F21262S
R5F21264S
R5F21264
R5F21265S
R5F21266S
R5F21266
R5F21272S
R5F21274S
R5F21274
R5F21275S
R5F21276S
R5F21276
R5F21282S
R5F21284S
R5F21284
R5F21286
R5F21292S
R5F21294S
R5F21294
R5F21296
R5F212A7S
R5F212A8S
R5F212AAS
R5F212ACS
R5F212B7S
R5F212B8S
R5F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
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
3
3
3
5
5
5
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
12(0)
12(0)
16(0)
16(0)
28(0)
28(0)
28(0)
28(8)
28(8)
28(8)
28(8)
28(8)
28(8)
28(8)
28(8)
44(0)
44(0)
44(0)
44(0)
44(0)
44(0)
44(0)
44(0)
44(0)
44(0)
44(8)
44(8)
44(8)
44(8)
44(8)
44(8)
44(8)
44(8)
44(8)
44(8)
28(8)
28(8)
28(0)
28(8)
28(8)
28(0)
28(8)
28(8)
28(0)
28(8)
28(8)
28(0)
16(8)
16(8)
16(0)
16(0)
16(8)
16(8)
16(0)
16(0)
57(8)
57(8)
57(8)
57(8)
57(8)
57(8)
57(8)
57(8)
73(8)
73(8)
73(8)
73(8)
73(8)
73(8)
73(8)
73(8)
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
J, K
J, K
J, K
J, K
J, K
J, K
J, K
J, K
J, K
J, K
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
J, K
N, D
N, D
J, K
N, D
N, D
J, K
N, D
N, D
J, K
N, D
N, D
J, K
J, K
N, D
N, D
J, K
J, K
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
N, D
Communication
(see note 2)
WDTO, 2-ch Comparator
with D/A connection
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO
WDTO, A/D with
Sweep function
WDTO, A/D with
Sweep function
Notes:
1. Full part number format: [Base Part Number] [Temperature/Grade Code] [Package Suffix] [Production Type]
Example: [R5F21256S] [D] [FP] [#U0] = R5F21256SDFP#U0 --> R8C/25; 32KB; Industrial Temp; 52-pin LQFP; Tray Production
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendix A-1 (Nomenclature of Part Number) for details.
FP (PTQP0080KC-A, TQFP)
WDTO, 2-ch Comparator
with D/A connection
LG (PTLG0064JA-A, FLGA)
WDTO, 2-ch Comparator
FP (PLQP0064KB-A, LQFP)
WDTO, 2-ch Comparator
FP (PLQP0064GA-A, LQFP)
Special Features
WDTO, 2-ch Comparator
FP (PLQP0052JA-A, LQFP)
Package
FP (PLQP0048KB-A, LQFP)
Analog
FP (PLQP0032GB-A, LQFP)
Timers
SP (PLSP0020JB-A, LSSOP)
R8C/2D
I2C
R8C/2C
SSU (SPI Compatible)
R8C/2B
Serial (sync/async)
R8C/2A
D/A 8-bit resolution
R8C/29
A/D 10-bit resolution
R8C/28
16-bit timers
R8C/27
8-bit timers
R8C/26
On-chip Debug
R8C/25
Power Down Modes
R8C/24
Power On Reset / Low Voltage Detect
R8C/21
32 kHz Sub Clock
R8C/20
Oscillation Stop Detect
R8C/2L
On-chip Oscillator
R8C/2K
max MHz @ Vcc max
R8C/2F
Vcc max
R8C/2E
Vcc min
R8C/2H
R8C/2G
RAM (Kbytes)
R8C/2J
Catalog
Part Number
(See Note 1)
Data Flash (Kbytes)
Group
Flash (Kbytes)
R8C/2x Series Selector Guide
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
28
R8C/2x, 3x Series
Optimized Pin Compatibility
P1
Optimized pin assignment compatibility between 20- to 80-pin
devices in R8C/3x series
No connection-crossing makes scaling (up or down) quick and simple
Numerous SSOPs, QFPs, and QFN packages with different dimensions
allows easy layout of multiple package footprints on one circuit board
Package details (arranged by body size):
P0
Example:
20-pin LSSOP inside 32-pin LFQP
24-pin QFN: 4mm x 4mm, 0.5mm pitch
20-pin LSSOP: 4.4mm x 6.5mm, 0.65mm pitch
32-pin LQFP: 7mm x 7mm, 0.8mm pitch
P2
P6
48-pin LQFP: 7mm x 7mm, 0.5mm pitch
52-pin LQFP: 10mm x 10mm, 0.65mm pitch
80-pin LQFP: 12mm x 12mm, 0.5mm pitch
P3
SYSTEM PINS
64-pin LQFP: 14mm x 14mm, 0.8mm pitch
1-Wire On-chip Debugging & Programming
R8C/2x
R8C/3x
Hardware & Monitor
Enhanced Hardware
Serial
Interface
Asynchronous
Asynchronous
Base clock
Internal
on-chip oscillator
Internal
on-chip oscillator
Before
execution
Address match:
up to 2 points
Address match:
8 points
Trace
information
Branch destination:
4 points
Branch/data access:
8 points
Trace
condition
Not available
Combination of
2 points
By monitor program
By Debug DMA
On-chip Debug Unit
Communication
specification
Break
Trace
Memory Modification
during execution
Unified Interface
• Debugging and Programming
Physical Connection
• 1 wire (dedicated MODE pin)
Break Points (Type)
• Address and Data
VCC
AVCC
Reset
signal
RESET
MODE
E8 or E8a
Emulator
GND
Data Transfer Controller
R8C/3x devices incorporate a
DMA-like engine which allows data
transfers between memory and
peripherals without CPU intervention,
increasing overall performance
significantly. Data can be transferred
automatically within the first 64KB of
memory. The DTC is activated by
software control or by a peripheral
interrupt providing fast response.
A transfer is defined in a ‘Control File’
(i.e., channel) which is located
in RAM. A maximum of 24 channels
can be set up in the MCU. Each
transfer can be made up of up to 256
bytes and can occur up to 256 times
in normal or repeat mode.
RAM
Control file (for ch. 1)
Control file (for ch. 2)
Load
Control file
to Control
register
Trigger
Control file (for ch. n)
Interrupt (for ch. 3) from peripheral
Read data
from source
DTC
Write back
Control file
after
transferring
SFR/
RAM/ROM
source
Control registers
Control file (for ch. 3)
.
.
.
SFR/
RAM
Data buffer
Write data to destination
destination
29
Group 4
Catalog
Part Number
(See Note 1)
Flash (Kbytes)
Data Flash (Kbytes)
RAM (Kbytes)
Vcc min
Vcc max
max MHz @ Vcc max
On-chip Oscillator
Oscillation Stop Detect
32 kHz Sub Clock
Power On Reset / Low Voltage Detect
Power Down Modes
On-chip Debug
DTC
8-bit timers
16-bit timers
A/D 10-bit resolution
D/A 8-bit resolution
Comparators
Serial (sync/async)
SSU (SPI Compatible)
I2C
Hardware LIN
External Interrupts
GPIO (High Current)
Temp/Grade Code (Note 3)
R8C/3x Series Selector Guide
R8C/32A
R5F21321A
4
4
0.5
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
4
-
4
2
1
2
1
7
16(15)
N, D
R5F21322A
8
4
1.0
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
4
-
4
2
1
2
1
7
16(15)
N, D
R5F21324A
16
4
1.5
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
4
-
4
2
1
2
1
7
16(15)
N, D
Y
-
-
-
-
R5F213G1A
4
4
0.5
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
8
2
4
2
1
2
1
7
20(19)
N, D
-
Y
-
-
-
R5F213G2A
8
4
1.0
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
8
2
4
2
1
2
1
7
20(19)
N, D
R5F213G4A
16
4
1.5
1.8
5.5
20
Y
Y
Y
Y
4
Y
Y
3
1
8
2
4
2
1
2
1
7
20(19)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
-
-
Y
3
12
2
4
3
1
2
1
7
48(47)
N, D
-
-
-
-
Y
3
3
12
2
4
3
1
2
1
7
48(47)
N, D
-
-
-
-
Y
Y
3
3
12
2
4
3
1
2
1
7
48(47)
N, D
-
-
-
-
Y
Y
Y
3
3
12
2
4
3
1
2
1
7
48(47)
N, D
-
-
-
-
Y
Y
Y
3
3
12
2
4
3
1
2
1
7
48(47)
N, D
-
-
-
-
Y
WDTO, BGO
WDTO
WDTO, BGO
WDTO, BGO
Notes:
1. Full part number format: [Base Part Number] [Temperature/Grade Code] [Package Suffix] [Production Type]
Example: [R5F21356A] [D] [FP] [#U0] = R5F21356ADFP#U0 --> R8C/35A; 32KB+4KB; Industrial Temp; 52-pin LQFP; Tray Production
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendix A-1 (Nomenclature of Part Number) for details.
4. Contact Renesas for availability
30
R8C/Lx Series
R8C/Lx Series Line-up
1.8 to 5.5V
20-ch ADC
DTC
100
PINS
R8C/L3AA-B*
48–128 KB Flash
6–10 KB RAM
L3XA: Data flash included
L3XB: No data flash
R8C/L38A-B*
80
PINS
48–128 KB Flash
6–10 KB RAM
R8C/L36A-B*
64
PINS
52
PINS
48–128 KB Flash
6–10 KB RAM
R8C/L35A-B*
48–128 KB Flash
6–10 KB RAM
1.8 to 5.5V
16-ch ADC
DTC
1.8 to 5.5V
12-ch ADC
DTC
1.8 to 5.5V
12-ch ADC
DTC
24 SEG / 4 COM **
32 SEG / 8 COM **
* Contact Renesas for details and availability
48 SEG / 8 COM **
56 SEG / 8 COM **
** Maximum number of Segment and Common lines
■ Features
R8C/L3AA Block Diagram
• 16-bit R8C-based CPU with 16-bit multiplier and
Data Transfer Controller
• Control up to 416 LCD segments/dots directly.
Internal LCD voltage booster supporting 3V and 5V glass.
Automatic blink option for each segment/dot
• Extensive power-down control including low-speed, wait, stop
and power-off modes
• 40 MHz ±1% over temperature and voltage
(Factory calibrated and guaranteed)
• Power-On Reset circuit with no Vcc rise time requirement
R8C/Lx Application Example
R8C/L3A Controlling a Security Alarm Panel
R8C Core
Program Flash
(48KB - 128KB)
Data Transfer
Controller
40MHz On-chip
Oscillator
Data Flash & BGO
(4 x 1KB)
On-chip Debug
Main Clock
(20MHz)
RAM
(6KB - 10KB)
Enhanced
Watchdog Timer
Ext. Oscillation
Stop Detection
Enhanced
POR & LVD
Timer RA: 8-bit
125kHz On-chip
Oscillator x2
Analog
Comparator (4 ch)
Timer RB: 8-bit
Sub Clock
(32kHz)
ADC: 10-bit
(20 ch)
Timer RC: 16-bit
Clock Sync./
UART (3 ch)
DAC: 8-bit
(2 ch)
Timer RD: 16-bit
(2 ch)
Timer RE: 8-bit
(Real-time Clock)
I2C / SSU
LCD Controller
Key Input
R8C
CPU
Program
Flash
Data
Flash
Relays
Hi-drive
I/O
On-chip
Oscillator
GP I/O: 88
32kHz
Sub Clock
RAM
LCD Controller
Display
Timer RG: 16-bit
(2-phase Encoder)
Hardware LIN
RTC
R8C/Lx Starter Kit*
16-bit
Timer
R8C/L3AC Development Kit
(includes free compiler)
01234567
Speaker
(Voice Playback)
Part Number:
R0K52L3ACS000BE
* available Q1 2009
31
R8C/L36A
R8C/L36B
R8C/L38A
R8C/L38B
R8C/L3AA
R8C/L3AB
Vcc min
Vcc max
max MHz @ Vcc max
On-chip Oscillator
Oscillation Stop Detect
32 kHz Sub Clock
Power On Reset / Low Voltage Detect
Power Down Modes
On chip Debug
DTC
LCD SEG / COM Lines (Max.)
8-bit timers
16-bit timers
A/D 10-bit resolution
D/A 8-bit resolution
Comparators
Serial (sync/async)
SSU (SPI Compatible)
I2C
Hardware LIN
External Interrupts
GPIO (High Current)
Temp/Grade Code (Note 3)
R5F2L357A
48
4
6
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
R5F2L358A
64
4
8
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
R5F2L35AA
96
4
8
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
R5F2L35CA
128
4
10
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
R5F2L357B
48
-
6
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
Communication
(see note 2)
FP (PLQP0080KB-A, LQFP)
FP (PLQP0080JA-A, LQFP)
FP (PLQP0100KB-A, LQFP)
FP (PRQP0100JD-B, QFP)
Package
FP (PLQP0064KB-A, LQFP)
Analog
FP (PLQP0064GA-A, LQFP)
Timers
FP (PLQP0052JA-A, LQFP)
R8C/L35B
RAM (Kbytes)
R8C/L35A
Catalog
Part Number
(See Note 1)
Data Flash (Kbytes)
Group
4
Flash (Kbytes)
R8C/Lx Series Selector Guide
Y
-
-
-
-
-
-
Y
-
-
-
-
-
-
Y
-
-
-
-
-
-
N, D
Y
-
-
-
-
-
-
41(5)
N, D
Y
-
-
-
-
-
-
Y
-
-
-
-
-
-
Y
-
-
-
-
-
-
Special Features
WDTO,
BGO,
Power-off mode
R5F2L358B
64
-
8
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
R5F2L35AB
96
-
8
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
R5F2L35CB
128
-
10
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
24 / 4
3
4
12
2
4
3
1
2
1
9
41(5)
N, D
Y
-
-
-
-
-
-
R5F2L367A
48
4
6
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
32 / 8
3
4
12
2
4
3
1
2
1
9
52(8)
N, D
-
Y
Y
-
-
-
-
R5F2L368A
64
4
8
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
32 / 8
3
4
12
2
4
3
1
2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(16) N, D
-
-
-
-
-
Y
Y
R5F2L3ACB
128
-
10
1.8
5.5
20
Y
Y
Y
Y
5
Y
Y
56 / 8
3
4
20
2
4
3
1
2
1
9
88(16) N, D
-
-
-
-
-
Y
Y
WDTO,
Power-off mode
WDTO,
BGO,
Power-off mode
WDTO,
Power-off mode
WDTO,
BGO,
Power-off mode
WDTO,
Power-off mode
Notes:
1. Full part number format: [Base Part Number] [Temperature/Grade Code] [Package Suffix] [Production Type]
Example: [R5F2L358A] [D] [FP] [#U0] = R5F2L358ADFP#U0 --> R8C/L35A; 64KB + 4KB; Industrial Temp; 52-pin LQFP; Tray Production
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendix A-1 (Nomenclature of Part Number) for details.
4. Contact Renesas for availability
32
M16C Tiny Series
M16C Tiny Series Line-up
80
PINS
64
PINS
M16C/28
M16C/29
48-128KB Flash
4-12KB RAM
96-128KB Flash
8-12KB RAM
M16C/28
M16C/29
48-128KB Flash
4-12KB RAM
96-128KB Flash
8-12KB RAM
M16C/26A
48
PINS
24-64KB Flash
1-2KB RAM
M16C/28 (2.7 – 5.5 V)
(Up to 24MHz, Motor Control Timer,
HW multi-master I2C )
M16C/26A (2.7 – 5.5 V)
(Up to 24MHz, Motor Control Timer)
■ Features
M16C/29 (2.7 – 5.5 V)
(Up to 20MHz, M16C/28 feature
+ 1 ch CAN
M16C/29 Block Diagram
• High-performance 16-bit CPU with 16-bit HW multiplier
M16C/60 CPU Core
• High-speed option (24MHz@5V) available
Program Flash
(96KB - 128KB)
• 4 KB data flash memory to replace external EEPROM
• Small package options (i.e., 7mm x 7mm 48 LQFP or 85 FLGA)
• 3 phase motor control timer with dead-time function and A/D with
two sample & holds
• High reliability features including CRC, WDT with independent
on-chip oscillator, oscillation-stop detection and built-in noise
cancellation circuits
M16C Tiny Application Example
Brushless DC Motor Control (with Hall Scan)
LIN/CAN Network
Sub 1
Sub 2
16-bit CPU
+ HW
Multiplier
...Sub N
ADC
PLL
On-chip
Oscillator
Program
Flash
Shut-off
LVD
POR
CAN
Debug Unit
Network
Trig
3-phase timer (6 PWM)
RAM
Power-On
Reset Circuit
DMA
(2 ch)
Low Voltage
Detect Circuit
(8KB - 12KB)
Data Flash
(4KB)
RAM
Main Clock
16-bit Timer A, B
A/D Converter
(up to 24MHz)
(8 ch)
(10-bit x 24 ch)
On-chip
Oscillator
Three-phase
Motor Control
Serial I/O Clock
Sync./UART (5 ch)
RTC
32kHz
16-bit IC/OC
(8 ch)
Multi Master
I2C (2 ch)
Ext. Oscillation
Stop Detection
Enhanced
WDT
On-chip
Debug
Motor Current
Power Module
CLK
Watchdog
Data
Flash
Host
System
Hardware
CAN
U
U
V
V
W
W
BLDC
M
GET STARTED NOW!
Error Pulse
CLK
16-bit Timer
(A3)
Hall
Sensors
M16C/Tiny Development Kit
(includes free compiler)
Part Number:
R0K330290S000BE
33
M16C Tiny Series Selector Guide
Mask ROM Available
Industrial Temp. (-40 to 85C) Available
GP (PLQP0048KB-A, LQFP)
HP (PLQP0064KB-A, LQFP)
HP (PLQP0080KB-A, LQFP)
FP (PRSP0042GA-B, SSOP)
WG (PTLG0085JB-A, TFLGA)
GPIO
Automotive Temp. and Grade Available
Serial (sync/async)
I2C
CAN
DMA Channels
External Interrupts
-
A/D 10-bit resolution
-
Watchdog Timers
-
16-bit timers
-
On-chip Oscillator
Oscillation Stop Detect
PLL
32 kHz Sub Clock
Power On Reset
Low Votage Detect
Power Down Modes
On chip Debug
-
Y Y
max MHz @ Vcc max
Y
Vcc max
-
Vcc min
-
-
External Data Bus
-
-
RAM (Kbytes)
-
Y
Non Data Flash Version Available
Y Y
Catalog
Part Number
26A
M30260F3AGP
24
4
Y
1
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
8
1
12
3 1
-
2 8
39
Y
M30263F3AFP
24
4
Y
1
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
8
1
10
1 1
-
2 8
33
Y
-
M30260F6AGP
48
4
Y
2
-
2.7 5.5
20
Y Y Y Y Y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y
12
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
9
1
13
4 2
-
2 8
M30280FBCHP
128
4
-
12
-
4.2 5.5
24
Y Y Y Y Y Y 4 Y
9
1
24
5 2
-
M30281FCBHP
128
4
-
12
-
4.2 5.5
24
Y Y Y Y Y Y 4 Y
9
1
13
4 2
-
M30290F8HP
64
4
Y
4
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
9
1
M30291F8HP
64
4
Y
4
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
9
M30290FAHP
96
4
Y
8
-
2.7 5.5
20
Y Y Y Y Y Y 4 Y
M30291FAHP
96
4
Y
8
-
2.7 5.5
20
M30290FCHP
128
4
Y
12
-
2.7 5.5
20
M30291FCHP
128
4
Y
12
-
2.7 5.5
20
26B
28
28B
29
Flash Access Specifications:
Standard temperature: #U5
Extended temperature: #U3
Standard temperature with data flash: #U9
Extended temperature with data flash: #U7
Autmotive Temperature & Grade
-40 to 85C : T version
-40 to 125C : V version
Special Features
CRC,1-ch IEBus,
3-phase PWM
Motor Control
Timers
Package Suffix
(Code, Type)
T,V
Group
Data Flash (Kbytes)
Serial
ROM Size (Kbytes)
Timers
-
-
-
Y
-
Y Y
-
-
-
-
-
-
Y
-
-
-
-
-
-
-
Y
-
-
Y
-
-
-
-
-
-
Y
-
Y
-
-
-
Y
-
-
Y
-
-
-
Y
-
-
-
-
Y
Y
T,V
Y
-
Y
-
-
-
Y
T,V
Y
-
-
Y
-
-
-
-
Y
-
-
-
-
Y
Y
T,V
Y
-
Y
-
-
-
Y
T,V
Y
-
-
Y
-
-
55
Y
T,V
Y
-
Y
-
-
-
2 8
71
-
-
Y
-
-
Y
-
-
2 8
55
-
-
Y
-
Y
-
-
-
27
5 2 1 2 8
71
Y
T,V
Y
-
-
Y
-
-
1
16
4 2 1 2 8
55
9
1
27
5 2 1 2 8
71
Y Y Y Y Y Y 4 Y
9
1
16
4 2 1 2 8
55
Y Y Y Y Y Y 4 Y
9
1
27
5 2 1 2 8
71
Y Y Y Y Y Y 4 Y
9
1
16
4 2 1 2 8
55
1-ch IEBus,
3-phase PWM
Motor Control
Timer, 1-ch 16-bit
IC/OC, HW
Multi-master I2C
1-ch IEBus,
3-phase PWM
Motor Control
Timer, 1-ch 16-bit
IC/OC, HW
Multi-master I2C,
1ch CAN
Y
-
Y
T,V
Y
Y
-
Y
-
-
-
Y Y
-
-
Y
-
Y
T,V
Y
-
-
-
Y
Y
T,V
Y
Y
T,V
-
-
Y
T,V
Y
-
Y
-
-
-
Y
T,V
Y
-
-
Y
-
-
Y
T,V
Y
-
Y
-
-
-
Y
T,V
Y
-
-
Y
-
-
Y
T,V
Y
-
Y
-
-
-
34
M16C/62P, 63, 64, 65, and 6C Series
M16C/6X Series Line-up
128
PINS
M16C/62P
M16C/65
256-512KB Flash
20-31KB RAM
256-768KB Flash
20-47KB RAM
100
PINS
M16C/62P
M16C/63
M16C/64
M16C/65
M16C/6C
0-512KB Flash
4-31KB RAM
128-512KB Flash
12-31KB RAM
128-512KB Flash
12-31KB RAM
128-768KB Flash
12-47KB RAM
128-512KB Flash
12-31KB RAM
M16C/62P
M16C/63
M16C/65
64-128KB Flash
4-10KB RAM
128-256KB Flash
12-20KB RAM
128KB Flash
12KB RAM
62P
(Standard)
63
(Low Power)
80
PINS
64
(Cost Reduced)
■ Features
65
(Performance)
6C
(USB Device)
M16C/65 Block Diagram (100-pin version)
• Expanded features and
integration from M16C/62P
• On-chip power-on reset
• Operation at 32MHz
• Memory density up to 768KB
Flash and 47KB SRAM
• On-chip 1-week RTC
M16C/60 CPU
Core: 32MHz
Flash Memory
128KB to 768KB
A/D Converter
(10-bit x 26 ch)
• On-chip remote control
receiver
16-bit Multiplier
Data Flash
4KB x 2
D/A Converter
(8-bit x 2 ch)
DMAC (4 ch)
RAM
12KB to 47KB
PWM (2 ch)
Interrupt
User Boot 16KB
LVD & POR
32kHz Sub Clock
On-chip Debug
Multi-master I2C bus
Main Clock
(up to 24MHz)
16-bit Timer A: 5 ch
16-bit Timer B: 6 ch
Serial I/O/UART/
I2C/IEBus (6 ch)
On-chip Oscillator
High Speed: 40MHz
WDT
Serial I/O Clock
Sync. (2 ch)
On-chip Oscillator
Low Speed: 125MHz
Three-phase
Motor Control
Receive Remote
RTC: 1 week
PLL
CRC
• On-chip CEC* circuit
• 4 DMA channels
• Enhanced on-chip debugging
function (OCD)
• 8 Serial Communication Ports
• Faster ADC conversion of
1.72µs @ 25MHz
*CEC – Consumer Electronics Control
M16C/65 Application Example: DVD Recorder
D VD REC
DVD
Recorder
LSI
HDMI-Tx
HDMI-Tx
Logic Core
HDMI-Tx Analog Core
TMDS
port
DDC
port
HDCP Key
CEC
88 I/O pins
I2C
RTC
M16C/65 CEC MCU on Stand-by
ROM
RAM
Peripherals
I 2C
CEC HW Decoder
GET STARTED NOW!
IrDA receiver
M16C/65 Development Kit
(includes free compiler)
Power
Clock
REC
Open
Part Number:
R0K330650S000BE
35
M16C/6X Series Selector Guide
On chip Debug
WDT
A/D 10-bit resolution
D/A 8-bit resolution
Serial (sync/async)
SPI Compatible
I2C
Multi-master I2C
USB Device
CEC
DMA Channels
External Interrupts
External Data Bus
GPIO (High Current)
Temp/Grade Code (Note 3)
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30622SPGP
-
-
4
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30620SPFP
-
-
10
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30620SPGP
-
-
10
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30624SPFP
-
-
20
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30624SPGP
-
-
20
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M30626SPFP
-
-
31
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
M16C/63
M16C/64
M16C/65
M16C/6C
Special Features
16-bit Multiplier,
3-phase Motor Control,
PWM, CRC,
3V/5V Power Supply
FP (PRQP0100JB-A, QFP)
Power Down Modes
5.5
GP/FC (PLQP0128KB-A, LQFP)
Power On Reset / Low Voltage Detect
2.7
FA (PRQP0100JD-B, QFP)
32 kHz Sub Clock
4
GP/FB (PLQP0100KB-A, LQFP)
Oscillation Stop Detect
-
FE (PLQP0080KB-A, LQFP)
On-chip Oscillator
-
GP/FP (PLQP0080JA-A, LQFP)
max MHz @ Vcc max
M30622SPFP
RTC (W:weekly Y:yearly)
Vcc max
M16C62P
16-bit timers
Group
Catalog
Part Number
(See Note 1)
Vcc min
Package
RAM (Kbytes)
Comm. (Note 2)
Data Flash (Kbytes)
Analog
Flash (Kbytes)
Timers
-
-
-
-
Y
-
-
-
Y
-
-
-
-
-
-
-
Y
-
-
-
Y
-
-
-
-
-
-
-
Y
-
-
-
Y
-
-
-
-
-
-
-
Y
-
M30626SPGP
-
-
31
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
-
-
-
Y
-
-
-
M30622F8PFP
64
4
4
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
T
-
-
-
-
Y
-
M30622F8PGP
64
4
4
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
T
-
-
Y
-
-
-
M30623F8PGP
64
4
4
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
5
Y
71
-
-
-
-
-
-
Y
-
M30620FCPFP
128
4
10
2.7
5.5
24
Y
Y
Y
Y
4
Y
1 11 1
26
2
5
5
3
-
-
-
2
8
Y
88
T, V
-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
4
13
Y
88
N, D
-
-
Y
Y
-
-
R5F3651K
384
8
31
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
114 N, D
-
-
-
-
-
Y
R5F3650M
512
8
31
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
88
N, D
-
-
Y
Y
-
-
R5F3651M
512
8
31
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
114 N, D
-
-
-
-
-
Y
R5F3650R
640
8
47
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
88
N, D
-
-
Y
Y
-
-
R5F3651R
640
8
47
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
114 N, D
-
-
-
-
-
Y
R5F3650T
768
8
47
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
88
N, D
-
-
Y
Y
-
-
R5F3651T
768
8
47
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 w
26
2
8
8
7
1
-
Y
4
13
Y
114 N, D
-
-
-
-
-
Y
R5F36C0K
384
8
31
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 Y
26
2
6
1
2
1
1
-
4
13
Y
88
D
-
-
Y
-
-
-
R5F36C0M
512
8
31
2.7
5.5
32
Y
Y
Y
Y
4
Y
1 11 Y
26
2
6
1
2
1
1
-
4
13
Y
88
D
-
-
Y
-
-
-
-40
-40
-40
-40
to
to
to
to
* Contact Renesas for product derivatives and availability.
Notes:
1. See Appendices for Part Number format
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendices for details.
3-Phase Motor Control,
CRC
3-Phase Motor Control,
CRC
USB, 3-Phase Motor Control,
CRC
Extended Temperature Codes:
D
N
T
U
-40 TO 85
-20 TO 85
Automotive -40 to 85
Automotive -40 to 105
V
J
L
K
Automotive
Automotive
Automotive
Automotive
125
85
105
125
36
R32C Series
R32C Series Line-up
144
PINS
100
PINS
R32C/116
R32C/117
R32C/118
384-1024KB Flash
40-63KB RAM
384-1024KB Flash
40-63KB RAM
640-1024KB Flash
48-63KB RAM
R32C/111
R32C/116
R32C/117
R32C/118
256-512KB Flash
40-63KB RAM
384-1024KB Flash
40-63KB RAM
384-1024KB Flash
40-63KB RAM
640-1024KB Flash
48-63KB RAM
R32C/116
Up to 50MHz,
Large Flash
R32C/117
Up to 50MHz,
Large Flash, +1 ch CAN
R32C/118
Up to 50MHz,
Large Flash, +2 ch CAN
R32C/111
64
PINS
256-512KB Flash
31-63KB RAM
R32C/111
Up to 50MHz,
Large SRAM
■ Features
R32C/111 Block Diagram
• 32-bit CISC MCUs inheriting the M16C/M32C features
and employing R32C/100 Series CPU core
• 32-bit barrel shifter, 32-bit multiplier,
and high-precision inline FPU on-chip
• Performs 32-bit x 32-bit multiply-accumulate
operations in one clock cycle
R32C/100
CPU Core:
50MHz
Flash
MAX 512KB
With Protect
RAM
MAX 63KB
32-bit
Multiplier
32kHz
Sub Clock
Timer A (5 ch)
Timer B (6 ch)
DMAC
Intelligent I/O
(4 ch)
R32C/100
with FPU
CPU Core:
50MHz
DMA-II
PLL
WDT
X/Y
Converter
A/D
Converter
CRC
(1 ch)
(10-bit x 34 ch)
Interrupt
D/A
Converter
• Register bit length extended from M32C/80
and number of registers increased
FPU
• 64-bit internal memory bus
• Short jumps with no penalty
(3 ch)
• Enhanced Communication Function (SIO x 9 channels)
R32C Application Example: Automated Meter Reading
Antenna
Ref.
Sources
RF Stack
Data Flash
ADC
R32C/111
with FPU
SPI
RF
Transceiver
(8-bit x 2 ch)
UART
Serial I/O
(9 ch)
LCD Segment
GPIO
GET STARTED NOW!
Power Line
Backlight
10980.4
R32C/111 Starter Kit
(includes free compiler)
Part Number:
R0K564112S000BE
37
R32C Series Selector Guide
Oscillation Stop Detect
32 kHz Sub Clock
Power On Reset / Low Voltage Detect
Power Down Modes
On chip Debug
8-bit timers
16-bit timers
Intelligent I/O
A/D 10-bit resolution
D/A 8-bit resolution
Serial (sync/async)
SPI Compatible
I2C
CAN
DMA Channels
DMAC-II
External Interrupts
External Data Bus
Maximum GPIO
Temp/Grade Code (Note 3)
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
Y
86
N, D
R5F64111
384
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
Y
86
N, D
R5F64112
512
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
Y
86
R5F64114
256
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
Y
86
R5F64115
384
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
Y
R5F64116
512
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
19
26
2
9
7
7
-
4
Y
6
R5F64165
384
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
7
-
4
Y
R5F64166
512
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
7
-
4
R5F64167
640
8
48
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
7
-
4
R5F64168
768
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
7
-
R5F64169
1024
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
7
R5F64175
384
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
7
R5F64176
512
8
40
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
9
R5F64177
640
8
48
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
R5F64178
768
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
2
R5F64179
1024
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
34
R5F64187
640
8
48
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
24
R5F64188
768
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
R5F64189
1024
8
63
3.0
5.5
50
Y
Y
Y
Y
4
Y
-
11
R32C/116
R32C/117
R32C/118
* Contact Renesas for product derivatives and availability.
Notes:
1. See Appendices for Part Number format
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendices for details.
Special Features
Floating Point Unit (FPU),
WDTO
FD (PLQP0144KA-A, LQFP)
On-chip Oscillator
256
FB (PLQP0100KB-A, LQFP)
max MHz @ Vcc max
R5F64110
FP (PLQP0080KB-A, LQFP)
Vcc max
R32C/111
FN (PLQP0064KB-A, LQFP)
Group
Catalog
Part Number
(See Note 1)
Vcc min
Package
RAM (Kbytes)
Comm. (Note 2)
Data Flash (Kbytes)
Analog
Flash (Kbytes)
Timers
Y
Y
Y
-
Y
Y
Y
-
N, D
Y
Y
Y
-
N, D
Y
Y
Y
-
86
N, D
Y
Y
Y
-
Y
86
N, D
Y
Y
Y
-
14
Y
122 N, D
-
-
Y
Y
Y
14
Y
122 N, D
-
-
Y
Y
Y
14
Y
122 N, D
-
-
Y
Y
4
Y
14
Y
122 N, D
-
-
Y
Y
-
4
Y
14
Y
122 N, D
-
-
Y
Y
7
1
4
Y
14
Y
122 N, D
7
7
1
4
Y
14
Y
9
7
7
1
4
Y
14
9
7
7
1
4
Y
14
2
9
7
7
1
4
Y
34
2
9
7
7
2
4
24
34
2
9
7
7
2
24
34
2
9
7
7
2
Floating Point Unit (FPU),
WDTO
-
-
Y
Y
-
-
Y
Y
Y
Floating Point Unit (FPU),
WDTO,
122 N, D
CAN 2.0B (16-msg slots)
122 N, D
-
-
Y
Y
Y
122 N, D
-
-
Y
Y
14
Y
122 N, D
-
-
Y
Y
Y
14
Y
122 N, D
-
-
Y
Y
4
Y
14
Y
-
-
Y
Y
4
Y
14
Y
-
-
Y
Y
Floating Point Unit (FPU),
WDTO,
122 N, D
CAN 2.0B (16-msg slots)
122 N, D
M16C Family MCUs for CAN Applications (Cross-Series)
M16C CAN Applications Line-up
100-144
PINS
R32C/117,
/118
R32C/120,
/121
128-512KB Flash
5-31KB RAM
1-2 CAN
384-1024KB Flash*
40-63KB RAM
1-2 CAN Industrial
128-512KB Flash*
12-32KB RAM
1-2 CAN Automotive
M16C/29
64-80
PINS
32-128KB Flash
2-6KB RAM, 1 CAN
*
48
PINS
M16C/6N4,
5, K, L, M, N
*
R8C/22, /23
R8C/34E, /34F
32-128KB Flash
2-6KB RAM
1 CAN
32-128KB Flash
3-10KB RAM
1 CAN
R8C/22, /23, /34E, /34F
(2.7 – 5.5 V)
M16C/29
(2.7 – 5.5 V)
M16C/6x
(3.0 - 5.5V)
R32C/117, /118, /120, /121
(3.0 - 5.5V)
* Contact Renesas for product derivatives and availability.
■ Features
M16C CAN Roadmap
• Support for both CAN protocol
versions 2.0A and 2.0B
• Controllers have 16 or 32
flexibly configurable mailboxes
for efficient data management
• Acceptance filter support unit
(ASU) is a hardware-based
message prescreening mechanism
for increased network rigidity
and decreased CPU overhead
• CAN bus wake-up and
low-power modes
• Forced bus-off restore function
allows quick state recovery
• Manual retransmission
abort function prevents
retransmitting a message
that is lost in arbitration,
thus avoiding bus congestion
• Listen-only mode for node
startup and communication
analysis
• One-shot transmit or receive
for immediate real-time
messaging
• Field programmability
(Flash programming)
via CAN Bus
CAN Application Example: Elevator Control
Control
Room
Elevator Cage
Elevator Cage
(R32C/117)
(R32C/117)
Dual
CAN
Single
CAN
R32C/121
with FPU*
R32C/120
with FPU*
64MHz@3/5V
64MHz@3/5V
R32C/118
with FPU*
R32C/117
with FPU*
50MHz@3/5V
50MHz@3/5V
M32C/87
M32C/87A
32MHz@5V
32MHz@5V
M16C/6NK
M16C/6NM
M16C/6NL
M16C/6NN
24MHz@3/5V
24MHz@3/5V
M16C/6N4
M16C/6N5
24MHz@3/5V
24MHz@3/5V
M16C/29
20MHz@3/5V
(R32C/118)
48LQFP
100LQFP
144LQFP
100LQFP
144LQFP
100LQFP
128LQFP
100LQFP
100LQFP
80LQFP
64LQFP
R8C/22
R8C/23
R8C/34E
R8C/34F
20MHz@3/5V
3rd Floor SW
*FPU: Floating Point Unit
(R32C/117)
2nd Floor SW
(R32C/117)
1st Floor SW
GET STARTED NOW!
CAN Development Kit
(includes free compiler)
(R32C/117)
Part Number: RCDK8C
38
39
GP (PLQP0128KB-A, LQFP)
FD (PLQP0144KA-A, LQFP)
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
R5F21228
64
-
3
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
R5F2122A
96
-
5
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
J, K
Y
-
-
-
-
-
-
R5F2122C
128
-
6
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
J, K
Y
-
-
-
-
-
-
R5F21236
32
2
2
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
R5F21237
48
2
3
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
R5F21238
64
2
3
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
N, D, J, K
Y
-
-
-
-
-
-
R5F2123A
96
2
5
2.7
5.5
20 Y
Y
-
Y
4
Y
-
3
2
-
12
-
2
1
1
1
1
-
-
6
-
44
J, K
Y
-
-
-
-
-
-
R5F2123C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-
-
-
GPIO
-
External Data Bus
-
External Interrupts
1
1
DMAC-II
1
1
DMA Channels
1
1
CAN
1
1
Hardware LIN
2
2
I2C
-
SPI Compatible
12
12
Serial (sync/async)
-
D/A 8-bit resolution
2
2
A/D 10-bit resolution
3
3
Intelligent I/O
-
16-bit timers
Y
Y
8-bit timers
4
4
DTC
Y
Y
On chip Debug
-
Power Down Modes
Y
Y
32 kHz Sub Clock
20 Y
20 Y
Oscillation Stop Detect
5.5
5.5
On-chip Oscillator
2.7
2.7
max MHz @ Vcc max
2
3
Vcc max
-
Vcc min
32
48
RAM (Kbytes)
R5F21226
R5F21227
Data Flash (Kbytes)
FP (PRQP0100JB-A, QFP)
M16C/29
FB/GP (PLQP0100KB-A, LQFP)
R8C/34E *
Package
Comm. (Note 2)
HP (PLQP0080KB-A, LQFP)
R8C/34F *
Analog
HP PLQP0064KB-A, LQFP)
R8C/23
Timers
FP (PLQP0048KB-A, LQFP)
R8C/22
Catalog
Part Number
(See Note 1)
Flash (Kbytes)
Group
Power On Reset / Low Voltage Detect
M16C Family MCUs for CAN Applications: Selector Guide
Temp/
Grade
Code
(Note 3)
Special
Features
1 ch CAN 2.0B
(16-msg slots),
SSU, WDT
1 ch CAN 2.0B
(16-msg slots),
SSU, WDT
1 ch CAN 2.0B
(16-msg slots),
SSU, WDT
1 ch CAN 2.0B
(16-msg slots),
SSU, WDT, BGO
1 ch CAN 2.0B
(16-msg slots),
3-ph PWM, CRC,
1-ch IC/OC
M30290F
96
-
8
2.7
5.5
20 Y
Y
Y
Y
4
Y
-
-
9
-
27
-
5
5
2
-
1
2
-
8
-
71
T, V
M30291F
128
-
12
2.7
5.5
20 Y
Y
Y
Y
4
Y
-
-
9
-
27
-
5
5
2
-
1
2
-
8
-
71
T, V
M306N4FC
128
4
5
3.0
5.5
24 Y
Y
-
Y
4
Y
-
-
11
-
26
2
4
1
3
-
2
2
-
9
Y
88
T, V
-
-
-
Y
Y
-
M306N4FG
256
4
10
3.0
5.5
24 Y
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
2
4
Y 14
-
86
J, K, L
R5F64213
512
8
32
3.0
5.5
64 Y
Y
Y
Y
4
Y
-
-
11
-
26
2
5
3
3
2
2
4
Y 14
-
86
J, K, L
* Contact Renesas for product derivatives and availability.
Notes:
1. See Appendices for Part Number format
2. Some channels are shared. Check data sheet for details.
3. Refer to Appendices for details.
1 or 2 ch
CAN 2.0B
(16-msg slots/
1ch), POR,
3-phase PWM,
CRC
Floating Point
Unit (FPU), WDTO,
CAN 2.0B
(16-msg slots)
40
Appendices
■ Appendix A-1: Nomenclature of R8C, M16C, and R32C Part Numbers (1 of 2)
R5
Product Classification
ROM Type
F: Flash Memory
Product Series
21: R8C/2x, 3x
2L: R8C/Lx
3: M16C/60
64: R32C/100
Product Group
Examples: “25” for R8C/25
“65” for M16C/65
“11” for R32C/111
Number of Pins (optional)
0: 100 pins
1: 128 pins
2: 80 pins
Program Flash Memory Size
Example ‘0’ : 2KB for R8C
Example ‘6’ : 128KB for M16C
Example ‘0’ : 256KB for R32C
Product Version (optional)
S: Low-voltage
A: High Performance
Temperature/Grade Classification
N: -20 to +85°C (consumer)
D: -40 to +85°C (industrial)
J: -40 to +85°C (automotive)
L: -40 to +105°C (automotive)
K: -40 to +125°C (automotive)
ROM Code Assignment (optional)
Package Type
Example: “FP” for LQFP
Production Type:
#U0: Lead-free, Bulk*
#W4: Lead-free, Tape & Reel
* #U1 for R8C/22, R8C/23 J/K Grade; Lead-free; Bulk
F
21 25
x
6
S
D
XXX
F P # XX
Appendices
■ Appendix A-2: Nomenclature of M16C/Tiny and M16C/6x Part Numbers (2 of 2)
M
30
6
20
F
C
A
T
(-XXX) FP
Classification Code
M16C Microcontroller Family Platform
M16C Series:
M32C Series:
2: 2x
6: 6x
8: 8x
8: 8x
9: 9x
M16C Group:
K2 - K7:
N0 - N5:
NK - NN:
00 - 02:
00 - 01:
00 - 05:
10 - 25:
M32C Group:
LPC
CAN
CAN
10
28
80
62
00: 80
10 - 12:
23 - 28:
33 - 35:
40 - 45:
50 - 53:
65:
73-79, 7B:
80-82:
81
82
83
84
85; 95
86
87
88
ROM Type
F: Flash
M: Mask
ROM Size (KB)
6: 48
3: 24
8: 64
4: 32
A: 96
5: 40
S: Romless
C: 128
E: 192
G: 256
H: 384
J: 512
Die rev.
Temperature Range
Blank: General Industrial Use
T/U/V: Automotive grade; extended temp. operation
T: -40 to +85°C
U: -40 to +105°C
V: -40 to +125°C
ROM Code (Mask ROM version)
Package Style
Lead-free
suffix
options
M16C/Tiny
and
M16C/62P
R8C
Program/Erase Specification
Read Specification
Main Flash
Main Flash and
Data Flash
Data Flash
Endurance
Temp.
Range
Endurance
Temp.
Range
Temp. Range
#U3
100
0 to 60°C
100
0 to 60°C
-40 to 85°C
#U5
100
0 to 60°C
100
0 to 60°C
-20 to 85°C
#U7
1000
0 to 60°C
10000
-40 to 85°C
-40 to 85°C
#U9
1000
0 to 60°C
10000
-20 to 85°C
-20 to 85°C
#U0
1000
0 to 60°C
10000
-20 to 85°C
-20 to 85°C
Appendices
■ Appendix B: Abbreviations
5V IO
ADC
BGO
CAN
CISC
CRC
DAC
DMAC
DRAMC
DTC
Dual Vcc IO
EMI
EMS
FLG
FPU
I2C
IC
IC/OC
IEBus™
IrDA
ITO
LIN
LPC
Contains I/O pins that are 5V tolerant
Analog-to-Digital Converter
BackGround Operation
Controller Area Network
Complex Instruction Set Computer
Cyclic Redundancy Check Generator
Digital to Analog Converter
Direct Memory Access Controller
DRAM Controller
Data Transfer Controller
Two Vcc domains for I/O Ports
Electro-Magnetic Interference
Electro-Magnetic Susceptibility
Flag
Floating Point Unit
Inter IC Bus
Input Capture
Input Capture/Output Compare
Inter-Equipment Bus
Infrared Serial Port
Interval Timer Operation
Local Interconnect Network
Low-Pin-Count Interface Bus
LVD
MRAM
OCD
OCO
PC
PC Break
PLL
POR
PWM
RAM
RISC
ROM
RTC
RX
SDRAM
SIM
SPI™
SSU
SVP
SVF
WDTO
Low-Voltage Detect
Magnetic Random Access Memory
On-Chip Debug
On-Chip Oscillator
Program Counter
PC Break Controller
Phase-Lock Loop
Power-On Reset
Pulse Width Modulation
Random Access Memory
Reduced Instruction Set Computer
Read Only Memory
Real-Time Clock
Renesas Extreme
SDRAM Bus Controller
Subscriber Identity Module
Serial Peripheral Interface
Synchronous Serial Unit (SPI compatible)
Save PC Register
Save Flag Register
Enhanced Watchdog Timer
I2C is a trademark of Philips. SPI is a trademark of Freescale.
IEBus is a trademark of NEC Electronics Corporation.
■ Appendix C: Package Specifications
Renesas
Package
Code
Previous
Code
Nominal Body
Pin
Count
Lead
Dimensions
(mm)
Mounting
Pitch
(mm)
Height
(mm)
LSSOP (Low-profile Small Outline Package)
PLSP0020JB-A
20P2F-A
20
4.4 x 6.5
0.65
1.45
SDIP (Shrink Dual Inline Package)
PRDP0020BA-A
20P4B
20
6.3 x 19
1.78
4.50
SSOP (Shrink Small Outline Package)
PRSP0042GA-B
42P2R-E
42
17.5 x 8.4
0.8
2.40
QFP (Quad Flat Package)
PRQP0080JA-A
80P6S-A
80
14 x 14
0.65
3.05
Type
LQFP (Low-Profile Quad Flat Package)
PRQP0100JD-B
100P6F-A
100
14 x 20
0.65
3.05
PRQP0100JB-A
100P6S-A
100
14 x 20
0.65
3.05
PLQP0032GB-A
32P6U-A
32
7x7
0.8
1.70
PLQP0048KB-A
48P6Q-A
48
7x7
0.5
1.70
PLQP0052JA-A
52P6A-A
52
10 x 10
0.65
1.70
PLQP0064GA-A
64P6U-A
64
14 x 14
0.8
1.70
PLQP0064KB-A
64P6Q-A
64
10 x 10
0.5
1.70
PLQP0080KB-A
80P6Q-A
80
12 x 12
0.5
1.70
PLQP0100KB-A
100P6Q-A
100
14 x 14
0.5
1.70
PLQP0128KB-A
128P6Q-A
128
14 x 20
0.5
1.70
PLQP0144KA-A
144P6Q-A
144
20 x 20
0.5
1.70
TQFP (Thin Quad Flat Package)
PTQP0080KC-A
TFP-80C
80
12 x 12
0.5
1.20
TFLGA (Thin Fine-pitch Land Grid Array)
PTLG0064JA-A
64F0G
64
6x6
0.65
1.05
PTLG0085JB-A
85F0G
85
7x7
0.65
1.05
PWQN0028KA-B
28PJW-B
28
5x5
0.5
0.80
PWQN0024KB-A
N/A
24
4x4
0.5
0.80
QFN (Quad Flat Non-lead Package)
Order M16C Family Products Online Quickly and Hassle-free
Users can order M16C
microcontroller devices
and development tools
online with just a few
clicks on Renesas’ website.
Here’s how:
1
From the Renesas
website, in the
Part Number search, enter the
Series name (example: R8C/25)
2
3
Locate the required
part number and click on
Buy Now button
Purchasing information includes
pricing and availability for
MCU and related tools
Renesas Interactive — Your Online Environment for
Semiconductor Device Research, Evaluation and Application
Renesas Interactive is a valuable FREE online evaluation
service that lets you work at your own pace, whenever it is
most convenient to do so.
• Take an online interactive training course and learn
about the details of Renesas MCU product architectures
and peripheral functions, as well as hardware and
software development tools.
• Access actual hardware, software and tools
in the Virtual Lab Development Environment
and take weeks off your MCU assessment,
evaluation and setup process.
• Watch live or archived
webcasts and find out
about new Renesas
technology, products
and services.
w w w. re n e s a s i n t e r a c t i v e . c o m
© 2008 Renesas Technology America, Inc. Renesas Technology America, Inc. is a wholly owned subsidiary of Renesas Technology Corp. H8 and SuperH are registered trademarks of
Renesas Technology Corp. M16C, M16C Platform and R8C are trademarks of Renesas Technology Corp. All other trademarks are the property of their respective holders. The information supplied by
Renesas Technology America, Inc. is believed to be accurate and reliable, but in no event shall Renesas Technology America, Inc. be liable for any damages whatsoever arising out of the use or inability
to use the information or any errors that may appear in this publication. The information is provided as is without any warranties of any kind, either express or implied. Renesas Technology America,
Inc. reserves the right, without notice, to make changes to the information or to the design and specifications of its hardware and/or software products. Products subject to availability. Printed in U.S.A.
Printed on Recycled Paper
0908/10K/JP/PF/SP
Order Number: REU01B0032-0101
Download PDF