RENESAS R5F35630DFF

Datasheet
M16C/5LD Group, M16C/56D Group
RENESAS MCU
1.
R01DS0132EJ0120
Rev.1.20
Nov 25, 2011
Overview
1.1
Features
The M16C/5LD and M16C/56D 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/5LD and
M16C/56D Groups are available in 64-pin and 80-pin plastic molded LQFP packages. These MCUs
employ sophisticated instructions for a high level of efficiency and they are capable of executing
instructions at high speed. In addition, the CPU core boasts a multiplier and DMAC for high-speed
operation processing which make it adequate for controlling office equipment, home appliances, and
industrial equipment.
The M16C/5LD Group has one CAN module, which makes it suitable for factory automation LAN system.
1.1.1
Applications
Factory automation LAN system, audio components, cameras, televisions, household appliances,
office equipment, communication devices, mobile devices, industrial equipment, and other applications.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 1 of 84
M16C/5LD Group, M16C/56D Group
1.2
1. Overview
Specifications
Table 1.1 to Table 1.4 list specifications of the M16C/5LD Group, M16C/56D Group.
Table 1.1
Item
CPU
Memory
Voltage
Detection
Specifications (80-pin Version) (1/2)
Function
Specification
M16C/60 Series CPU Core (Multiplier: 16 × 16 32 bits, Multiply-accumulate
unit: 16 × 16 + 32 32 bits)
• Basic instructions: 91
Central processing unit • Minimum instruction execution time:
31.25 ns (f(BCLK) = 32 MHz, VCC = 3.0 to 5.5 V)
40ns (f(BCLK) = 25MHz, VCC = 2.7 to 5.5V)
• Operating mode: Single-chip mode
ROM, RAM, data flash
Voltage detector
See Table 1.5. and Table 1.6.
• 2 voltage detect points
• 4 circuits (Main clock, sub clock, PLL frequency synthesizer, 125 kHz onchip oscillator)
Clock
Clock generator
I/O Ports
Programmable I/O
ports
Interrupts
Watchdog Timer
DMA
Timers
DMAC
• 71 CMOS inputs/outputs, a pull-up resistor selectable
• 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: 42
• Transfer modes: 2 (single transfer, repeat transfer)
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 B
Timer mode, event counter mode, pulse frequency measurement mode,
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
Serial
Interface
• 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
UART0 to UART4
A/D Converter
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
• 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, I2C-bus, IEBus)
10-bit resolution × 27 channels (A/D circuit)
10-bit resolution × 4 channels (A/D1 circuit)
Page 2 of 84
M16C/5LD Group, M16C/56D Group
Table 1.2
1. Overview
Specifications (80-pin Version) (2/2)
Item
Function
CRC Calculator
Multi-master I2C-bus Interface
CAN Module
Specification
• 1 circuit
• CRC-CCITT (X16 + X12 + X5 + 1), CRC-16 (X16 + X15 + X2 + 1) compliant
• MSB/LSB selectable
Debug Functions
Operating Frequency/Power Supply
Voltage
Current Consumption
1 channel
32-slot message buffer × 1 channel (M16C/5LD Group only)
• Programming and erasure supply voltage: 2.7 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
On-board flash rewrite function, address match × 4
32 MHz / 3.0 to 5.5 V
25 MHz / 2.7 to 5.5 V
Described in 5. “Electrical Characteristics”
Operating Temperature
Package
-40°C to 85°C (1)
80-pin plastic mold LQFP: PLQP0080KB-A (Previous package code: 80P6Q-A)
Flash Memory
Note:
1. Refer to Table 1.5 “Product List of M16C/5LD Group” and Table 1.6 “Product List of M16C/56D
Group” for the Operating Temperature.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 3 of 84
M16C/5LD Group, M16C/56D Group
Table 1.3
1. Overview
Specifications (64-pin Version) (1/2)
Item
Function
Specification
M16C/60 Series CPU Core (Multiplier: 16 × 16 32 bits, Multiply-accumulate
unit: 16 × 16 + 32 32 bits)
• Basic instructions: 91
• Minimum instruction execution time:
31.25 ns (f(BCLK) = 32 MHz, VCC = 3.0 to 5.5 V)
40ns (f(BCLK) = 25MHz, VCC = 2.7 to 5.5V)
• Operating mode: Single-chip mode
CPU
Central processing
unit
Memory
ROM, RAM, data
flash
See Table 1.5. and Table 1.6.
Voltage
Detection
Voltage detector
2 voltage detect points
• 4 circuits (Main clock, sub clock, PLL frequency synthesizer, 125 kHz on-chip
oscillator)
Clock
Clock generator
I/O Ports
Programmable I/O
ports
Interrupts
Watchdog Timer
DMA
DMAC
Timer A
Timer B
Timers
Serial Interface
Timer function for
three-phase motor
control
Timer S (Input
capture/output
compare)
Task monitoring
timer
Real-time clock
UART0 to UART3
A/D Converter
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
• 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
• 55 CMOS inputs/outputs, a pull-up resistor selectable
• 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: 40
• Transfer modes: 2 (single transfer, repeat transfer)
16-bit timer × 5
Timer mode, event counter mode, one-shot timer mode, pulse-width
modulation (PWM) mode
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,
pulse-width measurement mode
Three-phase motor control timer × 1 (timers A1, A2, A4, and B2 used)
On-chip dead time timer
• 16-bit timer × 1 (base timer)
• I/O: 8 channels
16-bit timer × 1 channel
Count: seconds, minutes, hours, weeks
3 channels (UART, clock synchronous serial interface)
1 channels (UART, clock synchronous serial interface, I2C-bus, IEBus)
10-bit resolution × 16 channels (A/D circuit)
10-bit resolution × 4 channels (A/D1 circuit)
Page 4 of 84
M16C/5LD Group, M16C/56D Group
Table 1.4
1. Overview
Specifications (64-pin Version) (2/2)
Item
Function
CRC Calculator
Multi-master I2C-bus Interface
CAN Module
Flash Memory
Specification
• 1 circuit
• CRC-CCITT (X16 + X12 + X5 + 1), CRC-16 (X16 + X15 + X2 + 1) compliant
• MSB/LSB selectable
1 channel
32-slot message buffer × 1 channel (M16C/5LD Group only)
• Programming and erasure supply voltage: 2.7 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
Debug Functions
Operating Frequency/Power Supply
Voltage
Current Consumption
Operating Temperature
Package
On-board flash rewrite function, address match × 4
32 MHz / 3.0 to 5.5 V
25 MHz / 2.7 to 5.5 V
Described in 5. “Electrical Characteristics”
-40°C to 85°C (1)
64-pin plastic mold LQFP: PLQP0064KB-A (Previous package code: 64P6Q-A)
Note:
1. Refer to Table 1.5 “Product List of M16C/5LD Group” and Table 1.6 “Product List of M16C/56D
Group” for the Operating Temperature.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 5 of 84
M16C/5LD Group, M16C/56D Group
1.3
1. Overview
Product List
Table 1.5 shows product information on the M16C/5LD Group, M16C/56D Group. Figure 1.1 shows part
numbers, memory sizes, and packages. Figure 1.2 shows marking drawing (top view).
Table 1.5
Product List of M16C/5LD Group
ROM Capacity
Part Number
R5F35L30DFF
R5F35L23DFE
R5F35L33DFF
R5F35L26DFE
R5F35L2EDFE
Program
ROM 2
Data flash
64 KB
16 KB
4 KB
x 2 blocks
4 KB
96 KB
16 KB
4 KB
x 2 blocks
8 KB
256 KB
R5F35L3EDFF
RAM
Capacity
Program
ROM 1
128 KB
R5F35L36DFF
As of November 2011
16 KB
4 KB
x 2 blocks
16 KB
4 KB
x 2 blocks
CAN
Package Name
Remarks
PLQP0064KB-A
PLQP0080KB-A
PLQP0064KB-A
1 channel
12 KB
PLQP0080KB-A
PLQP0064KB-A
PLQP0080KB-A
20 KB
PLQP0064KB-A
(D): Under development
(P): Under planning
The old package names are as follows:
PLQP0080KB-A: 80P6Q-A
PLQP0064KB-A: 64P6Q-A
Table 1.6
Product List of M16C/56D Group
ROM Capacity
Part Number
R5F35630DFF
R5F35623DFE
R5F35633DFF
R5F35626DFE
R5F35636DFF
R5F3562EDFE
R5F3563EDFF
As of November 2011
RAM
Capacity
Program
ROM 1
Program
ROM 2
Data flash
64 KB
16 KB
4 KB
x 2 blocks
4 KB
96 KB
16 KB
4 KB
x 2 blocks
8 KB
16 KB
4 KB
x 2 blocks
128 KB
256 KB
16 KB
4 KB
x 2 blocks
CAN
20 KB
Remarks
PLQP0064KB-A
PLQP0080KB-A
PLQP0064KB-A
N/A
12 KB
Package Name
PLQP0080KB-A
PLQP0064KB-A
PLQP0080KB-A
PLQP0064KB-A
(D): Under development
(P): Under planning
The old package names are as follows:
PLQP0080KB-A: 80P6Q-A
PLQP0064KB-A: 64P6Q-A
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 6 of 84
M16C/5LD Group, M16C/56D Group
MCU Part No.
1. Overview
R 5 F 3 5L 2 0 D FE
Package type
FE: PLQP0080KB-A (80P6Q-A)
FF: PLQP0064KB-A (64P6Q-A)
Property code
D: Operating temperature -40°C to 85°C
Memory capacity
Program ROM 1/RAM
0: 64 KB/4 KB
3: 96 KB/8 KB
6: 128 KB/12 KB
E: 256 KB/20 KB
Pin
2: 80-pin
3: 64-pin
Group Name
5L: M16C/5LD Group
56: M16C/56D Group
16-bit MCU
Memory type
F: Flash memory
Renesas MCU
Renesas semiconductor
Figure 1.1
Correspondence of Part Number, Memory Size, and Package
M16C
R5F35L20DFE
XXXXXXX
Figure 1.2
Part number
(See Figure 1.1 “Correspondence of Part Number, Memory Size, and Package”.)
Seven digit date code
Marking Diagram of Flash Memory Version (Top View)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 7 of 84
M16C/5LD Group, M16C/56D Group
1.4
1. Overview
Block Diagram
Figure 1.3 shows a block diagram of M16C/5LD Group, M16C/56D Group 80-pin package. Figure 1.4
shows a block diagram of the M16C/5LD Group, M16C/56D Group 64-pin package.
I/O ports
8
8
8
8
Port P0
Port P1
Port P2
Port P3
Peripherals
125 kHz on-chip oscillator
PLL frequency synthesizer
Timer S
Multi-master I 2C-bus
(1 channel)
CRC calculator
(CCITT, CRC-16)
CAN module
Voltage detector
Power-on reset
On-chip debugger
7
Port P9
Task monitoring timer
(1 channel)
(32-slot message buffer,
1 channel)
(M16C/5LD Group only)
8
(Input capture/output compare)
Time measurement: 8 channels
Waveform generating: 8 channels
8
DMAC
(4 channels)
8
Three-phase motor control
circuit
XIN-XOUT
XCIN-XCOUT
Port P8
Clock generator
Port P7
UART/clock synchronous
serial interface
(5 channels)
Port P6
Timer (16 bits)
Output (timer A): 5
Input (timer B): 3
Real-time clock
R0H
R1H
R0L
R1L
R2
R3
R3
SB
USP
ISP
Memory
ROM (1)
8
Watchdog timer
(15 bits, the dedicated 125 kHz on-chip
oscillator for the watchdog timer)
M16C/60 Series CPU core
Port P10
A/D converter
(10 bits x 27 channels) (A/D circuit)
(10 bits x 4 channels) (A/D1 circuit)
RAM (2)
INTB
A0
A1
FB
FB
PC
FLG
Multiplier
Notes:
1. ROM size depends on MCU type.
2. RAM size depends on MCU type
Figure 1.3
80-Pin Block Diagram
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 8 of 84
M16C/5LD Group, M16C/56D Group
1. Overview
I/O ports
4
3
8
4
Port P0
Port P1
Port P2
Port P3
Peripherals
Timer S
Multi-master I 2C-bus
(1 channel)
CRC calculator
(CCITT, CRC-16)
CAN module
Voltage detector
Power-on reset
(Input capture/output compare)
Time measurement: 8 channels
Waveform generating: 8 channels
On-chip debugger
R0H
R1H
R0L
R1L
R2
R3
R3
SB
USP
ISP
Memory
ROM (1)
8
Watchdog timer (15 bits,
the dedicated 125 kHz on-chip
oscillator for the watchdog timer)
M16C/60 Series CPU core
Port P10
A/D converter
(10 bits x 16 channels) (A/D circuit)
(10 bits x 4 channels) (A/D1 circuit)
4
Real-time clock
Port P9
Task monitoring timer
(1 channel)
(32-slot message buffer,
1 channel)
(M16C/5LD Group only)
8
125 kHz on-chip oscillator
PLL frequency synthesizer
8
DMAC
(4 channels)
8
Three-phase motor control
circuit
XIN-XOUT
XCIN-XCOUT
Port P8
Clock generator
Port P7
UART/clock synchronous
serial interface
(4 channels)
Port P6
Timer (16 bits)
Output (timer A): 5
Input (timer B): 3
RAM (2)
INTB
A0
A1
FB
FB
PC
FLG
Multiplier
Notes:
1. ROM size depends on MCU type.
2. RAM size depends on MCU type.
Figure 1.4
64-Pin Block Diagram
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 9 of 84
M16C/5LD Group, M16C/56D Group
1.5
1. Overview
Pin Assignments
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
61
40
62
39
63
38
64
37
M16C/5LD Group
M16C/56D Group
65
66
67
36
35
34
68
33
69
32
PLQP0080KB-A
(80P6Q-A)
(Top view)
70
71
72
73
74
31
30
29
28
27
20
19
18
17
16
15
14
13
12
11
9
10
P6_3 / TXD0
P3_0 / CLK3
P3_1 / RXD3
P3_2 / TXD3
P3_3 / CTS3 / RTS3
P3_4
P3_5
P3_6
P3_7
P6_4 / CTS1 / RTS1
P6_5 / CLK1
P6_6 / RXD1
P6_7 / TXD1
P7_0 / TXD2 / SDA2 / TA0OUT / CTS1 / RTS1
P7_1 / RXD2 / SCL2 / TA0IN / CLK1
P7_2 / CLK2 / TA1OUT / V / RXD1
P7_3 / CTS2 / RTS2 / TA1IN / V / TXD1
P7_4 / TA2OUT / W
P7_5 / TA2IN / W
P7_6 / TA3OUT
P9_5 / AN2_5/ CLK4
P9_3 / AN2_4 /CTX0 (1)
P9_2 / AN3_2 / TB2IN / CRX0 (1)
P9_1 / AN3_1 / TB1IN
P9_0 / AN3_0 / TB0IN / CLKOUT
CNVSS
P8_7 / XCIN
P8_6 / XCOUT
RESET
XOUT
VSS
XIN
VCC
P8_5 / NMI / SD
P8_4 / INT2 / ZP
P8_3 / INT1
P8_2 / INT0
P8_1 / TA4IN / U/ TSUDB
P8_0 / TA4OUT / U/ TSUDA
P7_7 / TA3IN
8
21
7
22
80
6
23
79
5
24
78
4
25
77
3
26
76
2
75
1
P0_6 / AN0_6
P0_5 / AN0_5
P0_4 / AN0_4
P0_3 / AN0_3
P0_2 / AN0_2
P0_1 / AN0_1
P0_0 / AN0_0
P10_7 / AN_7 / KI3
P10_6 / AN_6 / KI2
P10_5 / AN_5 / KI1
P10_4 / AN_4 / KI0
P10_3 / AN_3
P10_2 / AN_2
P10_1 / AN_1
AVSS
P10_0 / AN_0
VREF
AVCC
P9_7 / AN2_7 / RXD4
P9_6 / AN2_6 / TXD4
59
60
P0_7 / AN0_7
P1_0 / AN2_0
P1_1 / AN2_1
P1_2 / AN2_2
P1_3 / AN2_3
P1_4
P1_5 / INT3 / ADTRG / IDV
P1_6 / INT4 / IDW
P1_7 / INT5 / INPC1_7 / IDU
P2_0 / OUTC1_0 / INPC1_0 / SDAMM
P2_1 / OUTC1_1 / INPC1_1 / SCLMM
P2_2 / OUTC1_2 / INPC1_2
P2_3 / OUTC1_3 / INPC1_3
P2_4 / OUTC1_4 / INPC1_4
P2_5 / OUTC1_5 / INPC1_5
P2_6 / OUTC1_6 / INPC1_6
P2_7 / OUTC1_7 / INPC1_7
P6_0 / RTCOUT / CTS0 / RTS0
P6_1 / CLK0
P6_2 / RXD0
Figure 1.5 shows the pin assignments for 80-pin package, and Table 1.7 and Table 1.8 list pin names for
80-pin package.
Note:
1. Pins CTX0 and CRX0 are only available in the M16C/5LD Group.
Figure 1.5
Pin Assignment for 80-Pin Package (Top View)
Set bits PACR2 to PACR0 in the PACR register to 010b before signals are input or output to individual pins
after reset. When the PACR register is not set, signals are not input or output for some of the pins.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 10 of 84
M16C/5LD Group, M16C/56D Group
Table 1.7
Pin
No.
Control
pin
1. Overview
Pin Names, 80-Pin Package (1/2)
Port
Interrupt
Pin
Timer Pin
Timer S Pin
UART/CAN Pin
Multimaster
I2C-bus
pin
Analog
Pin
1
P9_5
CLK4
AN2_5
2
P9_3
CTX0 (1)
AN2_4
3
P9_2
TB2IN
CRX0 (1)
AN3_2
4
P9_1
TB1IN
AN3_1
5
CLKOUT P9_0
TB0IN
AN3_0
6
CNVSS
7
XCIN
P8_7
8
XCOUT
P8_6
9
RESET
10 XOUT
11 VSS
12 XIN
13 VCC
14
P8_5
NMI
SD
15
P8_4
INT2
ZP
16
P8_3
INT1
17
P8_2
INT0
18
P8_1
19
20
TA4IN/U
TSUDB
P8_0
TA4OUT/U
TSUDA
P7_7
TA3IN
21
P7_6
TA3OUT
22
P7_5
TA2IN/W
23
P7_4
TA2OUT/W
24
P7_3
TA1IN/V
CTS2/RTS2/TXD1
25
P7_2
TA1OUT/V
CLK2/RXD1
26
P7_1
TA0IN
RXD2/SCL2/CLK1
27
P7_0
TA0OUT
28
P6_7
TXD1
29
P6_6
RXD1
30
P6_5
CLK1
CTS1/RTS1
TXD2/SDA2/CTS1/RTS1
31
P6_4
32
P3_7
33
P3_6
34
P3_5
35
P3_4
36
P3_3
CTS3/RTS3
37
P3_2
TXD3
38
P3_1
RXD3
39
P3_0
CLK3
40
P6_3
TXD0
Note 1. There are pins CTX0 and CRX0 only in the M16C/5LD Group.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 11 of 84
M16C/5LD Group, M16C/56D Group
Table 1.8
Pin
No.
Control
pin
1. Overview
Pin Names, 80-Pin Package (2/2)
Port
Interrupt
Pin
Timer Pin
Timer S Pin
UART/CAN Pin
41
P6_2
RXD0
42
P6_1
CLK0
Multimaster
I2C-bus
pin
Analog
Pin
CTS0/RTS0
43
P6_0
44
P2_7
RTCOUT
OUTC1_7/INPC1_7
45
P2_6
OUTC1_6/INPC1_6
46
P2_5
OUTC1_5/INPC1_5
47
P2_4
OUTC1_4/INPC1_4
48
P2_3
OUTC1_3/INPC1_3
49
P2_2
OUTC1_2/INPC1_2
50
P2_1
OUTC1_1/INPC1_1
SCLMM
51
P2_0
OUTC1_0/INPC1_0
SDAMM
52
P1_7
INT5
IDU
53
P1_6
INT4
IDW
54
P1_5
INT3
IDV
55
P1_4
56
P1_3
AN2_3
57
P1_2
AN2_2
58
P1_1
AN2_1
59
P1_0
AN2_0
60
P0_7
AN0_7
61
P0_6
AN0_6
62
P0_5
AN0_5
63
P0_4
AN0_4
64
P0_3
AN0_3
65
P0_2
AN0_2
66
P0_1
AN0_1
67
P0_0
AN0_0
68
P10_7 KI3
AN_7
69
P10_6 KI2
AN_6
INPC1_7
ADTRG
70
P10_5 KI1
AN_5
71
P10_4 KI0
AN_4
72
P10_3
AN_3
73
P10_2
AN_2
74
P10_1
AN_1
P10_0
AN_0
75 AVSS
76
77 VREF
78 AVCC
79
P9_7
RXD4
AN2_7
80
P9_6
TXD4
AN2_6
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 12 of 84
M16C/5LD Group, M16C/56D Group
1. Overview
33
34
35
36
37
38
39
40
41
42
43
44
45
46
49
32
50
31
51
30
52
29
M16C/5LD Group
M16C/56D Group
53
54
55
28
27
26
56
25
57
24
58
23
PLQP0064KB-A
(64P6Q-A)
(Top view)
59
60
61
62
22
21
20
19
16
15
14
13
12
11
10
9
8
7
6
5
P3_0 / CLK3
P3_1 / RXD3
P3_2 / TXD3
P3_3 / CTS3 / RTS3
P6_4 / RTS1 / CTS1
P6_5 / CLK1
P6_6 / RXD1
P6_7 / TXD1
P7_0 / TXD2 / SDA2 / TA0OUT / CTS1 / RTS1
P7_1 / RXD2 / SCL2 / TA0IN / CLK1
P7_2 / CLK2 / TA1OUT / V / RXD1
P7_3 / CTS2 / RTS2 / TA1IN / V / TXD1
P7_4 / TA2OUT / W
P7_5 / TA2IN / W
P7_6 / TA3OUT
P7_7 / TA3IN
P9_1 / AN3_1 / TB1IN
P9_0 / AN3_0 / TB0IN / CLKOUT
CNVSS
P8_7 / XCIN
P8_6 / XCOUT
RESET
XOUT
VSS
XIN
VCC
P8_5 / NMI / SD
P8_4 / INT2 / ZP
P8_3 / INT1
P8_2 / INT0
P8_1 / TA4IN / U/ TSUDB
P8_0 / TA4OUT / U/ TSUDA
4
17
3
18
64
2
63
1
P0_2 / AN0_2
P0_1 / AN0_1
P0_0 / AN0_0
P10_7 / AN_7 / KI3
P10_6 / AN_6 / KI2
P10_5 / AN_5 / KI1
P10_4 / AN_4 / KI0
P10_3 / AN_3
P10_2 / AN_2
P10_1 / AN_1
AVSS
P10_0 / AN_0
VREF
AVCC
P9_3 / AN2_4 /CTX0 (1)
P9_2 / AN3_1 / TB2IN / CRX0 (1)
47
48
P0_3 / AN0_3
P1_5 / INT3 / ADTRG / IDV
P1_6 / INT4 / IDW
P1_7 / INT5 / INPC1_7 / IDU
P2_0 / OUTC1_0 / INPC1_0 / SDAMM
P2_1 / OUTC1_1 / INPC1_1 / SCLMM
P2_2 / OUTC1_2 / INPC1_2
P2_3 / OUTC1_3 / INPC1_3
P2_4 / OUTC1_4 / INPC1_4
P2_5 / OUTC1_5 / INPC1_5
P2_6 / OUTC1_6 / INPC1_6
P2_7 / OUTC1_7 / INPC1_7
P6_0 / RTCOUT / CTS0 / RTS0
P6_1 / CLK0
P6_2 / RXD0
P6_3 / TXD0
Figure 1.6 shows the pin assignments for 64-pin package and Table 1.9 and Table 1.10 list pin names for
64-pin package.
Note:
1. Pins CTX0 and CRX0 are only available in the M16C/5LD Group.
Figure 1.6
Pin Assignment for 64-Pin Package (Top View)
Set bits PACR2 to PACR0 in the PACR register to 010b before signals are input or output to individual pins
after reset. When the PACR register is not set, signals are not input or output for some of the pins.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 13 of 84
M16C/5LD Group, M16C/56D Group
Table 1.9
Pin
No.
Control
pin
1. Overview
Pin Names, 64-Pin Package (1/2)
Port
Interrupt
Pin
Timer Pin
Timer S Pin
UART/CAN Pin
Multimaster
I2C-bus
pin
Analog
Pin
1
P9_1
TB1IN
AN3_1
2
CLKOUT P9_0
TB0IN
AN3_0
3
CNVSS
4
XCIN
P8_7
5
XCOUT
P8_6
6
RESET
7
XOUT
8
VSS
9
XIN
10 VCC
11
P8_5
NMI
SD
12
P8_4
INT2
ZP
13
P8_3
INT1
14
P8_2
INT0
15
P8_1
TA4IN/U
TSUDB
TSUDA
16
P8_0
TA4OUT/U
17
P7_7
TA3IN
18
P7_6
TA3OUT
19
P7_5
TA2IN/W
20
P7_4
TA2OUT/W
21
P7_3
TA1IN/V
CTS2/RTS2/TXD1
22
P7_2
TA1OUT/V
CLK2/RXD1
23
P7_1
TA0IN
RXD2/SCL2/CLK1
24
P7_0
TA0OUT
TXD2/SDA2/CTS1/RTS1
25
P6_7
TXD1
26
P6_6
RXD1
27
P6_5
CLK1
28
P6_4
CTS1/RTS1
29
P3_3
CTS3/RTS3
30
P3_2
TXD3
31
P3_1
RXD3
32
P3_0
CLK3
33
P6_3
TXD0
34
P6_2
RXD0
35
P6_1
CLK0
36
P6_0
37
P2_7
OUTC1_7/INPC1_7
38
P2_6
OUTC1_6/INPC1_6
39
P2_5
OUTC1_5/INPC1_5
40
P2_4
OUTC1_4/INPC1_4
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
CTS0/RTS0
RTCOUT
Page 14 of 84
M16C/5LD Group, M16C/56D Group
Table 1.10
Pin
No.
Control
pin
1. Overview
Pin Names, 64-Pin Package (2/2)
Port
Interrupt
Pin
Timer Pin
Timer S Pin
UART/CAN Pin
Multimaster
Analog Pin
I2C-bus
pin
41
P2_3
OUTC1_3/INPC1_3
42
P2_2
OUTC1_2/INPC1_2
43
P2_1
OUTC1_1/INPC1_1
SCLMM
44
P2_0
OUTC1_0/INPC1_0
SDAMM
45
P1_7
INT5
IDU
46
P1_6
INT4
IDW
47
P1_5
INT3
IDV
48
P0_3
AN0_3
49
P0_2
AN0_2
50
P0_1
AN0_1
51
P0_0
AN0_0
52
P10_7 KI3
AN_7
53
P10_6 KI2
AN_6
54
P10_5 KI1
AN_5
55
P10_4 KI0
AN_4
56
P10_3
AN_3
57
P10_2
AN_2
58
P10_1
AN_1
P10_0
AN_0
INPC1_7
ADTRG
59 AVSS
60
61 VREF
62 AVCC
63
P9_3
64
P9_2
TB2IN
CTX0 (1)
AN2_4
CRX0 (1)
AN3_2
Note 1. There are pins CTX0 and CRX0 only in the M16C/5LD Group.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 15 of 84
M16C/5LD Group, M16C/56D Group
1.6
1. Overview
Pin Functions
Table 1.11
Pin Functions (64-Pin and 80-Pin Packages) (1/2)
Signal Name
Pin Name
I/O
Description
Power supply
VCC, VSS
I
Apply 2.7 to 5.5 V to VCC pin and 0 V to VSS pin.
Analog power
supply
AVCC,
AVSS
I
Power supply for the A/D converter. Pins AVCC and AVSS should be
connected to VCC and VSS, respectively.
Reset input
RESET
I
Driving this pin low resets the MCU.
CNVSS
CNVSS
I
Connect to VSS via a resistor.
Main clock input
XIN
I
Main clock output
XOUT
O
Input/output for the main clock oscillator. Connect a ceramic
resonator or crystal oscillator between XIN and XOUT. (1) To apply
an external clock, connect it to XIN and leave XOUT open. When
XIN is not used, connect XIN to VCC pin and leave XOUT open.
Sub clock input
XCIN
I
Sub clock output
XCOUT
O
Clock output
CLKOUT
O
This pin outputs the clock having the same frequency as f1, f8, f32,
or fC.
INT interrupt input
INT0 to INT5
I
Input for INT interrupt.
NMI input
NMI
I
Input for NMI interrupt.
Key input interrupt
KI0 to KI3
I
Input for the key input interrupt
TA0OUT to
TA4OUT
I/O
Timer A
TA0IN to TA4IN
I
Input/output for the sub clock oscillator. Connect a crystal oscillator
between XCIN and XCOUT. (1)
Timers A0 to A4 input/output
Timers A0 to A4 input
ZP
I
Input for Z-phase
TB0IN to TB2IN
I
Timers B0 to B2 input
Three-phase motor U,U,V,V,W,W
control timer
IDU, IDW, IDV, SD
O
Output for three-phase motor control timers
I
Input for three-phase motor control timers
Real-time clock
RTCOUT
O
Output for real-time clock
CTS0 to CTS3
I
Input to control data transmission
RTS0 to RTS3
O
Output to control data reception
CLK0 to CLK3
I/O
Transfer clock input/output
Timer B
Serial interface
UART0 to UART3
RXD0 to RXD3
I
Serial data input
TXD0 to TXD3
O
Serial data output
UART2
I2C mode
SDA2
I/O
Serial data input/output
SCL2
I/O
Transfer clock input/output
Multi-master
I2C-bus
SCLMM
SDAMM
I/O
Serial data input/output
Transfer clock input/output
Note:
1. Please contact the manufacturer of crystal/ceramic resonator for oscillation characteristic.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 16 of 84
M16C/5LD Group, M16C/56D Group
Table 1.12
Pin Functions (64-Pin and 80-Pin Packages) (2/2)
Signal Name
Reference voltage
input
A/D converter
Timer S
CAN Module (1)
I/O port
1. Overview
Pin Name
I/O
Description
VREF
I
Reference voltage input pin for the A/D converter.
AN_0 to AN_7
I
AN0_0 to AN0_3
AN2_4
AN3_0 to AN3_2
I
ADTRG
I
Input for an external trigger
INPC1_0 to
INPC1_7
I
Input for time measurement function
OUTC1_0 to
OUTC1_7
O
Output for waveform generating function
Analog input
TSUDA, TSUDB
I
Two-phase pulse input
CRX0
I
Receive data input for CAN communication
CTX0
O
Transmit data output for CAN communication
P0_0 to P0_3
P1_5 to P1_7
P2_0 to P2_7
P3_0 to P3_3
P6_0 to P6_7
P7_0 to P7_7
P8_0 to P8_7
P9_0 to P9_3
P10_0 to P10_7
I/O
CMOS I/O ports. Each port has a corresponding direction register
with which each pin can be set to input or output. For input ports,
pull-up resistor is selectable for every unit of 4 bits.
Note:
1. The CAN module is only in the M16C/5LD Group.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 17 of 84
M16C/5LD Group, M16C/56D Group
Table 1.13
1. Overview
Pin Functions (80-Pin Package Only)
Signal Name
Pin Name
CLK4
Serial Interface
UART4
I/O
Description
I/O Transfer clock input/output
RXD4
I
Serial data input
TXD4
O
Serial data output
A/D converter
AN0_4 to AN0_7
AN2_0 to AN2_3
AN2_5 to AN2_7
I
Analog input for the A/D converter
I/O port
P0_4 to P0_7
P1_0 to P1_4
P3_4 to P3_7
P9_5 to P9_7
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
CMOS I/O ports. Each port has a corresponding direction
register with which each pin can be set to input or output.
I/O
For input ports, pull-up resistor is selectable for every unit of 4
bits.
Page 18 of 84
M16C/5LD Group, M16C/56D Group
2.
2. Central Processing Unit (CPU)
Central Processing Unit (CPU)
Figure 2.1 shows the CPU registers. Seven registers (R0, R1, R2, R3, A0, A1, and FB) out of 13 compose a
register bank, and there are two register banks.
b31
b15
b8 b7
b0
R2
R0H (upper bits of R0)
R0L (lower bits of R0)
R3
R1H (upper bits of R1)
R1L (lower bits of R1)
Data registers (1)
R2
R3
A0
Address registers (1)
A1
FB
b19
Frame base registers (1)
b15
b0
INTBH
Interrupt table register
INTBL
INTBH is the 4 upper bits of the INTB register and INTBL
is the 16 lower bits.
b19
b0
PC
Program counter
b15
b0
USP
User stack pointer
ISP
Interrupt stack pointer
SB
Static base register
b15
b0
FLG
b15
b8
IPL
Flag register
b7
U
b0
I
O B
S
Z
D
C
Carry flag
Debug flag
Zero flag
Sign flag
Register bank select flag
Overflow flag
Interrupt enable flag
Stack pointer select flag
Reserved area
Processor interrupt priority level
Reserved area
Note:
1. These registers compose a register bank. There are two register banks.
Figure 2.1
CPU Registers
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 19 of 84
M16C/5LD Group, M16C/56D Group
2.1
2. Central Processing Unit (CPU)
Data Registers (R0, R1, R2, and R3)
R0, R1, R2, and R3 are 16-bit registers used for transfer, arithmetic, and logic operations. R0 and R1 can
be split into upper (R0H/R1H) and lower (R0L/R1L) bits to be used separately as 8-bit data registers.
R0 can be combined with R2, and R3 can be combined with R1 and be used as 32-bit data registers
R2R0 and R3R1, respectively.
2.2
Address Registers (A0 and A1)
A0 and A1 are 16-bit registers used for indirect addressing, relative addressing, transfer, arithmetic, and
logic operations. A0 can be combined with A1 and used as a 32-bit address register (A1A0).
2.3
Frame Base Register (FB)
FB is a 16-bit register that is used for FB relative addressing.
2.4
Interrupt Table Register (INTB)
INTB is a 20-bit register that indicates the start address of a relocatable interrupt vector table.
2.5
Program Counter (PC)
The PC is 20 bits wide and indicates the address of the next instruction to be executed.
2.6
User Stack Pointer (USP) and Interrupt Stack Pointer (ISP)
The USP and ISP stack pointers (SP) are each comprised of 16 bits. The U flag is used to switch between
USP and ISP.
2.7
Static Base Register (SB)
SB is a 16-bit register used for SB relative addressing.
2.8
Flag Register (FLG)
FLG is an 11-bit register that indicates the CPU state.
2.8.1
Carry Flag (C Flag)
The C flag retains a carry, borrow, or shift-out bit generated by the arithmetic/logic unit.
2.8.2
Debug Flag (D Flag)
The D flag is for debugging only. Set it to 0.
2.8.3
Zero Flag (Z Flag)
The Z flag becomes 1 when an arithmetic operation results in 0. Otherwise, it becomes 0.
2.8.4
Sign Flag (S Flag)
The S flag becomes 1 when an arithmetic operation results in a negative value. Otherwise, it becomes
0.
2.8.5
Register Bank Select Flag (B Flag)
Register bank 0 is selected when the B flag is 0. Register bank 1 is selected when this flag is 1.
2.8.6
Overflow Flag (O Flag)
The O flag becomes 1 when an arithmetic operation results in an overflow. Otherwise, it becomes 0.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 20 of 84
M16C/5LD Group, M16C/56D Group
2.8.7
2. Central Processing Unit (CPU)
Interrupt Enable Flag (I Flag)
The I flag enables maskable interrupts.
Maskable interrupts are disabled when the I flag is 0, and enabled when it is 1. The I flag becomes 0
when an interrupt request is accepted.
2.8.8
Stack Pointer Select Flag (U Flag)
ISP is selected when the U flag is 0. USP is selected when the U flag is 1.
The U flag becomes 0 when a hardware interrupt request is accepted, or the INT instruction of software
interrupt number 0 to 31 is executed.
2.8.9
Processor Interrupt Priority Level (IPL)
IPL is 3 bits wide and assigns processor interrupt priority levels from 0 to 7.
If a requested interrupt has higher priority than IPL, the interrupt request is enabled.
2.8.10
Reserved Areas
Only set these bits to 0. The read value is undefined.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 21 of 84
M16C/5LD Group, M16C/56D Group
3.
3. Memory
Memory
Special function registers (SFRs) are allocated from address 00000h to 003FFh and from 0D000h to
0D7FFh. Peripheral function control registers are located here. All blank spaces within SFRs are reserved,
so do not access any blank spaces.
The internal RAM is allocated from address 00400h to superior direction. For example, a 8 KB internal RAM
is addressed from 00400h to 023FFh. The internal RAM is used not only for data storage but also for stack
area when subroutines are called or when interrupt request are acknowledged.
The internal ROM is flash memory. Three internal ROM areas are available: data flash, program ROM 1,
and program ROM 2.
The data flash is addressed from 0E000h to 0FFFFh. This data flash space is used not only for data storage
but also for program storage.
Program ROM 2 is assigned addresses 10000h to 13FFFh. Program ROM 1 is assigned addresses
FFFFFh to inferior direction. For example, the 64 KB program ROM 1 space has addresses F0000h to
FFFFFh.
The special page vectors are assigned addresses FFE00h to FFFD7h. They are used for the JMPS
instruction and JSRS instruction. Refer to the M16C/60, M16C/20, M16C/Tiny Series Software Manual for
details.
The fixed vector table for interrupts, ID code write address, OFS1 address and OSF2 address are assigned
addresses FFFDBh to FFFFFh.
The 256 bytes beginning with the start address set in the INTB register compose the relocatable vector table
for interrupts.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 22 of 84
M16C/5LD Group, M16C/56D Group
3. Memory
00000h
SFRs
00400h
Internal RAM
XXXXXh
Reserved (1)
Internal RAM
Capacity
XXXXXh
4 KB
013FFh
8 KB
023FFh
12 KB
033FFh
20 KB
053FFh
0D000h
SFRs
0D800h
Reserved (1)
0E000h
Internal ROM
(Data flash)
10000h
Internal ROM
(Program ROM 2)
13000h
On-chip debugger
monitor area
13FF0h
User boot code area
13FFFh
14000h
Relocatable vector table
Reserved (1)
256 bytes beginning with the start
address set in the INTB register
Internal ROM
Capacity
YYYYYh
64 KB
F0000h
96 KB
E8000h
128 KB
E0000h
256 KB
C0000h
YYYYYh
FFFFFh
Internal ROM
(Program ROM 1)
FFE00h
Special page vector
table
FFFD8h
Reserved (2)
FFFDBh
Fixed vector table
ID code address
OFS1 address
OFS2 address
FFFFFh
The above assumes the following:
-The PM10 bit in the PM1 register is set to 1 (addresses from 0E000h to 0FFFFh are used as data flash)
-The PRG2C0 bit in the PRG2C register is set to 0 (program ROM 2 enabled)
Notes:
1. Do not access these reserved areas.
2. Do not change the data from FFh.
Figure 3.1
Memory Map
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 23 of 84
M16C/5LD Group, M16C/56D Group
4.
4. Special Function Registers (SFRs)
Special Function Registers (SFRs)
4.1
SFRs
An SFR is a control register for a peripheral function.
Table 4.1
Address
0000h
0001h
0002h
0003h
0004h
0005h
0006h
0007h
0008h
0009h
000Ah
000Bh
000Ch
000Dh
000Eh
000Fh
0010h
0011h
0012h
0013h
0014h
0015h
0016h
0017h
SFR Information (1) (1)
Register
Processor Mode Register 0
Processor Mode Register 1
System Clock Control Register 0
System Clock Control Register 1
Protect Register
Oscillation Stop Detection Register
Symbol
Reset Value
PM0
PM1
CM0
CM1
00h
0000 1000b
0100 1000b
0010 0000b
PRCR
00h
CM2
0X00 0010b (3)
Program 2 Area Control Register
PRG2C
XXXX XX00b
Peripheral Clock Select Register
PCLKR
0000 0011b
Clock Prescaler Reset Flag
CPSRF
0XXX XXXXb
0018h
Reset Source Determine Register
RSTFR
0019h
Voltage Detector 2 Flag Register
VCR1
001Ah
Voltage Detector Operation Enable Register
VCR2
PLL Control Register 0
PLC0
0X01 X010b
Processor Mode Register 2
PM2
XX00 0X01b
001Bh
001Ch
001Dh
001Eh
001Fh
XX0X 001Xb
(hardware reset) (4)
0000 1000b (2)
000X 0000b (2, 5)
001X 0000b (2, 6)
X: Undefined
Notes:
1.
The blank areas are reserved. No access is allowed.
2.
Software reset, watchdog timer reset, oscillator stop detect reset, and voltage monitor 2 reset do not affect the
following registers: registers VCR1 and VCR2.
3.
Oscillator stop detect reset does not affect bits CM20, CM21, and CM27.
4.
The state of bits in the RSTFR register depends on the reset type.
5.
This is the reset value when the LVDAS bit of the OFS1 address is 1 during hardware reset.
6.
This is the reset value after voltage monitor 0 reset, power-on reset, or when the LVDAS bit of the OFS1 address is 0
during hardware reset.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 24 of 84
M16C/5LD Group, M16C/56D Group
Table 4.2
Address
0020h
0021h
0022h
0023h
0024h
0025h
0026h
0027h
0028h
0029h
002Ah
002Bh
002Ch
002Dh
002Eh
002Fh
0030h
0031h
0032h
0033h
0034h
0035h
0036h
0037h
0038h
0039h
003Ah
003Bh
003Ch
003Dh
003Eh
003Fh
4. Special Function Registers (SFRs)
SFR Information (2) (1)
Register
Symbol
Reset Value
Voltage Monitor Function Select Register
VWCE
00h
Voltage Detector 2 Level Select Register
VD2LS
0000 0100b(2)
Voltage Monitor 0 Control Register
VW0C
1100 1X10b (3, 4)
1100 1X11b(3, 5)
Voltage Monitor 2 Control Register
VW2C
1000 0X10b(3, 6)
X: Undefined
Notes:
1.
The blank areas are reserved. No access is allowed.
2.
Hardware reset, power-on reset, voltage monitor 0 reset, or voltage monitor 2 reset.
3.
Software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 0 reset, and voltage monitor 2 reset
do not affect the following registers or bit: the VW0C register, and bits VW2C2 and VW2C3 in the VW2C register.
4.
This is the reset value when the LVDAS bit of the OFS1 address is 1 during hardware reset
5.
This is the reset value after voltage monitor 0 reset, power-on reset, or when the LVDAS bit of the OFS1 address is 0
during hardware reset.
6.
This is the reset value after hardware reset, power-on reset, or voltage monitor 0 reset
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 25 of 84
M16C/5LD Group, M16C/56D Group
Table 4.3
4. Special Function Registers (SFRs)
SFR Information (3) (1)
Address
0040h
Register
Symbol
Reset Value
INT3 Interrupt Control Register
INT3IC
XX00 X000b
0048h
INT5 Interrupt Control Register
INT5IC
XX00 X000b
0049h
INT4 Interrupt Control Register
UART2 Bus Collision Detection Interrupt Control Register
Task Monitoring Timer Interrupt Control Register
DMA0 Interrupt Control Register
INT4IC
BCNIC
TMOSIC
DM0IC
XX00 X000b
0041h
0042h
0043h
0044h
0045h
0046h
0047h
004Ah
004Bh
004Ch
XXXX X000b
XXXX X000b
DM1IC
KUPIC
ADEIC
ADIC
XXXX X000b
004Eh
DMA1 Interrupt Control Register
Key Input Interrupt Control Register
A/D 1 Conversion Interrupt Control Register
A/D Conversion Interrupt Control Register
004Fh
UART2 Transmit Interrupt Control Register
S2TIC
XXXX X000b
0050h
UART2 Receive Interrupt Control Register
S2RIC
XXXX X000b
0051h
UART0 Transmit Interrupt Control Register
S0TIC
XXXX X000b
0052h
UART0 Receive Interrupt Control Register
S0RIC
XXXX X000b
0053h
UART1 Transmit Interrupt Control Register
S1TIC
XXXX X000b
0054h
UART1 Receive Interrupt Control Register
S1RIC
XXXX X000b
0055h
Timer A0 Interrupt Control Register
TA0IC
XXXX X000b
0056h
Timer A1 Interrupt Control Register
TA1IC
XXXX X000b
0057h
Timer A2 Interrupt Control Register
TA2IC
XXXX X000b
0058h
Timer A3 Interrupt Control Register
TA3IC
XXXX X000b
0059h
Timer A4 Interrupt Control Register
TA4IC
XXXX X000b
005Ah
Timer B0 Interrupt Control Register
TB0IC
XXXX X000b
004Dh
XXXX X000b
XXXX X000b
005Bh
Timer B1 Interrupt Control Register
TB1IC
XXXX X000b
005Ch
Timer B2 Interrupt Control Register
TB2IC
XXXX X000b
005Dh
INT0 Interrupt Control Register
INT0IC
XX00 X000b
005Eh
INT1 Interrupt Control Register
INT1IC
XX00 X000b
005Fh
INT2 Interrupt Control Register
INT2IC
XX00 X000b
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 26 of 84
M16C/5LD Group, M16C/56D Group
Table 4.4
Address
0060h
0061h
0062h
0063h
0064h
0065h
0066h
0067h
0068h
0069h
006Ah
006Bh
006Ch
006Dh
006Eh
006Fh
0070h
0071h
0072h
0073h
0074h
0075h
0076h
0077h
0078h
0079h
007Ah
007Bh
007Ch
007Dh
007Eh
007Fh
0080h to
012Fh
4. Special Function Registers (SFRs)
SFR Information (4) (1)
Register
DMA2 Interrupt Control Register
DMA3 Interrupt Control Register
UART4 Transmit Interrupt Control Register
Real-Time Clock Compare Interrupt Control Register
UART4 Receive Interrupt Control Register
CAN0 Wake-up Interrupt Control Register
UART3 Transmit Interrupt Control Register
CAN0 Error Interrupt Control Register
UART3 Receive Interrupt Control Register
Real-Time Clock Cycle Interrupt Control Register
CAN0 Reception Complete Interrupt Control Register
CAN0 Transmission Complete Interrupt Control Register
CAN0 Receive FIFO Interrupt Control Register
CAN0 Transmit FIFO Interrupt Control Register
IC/OC Interrupt 0 Control Register
IC/OC Channel 0 Interrupt Control Register
IC/OC Interrupt 1 Control Register
I2C-bus Interface Interrupt Control Register
IC/OC Channel 1 Interrupt Control Register
SCL/SDA Interrupt Control Register
IC/OC Channel 2 Interrupt Control Register
IC/OC Channel 3 Interrupt Control Register
IC/OC Base Timer Interrupt Control Register
Symbol
Reset Value
DM2IC
DM3IC
XXXX X000b
XXXX X000b
S4TIC
RTCCIC
S4RIC
C0WIC
S3TIC
C0EIC
S3RIC
RTCTIC
C0RIC
C0TIC
C0FRIC
C0FTIC
ICOC0IC
ICOCH0IC
ICOC1IC
IICIC
ICOCH1IC
SCLDAIC
ICOCH2IC
ICOCH3IC
BTIC
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
XXXX X000b
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 27 of 84
M16C/5LD Group, M16C/56D Group
Table 4.5
Address
0130h
0131h
0132h
0133h
0134h
0135h
0136h
0137h
0138h
0139h
013Ah
013Bh
013Ch
013Dh
013Eh
013Fh
0140h
0141h
0142h
0143h
0144h
0145h
0146h
0147h
0148h
0149h
014Ah
014Bh
014Ch
014Dh
014Eh
014Fh
0150h
0151h
0152h
4. Special Function Registers (SFRs)
SFR Information (5) (1)
Register
Symbol
A/D1 Register 0
AD10
A/D1 Register 1
AD11
A/D1 Register 2
AD12
A/D1 Register 3
AD13
A/D1 Trigger Control Register
Reset Value
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
AD1TRGCON
XXXX 00XXb
A/D1 Control Register 2
AD1CON2
0000 X00Xb
A/D1 Control Register 0
A/D1 Control Register 1
AD1CON0
AD1CON1
0000 0XXXb
0000 X000b
0153h
0154h
0155h
0156h
0157h
0158h
0159h
015Ah
015Bh
015Ch
015Dh
015Eh
015Fh
0160h to
017Fh
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 28 of 84
M16C/5LD Group, M16C/56D Group
Table 4.6
Address
0180h
0181h
0182h
0183h
0184h
0185h
0186h
0187h
0188h
0189h
018Ah
018Bh
018Ch
018Dh
018Eh
018Fh
0190h
0191h
0192h
0193h
0194h
0195h
0196h
0197h
0198h
0199h
019Ah
019Bh
019Ch
019Dh
019Eh
019Fh
01A0h
01A1h
01A2h
01A3h
01A4h
01A5h
01A6h
01A7h
01A8h
01A9h
01AAh
01ABh
01ACh
01ADh
01AEh
01AFh
4. Special Function Registers (SFRs)
SFR Information (6) (1)
Register
Symbol
Reset Value
XXh
XXh
0Xh
DMA0 Source Pointer
SAR0
DMA0 Destination Pointer
DAR0
XXh
XXh
0Xh
DMA0 Transfer Counter
TCR0
XXh
XXh
DMA0 Control Register
DM0CON
0000 0X00b
DMA1 Source Pointer
SAR1
XXh
XXh
0Xh
DMA1 Destination Pointer
DAR1
XXh
XXh
0Xh
DMA1 Transfer Counter
TCR1
XXh
XXh
DMA1 Control Register
DM1CON
0000 0X00b
DMA2 Source Pointer
SAR2
XXh
XXh
0Xh
DMA2 Destination Pointer
DAR2
XXh
XXh
0Xh
DMA2 Transfer Counter
TCR2
XXh
XXh
DMA2 Control Register
DM2CON
0000 0X00b
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 29 of 84
M16C/5LD Group, M16C/56D Group
Table 4.7
Address
01B0h
01B1h
01B2h
01B3h
01B4h
01B5h
01B6h
01B7h
01B8h
01B9h
01BAh
01BBh
01BCh
01BDh
01BEh
01BFh
01C0h
01C1h
01C2h
01C3h
01C4h
01C5h
01C6h
01C7h
01C8h
01C9h
01CAh
01CBh
01CCh
01CDh
01CEh
01CFh
01D0h
01D1h
01D2h
01D3h
01D4h
01D5h
01D6h
01D7h
01D8h
01D9h
01DAh
01DBh
01DCh
01DDh
01DEh
01DFh
4. Special Function Registers (SFRs)
SFR Information (7) (1)
Register
Symbol
Reset Value
XXh
XXh
0Xh
DMA3 Source Pointer
SAR3
DMA3 Destination Pointer
DAR3
XXh
XXh
0Xh
DMA3 Transfer Counter
TCR3
XXh
XXh
DMA3 Control Register
DM3CON
0000 0X00b
Timer B0-1 Register
TB01
Timer B1-1 Register
TB11
Timer B2-1 Register
TB21
Pulse Period/Pulse Width Measurement Mode Function Select
Register 1
XXh
XXh
XXh
XXh
XXh
XXh
PPWFS1
XXXX X000b
Timer B Count Source Select Register 0
Timer B Count Source Select Register 1
TBCS0
TBCS1
00h
X0h
Timer A Count Source Select Register 0
Timer A Count Source Select Register 1
Timer A Count Source Select Register 2
TACS0
TACS1
TACS2
00h
00h
X0h
PWMFS
TAPOFS
0XX0 X00Xb
XXX0 0000b
Timer A Output Waveform Change Enable Register
TAOW
XXX0 X00Xb
Three-Phase Protect Control Register
TPRC
00h
16-bit Pulse Width Modulation Mode Function Select Register
Timer A Waveform Output Function Select Register
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 30 of 84
M16C/5LD Group, M16C/56D Group
Table 4.8
SFR Information (8) (1)
Address
01E0h
01E1h
01E2h
01E3h
01E4h
01E5h
01E6h
01E7h
01E8h
01E9h
01EAh
01EBh
01ECh
01EDh
01EEh
01EFh
01F0h
01F1h
01F2h
01F3h
01F4h
01F5h
01F6h
01F7h
01F8h
01F9h
01FAh
01FBh
01FCh
01FDh
01FEh
01FFh
0200h
0201h
0202h
0203h
0204h
0205h
0206h
0207h
0208h
0209h
020Ah
020Bh
020Ch
020Dh
020Eh
020Fh
Note:
1.
4. Special Function Registers (SFRs)
Register
Task Monitor Timer Register
Task Monitor Timer Count Start Flag
Task Monitor Timer Count Source Select Register
Task Monitor Timer Protect Register
Interrupt Source Select Register 3
Interrupt Source Select Register 2
Interrupt Source Select Register
Address Match Interrupt Enable Register
Address Match Interrupt Enable Register 2
Symbol
Reset Value
TMOSSR
TMOSCS
TMOSPR
XXh
XXh
XXXX XXX0b
XXXX 0000b
00h
IFSR3A
IFSR2A
IFSR
00h
00h
00h
TMOS
AIER
AIER2
XXXX XX00b
XXXX XX00b
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 31 of 84
M16C/5LD Group, M16C/56D Group
Table 4.9
SFR Information (9) (1)
Address
0210h
0211h
0212h
0213h
0214h
0215h
0216h
0217h
0218h
0219h
021Ah
021Bh
021Ch
021Dh
021Eh
021Fh
4. Special Function Registers (SFRs)
Register
Symbol
Reset Value
00h
00h
X0h
Address Match Interrupt Register 0
RMAD0
Address Match Interrupt Register 1
RMAD1
00h
00h
X0h
Address Match Interrupt Register 2
RMAD2
00h
00h
X0h
Address Match Interrupt Register 3
RMAD3
00h
00h
X0h
0220h
Flash Memory Control Register 0
FMR0
0221h
0222h
0223h
0224h
0225h
0226h
0227h
0228h
0229h
022Ah
022Bh
022Ch
022Dh
022Eh
022Fh
0230h
0231h
0232h
0233h
0234h
0235h
0236h
0237h
0238h
0239h
023Ah
023Bh
023Ch
023Dh
023Eh
023Fh
Flash Memory Control Register 1
Flash Memory Control Register 2
Flash Memory Control Register 3
FMR1
FMR2
FMR3
0000 0001b
(Other than user boot mode)
0010 0001b
(User boot mode)
00X0 XX0Xb
XXXX 0000b
XXXX 0000b
Flash Memory Control Register 6
FMR6
XX0X XX00b
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 32 of 84
M16C/5LD Group, M16C/56D Group
Table 4.10
SFR Information (10) (1)
Address
0240h
0241h
0242h
0243h
0244h
0245h
0246h
0247h
0248h
0249h
024Ah
024Bh
024Ch
024Dh
024Eh
024Fh
0250h
0251h
0252h
0253h
0254h
0255h
0256h
0257h
0258h
0259h
025Ah
025Bh
025Ch
025Dh
025Eh
025Fh
0260h
0261h
0262h
0263h
0264h
0265h
0266h
0267h
0268h
0269h
026Ah
026Bh
026Ch
026Dh
026Eh
026Fh
4. Special Function Registers (SFRs)
Register
UART0 Transmit/Receive Mode Register
UART0 Bit Rate Register
Symbol
Reset Value
U0MR
U0BRG
00h
XXh
XXh
XXh
0000 1000b
0000 0010b
XXh
XXh
UART0 Transmit Buffer Register
U0TB
UART0 Transmit/Receive Control Register 0
UART0 Transmit/Receive Control Register 1
U0C0
U0C1
UART0 Receive Buffer Register
U0RB
UART1 Transmit/Receive Mode Register
UART1 Bit Rate Register
U1MR
U1BRG
UART1 Transmit Buffer Register
U1TB
UART1 Transmit/Receive Control Register 0
UART1 Transmit/Receive Control Register 1
U1C0
U1C1
UART1 Receive Buffer Register
U1RB
UART2 Special Mode Register 4
UART2 Special Mode Register 3
UART2 Special Mode Register 2
UART2 Special Mode Register
UART2 Transmit/Receive Mode Register
UART2 Bit Rate Register
U2SMR4
U2SMR3
U2SMR2
U2SMR
U2MR
U2BRG
UART2 Transmit Buffer Register
U2TB
UART2 Transmit/Receive Control Register 0
UART2 Transmit/Receive Control Register 1
U2C0
U2C1
UART2 Receive Buffer Register
U2RB
00h
XXh
XXh
XXh
0000 1000b
0000 0010b
XXh
XXh
00h
000X 0X0Xb
X000 0000b
X000 0000b
00h
XXh
XXh
XXh
0000 1000b
0000 0010b
XXh
XXh
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 33 of 84
M16C/5LD Group, M16C/56D Group
Table 4.11
SFR Information (11) (1)
Address
0270h
0271h
0272h
0273h
0274h
0275h
0276h
0277h
0278h
0279h
027Ah
027Bh
027Ch
027Dh
027Eh
027Fh
0280h
0281h
0282h
0283h
0284h
0285h
0286h
0287h
0288h
0289h
028Ah
028Bh
028Ch
028Dh
028Eh
028Fh
0290h
0291h
0292h
0293h
0294h
0295h
0296h
0297h
0298h
0299h
029Ah
029Bh
029Ch
029Dh
029Eh
029Fh
Note:
1.
4. Special Function Registers (SFRs)
Register
UART4 Transmit/Receive Mode Register
UART4 Bit Rate Register
Symbol
Reset Value
U4MR
U4BRG
00h
XXh
XXh
XXh
0000 1000b
0000 0010b
XXh
XXh
X: Undefined
UART4 Transmit Buffer Register
U4TB
UART4 Transmit/Receive Control Register 0
UART4 Transmit/Receive Control Register 1
U4C0
U4C1
UART4 Receive Buffer Register
U4RB
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 34 of 84
M16C/5LD Group, M16C/56D Group
Table 4.12
SFR Information (12) (1)
Address
02A0h
02A1h
02A2h
02A3h
02A4h
02A5h
02A6h
02A7h
02A8h
02A9h
02AAh
02ABh
02ACh
02ADh
02AEh
02AFh
02B0h
02B1h
02B2h
02B3h
02B4h
02B5h
02B6h
02B7h
02B8h
02B9h
02BAh
02BBh
02BCh
02BDh
02BEh
02BFh
02C0h
02C1h
02C2h
02C3h
02C4h
02C5h
02C6h
02C7h
02C8h
02C9h
02CAh
02CBh
02CCh
02CDh
02CEh
02CFh
Note:
1.
4. Special Function Registers (SFRs)
Register
UART3 Transmit/Receive Mode Register
UART3 Bit Rate Register
Symbol
Reset Value
U3MR
U3BRG
S00
00h
XXh
XXh
XXh
0000 1000b
0000 0010b
XXh
XXh
XXh
S0D0
S1D0
S20
S2D0
S3D0
S4D0
S10
S11
S0D1
S0D2
0000 000Xb
00h
00h
0001 1010b
0011 0000b
00h
0001 000Xb
XXXX X000b
0000 000Xb
0000 000Xb
UART3 Transmit Buffer Register
U3TB
UART3 Transmit/Receive Control Register 0
UART3 Transmit/Receive Control Register 1
U3C0
U3C1
UART3 Receive Buffer Register
U3RB
I2C0 Data Shift Register
I2C0 Address Register 0
I2C0 Control Register 0
I2C0 Clock Control Register
I2C0 Start/Stop Condition Control Register
I2C0 Control Register 1
I2C0 Control Register 2
I2C0 Status Register 0
I2C0 Status Register 1
I2C0 Address Register 1
I2C0 Address Register 2
Time Measurement Register 0
Waveform Generation Register 0
Time Measurement Register 1
Waveform Generation Register 1
Time Measurement Register 2
Waveform Generation Register 2
Time Measurement Register 3
Waveform Generation Register 3
Time Measurement Register 4
Waveform Generation Register 4
Time Measurement Register 5
Waveform Generation Register 5
Time Measurement Register 6
Waveform Generation Register 6
Time Measurement Register 7
Waveform Generation Register 7
G1TM0
G1PO0
G1TM1
G1PO1
G1TM2
G1PO2
G1TM3
G1PO3
G1TM4
G1PO4
G1TM5
G1PO5
G1TM6
G1PO6
G1TM7
G1PO7
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 35 of 84
M16C/5LD Group, M16C/56D Group
Table 4.13
Address
02D0h
02D1h
02D2h
02D3h
02D4h
02D5h
02D6h
02D7h
02D8h
02D9h
02DAh
02DBh
02DCh
02DDh
02DEh
02DFh
02E0h
02E1h
02E2h
02E3h
02E4h
02E5h
02E6h
02E7h
02E8h
02E9h
02EAh
02EBh
02ECh
02EDh
02EEh
02EFh
02F0h
02F1h
02F2h
02F3h
02F4h
02F5h
02F6h
02F7h
02F8h
02F9h
02FAh
02FBh
02FCh
02FDh
02FEh
02FFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (13) (1)
Register
Waveform Generation Control Register 0
Waveform Generation Control Register 1
Waveform Generation Control Register 2
Waveform Generation Control Register 3
Waveform Generation Control Register 4
Waveform Generation Control Register 5
Waveform Generation Control Register 6
Waveform Generation Control Register 7
Time Measurement Control Register 0
Time Measurement Control Register 1
Time Measurement Control Register 2
Time Measurement Control Register 3
Time Measurement Control Register 4
Time Measurement Control Register 5
Time Measurement Control Register 6
Time Measurement Control Register 7
G1DV
Reset Value
0X00 XX00b
0X00 XX00b
0X00 XX00b
0X00 XX00b
0X00 XX00b
0X00 XX00b
0X00 XX00b
0X00 XX00b
00h
00h
00h
00h
00h
00h
00h
00h
XXh
XXh
00h
00h
00h
00h
00h
00h
XXh
XXh
00h
Waveform Output Master Enable Register
G1OER
00h
Timer S I/O Control Register 0
Timer S I/O Control Register 1
Interrupt Request Register
Interrupt Enable Register 0
Interrupt Enable Register 1
G1IOR0
G1IOR1
G1IR
G1IE0
G1IE1
00h
00h
XXh
00h
00h
NMI Digital Debounce Register
P1_7 Digital Debounce Register
NDDR
P17DDR
FFh
FFh
X: Undefined
Base Timer Register
Symbol
G1POCR0
G1POCR1
G1POCR2
G1POCR3
G1POCR4
G1POCR5
G1POCR6
G1POCR7
G1TMCR0
G1TMCR1
G1TMCR2
G1TMCR3
G1TMCR4
G1TMCR5
G1TMCR6
G1TMCR7
G1BT
Base Timer Control Register 0
Base Timer Control Register 1
Time Measurement Prescaler Register 6
Time Measurement Prescaler Register 7
Function Enable Register
Function Select Register
G1BCR0
G1BCR1
G1TPR6
G1TPR7
G1FE
G1FS
Base Timer Reset Register
G1BTRR
Count Source Divide Register
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 36 of 84
M16C/5LD Group, M16C/56D Group
Table 4.14
Address
0300h
0301h
0302h
0303h
0304h
0305h
0306h
0307h
0308h
0309h
030Ah
030Bh
030Ch
030Dh
030Eh
030Fh
0310h
0311h
0312h
0313h
0314h
0315h
0316h
0317h
0318h
0319h
031Ah
031Bh
031Ch
031Dh
031Eh
031Fh
0320h
0321h
0322h
0323h
0324h
0325h
0326h
0327h
0328h
0329h
032Ah
032Bh
032Ch
032Dh
032Eh
032Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (14) (1)
Register
Symbol
Reset Value
Three-Phase PWM Control Register 0
Three-Phase PWM Control Register 1
Three-Phase Output Buffer Register 0
Three-Phase Output Buffer Register 1
Dead Time Timer
Timer B2 Interrupt Generation Frequency Set Counter
Position-Data-Retain Function Control Register
INVC0
INVC1
IDB0
IDB1
DTT
ICTB2
PDRF
XXh
XXh
XXh
XXh
XXh
XXh
00h
00h
XX11 1111b
XX11 1111b
XXh
XXh
XXXX 0000b
Port Function Control Register
PFCR
0011 1111b
Count Start Flag
TABSR
00h
One-Shot Start Flag
Trigger Select Register
Increment/Decrement Flag
ONSF
TRGSR
UDF
00h
00h
00h
Timer A1-1 Register
TA11
Timer A2-1 Register
TA21
Timer A4-1 Register
TA41
Timer A0 Register
TA0
Timer A1 Register
TA1
Timer A2 Register
TA2
Timer A3 Register
TA3
Timer A4 Register
TA4
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 37 of 84
M16C/5LD Group, M16C/56D Group
Table 4.15
SFR Information (15) (1)
Address
0330h
0331h
0332h
0333h
0334h
0335h
0336h
0337h
0338h
0339h
033Ah
033Bh
033Ch
033Dh
033Eh
033Fh
0340h
0341h
0342h
0343h
0344h
0345h
0346h
0347h
0348h
0349h
034Ah
034Bh
034Ch
034Dh
034Eh
034Fh
0350h
0351h
0352h
0353h
0354h
0355h
0356h
0357h
0358h
0359h
035Ah
035Bh
035Ch
035Dh
035Eh
035Fh
4. Special Function Registers (SFRs)
Register
TA0MR
TA1MR
TA2MR
TA3MR
TA4MR
TB0MR
TB1MR
TB2MR
TB2SC
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
00h
00h
00h
00h
00h
00XX 0000b
00XX 0000b
00XX 0000b
X000 0000b
RTCSEC
RTCMIN
RTCHR
RTCWK
RTCCR1
RTCCR2
RTCCSR
00h
X000 0000b
XX00 0000b
XXXX X000b
0000 X00Xb
X000 0000b
XXX0 0000b
RTCCSEC
RTCCMIN
RTCCHR
X000 0000b
X000 0000b
X000 0000b
Symbol
Timer B0 Register
TB0
Timer B1 Register
TB1
Timer B2 Register
TB2
Timer A0 Mode Register
Timer A1 Mode Register
Timer A2 Mode Register
Timer A3 Mode Register
Timer A4 Mode Register
Timer B0 Mode Register
Timer B1 Mode Register
Timer B2 Mode Register
Timer B2 Special Mode Register
Real-Time Clock Second Data Register
Real-Time Clock Minute Data Register
Real-Time Clock Hour Data Register
Real-Time Clock Day Data Register
Real-Time Clock Control Register 1
Real-Time Clock Control Register 2
Real-Time Clock Count Source Select Register
Real-Time Clock Second Compare Data Register
Real-Time Clock Minute Compare Data Register
Real-Time Clock Hour Compare Data Register
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 38 of 84
M16C/5LD Group, M16C/56D Group
Table 4.16
Address
0360h
0361h
0362h
0363h
0364h
0365h
0366h
0367h
0368h
0369h
036Ah
036Bh
036Ch
036Dh
036Eh
036Fh
0370h
0371h
0372h
0373h
0374h
0375h
0376h
0377h
0378h
0379h
037Ah
037Bh
037Ch
037Dh
037Eh
037Fh
0380h
0381h
0382h
0383h
0384h
0385h
0386h
0387h
0388h
0389h
038Ah
038Bh
038Ch
038Dh
038Eh
038Fh
4. Special Function Registers (SFRs)
SFR Information (16) (1)
Register
Symbol
PUR0
PUR1
PUR2
Reset Value
00h
00h
00h
Port Control Register
PCR
0XX0 0XX0b
Pin Assignment Control Register
PACR
0XXX X000b
Count Source Protection Mode Register
Watchdog Timer Refresh Register
Watchdog Timer Start Register
Watchdog Timer Control Register
CSPR
WDTR
WDTS
WDC
00h (2)
XXh
XXh
00XX XXXXb
Pull-Up Control Register 0
Pull-Up Control Register 1
Pull-Up Control Register 2
X: Undefined
Notes:
1.
The blank areas are reserved. No access is allowed.
2.
When the CSPROINI bit in the OFS1 address is 0, the reset value is 1000 0000b.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 39 of 84
M16C/5LD Group, M16C/56D Group
Table 4.17
Address
0390h
0391h
0392h
0393h
0394h
0395h
0396h
0397h
0398h
0399h
039Ah
039Bh
039Ch
039Dh
039Eh
039Fh
03A0h
03A1h
03A2h
03A3h
03A4h
03A5h
03A6h
03A7h
03A8h
03A9h
03AAh
03ABh
03ACh
03ADh
03AEh
03AFh
03B0h
03B1h
03B2h
03B3h
03B4h
03B5h
03B6h
03B7h
03B8h
03B9h
03BAh
03BBh
03BCh
03BDh
03BEh
03BFh
4. Special Function Registers (SFRs)
SFR Information (17) (1)
Register
DMA2 Source Select Register
Symbol
DM2SL
Reset Value
00h
DMA3 Source Select Register
DM3SL
00h
DMA0 Source Select Register
DM0SL
00h
DMA1 Source Select Register
DM1SL
00h
SFR Snoop Address Register
CRCSAR
CRC Mode Register
CRCMR
CRC Data Register
CRCD
CRC Input Register
CRCIN
XXXX XXXXb
00XX XXXXb
0XXX XXX0b
XXh
XXh
XXh
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 40 of 84
M16C/5LD Group, M16C/56D Group
Table 4.18
Address
03C0h
03C1h
03C2h
03C3h
03C4h
03C5h
03C6h
03C7h
03C8h
03C9h
03CAh
03CBh
03CCh
03CDh
03CEh
03CFh
03D0h
03D1h
03D2h
03D3h
03D4h
03D5h
03D6h
03D7h
03D8h
03D9h
03DAh
03DBh
03DCh
03DDh
03DEh
03DFh
03E0h
03E1h
03E2h
03E3h
03E4h
03E5h
03E6h
03E7h
03E8h
03E9h
03EAh
03EBh
03ECh
03EDh
03EEh
03EFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (18) (1)
Register
Symbol
A/D Register 0
AD0
A/D Register 1
AD1
A/D Register 2
AD2
A/D Register 3
AD3
A/D Register 4
AD4
A/D Register 5
AD5
A/D Register 6
AD6
A/D Register 7
AD7
A/D Trigger Control Register
Reset Value
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
XXXX XXXXb
0000 00XXb
ADTRGCON
XXXX 00XXb
A/D Control Register 2
ADCON2
0000 X00Xb
A/D Control Register 0
A/D Control Register 1
ADCON0
ADCON1
0000 0XXXb
0000 X000b
Port P0 Register
Port P1 Register
Port P0 Direction Register
Port P1 Direction Register
Port P2 Register
Port P3 Register
Port P2 Direction Register
Port P3 Direction Register
P0
P1
PD0
PD1
P2
P3
PD2
PD3
XXh
XXh
00h
00h
XXh
XXh
00h
00h
Port P6 Register
Port P7 Register
Port P6 Direction Register
Port P7 Direction Register
P6
P7
PD6
PD7
XXh
XXh
00h
00h
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 41 of 84
M16C/5LD Group, M16C/56D Group
Table 4.19
Address
03F0h
03F1h
03F2h
03F3h
03F4h
03F5h
03F6h
03F7h
03F8h
03F9h
03FAh
03FBh
03FCh
03FDh
03FEh
03FFh
4. Special Function Registers (SFRs)
SFR Information (19) (1)
Port P8 Register
Port P9 Register
Port P8 Direction Register
Port P9 Direction Register
Port P10 Register
Register
Symbol
P8
P9
PD8
PD9
P10
Reset Value
XXh
XXh
00h
000X 0000b
XXh
Port P10 Direction Register
PD10
00h
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 42 of 84
M16C/5LD Group, M16C/56D Group
Table 4.20
Address
D500h
D501h
D502h
D503h
D504h
D505h
D506h
D507h
D508h
D509h
D50Ah
D50Bh
D50Ch
D50Dh
D50Eh
D50Fh
D510h
D511h
D512h
D513h
D514h
D515h
D516h
D517h
D518h
D519h
D51Ah
D51Bh
D51Ch
D51Dh
D51Eh
D51Fh
D520h
D521h
D522h
D523h
D524h
D525h
D526h
D527h
D528h
D529h
D52Ah
D52Bh
D52Ch
D52Dh
D52Eh
D52Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (20) (1)
Register
Symbol
CAN0 Mailbox 0: Message Identifier
CAN0 Mailbox 0: Data Length
C0MB0
CAN0 Mailbox 0: Data Field
CAN0 Mailbox 0: Time Stamp
CAN0 Mailbox 1: Message Identifier
CAN0 Mailbox 1: Data Length
C0MB1
CAN0 Mailbox 1: Data Field
CAN0 Mailbox 1: Time Stamp
CAN0 Mailbox 2: Message Identifier
CAN0 Mailbox 2: Data Length
C0MB2
CAN0 Mailbox 2: Data Field
CAN0 Mailbox 2: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 43 of 84
M16C/5LD Group, M16C/56D Group
Table 4.21
Address
D530h
D531h
D532h
D533h
D534h
D535h
D536h
D537h
D538h
D539h
D53Ah
D53Bh
D53Ch
D53Dh
D53Eh
D53Fh
D540h
D541h
D542h
D543h
D544h
D545h
D546h
D547h
D548h
D549h
D54Ah
D54Bh
D54Ch
D54Dh
D54Eh
D54Fh
D550h
D551h
D552h
D553h
D554h
D555h
D556h
D557h
D558h
D559h
D55Ah
D55Bh
D55Ch
D55Dh
D55Eh
D55Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (21) (1)
Register
Symbol
CAN0 Mailbox 3: Message Identifier
CAN0 Mailbox 3: Data Length
C0MB3
CAN0 Mailbox 3: Data Field
CAN0 Mailbox 3: Time Stamp
CAN0 Mailbox 4: Message Identifier
CAN0 Mailbox 4: Data Length
C0MB4
CAN0 Mailbox 4: Data Field
CAN0 Mailbox 4: Time Stamp
CAN0 Mailbox 5: Message Identifier
CAN0 Mailbox 5: Data Length
C0MB5
CAN0 Mailbox 5: Data Field
CAN0 Mailbox 5: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 44 of 84
M16C/5LD Group, M16C/56D Group
Table 4.22
Address
D560h
D561h
D562h
D563h
D564h
D565h
D566h
D567h
D568h
D569h
D56Ah
D56Bh
D56Ch
D56Dh
D56Eh
D56Fh
D570h
D571h
D572h
D573h
D574h
D575h
D576h
D577h
D578h
D579h
D57Ah
D57Bh
D57Ch
D57Dh
D57Eh
D57Fh
D580h
D581h
D582h
D583h
D584h
D585h
D586h
D587h
D588h
D589h
D58Ah
D58Bh
D58Ch
D58Dh
D58Eh
D58Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (22) (1)
Register
Symbol
CAN0 Mailbox 6: Message Identifier
CAN0 Mailbox 6: Data Length
C0MB6
CAN0 Mailbox 6: Data Field
CAN0 Mailbox 6: Time Stamp
CAN0 Mailbox 7: Message Identifier
CAN0 Mailbox 7: Data Length
C0MB7
CAN0 Mailbox 7: Data Field
CAN0 Mailbox 7: Time Stamp
CAN0 Mailbox 8: Message Identifier
CAN0 Mailbox 8: Data Length
C0MB8
CAN0 Mailbox 8: Data Field
CAN0 Mailbox 8: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 45 of 84
M16C/5LD Group, M16C/56D Group
Table 4.23
Address
D590h
D591h
D592h
D593h
D594h
D595h
D596h
D597h
D598h
D599h
D59Ah
D59Bh
D59Ch
D59Dh
D59Eh
D59Fh
D5A0h
D5A1h
D5A2h
D5A3h
D5A4h
D5A5h
D5A6h
D5A7h
D5A8h
D5A9h
D5AAh
D5ABh
D5ACh
D5ADh
D5AEh
D5AFh
D5B0h
D5B1h
D5B2h
D5B3h
D5B4h
D5B5h
D5B6h
D5B7h
D5B8h
D5B9h
D5BAh
D5BBh
D5BCh
D5BDh
D5BEh
D5BFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (23) (1)
Register
Symbol
CAN0 Mailbox 9: Message Identifier
CAN0 Mailbox 9: Data Length
C0MB9
CAN0 Mailbox 9: Data Field
CAN0 Mailbox 9: Time Stamp
CAN0 Mailbox 10: Message Identifier
CAN0 Mailbox 10: Data Length
C0MB10
CAN0 Mailbox 10: Data Field
CAN0 Mailbox 10: Time Stamp
CAN0 Mailbox 11: Message Identifier
CAN0 Mailbox 11: Data Length
C0MB11
CAN0 Mailbox 11: Data Field
CAN0 Mailbox 11: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 46 of 84
M16C/5LD Group, M16C/56D Group
Table 4.24
Address
D5C0h
D5C1h
D5C2h
D5C3h
D5C4h
D5C5h
D5C6h
D5C7h
D5C8h
D5C9h
D5CAh
D5CBh
D5CCh
D5CDh
D5CEh
D5CFh
D5D0h
D5D1h
D5D2h
D5D3h
D5D4h
D5D5h
D5D6h
D5D7h
D5D8h
D5D9h
D5DAh
D5DBh
D5DCh
D5DDh
D5DEh
D5DFh
D5E0h
D5E1h
D5E2h
D5E3h
D5E4h
D5E5h
D5E6h
D5E7h
D5E8h
D5E9h
D5EAh
D5EBh
D5ECh
D5EDh
D5EEh
D5EFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (24) (1)
Register
Symbol
CAN0 Mailbox 12: Message Identifier
CAN0 Mailbox 12: Data Length
C0MB12
CAN0 Mailbox 12: Data Field
CAN0 Mailbox 12: Time Stamp
CAN0 Mailbox 13: Message Identifier
CAN0 Mailbox 13: Data Length
C0MB13
CAN0 Mailbox 13: Data Field
CAN0 Mailbox 13: Time Stamp
CAN0 Mailbox 14: Message Identifier
CAN0 Mailbox 14: Data Length
C0MB14
CAN0 Mailbox 14: Data Field
CAN0 Mailbox 14: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 47 of 84
M16C/5LD Group, M16C/56D Group
Table 4.25
Address
D5F0h
D5F1h
D5F2h
D5F3h
D5F4h
D5F5h
D5F6h
D5F7h
D5F8h
D5F9h
D5FAh
D5FBh
D5FCh
D5FDh
D5FEh
D5FFh
D600h
D601h
D602h
D603h
D604h
D605h
D606h
D607h
D608h
D609h
D60Ah
D60Bh
D60Ch
D60Dh
D60Eh
D60Fh
D610h
D611h
D612h
D613h
D614h
D615h
D616h
D617h
D618h
D619h
D61Ah
D61Bh
D61Ch
D61Dh
D61Eh
D61Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (25) (1)
Register
Symbol
CAN0 Mailbox 15: Message Identifier
CAN0 Mailbox 15: Data Length
C0MB15
CAN0 Mailbox 15: Data Field
CAN0 Mailbox 15: Time Stamp
CAN0 Mailbox 16: Message Identifier
CAN0 Mailbox 16: Data Length
C0MB16
CAN0 Mailbox 16: Data Field
CAN0 Mailbox 16: Time Stamp
CAN0 Mailbox 17: Message Identifier
CAN0 Mailbox 17: Data Length
C0MB17
CAN0 Mailbox 17: Data Field
CAN0 Mailbox 17: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 48 of 84
M16C/5LD Group, M16C/56D Group
Table 4.26
Address
D620h
D621h
D622h
D623h
D624h
D625h
D626h
D627h
D628h
D629h
D62Ah
D62Bh
D62Ch
D62Dh
D62Eh
D62Fh
D630h
D631h
D632h
D633h
D634h
D635h
D636h
D637h
D638h
D639h
D63Ah
D63Bh
D63Ch
D63Dh
D63Eh
D63Fh
D640h
D641h
D642h
D643h
D644h
D645h
D646h
D647h
D648h
D649h
D64Ah
D64Bh
D64Ch
D64Dh
D64Eh
D64Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (26) (1)
Register
Symbol
CAN0 Mailbox 18: Message Identifier
CAN0 Mailbox 18: Data Length
C0MB18
CAN0 Mailbox 18: Data Field
CAN0 Mailbox 18: Time Stamp
CAN0 Mailbox 19: Message Identifier
CAN0 Mailbox 19: Data Length
C0MB19
CAN0 Mailbox 19: Data Field
CAN0 Mailbox 19: Time Stamp
CAN0 Mailbox 20: Message Identifier
CAN0 Mailbox 20: Data Length
C0MB20
CAN0 Mailbox 20: Data Field
CAN0 Mailbox 20: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 49 of 84
M16C/5LD Group, M16C/56D Group
Table 4.27
Address
D650h
D651h
D652h
D653h
D654h
D655h
D656h
D657h
D658h
D659h
D65Ah
D65Bh
D65Ch
D65Dh
D65Eh
D65Fh
D660h
D661h
D662h
D663h
D664h
D665h
D666h
D667h
D668h
D669h
D66Ah
D66Bh
D66Ch
D66Dh
D66Eh
D66Fh
D670h
D671h
D672h
D673h
D674h
D675h
D676h
D677h
D678h
D679h
D67Ah
D67Bh
D67Ch
D67Dh
D67Eh
D67Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (27) (1)
Register
Symbol
CAN0 Mailbox 21: Message Identifier
CAN0 Mailbox 21: Data Length
C0MB21
CAN0 Mailbox 21: Data Field
CAN0 Mailbox 21: Time Stamp
CAN0 Mailbox 22: Message Identifier
CAN0 Mailbox 22: Data Length
C0MB22
CAN0 Mailbox 22: Data Field
CAN0 Mailbox 22: Time Stamp
CAN0 Mailbox 23: Message Identifier
CAN0 Mailbox 23: Data Length
C0MB23
CAN0 Mailbox 23: Data Field
CAN0 Mailbox 23: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 50 of 84
M16C/5LD Group, M16C/56D Group
Table 4.28
Address
D680h
D681h
D682h
D683h
D684h
D685h
D686h
D687h
D688h
D689h
D68Ah
D68Bh
D68Ch
D68Dh
D68Eh
D68Fh
D690h
D691h
D692h
D693h
D694h
D695h
D696h
D697h
D698h
D699h
D69Ah
D69Bh
D69Ch
D69Dh
D69Eh
D69Fh
D6A0h
D6A1h
D6A2h
D6A3h
D6A4h
D6A5h
D6A6h
D6A7h
D6A8h
D6A9h
D6AAh
D6ABh
D6ACh
D6ADh
D6AEh
D6AFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (28) (1)
Register
Symbol
CAN0 Mailbox 24: Message Identifier
CAN0 Mailbox 24: Data Length
C0MB24
CAN0 Mailbox 24: Data Field
CAN0 Mailbox 24: Time Stamp
CAN0 Mailbox 25: Message Identifier
CAN0 Mailbox 25: Data Length
C0MB25
CAN0 Mailbox 25: Data Field
CAN0 Mailbox 25: Time Stamp
CAN0 Mailbox 26: Message Identifier
CAN0 Mailbox 26: Data Length
C0MB26
CAN0 Mailbox 26: Data Field
CAN0 Mailbox 26: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 51 of 84
M16C/5LD Group, M16C/56D Group
Table 4.29
Address
D6B0h
D6B1h
D6B2h
D6B3h
D6B4h
D6B5h
D6B6h
D6B7h
D6B8h
D6B9h
D6BAh
D6BBh
D6BCh
D6BDh
D6BEh
D6BFh
D6C0h
D6C1h
D6C2h
D6C3h
D6C4h
D6C5h
D6C6h
D6C7h
D6C8h
D6C9h
D6CAh
D6CBh
D6CCh
D6CDh
D6CEh
D6CFh
D6D0h
D6D1h
D6D2h
D6D3h
D6D4h
D6D5h
D6D6h
D6D7h
D6D8h
D6D9h
D6DAh
D6DBh
D6DCh
D6DDh
D6DEh
D6DFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (29) (1)
Register
Symbol
CAN0 Mailbox 27: Message Identifier
CAN0 Mailbox 27: Data Length
C0MB27
CAN0 Mailbox 27: Data Field
CAN0 Mailbox 27: Time Stamp
CAN0 Mailbox 28: Message Identifier
CAN0 Mailbox 28: Data Length
C0MB28
CAN0 Mailbox 28: Data Field
CAN0 Mailbox 28: Time Stamp
CAN0 Mailbox 29: Message Identifier
CAN0 Mailbox 29: Data Length
C0MB29
CAN0 Mailbox 29: Data Field
CAN0 Mailbox 29: Time Stamp
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 52 of 84
M16C/5LD Group, M16C/56D Group
Table 4.30
Address
D6E0h
D6E1h
D6E2h
D6E3h
D6E4h
D6E5h
D6E6h
D6E7h
D6E8h
D6E9h
D6EAh
D6EBh
D6ECh
D6EDh
D6EEh
D6EFh
D6F0h
D6F1h
D6F2h
D6F3h
D6F4h
D6F5h
D6F6h
D6F7h
D6F8h
D6F9h
D6FAh
D6FBh
D6FCh
D6FDh
D6FEh
D6FFh
D700h
D701h
D702h
D703h
D704h
D705h
D706h
D707h
D708h
D709h
D70Ah
D70Bh
D70Ch
D70Dh
D70Eh
D70Fh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (30) (1)
Register
Symbol
CAN0 Mailbox 30: Message Identifier
CAN0 Mailbox 30: Data Length
C0MB30
CAN0 Mailbox 30: Data Field
CAN0 Mailbox 30: Time Stamp
CAN0 Mailbox 31: Message Identifier
CAN0 Mailbox 31: Data Length
C0MB31
CAN0 Mailbox 31: Data Field
CAN0 Mailbox 31: Time Stamp
CAN0 Mask Register 0
C0MKR0
CAN0 Mask Register 1
C0MKR1
CAN0 Mask Register 2
C0MKR2
CAN0 Mask Register 3
C0MKR3
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 53 of 84
M16C/5LD Group, M16C/56D Group
Table 4.31
Address
D710h
D711h
D712h
D713h
D714h
D715h
D716h
D717h
D718h
D719h
D71Ah
D71Bh
D71Ch
D71Dh
D71Eh
D71Fh
D720h
D721h
D722h
D723h
D724h
D725h
D726h
D727h
D728h
D729h
D72Ah
D72Bh
D72Ch
D72Dh
D72Eh
D72Fh
D730h to
D79Fh
D7A0h
D7A1h
D7A2h
D7A3h
D7A4h
D7A5h
D7A6h
D7A7h
D7A8h
D7A9h
D7AAh
D7ABh
D7ACh
D7ADh
D7AEh
D7AFh
Note:
1.
4. Special Function Registers (SFRs)
SFR Information (31) (1)
Register
Symbol
CAN0 Mask Register 4
C0MKR4
CAN0 Mask Register 5
C0MKR5
CAN0 Mask Register 6
C0MKR6
CAN0 Mask Register 7
C0MKR7
CAN0 FIFO Receive ID Compare Register 0
C0FIDCR0
CAN0 FIFO Receive ID Compare Register 1
C0FIDCR1
CAN0 Mask Invalid Register
C0MKIVLR
CAN0 Mailbox Interrupt Enable Register
CAN0 Message Control Register 0
CAN0 Message Control Register 1
CAN0 Message Control Register 2
CAN0 Message Control Register 3
CAN0 Message Control Register 4
CAN0 Message Control Register 5
CAN0 Message Control Register 6
CAN0 Message Control Register 7
CAN0 Message Control Register 8
CAN0 Message Control Register 9
CAN0 Message Control Register 10
CAN0 Message Control Register 11
CAN0 Message Control Register 12
CAN0 Message Control Register 13
CAN0 Message Control Register 14
CAN0 Message Control Register 15
C0MIER
C0MCTL0
C0MCTL1
C0MCTL2
C0MCTL3
C0MCTL4
C0MCTL5
C0MCTL6
C0MCTL7
C0MCTL8
C0MCTL9
C0MCTL10
C0MCTL11
C0MCTL12
C0MCTL13
C0MCTL14
C0MCTL15
Reset Value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
X: Undefined
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 54 of 84
M16C/5LD Group, M16C/56D Group
Table 4.32
Address
D7B0h
D7B1h
D7B2h
D7B3h
D7B4h
D7B5h
D7B6h
D7B7h
D7B8h
D7B9h
D7BAh
D7BBh
D7BCh
D7BDh
D7BEh
D7BFh
D7C0h
D7C1h
D7C2h
D7C3h
D7C4h
D7C5h
D7C6h
D7C7h
D7C8h
D7C9h
D7CAh
D7CBh
D7CCh
D7CDh
D7CEh
D7CFh
D7D0h
D7D1h
D7D2h
D7D3h
D7D4h
D7D5h
D7D6h
D7D7h
D7D8h
D7D9h
D7DAh
D7DBh
D7DCh
D7DDh
D7DEh
D7DFh
4. Special Function Registers (SFRs)
SFR Information (32) (1)
Register
CAN0 Message Control Register 16
CAN0 Message Control Register 17
CAN0 Message Control Register 18
CAN0 Message Control Register 19
CAN0 Message Control Register 20
CAN0 Message Control Register 21
CAN0 Message Control Register 22
CAN0 Message Control Register 23
CAN0 Message Control Register 24
CAN0 Message Control Register 25
CAN0 Message Control Register 26
CAN0 Message Control Register 27
CAN0 Message Control Register 28
CAN0 Message Control Register 29
CAN0 Message Control Register 30
CAN0 Message Control Register 31
Symbol
C0MCTL16
C0MCTL17
C0MCTL18
C0MCTL19
C0MCTL20
C0MCTL21
C0MCTL22
C0MCTL23
C0MCTL24
C0MCTL25
C0MCTL26
C0MCTL27
C0MCTL28
C0MCTL29
C0MCTL30
C0MCTL31
CAN0 Control Register
C0CTLR
CAN0 Status Register
C0STR
CAN0 Bit Configuration Register
C0BCR
CAN0 Clock Select Register
CAN0 Receive FIFO Control Register
CAN0 Receive FIFO Pointer Control Register
CAN0 Transmit FIFO Control Register
CAN0 Transmit FIFO pointer Control Register
CAN0 Error Interrupt Enable Register
CAN0 Error Interrupt Source Judge Register
CAN0 Receive Error Count Register
CAN0 Transmit Error Count Register
CAN0 Error Code Store Register
CAN0 Channel Search Support Register
CAN0 Mailbox Search Status Register
CAN0 Mailbox Search Mode Register
CAN0 Time Stamp Register
CAN0 Acceptance Filter Support Register
CAN0 Test Control Register
C0CLKR
C0RFCR
C0RFPCR
C0TFCR
C0TFPCR
C0EIER
C0EIFR
C0RECR
C0TECR
C0ECSR
C0CSSR
C0MSSR
C0MSMR
C0TSR
C0AFSR
C0TCR
Reset Value
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
0000 0101b
00h
0000 0101b
00h
00h
00h
00h
00h
1000 0000b
XXh
1000 0000b
XXh
00h
00h
00h
00h
00h
XXh
1000 0000b
0000 0000b
00h
00h
XXh
XXh
00h
X: Undefined
Note:
1.
The blank areas are reserved. No access is allowed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 55 of 84
M16C/5LD Group, M16C/56D Group
4.2
4. Special Function Registers (SFRs)
Notes on SFRs
4.2.1
Register Settings
Table 4.33 lists Registers with Write-Only Bits and registers whose function differs between reading and
writing. Set these registers with immediate values. Do not use read-modify-write instructions. When
establishing the next value by altering the existing value, write the existing value to the RAM as well as
to the register. Transfer the next value to the register after making changes in the RAM.
Read-modify-write instructions can be used when writing to the no register bits.
Table 4.33
Registers with Write-Only Bits
Address
0249h
024Bh to 024Ah
0259h
025Bh to 025Ah
0269h
026Bh to 026Ah
0299h
029Bh to 029Ah
02A9h
02ABh to 02AAh
02B6h
02B8h
Register
UART0 Bit Rate Register
UART0 Transmit Buffer Register
UART1 Bit Rate Register
UART1 Transmit Buffer Register
UART2 Bit Rate Register
UART2 Transmit Buffer Register
UART4 Bit Rate Register
UART4 Transmit Buffer Register
UART3 Bit Rate Register
Symbol
U0BRG
U0TB
U1BRG
U1TB
U2BRG
U2TB
U4BRG
U4TB
U3BRG
UART3 Transmit Buffer Register
U3TB
I2C0 Control Register 1
S3D0
I2C0 Status Register 0
S10
0303h to 0302h
Timer A1-1 Register
TA11
0305h to 0304h
Timer A2-1 Register
TA21
0307h to 0306h
Timer A4-1 Register
TA41
030Ah
Three-Phase Output Buffer Register 0
IDB0
030Bh
Three-Phase Output Buffer Register 1
IDB1
030Ch
Dead Time Timer
DTT
030Dh
Timer B2 Interrupt Generation Frequency Set Counter
ICTB2
0327h to 0326h
Timer A0 Register
TA0
0329h to 0328h
Timer A1 Register
TA1
032Bh to 032Ah
Timer A2 Register
TA2
032Dh to 032Ch
Timer A3 Register
TA3
032Fh to 032Eh
Timer A4 Register
TA4
037Dh
Watchdog Timer Refresh Register
WDTR
037Eh
Watchdog Timer Start Register
WDTS
D7C9h
CAN0 Receive FIFO Pointer Control Register
C0RFPCR
D7CBh
CAN0 Transmit FIFO pointer Control Register
C0TFPCR
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 56 of 84
M16C/5LD Group, M16C/56D Group
Table 4.34
4. Special Function Registers (SFRs)
Read-Modify-Write Instructions
Function
Transfer
Bit processing
Shifting
Arithmetic operation
Decimal operation
Logical operation
Jump
Mnemonic
MOVDir
BCLR, BMCnd, BNOT, BSET, BTSTC, and BTSTS
ROLC, RORC, ROT, SHA, and SHL
ABS, ADC, ADCF, ADD, DEC, DIV, DIVU, DIVX, EXTS, INC, MUL, MULU, NEG,
SBB, and SUB
DADC, DADD, DSBB, and DSUB
AND, NOT, OR, and XOR
ADJNZ, SBJNZ
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 57 of 84
M16C/5LD Group, M16C/56D Group
5.
5. Electrical Characteristics
Electrical Characteristics
5.1
Electrical Characteristics (Common to 3 V and 5 V)
5.1.1
Table 5.1
Absolute Maximum Rating
Absolute Maximum Ratings
Symbol
Characteristic
Condition
Rated Value
Unit
V
VCC
Supply voltage
VCC = AVCC
-0.3 to 6.5
AVCC
Analog supply voltage
VCC = AVCC
-0.3 to 6.5
V
−0.3 to VCC + 0.1
(1)
VREF
Analog reference voltage
VI
P0_0 to P0_7, P1_0 to
P1_7, P2_0 to P2_7, P3_0
to P3_7, P6_0 to P6_7,
Input voltage
P7_0 to P7_7, P8_0 to
P8_7, P9_0 to P9_3, P9_5
to P9_7, P10_0 to P10_7
XIN, RESET, CNVSS
-0.3 to VCC + 0.3
V
P0_0 to P0_7, P1_0 to
P1_7, P2_0 to P2_7, P3_0
to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to
P8_7, P9_0 to P9_3, P9_5
to P9_7, P10_0 to P10_7
XOUT
-0.3 to VCC + 0.3
V
300
mW
VO
Output
voltage
Pd
Power
consumption
Topr
While CPU operation
Operating
temperature While flash memory
program and erase
range
operation
Tstg
Storage temperature range
-40°C ≤ Topr ≤ 85°C
V
-40 to 85
Programming area
0 to 60
Data area
-40 to 85
-65 to 150
°C
°C
Note:
1. Maximum value is 6.5 V.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 58 of 84
M16C/5LD Group, M16C/56D Group
5.1.2
Table 5.2
5. Electrical Characteristics
Recommended Operating Conditions
Operating Conditions (1)
VCC = 2.7 V to 5.5 V, Topr = -40°C to 85°C unless otherwise specified.
Symbol
Characteristic
VCC
Supply voltage
AVCC
Analog supply voltage
VSS
AVSS
Max.
5.5
Unit
V
VCC
V
Ground voltage
0
V
Analog ground voltage
0
V
High level
input voltage XIN, RESET, CNVSS
SDAMM, SCLMM
VCC
0.8 VCC
VCC
V
VCC
V
2.1
VCC
V
0
0.3 VCC
V
0
0.2 VCC
V
When I2C-bus input level selected
0
0.3 VCC
V
When SMBUS input level selected
0
0.8
V
-80.0
mA
When SMBUS input level selected
Low level
input voltage XIN, RESET, CNVSS
SDAMM, SCLMM
0.7 VCC
0.7 VCC
When I2C-bus input level selected
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
VIL
Typ.
2.7
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
VIH
Standard
Min.
IOH(sum)
High peak
output
current
P2_7, P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to
P8_7, P9_0 to P9_3, P9_5 to P9_7, P10_0 to P10_7
IOH(peak)
High level
peak output
current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
-10.0
mA
IOH(avg)
High level
average
output
current (1)
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
-5.0
mA
IOL(sum)
Low peak
output
current
Sum of IOL(peak) atP0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0
to P9_3, P9_5 to P9_7, P10_0 to P10_7
80.0
mA
IOL(peak)
Low level
peak output
current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
10.0
mA
IOL(avg)
Low level
average
output
current (1)
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P6_0
to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_3, P9_5 to
P9_7, P10_0 to P10_7
5.0
mA
f(XIN)
Main clock input oscillation frequency (2)
20
MHz
f(XCIN)
Sub clock oscillation frequency
50
kHz
f(PLL)
PLL clock oscillation frequency (2)
f(BCLK)
CPU operation frequency
tsu(PLL)
Sum of IOH(peak) at P0_0 to P0_7, P1_0 to P1_7, P2_0 to
Wait time to stabilize PLL frequency
synthesizer
2
32.768
VCC = 2.7 V to 5.5 V
10
25
VCC = 3.0 V to 5.5 V
10
32
2
32
VCC = 5.0 V
2
VCC = 3.0 V
3
MHz
MHz
ms
Notes:
1.
The mean output current is the mean value within 100 ms.
2.
Refer to Figure 5.1 “Main Clock Input Oscillation Frequency, PLL Clock Oscillation Frequency” for the relationship between
main clock oscillation frequency/PLL clock oscillation frequency and supply voltage.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 59 of 84
5. Electrical Characteristics
PLL clock oscillation frequency
Main clock input oscillation frequency
maximum operating frequency [MHz]
maximum operating frequency [MHz]
M16C/5LD Group, M16C/56D Group
20.0
10.0
2.0
0.0
32.0
25.0
10.0
0.0
2.7
2.7 3.0
5.5
Vcc [V] (main clock: no division)
5.5
Vcc [V] (PLL clock oscillation)
Figure 5.1
Main Clock Input Oscillation Frequency, PLL Clock Oscillation Frequency
Table 5.3
Recommended Operating Conditions (2/2) (1)
VCC = 2.7 to 5.5 V, VSS = 0 V, and Topr = -40°C to 85°C unless otherwise specified.
The ripple voltage must not excess Vr(VCC) and/or dVr(VCC)/dt.
Symbol
Standard
Parameter
Vr(VCC)
Allowable ripple voltage
dVr(VCC)/dt
Ripple voltage falling gradient
Min.
Typ.
Max.
Unit
VCC = 5.0 V
0.5
Vp-p
VCC = 3.0 V
0.3
Vp-p
VCC = 5.0 V
0.3
V/ms
VCC = 3.0 V
0.3
V/ms
Note:
1. The device is operationally guaranteed under these operating conditions.
VCC
Figure 5.2
V r( VCC
)
Ripple Waveform
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 60 of 84
M16C/5LD Group, M16C/56D Group
5.1.3
5. Electrical Characteristics
A/D Conversion Characteristics
.
Table 5.4
A/D Conversion Characteristics (1, 3)
VCC = AVCC = VREF = 3.0 to 5.5 V, VSS = AVSS = 0 V at Topr = -40°C to 85°C unless otherwise specified
Symbol
Parameter
—–
Resolution
INL
Integral non-linearity error
—–
φAD
Absolute accuracy
A/D operating clock frequency
Measuring Condition
Standard
Min.
Typ.
Max.
Unit
VREF = VCC
10
Bits
VREF = VCC = 5.0 V (2)
±3
LSB
VREF = VCC = 3.3 V (2)
±5
LSB
(2)
±3
LSB
VREF = VCC = 3.3 V (2)
±5
LSB
VREF = VCC = 5.0 V
4.0 V ≤ VCC ≤ 5.5 V
2
25
MHz
3.2 V ≤ VCC ≤ 4.0 V
2
16
MHz
3.0 V ≤ VCC ≤ 3.2 V
2
10
MHz
kΩ
—–
Tolerance level impedance
DNL
Differential non-linearity error
(2)
±1
LSB
—–
Offset error
(2)
±3
LSB
—–
Gain error
(2)
±3
LSB
10-bit conversion time
VREF = VCC = 5V,
φAD = 25 MHz
tCONV
3
1.60
μs
μs
tsamp
Sampling time
0.6
VREF
Reference voltage
3.0
VCC
V
VIA
Analog Input voltage (4)
0
VREF
V
Notes:
1. Use when AVCC = VCC
2. Flash memory rewrite disabled. Except for the analog input pin, set the pins to be measured as input
ports and connect them to VSS. See Figure 5.3 “A/D Accuracy Measure Circuit”.
3. This applies when using one of the A/D converter circuits, with the ADSTBY bit for the unused A/D
converter set to 0 (A/D operation stopped (standby)).
4. When analog input voltage is over reference voltage, the result of A/D conversion is 3FFh.
AN
Analog input
P0 to P10
Figure 5.3
AN: One of the analog input pin
P0 to P10: I/O pins other than AN
A/D Accuracy Measure Circuit
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 61 of 84
M16C/5LD Group, M16C/56D Group
5.1.4
5. Electrical Characteristics
Flash Memory Electrical Characteristics
Table 5.5
CPU Clock When Operating Flash Memory (f(BCLK))
VCC = 2.7 to 5.5 V, at Topr = -40°C to 85°C unless otherwise specified.
Symbol
Parameter
Conditions
-
CPU rewrite mode
f(SLOW_R)
Slow read mode
-
Low current consumption read mode
-
Data flash read
Standard
Min.
Typ.
Max.
10 (1)
(3)
5
35
fC(32.768)
2.7 V < VCC ≤ 3.0 V
16
3.0 V < VCC ≤ 5.5 V
20 (2)
Unit
MHz
MHz
kHz
(2)
MHz
Notes:
1. Set the PM17 bit in the PM1 register to 1 (one wait).
2. When the frequency is over this value, set the FMR17 bit in the FMR1 register to 0 (one wait) or the PM17 bit in
the PM1 register to 1 (one wait)
3. Set the PM17 bit in the PM1 register to 1 (one wait). When using the 125 kHz on-chip oscillator clock or sub
clock as the CPU clock source, a wait is not necessary.
Table 5.6
Flash Memory (Program ROM 1, 2) Electrical Characteristics
VCC = 2.7 to 5.5 V at Topr = 0°C to 60°C, unless otherwise specified.
Symbol
-
Parameter
Conditions
Program and erase cycles (1, 3, 4) VCC = 3.3 V, Topr = 25°C
VCC = 3.3 V, Topr = 25°C
2 words program time
Standard
Min.
Typ.
Max.
1,000 (2)
Unit
times
150
4000
μs
Lock bit program time
VCC = 3.3 V, Topr = 25°C
70
3000
μs
Block erase time
VCC = 3.3 V, Topr = 25°C
0.2
3.0
s
3 5 + --------------f ( BCLK )
ms
td(SR-SUS)
Time delay from suspend request
until suspend
-
Interval from erase start/restart
until following suspend request
0
-
Suspend interval necessary for
auto-erasure to complete (7)
20
-
Time from suspend until erase
restart
-
Program, erase voltage
-
Read voltage
-
Program, erase temperature
Topr= -40°C to 85°C
tPS
Flash memory circuit stabilization wait time
-
Data hold time (6)
Ambient temperature = 55°C
μs
ms
1 30 + --------------f ( BCLK )
μs
2.7
5.5
V
2.7
5.5
V
0
60
°C
50
20
μs
year
Notes:
1.
Definition of program and erase cycles:
The program and erase cycles refer to the number of per-block erasures. If the program and erase cycles are n (n = 1,000),
each block can be erased n times. For example, if a 64 KB block is erased after writing 2 word data 16,384 times, each to a
different address, this counts as one program and erase cycles. Data cannot be written to the same address more than once
without erasing the block (rewrite prohibited).
2.
Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed).
3.
In a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential
addresses in turn so that as much of the block as possible is used up before performing an erase operation. It is advisable to
retain data on the erasure cycles of each block and limit the number of erase operations to a certain number.
4.
If an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase
command at least three times until the erase error does not occur.
5.
Customers desiring program/erase failure rate information should contact their Renesas technical support representative.
6.
The data hold time includes time that the power supply is off or the clock is not supplied.
7.
After an erase start or erase restart, if an interval of at least 20 ms is not set before the next suspend request, the erase
sequence cannot be completed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 62 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
Table 5.7
Flash Memory (Data Flash) Electrical Characteristics
VCC = 2.7 to 5.5 V at Topr = -40°C to 85°C, unless otherwise specified.
Symbol
Parameter
Conditions
VCC = 3.3 V, Topr = 25°C
Standard
Min.
Typ.
Max.
Unit
-
Program and erase cycles (1,
-
2 words program time
VCC = 3.3 V, Topr = 25°C
300
4000
μs
-
Lock bit program time
VCC = 3.3 V, Topr = 25°C
140
3000
μs
-
Block erase time
VCC = 3.3 V, Topr = 25°C
0.2
3.0
s
td(SR-SUS)
Time delay from suspend request
until suspend
3 5 + --------------f ( BCLK )
ms
-
Interval from erase start/restart until
following suspend request
0
-
Suspend interval necessary for
auto-erasure to complete (7)
20
-
Time from suspend until erase
restart
3, 4)
10,000 (2)
times
μs
ms
1 30 + --------------f ( BCLK )
μs
-
Program, erase voltage
2.7
5.5
V
-
Read voltage
2.7
5.5
V
−40
-
Program, erase temperature
tPS
Flash memory circuit stabilization wait time
-
Data hold time (6)
Ambient temperature = 55°C
20
85
°C
50
μs
year
Notes:
1. Definition of program and erase cycles
The program and erase cycles refer to the number of per-block erasures.
If the program and erase cycles are n (n = 10,000), each block can be erased n times.
For example, if a 4 KB block is erased after writing 2 word data 1,024 times, each to a different address, this
counts as one program and erase cycles. Data cannot be written to the same address more than once without
erasing the block (rewrite prohibited).
2. Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed).
3. In a system that executes multiple programming operations, the actual erasure count can be reduced by writing
to sequential addresses in turn so that as much of the block as possible is used up before performing an erase
operation. For example, when programming groups of 16 bytes, the effective number of rewrites can be
minimized by programming up to 256 groups before erasing them all in one operation. In addition, averaging the
erasure cycles between blocks A and B can further reduce the actual erasure cycles. It is also advisable to retain
data on the erasure cycles of each block and limit the number of erase operations to a certain number.
4. If an error occurs during block erase, attempt to execute the clear status register command, then execute the
block erase command at least three times until the erase error does not occur.
5. Customers desiring program and erase failure rate information should contact their Renesas technical support
representative.
6. The data hold time includes time that the power supply is off or the clock is not supplied.
7.
After an erase start or erase restart, if an interval of at least 20 ms is not set before the next suspend request,
the erase sequence cannot be completed.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 63 of 84
M16C/5LD Group, M16C/56D Group
5.1.5
5. Electrical Characteristics
Voltage Detector and Power Supply Circuit Electrical Characteristics
Table 5.8
Voltage Detector 0 Electrical Characteristics
The measurement condition is VCC = 2.7 to 5.5 V, Topr = -40°C to 85°C, unless otherwise specified.
Symbol
Parameter
Vdet0
Voltage detection level Vdet0
td(E-A)
Waiting time until voltage detector operation
starts (1)
Condition
When VCC is falling.
Standard
Unit
Min.
Typ.
Max.
2.70
2.85
3.00
V
100
μs
Note:
1. Necessary time until the voltage detector operates when setting to 1 again after setting the VC25 bit in the VCR2
register to 0.
Table 5.9
Voltage Detector 2 Electrical Characteristics
The measurement condition is VCC = 2.7 to 5.5 V, Topr = -40°C to 85°C, unless otherwise specified.
Symbol
Parameter
Condition
Standard
Min.
Typ.
Max.
Unit
Vdet2_0
Voltage detection level Vdet2_0
3.21
V
Vdet2_1
Voltage detection level Vdet2_1
3.36
V
Vdet2_2
Voltage detection level Vdet2_2
3.51
V
Vdet2_3
Voltage detection level Vdet2_3
3.66
V
Vdet2_4
Voltage detection level Vdet2_4
Vdet2_5
Voltage detection level Vdet2_5
3.96
V
Vdet2_6
Voltage detection level Vdet2_6
4.10
V
Vdet2_7
Voltage detection level Vdet2_7
4.25
V
-
Hysteresis width at the rising of VCC in voltage
detector 2
0.15
V
td(E-A)
Waiting time until voltage detector operation starts (1)
When VCC is falling
3.51
3.81
4.11
100
V
μs
Note:
1. Necessary time until the voltage detector operates after setting to 1 again after setting the VC27 bit in the VCR2
register to 0.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 64 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
Table 5.10
Power-On Reset Circuit
The measurement condition is Topr = -40°C to 85°C, unless otherwise specified.
Symbol
Parameter
trth
External power VCC rise gradient
tfth
External power VCC fall gradient
Condition
Standard
Min.
Typ.
2.0
Max.
Unit
50000 mV/ms
50000 mV/ms
Vpor
Voltage at which power-on reset enabled
tw(por)
Hold time at which power-on reset enabled
(1)
0.1
V
1.0
ms
Note:
1.
To use the power-on reset function, enable voltage monitor 0 reset by setting the LVDAS bit in the OFS1 address
to 0.
Vdet0
External Power VCC
Vdet0
t rth
t rth
t fth
Vpor
tw(por)
Internal
reset signal
1
1
× 128
fOCO-S
Figure 5.4
Power-On Reset Circuit Electrical Characteristics
Table 5.11
Power Supply Circuit Timing Characteristics
Symbol
Parameter
td(P-R)
Time for internal power supply stabilization
during powering-on
td(R-S)
STOP release time
td(W-S)
Low power mode wait mode release time
× 128
fOCO-S
Measuring Condition
VCC = 3.0 V to 5.5V
Standard
Min.
Typ.
Max.
Unit
5
ms
300
μs
300
μs
Note:
1. When VCC = 5 V.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 65 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
Recommended
operating
voltage
t d(P-R)
Time to stabilize internal supply
voltage during powering-on
VCC
td(P-R)
CPU clock
(a) Interrupt to exit from stop mode
(b) Interrupt to exit from wait mode
t d(R-S)
STOP release time
t d(W-S)
Low power consumption
mode wait mode exit time
CPU clock
(a)
(b)
t d(E-A)
td(R-S)
td(W-S)
VC25, VC27
Voltage detection circuit
operation start time
Voltage detection circuit
Stop
Operate
td(E-A)
Figure 5.5
5.1.6
Power Supply Circuit Timing Diagram
Oscillator Electrical Characteristics
Table 5.12
125kHz On-Chip Oscillator Electrical Characteristics
VCC = 2.7 to 5.5 V, Topr = −40°C to 85°C, unless otherwise specified
Symbol
Characteristic
fOCO-S
125 kHz on-chip oscillator oscillation
frequency
tsu(fOCO-S)
Wait time until 125 kHz on-chip
oscillator stabilizes
fWDT
Condition
Unit
Typ.
Max.
100
125
150
kHz
20
μs
150
kHz
2.7 V ≤ VCC ≤ 5.5 V
Dedicated 125 kHz on-chip oscillator for the watchdog timer oscillation
frequency
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Standard
Min.
100
125
Page 66 of 84
M16C/5LD Group, M16C/56D Group
5.2
5. Electrical Characteristics
Electrical Characteristics (VCC = 5 V)
5.2.1
Electrical Characteristics
VCC = 5 V
Table 5.13
Electrical Characteristics (1)
VCC = 4.2 to 5.5 V, VSS = 0 V at Topr = -40°C to 85°C, f(BCLK) = 32 MHz unless otherwise specified.
Symbol
VOH
VOH
Parameter
VOL
Standard
Min.
Typ.
Max.
Unit
HIGH output voltage
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
IOH=−5 mA
VCC−2.0
VCC
V
HIGH output voltage
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
IOH = −200 μA
VCC−−0.3
VCC
V
HIGH POWER
HIGH output voltage
XOUT
IOH = −1 mA
VCC−−2.0
VCC
LOW POWER
IOH = −0.5 mA
VCC−−2.0
VCC
VOH
VOL
Measuring Condition
HIGH POWER
With no load applied
2.5
LOW POWER
With no load applied
1.6
V
HIGH output voltage
XCOUT
LOW output voltage
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
IOL = 5 mA
2.0
V
LOW output voltage
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
IOL = 200 μA
0.45
V
HIGH POWER
XOUT
IOL = 1 mA
2.0
LOW output voltage
LOW POWER
IOL = 0.5 mA
2.0
VOL
V
V
HIGH POWER
With no load applied
0
LOW POWER
With no load applied
0
LOW output voltage
XCOUT
VT+-VT-
Hysteresis
TA0IN to TA4IN, TB0IN to TB2IN, INT0 to INT5,
NMI, ADTRG, CTS0 to CTS3, SCL2, SDA2,
CLK0 to CLK4, TA0OUT to TA4OUT,
KI0 to KI3, RXD0 to RXD4, ZP, IDU, IDW, IDV,
SD, INPC1_0 to INPC1_7, CRX0
VT+-VT-
Hysteresis
RESET
0.2
2.5
V
VT+-VT-
Hysteresis
XIN
0.2
0.8
V
HIGH input current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
XIN, RESET, CNVSS
VI = 5 V
5.0
μA
IIL
LOW input current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
XIN, RESET, CNVSS
VI = 0 V
−5.0
μA
RPULLUP
Pull-up
resistance
P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7,
P3_0 to P3_7, P6_0 to P6_7, P7_0 to P7_7,
P8_0 to P8_7, P9_0 to P9_3, P9_5 to P9_7,
P10_0 to P10_7
VI = 0 V
170
kΩ
RfXIN
Feedback resistance XIN
1.5
MΩ
RfXCIN
Feedback resistance XCIN
15
MΩ
VRAM
RAM retention voltage
IIH
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
0.4VCC
0.2
At stop mode
30
2.0
V
50
V
V
Page 67 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Table 5.14
Electrical Characteristics (2)
Topr = −40°C to 85°C unless otherwise specified.
Symbol
Parameter
Measuring Condition
High speed mode
Power supply
current
125 kHz on-chip oscillator
(VCC =4.2V to 5.5 mode
V)
In single-chip
mode, the output
pins are open and
Low power mode
other pins are
VSS
ICC
Wait mode
Stop mode
Standard
Min.
Unit
Typ.
Max.
f(BCLK) = 32 MHz,
XIN = 8 MHz (square wave), PLL multiply-by-8
125 kHz on-chip oscillator operates
28
42
mA
f(BCLK) = 20 MHz,
XIN = 20 MHz (square wave),
125 kHz on-chip oscillator operates
20
30
mA
f(BCLK) = 16 MHz,
XIN = 16 MHz (square wave),
125 kHz on-chip oscillator operates
16
Main clock stops
125 kHz on-chip oscillator operates
Divide-by-8
FMR22 = FMR23 = 1 (Low-current
consumption read mode)
150
mA
500
μA
f(BCLK) = 32 kHz
On Flash memory (1)
FMR22 = FMR23 = 1 (Low-current
consumption read mode)
160
μA
Main clock stops
125 kHz on-chip oscillator operates
Peripheral clock operates
Topr = 25°C
20
μA
Main clock stops
125 kHz on-chip oscillator operates
Peripheral clock operates
Topr = 85°C
50
μA
Topr = 25°C
18
Topr = 85°C
45
μA
30
μA
During flash memory
program
f(BCLK) = 10 MHz, PM17 = 1 (one wait)
VCC = 5.0 V
20.0
mA
During flash memory
erase
f(BCLK) = 10 MHz, PM17 = 1 (one wait)
VCC = 5.0 V
30.0
mA
Idet2
Low voltage detection dissipation current
3
μA
Idet0
Reset area detection dissipation current
6
μA
Note:
1.
This indicates the memory in which the program to be executed exists.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 68 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
5.2.2
Timing Requirements (Peripheral Functions and Others)
(VCC = 5 V, VSS = 0 V, at Topr = -40°C to 85°C unless otherwise specified)
5.2.2.1
Reset Input (RESET Input)
Table 5.15
Reset Input (RESET Input)
Symbol
Standard
Parameter
Min.
RESET input low pulse width
tw(RSTL)
Max.
10
Unit
μs
RESET input
t w(RTSL)
Figure 5.6
5.2.2.2
Table 5.16
Reset Input (RESET Input)
External Clock Input
External Clock Input (XIN Input) (1)
Symbol
tc
tw(H)
tw(L)
tr
tf
Standard
Min.
Max.
50
20
20
9
9
Parameter
External clock input cycle time
External clock input high pulse width
External clock input low pulse width
External clock rise time
External clock fall time
Unit
ns
ns
ns
ns
ns
Note:
1. The condition is VCC = 3.0V to 5.0V
XIN input
tr
t w(H)
tf
t w(L)
tc
Figure 5.7
External Clock Input (XIN Input)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 69 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.2.2.3
Table 5.17
Timer A Input
Timer A Input (Counter Input in Event Counter Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
100
ns
tw(TAH)
TAiIN input high pulse width
40
ns
tw(TAL)
TAiIN input low pulse width
40
ns
Table 5.18
Timer A Input (Gating Input in Timer Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
400
ns
tw(TAH)
TAiIN input high pulse width
200
ns
tw(TAL)
TAiIN input low pulse width
200
ns
Table 5.19
Timer A Input (External Trigger Input in One-Shot Timer Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
200
ns
tw(TAH)
TAiIN input high pulse width
100
ns
tw(TAL)
TAiIN input low pulse width
100
ns
Table 5.20
Timer A Input (External Trigger Input in PWM Mode and Programmable Output Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tw(TAH)
TAiIN input high pulse width
100
ns
tw(TAL)
TAiIN input low pulse width
100
ns
tc(TA)
t w(TAH)
TAiIN input
t w(TAL)
tc(UP)
t w(UPH)
TAiOUT input
t w(UPL)
Figure 5.8
Timer A Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 70 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
Table 5.21
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
800
ns
tsu(TAIN-TAOUT)
TAiOUT input setup time
200
ns
tsu(TAOUT-TAIN)
TAiIN input setup time
200
ns
Two-phase pulse input in event counter mode
tc(TA)
TAiIN input
tsu(TAIN-TAOUT)
tsu(TAIN-TAOUT)
tsu(TAOUT-TAIN)
TAiOUT input
tsu(TAOUT-TAIN)
Figure 5.9
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 71 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.2.2.4
Table 5.22
Timer B Input
Timer B Input (Counter Input in Event Counter Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time (counted on one edge)
100
ns
tw(TBH)
TBiIN input high pulse width (counted on one edge)
40
ns
tw(TBL)
TBiIN input low pulse width (counted on one edge)
40
ns
tc(TB)
TBiIN input cycle time (counted on both edges)
200
ns
tw(TBH)
TBiIN input high pulse width (counted on both edges)
80
ns
tw(TBL)
TBiIN Input low pulse width (counted on both edges)
80
ns
Table 5.23
Timer B Input (Pulse Period Measurement Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time
400
ns
tw(TBH)
TBiIN input high pulse width
200
ns
tw(TBL)
TBiIN input low pulse width
200
ns
Table 5.24
Timer B Input (Pulse Width Measurement Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time
400
ns
tw(TBH)
TBiIN input high pulse width
200
ns
tw(TBL)
TBiIN input low pulse width
200
ns
tc(TB)
t w(TBH)
TBiIN input
t w(TBL)
Figure 5.10
Timer B Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 72 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.2.2.5
Table 5.25
Timer S Input
Timer S Input (Two-Phase Pulse Input in Two-Phase Pulse Signal Processing Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tw(TSH)
TSUDA, TSUDB input high pulse width
2
μs
tw(TSL)
TSUDA, TSUDB input low pulse width
2
μs
tsu(TSUDA-TSUDB)
TSUDB input setup time
1
μs
tsu(TSUDB-TSUDA)
TSUDA input setup time
1
μs
Two-phase pulse input in two-phase pulse signal processing mode
tw(TSH)
tw(TSL)
TSUDA input
tsu(TSUDA-TSUDB)
tsu(TSUDA-TSUDB)
tw(TSH)
tsu(TSUDB-TSUDA)
tw(TSL)
TSUDB input
tsu(TSUDB-TSUDA)
Note:
1. When the TSUDA and TSUDB phases are interchanged, tsu(TSUDA-TSUDB) and tsu(TSUDB-TSUDA)
are also interchanged.
Figure 5.11
Timer S Input (Two-Phase Pulse Input in Two-Phase Pulse Signal Processing Mode)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 73 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.2.2.6
Table 5.26
Serial Interface
Serial Interface
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(CK)
CLKi input cycle time
200
ns
tw(CKH)
CLKi input high pulse width
100
ns
tw(CKL)
CLKi input low pulse width
100
td(C-Q)
TXDi output delay time
th(C-Q)
TXDi hold time
0
ns
tsu(D-C)
RXDi input setup time
70
ns
th(C-D)
RXDi input hold time
90
ns
ns
80
ns
tc(CK)
t w(CKH)
CLKi
t w(CKL)
th(C-Q)
TXDi
td(C-Q)
tsu(D-C)
th(C-D)
RXDi
Figure 5.12
5.2.2.7
Table 5.27
Serial Interface
External Interrupt INTi Input
External Interrupt INTi Input
Symbol
Standard
Parameter
Min.
Max.
Unit
tw(INH)
INTi input high pulse width
250
ns
tw(INL)
INTi input low pulse width
250
ns
t w(INL)
INTi input
t w(INH)
Figure 5.13
External Interrupt INTi Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 74 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 5 V
Timing Requirements
(VCC = 5 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
Multi-master I2C-bus
5.2.2.8
Table 5.28
Multi-master I2C-bus
Symbol
Standard Clock Mode
Parameter
Min.
Fast-mode
Max.
Min.
Unit
Max.
tBUF
Bus free time
4.7
1.3
μs
tHD;STA
Hold time in start condition
4.0
0.6
μs
tLOW
Hold time in SCL clock 0 status
4.7
1.3
μs
tR
SCL, SDA signals’ rising time
tHD;DAT
Data hold time
tHIGH
Hold time in SCL clock 1 status
fF
SCL, SDA signals’ falling time
tsu;DAT
Data setup time
250
100
ns
tsu;STA
Setup time in restart condition
4.7
0.6
μs
tsu;STO
Stop condition setup time
4.0
0.6
μs
20 + 0.1 Cb
300
ns
0
1000
0
0.9
μs
4.0
0.6
300
20 + 0.1 Cb
μs
300
ns
SDA
t HD;STA
t BUF
t su;STO
t LOW
tR
SCL
p
t HD;STA
Figure 5.14
tF
Sr
s
t HD;DAT
t HIGH
t su;DAT
p
t su;STA
Multi-master I2C-bus
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 75 of 84
M16C/5LD Group, M16C/56D Group
5.3
5. Electrical Characteristics
Electrical Characteristics (VCC = 3 V)
5.3.1
Electrical Characteristics
VCC = 3 V
Table 5.29
Electrical Characteristics (1)
VCC = 2.7 to 3.3V, VSS = 0 V at Topr = −40°C to 85°C, f(BCLK)=25 MHz unless otherwise specified.
Symbol
VOH
Parameter
HIGH
output
voltage
P0_0 to P0_7, P1_0 to P1_7, P2_0 to
P2_7, P3_0 to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to P8_7, P9_0 to
P9_3, P9_5 to P9_7, P10_0 to P10_7
HIGH output voltage
XOUT
HIGH output voltage
XCOUT
VOH
VOL
Measuring Condition
XOUT
LOW output voltage
XCOUT
VOL
Typ.
Max.
IOH = −1 mA
VCC−0.5
VCC
HIGH POWER
IOH = −0.1 mA
VCC−0.5
VCC
LOW POWER
IOH = −50 μA
VCC−0.5
VCC
HIGH POWER
With no load applied
2.5
LOW POWER
With no load applied
1.6
P0_0 to P0_7, P1_0 to P1_7, P2_0 to
LOW output P2_7, P3_0 to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to P8_7, P9_0 to
voltage
P9_3, P9_5 to P9_7, P10_0 to P10_7
LOW output voltage
Standard
Min.
0.5
HIGH POWER
IOL = 0.1mA
0.5
LOW POWER
IOL = 50μA
0.5
With no load applied
0
LOW POWER
With no load applied
0
VT+-VT-
Hysteresis
TA0IN to TA4IN, TB0IN to TB2IN, INT0
to INT5, NMI, ADTRG, CTS0 to CTS3,
SCL2, SDA2, CLK0 to CLK4, TA0OUT
to TA4OUT, KI0 to KI3, RXD0 to RXD4,
ZP, IDU, IDW, IDV, SD, INPC1_0 to
INPC1_7, CRX0
VT+-VT-
Hysteresis
VT+-VT-
V
V
V
IOL = 1mA
HIGH POWER
Unit
V
V
V
0.4VCC
V
RESET
1.8
V
Hysteresis
XIN
0.8
V
IIH
HIGH input
current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to
P2_7, P3_0 to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to P8_7, P9_0 to
P9_3, P9_5 to P9_7, P10_0 to P10_7
XIN, RESET, CNVSS
VI = 3V
4.0
μA
IIL
LOW input
current
P0_0 to P0_7, P1_0 to P1_7, P2_0 to
P2_7, P3_0 to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to P8_7, P9_0 to
P9_3, P9_5 to P9_7, P10_0 to P10_7
XIN, RESET, CNVSS
VI = 0V
−4.0
μA
RPULLUP
Pull-up
resistance
P0_0 to P0_7, P1_0 to P1_7, P2_0 to
P2_7, P3_0 to P3_7, P6_0 to P6_7,
P7_0 to P7_7, P8_0 to P8_7, P9_0 to
P9_3, P9_5 to P9_7, P10_0 to P10_7
VI = 0V
500
kΩ
RfXIN
Feedback resistance XIN
3.0
MΩ
RfXCIN
Feedback resistance XCIN
25
MΩ
VRAM
RAM retention voltage
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
At stop mode
50
2.0
100
V
Page 76 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Table 5.30
Electrical Characteristics (2)
Topr = −40°C to 85°C unless otherwise specified.
Symbol
Parameter
Measuring Condition
High speed mode
125 kHz on-chip oscillator
mode
Power supply
current
(VCC = 3.0 V to 3.6
V)
Low power mode
In single-chip
mode, the output
pins are open and
other pins are
VSS
ICC
Wait mode
Stop mode
Standard
Min.
Unit
Typ.
Max.
f(BCLK) = 25 MHz,
XIN = 8 MHz (square wave), PLL multiply-by-8
125 kHz on-chip oscillator operates
26
40
mA
f(BCLK) = 20 MHz,
XIN = 20 MHz (square wave),
125 kHz on-chip oscillator operates
19
28
mA
f(BCLK) = 16 MHz,
XIN = 16 MHz (square wave),
125 kHz on-chip oscillator operates
15
Main clock stops
125 kHz on-chip oscillator operates
Divide-by-8
FMR22 = FMR23 = 1 (Low-current
consumption read mode)
150
mA
500
μA
f(BCLK) = 32 kHz
On Flash memory (1)
FMR22 = FMR23 = 1 (Low-current
consumption read mode)
160
μA
Main clock stops
125 kHz on-chip oscillator operates
Peripheral clock operates
Topr = 25°C
20
μA
Main clock stops
125 kHz on-chip oscillator operates
Peripheral clock operates
Topr = 85°C
50
μA
Topr = 25°C
17
Topr = 85°C
27
μA
45
μA
During flash memory
program
f(BCLK) = 10 MHz, PM17 = 1 (one wait)
VCC = 3.0 V
20.0
mA
During flash memory
erase
f(BCLK) = 10 MHz, PM17 = 1 (one wait)
VCC = 3.0 V
30.0
mA
Idet2
Low voltage detection dissipation current
3
μA
Idet0
Reset area detection dissipation current
6
μA
Note:
1.
This indicates the memory in which the program to be executed exists.
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 77 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
5.3.2
Timing Requirements (Peripheral Functions and Others)
(VCC = 3 V, VSS = 0 V, at Topr = -40°C to 85°C unless otherwise specified)
5.3.2.1
Reset Input (RESET Input)
Table 5.31
Reset Input (RESET Input)
Symbol
Standard
Parameter
Min.
RESET input low pulse width
tw(RSTL)
Max.
10
Unit
μs
RESET input
t w(RTSL)
Figure 5.15
5.3.2.2
Table 5.32
Reset Input (RESET Input)
External Clock Input
External Clock Input (XIN input) (1)
Symbol
tc
tw(H)
tw(L)
tr
tf
Standard
Min.
Max.
50
20
20
9
9
Parameter
External clock input cycle time
External clock input high pulse width
External clock input low pulse width
External clock rise time
External clock fall time
Unit
ns
ns
ns
ns
ns
Note:
1. The condition is VCC = 2.7V to 3.0V.
XIN input
tr
t w(H)
tf
t w(L)
tc
Figure 5.16
External Clock Input (XIN Input)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 78 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.3.2.3
Table 5.33
Timer A Input
Timer A Input (Counter Input in Event Counter Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
150
ns
tw(TAH)
TAiIN input high pulse width
60
ns
tw(TAL)
TAiIN input low pulse width
60
ns
Table 5.34
Timer A Input (Gating Input in Timer Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
600
ns
tw(TAH)
TAiIN input high pulse width
300
ns
tw(TAL)
TAiIN input low pulse width
300
ns
Table 5.35
Timer A Input (External Trigger Input in One-Shot Timer Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tc(TA)
TAiIN input cycle time
300
ns
tw(TAH)
TAiIN input high pulse width
150
ns
tw(TAL)
TAiIN input low pulse width
150
ns
Table 5.36
Timer A Input (External Trigger Input in PWM Mode and Programmable Output Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tw(TAH)
TAiIN input high pulse width
150
ns
tw(TAL)
TAiIN input low pulse width
150
ns
tc(TA)
t w(TAH)
TAiIN input
t w(TAL)
tc(UP)
t w(UPH)
TAiOUT input
t w(UPL)
Figure 5.17
Timer A Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 79 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
Table 5.37
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
2
μs
TAiOUT input setup time
500
ns
TAiIN input setup time
500
ns
tc(TA)
TAiIN input cycle time
tsu(TAIN-TAOUT)
tsu(TAOUT-TAIN)
Two-phase pulse input in event counter mode
tc(TA)
TAiIN input
tsu(TAIN-TAOUT)
tsu(TAIN-TAOUT)
tsu(TAOUT-TAIN)
TAiOUT input
tsu(TAOUT-TAIN)
Figure 5.18
Timer A Input (Two-Phase Pulse Input in Event Counter Mode)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 80 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.3.2.4
Table 5.38
Timer B Input
Timer B Input (Counter Input in Event Counter Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time (counted on one edge)
150
ns
tw(TBH)
TBiIN input high pulse width (counted on one edge)
60
ns
tw(TBL)
TBiIN input low pulse width (counted on one edge)
60
ns
tc(TB)
TBiIN input cycle time (counted on both edges)
300
ns
tw(TBH)
TBiIN input high pulse width (counted on both edges)
120
ns
tw(TBL)
TBiIN Input low pulse width (counted on both edges)
120
ns
Table 5.39
Timer B Input (Pulse Period Measurement Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time
600
ns
tw(TBH)
TBiIN input high pulse width
300
ns
tw(TBL)
TBiIN input low pulse width
300
ns
Table 5.40
Timer B Input (Pulse Width Measurement Mode)
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(TB)
TBiIN input cycle time
600
ns
tw(TBH)
TBiIN input high pulse width
300
ns
tw(TBL)
TBiIN input low pulse width
300
ns
tc(TB)
t w(TBH)
TBiIN input
t w(TBL)
Figure 5.19
Timer B Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 81 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.3.2.5
Table 5.41
Timer S Input
Timer S Input (Two-Phase Pulse Input in Two-Phase Pulse Signal Processing Mode)
Symbol
Standard
Min.
Max.
Parameter
Unit
tw(TSH)
TSUDA, TSUDB input high pulse width
2
μs
tw(TSL)
TSUDA, TSUDB input low pulse width
2
μs
tsu(TSUDA-TSUDB)
TSUDB input setup time
1
μs
tsu(TSUDB-TSUDA)
TSUDA input setup time
1
μs
Two-phase pulse input in two-phase pulse signal processing mode
tw(TSH)
tw(TSL)
TSUDA input
tsu(TSUDA-TSUDB)
tsu(TSUDA-TSUDB)
tw(TSH)
tsu(TSUDB-TSUDA)
tw(TSL)
TSUDB input
tsu(TSUDB-TSUDA)
Note:
1. When the TSUDA and TSUDB phases are interchanged, tsu(TSUDA-TSUDB) and tsu(TSUDB-TSUDA)
are also interchanged.
Figure 5.20
Timer S Input (Two-Phase Pulse Input in Two-Phase Pulse Signal Processing Mode)
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 82 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
5.3.2.6
Table 5.42
Serial Interface
Serial Interface
Symbol
Standard
Parameter
Min.
Max.
Unit
tc(CK)
CLKi input cycle time
300
ns
tw(CKH)
CLKi input high pulse width
150
ns
tw(CKL)
CLKi input low pulse width
150
td(C-Q)
TXDi output delay time
th(C-Q)
TXDi hold time
0
ns
tsu(D-C)
RXDi input setup time
100
ns
th(C-D)
RXDi input hold time
90
ns
ns
160
ns
tc(CK)
t w(CKH)
CLKi
t w(CKL)
th(C-Q)
TXDi
td(C-Q)
tsu(D-C)
th(C-D)
RXDi
Figure 5.21
5.3.2.7
Table 5.43
Serial Interface
External Interrupt INTi Input
External Interrupt INTi Input
Symbol
Standard
Parameter
Min.
Max.
Unit
tw(INH)
INTi input high pulse width
380
ns
tw(INL)
INTi input low pulse width
380
ns
t w(INL)
INTi input
t w(INH)
Figure 5.22
External Interrupt INTi Input
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 83 of 84
M16C/5LD Group, M16C/56D Group
5. Electrical Characteristics
VCC = 3 V
Timing Requirements
(VCC = 3 V, VSS = 0 V, at Topr = −40°C to 85°C unless otherwise specified)
Multi-master I2C-bus
5.3.2.8
Table 5.44
Multi-master I2C-bus
Symbol
Standard Clock Mode
Parameter
Min.
Fast-mode
Max.
Min.
Unit
Max.
tBUF
Bus free time
4.7
1.3
μs
tHD;STA
Hold time in start condition
4.0
0.6
μs
tLOW
Hold time in SCL clock 0 status
4.7
1.3
μs
tR
SCL, SDA signals’ rising time
tHD;DAT
Data hold time
tHIGH
Hold time in SCL clock 1 status
fF
SCL, SDA signals’ falling time
tsu;DAT
Data setup time
250
100
ns
tsu;STA
Setup time in restart condition
4.7
0.6
μs
tsu;STO
Stop condition setup time
4.0
0.6
μs
20 + 0.1 Cb
300
ns
0
1000
0
0.9
μs
4.0
0.6
300
20 + 0.1 Cb
μs
300
ns
SDA
t HD;STA
t BUF
t su;STO
t LOW
tR
SCL
p
t HD;STA
Figure 5.23
tF
Sr
s
t HD;DAT
t HIGH
t su;DAT
p
t su;STA
Multi-master I2C-bus
R01DS0132EJ0120 Rev.1.20
Nov 25, 2011
Page 84 of 84
REVISION HISTORY
M16C/5LD Group, M16C/56D Group Datasheet
Description
Rev.
Date
1.10
Dec.01, 2009
—
1.20
Nov. 25, 2011
Overall
Specified Renesas Electronics sales office as a contact.
Overall
Modified register names are as follows:
• 0075h “CAN0 Receive Completion Interrupt Control Register” to “CAN0 Reception
Complete Interrupt Control Register”
• 0076h “CAN0 Transmit Completion Interrupt Control Register” to “CAN0 Transmission
Complete Interrupt Control Register”
• 0071h “CAN0 Wakeup Interrupt Control Register” to “CAN0 Wake-up Interrupt Control
Register”
• 037Ch “Count Source Protect Mode Register” to “Count Source Protection Mode
Register”
Overall
Changed terminologies are as follows:
• “voltage detector 2” to “voltage monitor 2”
• “oscillation stop detection reset” to “oscillator stop detect reset”
• “detection circuit” to “detector”
• “Oscillation stop and re-oscillation detect” to “Oscillator stop/restart detect”
• “oscillation/oscillator circuit” to “oscillator”
• “oscillator” to “a crystal/ceramic resonator”
• “oscillator manufacturer” to “manufacturer of crystal/ceramic resonator”
• “on-chip oscillator oscillation circuit” to “on-chip oscillator”
Page
Summary
First edition issued
Overview
3, 5
Table 1.2, Table 1.4 Specifications (2/2) (80-pin, 64-pin):
Added the Current Consumption row, and added note 1.
8, 9
Figure 1.3, Figure 1.4 Block Diagram (80-pin, 64-pin):
• Deleted “8-bit” from the description for the UART/clock synchronous serial interface.
• Deleted “(8-bit x 1 channel)” from the description for the Real-time clock.
• Added “(1 channel)” to the description for the Multi-master I2C-bus.
• Moved “dedicated 125 kHz on-chip oscillator for the watchdog timer” to description for
the watchdog timer.
10, 13
Figure 1.5, Figure 1.6 Pin Assignments (80-pin, 64-pin):
Added TSUDA and TSUDB to pins P8_0 and P8_1, respectively.
11, 14
Table 1.7, Table 1.9 Pin Names (1/2) (80-pin, 64-pin):
Added TSUDA and TSUDB to pins P8_0 and P8_1, respectively.
16
Table 1.11 Pin Functions (64-Pin and 80-Pin Packages) (1/2):
• Deleted “pin” or “pins” from “input pin/pins” and “output pin/pins”.
• Changed “low active input” to “input”.
• Added “Pins” to “AVCC and AVSS” in the Description column of the Analog power
supply row.
• Deleted “Low active input pin.” from the Reset input row.
• Changed the description in the Description column of the CNVSS row.
• Added footnote reference number (1) in the Sub clock input and output rows in the
Description column.
• Deleted “INT2 is used to input Z-phase of timer A” in the Description column of the INT
interrupt input row.
• Added UART0 to UART3 in the Signal Name column of the Serial interface row.
• Added UART2 to the Signal Name column of the I2C mode row.
17
Table 1.12 Pin Functions (64-Pin and 80-Pin Packages) (2/2):
• Deleted “pin” or “pins” from “input pin/pins” and “output pin/pins”.
• Changed “low active input” to “input”.
• Added “TSUDA, TSUDB” to the Pin Name in the Timer S row.
• Changed “Input pin” to “Receive data input” and “Output pin” to “Transmit data output”
in the Description column of the CAN Module row.
• In the Description column of the I/O port row, changed the explanation of the direction
register, and changed “4 input ports” to “4 bits”.
A- 1
REVISION HISTORY
Rev.
Date
1.20
Nov. 25, 2011
M16C/5LD Group, M16C/56D Group Datasheet
Description
Page
18
Summary
Table 1.13 Pin Functions (80-Pin Package Only):
• Deleted “pin” or “pins” from “input pin/pins” and “output pin/pins”.
• Added UART4 to the Signal Name column of the Serial interface row.
• In the Description column of the I/O port row, changed the explanation of the direction
register, and changed “4 input ports” to “4 bits”.
Memory
23
Figure 3.1 Memory Map:
• Added note 2.
• Added footnote reference numbers (1) and (2).
Special Function Registers (SFRs)
56
4.2.1 Register Settings: Added the description regarding read-modify-write instructions.
57
Table 4.34 Read-Modify-Write Instructions: Added.
Electrical Characteristics
Chap. 5.
Specified symbols for the following pins according to the change in Timer S.
• P8_0, P8_0 (A-phase) to TSUDA
• P8_1, P8_1 (B-phase) to TSUDB
Common to 3 V and 5 V
58
Table 5.1 Absolute Maximum Ratings: Deleted VREF from the VI.
59
Table 5.2 Operating Conditions (1):
• Changed the minimum value of VCC from “3.0”.
• Changed the maximum value of IOH(sum) from “80”.
• Changed the maximum value of IOL(sum) from “-80.”
61
Table 5.4 A/D Conversion Characteristics (1, 3): Changed note 3.
64
Table 5.9 Voltage Detector 2 Electrical Characteristics:
Added Vdet2_0 to Vdet2_3, and Vdet2_5 to Vdet2_7.
65
Table 5.11 Power Supply Circuit Timing Characteristics: Changed the maximum value of
td(W-S) from “150”.
66
Figure 5.5 Power Supply Circuit Timing Diagram: Changed “Low voltage detection circuit”
to “Voltage detection circuit”
66
Table 5.12 125kHz On-Chip Oscillator Electrical Characteristics:
Added the Dedicated 125 kHz on-chip oscillator for the watchdog timer oscillation
frequency.
Vcc = 5 V
67
Table 5.13 Electrical Characteristics (1):
Changed the maximum value of VT+-VT-, which includes TA0IN and others in Hysteresis,
from “2.5”.
73
5.2.2.5 Timer S Input: Added.
75
Figure 5.14 Multi-master I2C-bus: Changed tHD;DTA to tHD;DAT and tsu;DTA to tsu;DAT.
Vcc = 3 V
76
Table 5.29 Electrical Characteristics (1):
Changed the maximum value of VT+-VT-, which includes TA0IN and others in Hysteresis,
from “1.8”.
82
5.3.2.5 Timer S Input: Added.
84
Figure 5.23 Multi-master I2C-bus: Changed tHD;DTA to tHD;DAT and tsu;DTA to tsu;DAT.
All trademarks and registered trademarks are the property of their respective owners.
A- 2
General Precautions in the Handling of MPU/MCU Products
The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes
on the products covered by this manual, refer to the relevant sections of the manual. If the descriptions under
General Precautions in the Handling of MPU/MCU Products and in the body of the manual differ from each
other, the description in the body of the manual takes precedence.
1. Handling of Unused Pins
Handle unused pins in accord with the directions given under Handling of Unused Pins in the
manual.
 The input pins of CMOS products are generally in the high-impedance state. In operation
with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the
vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur
due to the false recognition of the pin state as an input signal become possible. Unused
pins should be handled as described under Handling of Unused Pins in the manual.
2. Processing at Power-on
The state of the product is undefined at the moment when power is supplied.
 The states of internal circuits in the LSI are indeterminate and the states of register
settings and pins are undefined at the moment when power is supplied.
In a finished product where the reset signal is applied to the external reset pin, the states
of pins are not guaranteed from the moment when power is supplied until the reset
process is completed.
In a similar way, the states of pins in a product that is reset by an on-chip power-on reset
function are not guaranteed from the moment when power is supplied until the power
reaches the level at which resetting has been specified.
3. Prohibition of Access to Reserved Addresses
Access to reserved addresses is prohibited.
 The reserved addresses are provided for the possible future expansion of functions. Do
not access these addresses; the correct operation of LSI is not guaranteed if they are
accessed.
4. Clock Signals
After applying a reset, only release the reset line after the operating clock signal has become
stable. When switching the clock signal during program execution, wait until the target clock
signal has stabilized.
 When the clock signal is generated with an external resonator (or from an external
oscillator) during a reset, ensure that the reset line is only released after full stabilization of
the clock signal. Moreover, when switching to a clock signal produced with an external
resonator (or by an external oscillator) while program execution is in progress, wait until
the target clock signal is stable.
5. Differences between Products
Before changing from one product to another, i.e. to one with a different part number, confirm
that the change will not lead to problems.
 The characteristics of MPU/MCU in the same group but having different part numbers may
differ because of the differences in internal memory capacity and layout pattern. When
changing to products of different part numbers, implement a system-evaluation test for
each of the products.
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.
2.
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.
3.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4.
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.
5.
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.
6.
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
7.
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
assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
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.
"Standard":
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.
8.
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.
9.
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.
10. 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.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. 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.
(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.
http://www.renesas.com
SALES OFFICES
Refer to "http://www.renesas.com/" for the latest and detailed information.
Renesas Electronics America Inc.
2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A.
Tel: +1-408-588-6000, Fax: +1-408-588-6130
Renesas Electronics Canada Limited
1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada
Tel: +1-905-898-5441, Fax: +1-905-898-3220
Renesas Electronics Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K
Tel: +44-1628-585-100, Fax: +44-1628-585-900
Renesas Electronics Europe GmbH
Arcadiastrasse 10, 40472 Düsseldorf, Germany
Tel: +49-211-65030, Fax: +49-211-6503-1327
Renesas Electronics (China) Co., Ltd.
7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China
Tel: +86-10-8235-1155, Fax: +86-10-8235-7679
Renesas Electronics (Shanghai) Co., Ltd.
Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China
Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898
Renesas Electronics Hong Kong Limited
Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong
Tel: +852-2886-9318, Fax: +852 2886-9022/9044
Renesas Electronics Taiwan Co., Ltd.
13F, No. 363, Fu Shing North Road, Taipei, Taiwan
Tel: +886-2-8175-9600, Fax: +886 2-8175-9670
Renesas Electronics Singapore Pte. Ltd.
1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632
Tel: +65-6213-0200, Fax: +65-6278-8001
Renesas Electronics Malaysia Sdn.Bhd.
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: +60-3-7955-9390, Fax: +60-3-7955-9510
Renesas Electronics Korea Co., Ltd.
11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-5141
© 2012 Renesas Electronics Corporation. All rights reserved.
Colophon 1.1