Datasheet
M16C/5M Group, M16C/57 Group
RENESAS MCU
REJ03B0267-0101
Rev.1.01
Jul 23, 2010
1.
1.1
Overview
Features
The M16C/5M and M16C/57 Group’s microcomputers (MCUs) are single-chip control units that utilize
high-performance silicon gate CMOS technology with the M16C/60 Series CPU core. The M16C/5M
Group and M16C/57 Group are available in 64-pin, 80-pin, and 100-pin plastic molded LQFP packages.
The MCUs employ sophisticated instructions for a high level of efficiency and they are capable of
executing instructions at high speed.
The MCUs have the CAN module (M16C/5M Group) and LIN module, which makes them suitable for
automotive control and factory automation LAN systems. In addition, the CPU core boasts a multiplier and
DMAC for high-speed operation processing which makes it adequate for controlling office equipment,
home appliances, and industrial equipment.
The M16C/5M and M16C/57 Group’s MCUs are a high-end microcontroller series in the M16C/5L and
M16C/56 Group, featuring a single architecture as well as compatible pin assignments and peripheral
functions. They have an on-chip E
2
PROM emulation data flash (E
2
dataFlash) which is a data flash with
serial E
2
PROM.
1.1.1
Applications
Automotive, car audio, factory automation LAN system, etc.
REJ03B0267-0101
Jul 23, 2010
Rev.1.01
Page 1 of 156
M16C/5M Group, M16C/57 Group
1. Overview
1.2
Specifications
Table 1.1 to Table 1.6 list specifications of the M16C/5M Group, M16C/57 Group.
Table 1.1
Item
Specifications (100-pin Package) (1/2)
Specification
M16C/60 Series CPU Core (Multiplier: 16 × 16
unit: 16 × 16 + 32 32 bits))
Central processing unit
•
Basic instructions: 91
•
Minimum instruction execution time:
•
Operating mode: Single-chip mode
ROM, RAM, data flash,
See Table 1.7 to Table 1.10.
E
2
dataFlash
Voltage detector
Function
32 bits, Multiply-accumulate
CPU
Memory
Voltage
Detection
•
2 voltage detect points
•
5 circuits (Main clock, sub clock, PLL frequency synthesizer, 125 kHz on-
chip oscillator, 40 MHz on-chip oscillator)
•
Oscillation stop detector: Main clock oscillator stop/restart detection
•
Frequency divide circuit: Divide-by-1, 2, 4, 8, or 16 selectable
•
Low-power consumption modes: Wait mode, stop mode
•
Real-time clock
Clock
Clock generator
I/O Ports
Programmable I/O
ports
Interrupts
Watchdog Timer
DMA
DMAC
•
70 CMOS inputs/outputs, a pull-up resistor selectable
•
N-channel open drain ports: 1
•
Interrupt vectors: 70
•
External interrupt inputs: 13 (NMI,
INT
× 8, key input × 4)
•
Interrupt priority levels: 7
•
15 bits × 1 (with prescaler)
•
Automatic reset start function selectable
•
Dedicated 125 kHz on-chip oscillator for the watchdog timer contained
•
4 channels, Cycle-steal transfer mode
•
Trigger sources: 50
•
Transfer modes: 2 (single transfer, repeat transfer)
Timers
16-bit timer × 5
Timer mode, event counter mode, one-shot timer mode, pulse-width
modulation (PWM) mode
Timer A
Two-phase pulse signal processing in event counter mode (two-phase
encoder input) × 3
Programmable output mode × 3
16-bit timer × 6
Timer mode, event counter mode, pulse frequency measurement mode,
Timer B
pulse-width measurement mode
Timer function for three- Three-phase motor control timer × 1 (timers A1, A2, A4, and B2 used)
phase motor control
On-chip dead time timer
Timer S (Input capture/
output compare)
Task monitoring timer
Real-time clock
•
16-bit timer × 1 (base timer)
•
I/O: 8 channels
16-bit timer × 1 channel
Count: seconds, minutes, hours, weeks
4 channels (UART, clock synchronous serial interface)
1 channels (UART, clock synchronous serial interface, I
2
C-bus, IEBus)
1 channel
10-bit resolution × 26 channels
8-bit resolution × 1 channel
Serial
Interface
UART0 to UART4
Multi-master I
2
C-bus Interface
A/D Converter
D/A Converter
REJ03B0267-0101
Jul 23, 2010
Rev.1.01
Page 2 of 156
M16C/5M Group, M16C/57 Group
1. Overview
Table 1.2
Item
Specifications (100-pin Package) (2/2)
Function
Specification
CRC Calculator
•
1 circuit
•
CRC-CCITT (X
16
+ X
12
+ X
5
+ 1), CRC-16 (X
16
+ X
15
+ X
2
+ 1) compliant
•
MSB/LSB selectable
1 channel
•
Clock synchronous serial communication mode
•
4-wire bus communication mode
•
Programmable character length: 8 to 16 bits
1 channel
32-slot message buffer × 2 channels or 1 channel (M16C/5M Group)
(1)
Serial Bus Interface
LIN Module
CAN Module
Flash Memory
E
2
dataFlash
Debug Functions
Operating Frequency/Power Supply
Voltage
Current Consumption
Operating Temperature
Package
•
Programming and erasure supply voltage: 3.0 to 5.5 V
•
Programming and erasure endurance: 1,000 times (program ROM 1,
program ROM 2)/10,000 times (data flash)
•
Program security: ROM code protect, ID code check
Programming and erasure endurance: 100,000
(1)
On-board flash rewrite function, address match × 4
32 MHz / 3.0 to 5.5 V
Described in 31. “Electrical Characteristics”
-40°C to 85°C
-40°C to 125°C
(1)
100-pin plastic mold LQFP: PLQP0100KB-A (Previous package code:
100P6Q-A)
Note:
1. Refer to Table 1.7 “M16C/5M Group Product List (J-Version)” to Table 1.10 “M16C/57 Group Product
List (K-Version) for Operating Temperature, CAN Module, and E
2
dataFlash.
REJ03B0267-0101
Jul 23, 2010
Rev.1.01
Page 3 of 156
M16C/5M Group, M16C/57 Group
1. Overview
Table 1.3
Item
Specifications (80-pin Package) (1/2)
Specification
M16C/60 Series CPU Core (Multiplier: 16 × 16
unit: 16 × 16 + 32 32 bits))
Central processing unit
•
Basic instructions: 91
•
Minimum instruction execution time:
•
Operating mode: Single-chip mode
ROM, RAM, data flash,
See Table 1.7 to Table 1.10.
E
2
dataFlash
Voltage detector
Function
32 bits, Multiply-accumulate
CPU
Memory
Voltage
Detection
•
2 voltage detect points
•
5 circuits (Main clock, sub clock, PLL frequency synthesizer, 125 kHz on-
chip oscillator, 40 MHz on-chip oscillator)
Clock
Clock generator
I/O Ports
Programmable I/O
ports
Interrupts
Watchdog Timer
DMA
DMAC
•
Oscillation stop detector: Main clock oscillator stop/restart detection
•
Frequency divide circuit: Divide-by-1, 2, 4, 8, or 16 selectable
•
Low-power consumption modes: Wait mode, stop mode
•
Real-time clock
•
70 CMOS inputs/outputs, a pull-up resistor selectable
•
N-channel open drain ports: 1
•
Interrupt vectors: 70
•
External interrupt inputs: 11 (NMI,
INT
× 6, key input × 4)
•
Interrupt priority levels: 7
•
15 bits × 1 (with prescaler)
•
Automatic reset start function selectable
•
Dedicated 125 kHz on-chip oscillator for the watchdog timer contained
•
4 channels, Cycle-steal transfer mode
•
Trigger sources: 43
•
Transfer modes: 2 (single transfer, repeat transfer)
Timers
16-bit timer × 5
Timer mode, event counter mode, one-shot timer mode, pulse-width
modulation (PWM) mode
Timer A
Two-phase pulse signal processing in event counter mode (two-phase
encoder input) × 3
Programmable output mode × 3
16-bit timer × 3
Timer mode, event counter mode, pulse frequency measurement mode,
Timer B
pulse-width measurement mode
Timer function for three- Three-phase motor control timer × 1 (timers A1, A2, A4, and B2 used)
phase motor control
On-chip dead time timer
Timer S (Input capture/
output compare)
Task monitoring timer
Real-time clock
•
16-bit timer × 1 (base timer)
•
I/O: 8 channels
16-bit timer × 1 channel
Count: seconds, minutes, hours, weeks
4 channels (UART, clock synchronous serial interface)
1 channels (UART, clock synchronous serial interface, I
2
C-bus, IEBus)
1 channel
10-bit resolution × 27 channels
8-bit resolution × 1 channel
Serial
Interface
UART0 to UART4
Multi-master I
2
C-bus Interface
A/D Converter
D/A Converter
REJ03B0267-0101
Jul 23, 2010
Rev.1.01
Page 4 of 156
M16C/5M Group, M16C/57 Group
1. Overview
Table 1.4
Item
Specifications (80-pin Package) (2/2)
Function
Specification
CRC Calculator
•
1 circuit
•
CRC-CCITT (X
16
+ X
12
+ X
5
+ 1), CRC-16 (X
16
+ X
15
+ X
2
+ 1) compliant
•
MSB/LSB selectable
1 channel
•
Clock synchronous serial communication mode
•
4-wire bus communication mode
•
Programmable character length: 8 to 16 bits
1 channel
32-slot message buffer × 2 channels or 1 channel (M16C/5M Group)
(1)
Serial Bus Interface
LIN Module
CAN Module
Flash Memory
E
2
dataFlash
Debug Functions
Operating Frequency/Power Supply
Voltage
Current Consumption
Operating Temperature
Package
•
Programming and erasure supply voltage: 3.0 to 5.5 V
•
Programming and erasure endurance: 1,000 times (program ROM 1,
program ROM 2)/10,000 times (data flash)
•
Program security: ROM code protect, ID code check
Programming and erasure endurance: 100,000
(1)
On-board flash rewrite function, address match × 4
32 MHz / 3.0 to 5.5 V
Described in 31. “Electrical Characteristics”
-40°C to 85°C
-40°C to 125°C
(1)
80-pin plastic mold LQFP: PLQP0080KB-A (Previous package code: 80P6Q-A)
Note:
1. Refer to Table 1.7 “M16C/5M Group Product List (J-Version)” to Table 1.10 “M16C/57 Group Product
List (K-Version) for Operating Temperature, CAN Module, and E
2
dataFlash.
REJ03B0267-0101
Jul 23, 2010
Rev.1.01
Page 5 of 156