To our customers,
Old Company Name in Catalogs and Other Documents
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas
Electronics Corporation
took over all the business of both
companies.
Therefore, although the old company name remains in this document, it is a valid
Renesas
Electronics document. We appreciate your understanding.
Renesas Electronics website:
http://www.renesas.com
April 1
st
, 2010
Renesas Electronics Corporation
Issued by:
Renesas Electronics Corporation
(http://www.renesas.com)
Send any inquiries to
http://www.renesas.com/inquiry.
Notice
1.
All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Renesas Electronics data sheets or data books, etc.
Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”:
Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
“Standard”:
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
M32C/87 Group (M32C/87, M32C/87A, M32C/87B)
RENESAS MCU
REJ03B0127-0151
Rev.1.51
Jul 31, 2008
1.
1.1
Overview
Features
The M32C/87 Group (M32C/87, M32C/87A, M32C/87B) is a single-chip control MCU, fabricated using high-
performance silicon gate CMOS technology, embedding the M32C/80 Series CPU core. The M32C/87 Group (M32C/
87, M32C/87A, M32C/87B) is housed in 144-pin and 100-pin plastic molded LQFP/QFP packages.
With a 16-Mbyte address space, this MCU combines advanced instruction manipulation capabilities to process
complex instructions by less bytes and execute instructions at higher speed.
The M32C/87 Group (M32C/87, M32C/87A, M32C/87B) has a multiplier and DMAC adequate for office automation,
communication devices and industrial equipment, and other high-speed processing applications.
1.1.1
Applications
Audio components, cameras, office equipment, communication devices, mobile devices, etc.
REJ03B0127-0151 Rev.1.51 Jul 31, 2008
Page 1 of 85
M32C/87 Group (M32C/87, M32C/87A, M32C/87B)
1. Overview
1.1.2
Table 1.1
Item
CPU
Specifications
Specifications (144-Pin Package) (1/2)
Function
Central processing
unit
Specification
M32C/80 core (multiplier: 16 bits × 16 bits
→
32 bits
multiply-addition operation instructions: 16 × 16 + 48
→
48 bits)
• Basic instructions: 108
• Minimum instruction execution time:
31.3 ns (f(CPU) = 32 MHz, VCC1 = 4.2 to 5.5 V)
41.7 ns (f(CPU) = 24 MHz, VCC1 = 3.0 to 5.5 V)
• Operating modes: Single-chip mode, memory expansion mode,
and microprocessor mode
See
Tables 1.5 to 1.7 Product List.
Vdet3 detection function, Vdet4 detection function,
cold start/warm start determination function
• Address space: 16 Mbytes
• External bus interface: 1 to 7 wait states can be inserted,
4 chip select outputs, 3 V and 5 V interfaces
• Bus format: Switchable between separate bus and multiplexed
bus formats, switchable data bus width (8-bit or 16-bit)
• 4 circuits:
Main clock, sub clock, on-chip oscillator,
PLL frequency synthesizer
• Oscillation stop detection:
Main clock oscillation stop detection function
• Frequency divider circuit:
Dividing ratio selectable among 1, 2, 3, 4, 6, 8, 10, 12, 14, 16
• Low power consumption features: Wait mode, stop mode
• Interrupt vectors: 70
• External interrupt inputs: 14 (NMI, INT × 9, key input × 4)
• Interrupt priority levels: 7
15-bit × 1 channel (with prescaler)
• 4 channels, cycle steal method
• Trigger sources: 43
• Transfer modes: 2 (single transfer and repeat transfer)
• Can be activated by all peripheral function interrupt sources
• Transfer modes: 2 (single transfer and burst transfer)
• Immediate transfer, calculation transfer, and chain transfer
functions
16-bit timer × 5
Timer mode, event counter mode, one-shot timer mode,
pulse width modulation (PWM) mode,
Event counter 2-phase pulse signal processing (2-phase
encoder input) × 3
16-bit timer × 6
Timer mode, event counter mode, pulse period measurement
mode, pulse width measurement mode
3-phase inverter control × 1 (using timer A1, timer A2, timer A4,
and timer B2)
On-chip dead time timer
Tables 1.1 to 1.4 list the specifications of the M32C/87 Group (M32C/87, M32C/87A, M32C/87B).
ROM, RAM, data
flash
Power Supply Voltage Detection
External Bus
Expansion
Bus/memory
expansion function
Memory
Clock
Clock generation
circuits
Interrupts
Watchdog Timer
DMA
DMAC
DMACII
Timer
Timer A
Timer B
Timer function for
3-phase motor
control
REJ03B0127-0151 Rev.1.51 Jul 31, 2008
Page 2 of 85
M32C/87 Group (M32C/87, M32C/87A, M32C/87B)
Table 1.2
Specifications (144-Pin Package) (2/2)
1. Overview
Item
Function
Serial Interface UART0 to UART4
UART5, UART6
A/D Converter
CRC-CCITT (X
16
+ X
12
+ X
5
+ 1) compliant
X/Y Converter
16 bits x 16 bits
Intelligent I/O
16-bit timer × 2
• Time measurement function (input capture): 8 channels
• Waveform generation function (output compare): 16 channels
• Communication function: Clock synchronous mode, clock
asynchronous mode, HDLC data processing mode,
IEBus (optional)
(1)(3)
• 2-phase pulse signal processing (2-phase encoder input) × 1
ROM Correction Function
Address match interrupt × 8
CAN modules
Supporting CAN 2.0B specification
M32C/87: 16 slots × 2 channels, M32C/87A: 16 slots × 1 channel
M32C/87B: none
I/O Ports
Programmable I/O
• Input only: 1
ports
• CMOS I/O: 121 with selectable pull-up resistor
• N channel open drain ports: 2
Flash Memory
• Erase and program voltage:
3.3 V ± 0.3 V or 5.0 V ± 0.5 V
• Erase and program endurance: 100 times (all areas)
• Program security: ROM code protect and ID code check
• Debug functions: On-chip debug and on-board flash reprogram
Operating Frequency/Supply Voltage 32 MHz: VCC1 = 4.2 to 5.5 V, VCC2 = 3.0 V to VCC1
24 MHz: VCC1 = 3.0 to 5.5 V, VCC2 = 3.0 V to VCC1
Current Consumption
32 mA (32 MHz, VCC1 = VCC2 = 5 V)
23 mA (24 MHz, VCC1 = VCC2 = 3.3 V)
45
μA
(approx. 1 MHz, VCC1 = VCC2 = 3.3 V,
on-chip oscillator low-power consumption mode
→
wait mode)
0.8
μA
(VCC1 = VCC2 = 3.3 V, stop mode)
Operating Ambient Temperature (°C) -20 to 85°C, -40 to 85°C (optional)
(3)
Package
144-pin LQFP (PLQP0144KA-A)
NOTES:
1. IEBus is a registered trademark of NEC Electronics Corporation.
2. Available in UART0.
3. Please contact a Renesas sales office for optional features.
D/A Converter
CRC Calculation Circuit
Specification
Clock synchronous/asynchronous × 5
I
2
C bus, special mode 2, GCI mode, SIM mode,
IrDA mode
(2)
, IEBus (optional)
(1)(3)
Clock synchronous/asynchronous × 2
10-bit resolution × 34 channels (in single-chip mode)
10-bit resolution × 18 channels (in memory expansion mode
and microprocessor mode)
Including sample and hold function
8-bit resolution × 2 channels
REJ03B0127-0151 Rev.1.51 Jul 31, 2008
Page 3 of 85