You are on page 1of 85

M16C/64A Group

RENESAS MCU

REJ03B0264-0101 Rev.1.01 Feb 03, 2009

1.
1.1

Overview
Features

The M16C/64A Group microcomputer (MCU) incorporates the M16C/60 Series CPU core and flash memory, employing sophisticated instructions for a high level of efficiency. This MCU has 1 MB of address space (expandable to 4 MB), and it is capable of executing instructions at high speed. In addition, the CPU core boasts a multiplier for high-speed operation processing. This MCU consumes little power, and supports operating modes that allow additional power control. The MCU also uses an anti-noise configuration to reduce emissions of electromagnetic noise and is designed to withstand electromagnetic interference (EMI). By integrating many of the peripheral functions, including the multifunction timer and serial interface, the number of system components has been reduced.

1.1.1

Applications

This MCU can be used in audio components, cameras, televisions, household appliances, office equipment, communication devices, mobile devices, industrial equipment, and other applications.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 1 of 83

M16C/64A Group

1. Overview

1.2

Specifications

The M16C/64A Group includes100-pin package. Table 1.1 and Table 1.2 list specifications. Table 1.1
Item

Specifications for the 100-Pin Package (1/2)


Function Description M16C/60 core (multiplier: 16-bit 16-bit 32-bit, multiply and accumulate instruction: 16-bit 16-bit + 32-bit 32-bit) Number of basic instructions: 91 Minimum instruction execution time: 40.0ns (f(BCLK) = 25MHz, AVCC1 = VCC2 = 2.7 to 5.5V) Operating modes: Single-chip, memory expansion, and microprocessor See Table 1.3 Product List.

CPU

Central processing unit

Memory Voltage Detection

ROM, RAM, data flash Voltage detector

Power-on reset 3 voltage detection points (selectable detection level from voltage
detection level 0 and volage detection level 1)

4 circuits: Main clock, sub clock, low-speed on-chip oscillator (125 kHz),
PLL frequency synthesizer

Oscillation stop detection: Main clock oscillation stop/reoscillation


Clock Clock generator detection function

Frequency divider circuit: Divide ratio selectable from 1, 2, 4, 8, and 16 Power saving features: Wait mode, stop mode Real-time clock Address space: 1 MB External bus interface: 0 to 3 wait states, 4 chip select outputs, memory area
External Bus Bus and memory Expansion expansion expansion function (expandable to 4-MB), 3 V and 5 V interfaces

Bus format: Separate bus or multiplexed bus selectable, data bus width
selectable (8 or 16 bits), number of address buses selectable (12, 16, or 20)

I/O Ports

Programmable I/O ports

Interrupts

CMOS I/O ports: 85 (selectable pull-up resistors) N-channel open drain ports: 3 Interrupt vectors: 70 External interrupt inputs: 13 (NMI, INT 8, key input 4) Interrupt priority levels: 7
15-bit timer 1 (with prescaler) Automatic reset start function selectable

Watchdog Timer

DMA

DMAC

4 channels, cycle steal mode Trigger sources: 43 Transfer modes: 2 (single transfer, repeat transfer)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 2 of 83

M16C/64A Group

1. Overview

Table 1.2
Item

Specifications for the 100-Pin Package (2/2)


Function Description 16-bit timer 5 Timer mode, event counter mode, one-shot timer mode, pulse width modulation (PWM) mode Event counter two-phase pulse signal processing (two-phase encoder input) 3 Programmable output mode 3 16-bit timer 6 Timer mode, event counter mode, pulse period measurement mode pulse width measurement mode

Timer A

Timer B Three-phase motor control timer functions Timers Real-time clock PWM function

Three-phase inverter control (timer A1, timer A2, timer A4, timer B2) On-chip dead time timer
Count: second, minute, hour, day of week 8 bits 2

2 circuits 4 wave pattern matchings (differentiate wave pattern for headers, data
Remote control signal receiver 0, data 1, and special data)

6-byte receive buffer (1 circuit only) Operating frequency of 32 kHz


Serial Interface Multi-master UART0 to UART2, UART5 to UART7 SI/O3, SI/O4 I2C-bus Interface Clock synchronous/asynchronous 6 channels I2C-bus, IEBus (1), special mode 2 SIM (UART2) Clock synchronization only 2 channels 1 channel CEC transmit/receive, arbitration lost detection, ACK automatic output, operation frequency of 32 kHz 10-bit resolution 26 channels, including sample and hold function Conversion time: 1.72 s 8-bit resolution 2 circuits CRC-CCITT (X16 + X12 + X5 + 1), CRC-16 (X16 + X15 + X2 + 1) compliant

CEC Functions (3) A/D Converter D/A Converter CRC Calculator

Flash Memory

Program/erase power supply voltage: 2.7 to 5.5 V Program/erase cycles: 1,000 times (program ROM 1, program ROM
2), 10,000 times (data flash)

Program security: ROM code protect, ID code check


Debug Functions Operation Frequency/Supply Voltage Current Consumption Operating Temperature Package On-chip debug, on-board flash rewrite, address match interrupt 4 25 MHz/VCC1 = 2.7 to 5.5 V, VCC2 = 2.7 V to VCC1 TBD (25 MHz/VCC1 = VCC2 = 3 V) TBD (VCC1 = VCC2 = 3 V (in stop mode)) -20C to 85C, -40C to 85C (2) 100-pin QFP: PRQP0100JD-B (Previous package code: 100P6F-A) 100-pin LQFP: PLQP0100KB-A (Previous package code: 100P6Q-A)

Notes: 1. IEBus is a registered trademark of NEC Electronics Corporation. 2. See Table 1.3 Product List for the operating temperature. 3. The CEC function indicates circuitry which supports the transmission and reception of CEC signals standardized by the High-Definition Multimedia Interface (HDMI). HDMI and High-Definition Multimedia Interface are registered trademarks of HDMI Licensing, LLC.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 3 of 83

M16C/64A Group

1. Overview

1.3

Product List

Table 1.3 lists product information. Figure 1.1 shows the Part No., with Memory Size and Package, and Figure 1.2 shows the Marking Diagram (Top View). Table 1.3 Product List
Program ROM 1 128 KB ROM Capacity Program Data flash ROM 2 16 KB 4 KB 2 blocks RAM Capacity 12 KB Package Code Remarks

Part No. R5F364A6NFA R5F364A6NFB R5F364A6DFA R5F364A6DFB R5F364AENFA R5F364AENFB R5F364AEDFA R5F364AEDFB R5F364AMNFA R5F364AMNFB R5F364AMDFA R5F364AMDFB (P) (P) (P) (P) (P) (P) (D) (D) (P) (P) (P) (P)

256 KB

16 KB

4 KB 2 blocks

20 KB

512 KB

16 KB

4 KB 2 blocks

31 KB

PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -20C to 85C PRQP0100JD-B Operating temperature PLQP0100KB-A -40C to 85C

(D): Under development (P): Planning Note: 1. Previous package codes are as follows: PRQP0100JD-B: 100P6F-A PLQP0100KB-A: 100P6Q-A

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 4 of 83

M16C/64A Group

1. Overview

Part No. R 5 F 3

6 4 A 6 D FA
Package type FA: Package PRQP0100JD-B (100P6F-A) FB: Package PLQP0100KB-A (100P6Q-A) Property Code N: Operating temperature: -20C to 85C D: Operating temperature: -40C to 85C Memory capacity Program ROM 1/RAM 6: 128 KB/12 KB E: 256 KB/20 KB M: 512 KB/31 KB M16C/64A Group (100 pins) 16-bit MCU Memory type F: Flash memory Renesas MCU Renesas semiconductor

Figure 1.1

Part No., with Memory Size and Package

M1 6 C R 5 F 3 6 5 0 6 DF A XXXXXXX

Type No. (See Figure 1.1 Part No., Memory Size, and Package.) Seven digit date code

Figure 1.2

Marking Diagram (Top View)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 5 of 83

M16C/64A Group

1. Overview

1.4

Block Diagram

Figure 1.3 shows block diagram.

8 Port P0

8 Port P1

8 Port P1

8 Port P3

8 Port P4

8 Port P5

VCC2 ports

Internal peripheral functions


Timer (16-bit) Outputs (timer A): 5 Inputs (timer B): 6 Three-phase motor control circuit Real-time clock PWM function (8-bit x 2) Remote control signal receiver (2 circuits) Watchdog timer (15-bit) A/D converter (10-bit resolution x 26 channels) D/A converter (8-bit resolution x 2 circuits)

UART or clock synchronous serial I/O (6 channels) Clock synchronous serial I/O
(8-bit x 2 channels) Multi-master I2C-bus interface

System clock generator XIN-XOUT XCIN-XCOUT PLL frequency synthesizer On-chip oscillator (125 kHz) DMAC (4 channels) CRC arithmetic circuit (CRC-CCITT or CRC-16) Voltage detector Power-on reset On-chip debugger

(1 channel) CEC function

M16C/60 Series CPU core


R0H R1H R2 R3 A0 A1 FB R0L R1L SB USP ISP INTB PC FLG

Memory ROM (1) RAM


(2)

Multiplier

VCC1 ports

Port P10 8

Port P9 8

Port P8 8

Port P7 8

Port P6 8

Notes: 1. ROM size depends on MCU type. 2. RAM size depends on MCU type.

Figure 1.3

Block Diagram for the 100-Pin Package

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 6 of 83

M16C/64A Group

1. Overview

1.5

Pin Assignments

Figure 1.4 and Figure 1.5 show pin assignments. Table 1.4 and Table 1.5 list pin names.

(See Note 3) P1_0/CTS6/RTS6/D8 P1_1/CLK6/D9 P1_2/RXD6/SCL6/D10 P1_3/TXD6/SDA6/D11 P1_4/D12 P1_5/INT3/IDV/D13 P1_6/INT4/IDW/D14 P1_7/INT5/IDU/D15 P2_0/AN2_0/A0, [A0/D0], A0 P2_1/AN2_1/A1, [A1/D1], [A1/D0] P2_2/AN2_2/A2, [A2/D2], [A2/D1] P2_3/AN2_3/A3, [A3/D3], [A3/D2] P2_4/INT6/AN2_4/A4, [A4/D4], [A4/D3] P2_5/INT7/AN2_5/A5, [A5/D5], [A5/D4] P2_6/AN2_6/A6, [A6/D6], [A6/D5] P2_7/AN2_7/A7, [A7/D7], [A7/D6] VSS P3_0/A8 [A8/D7] VCC2 P3_1/A9 P3_2/A10 P3_3/A11 P3_4/A12 P3_5/A13 P3_6/A14 P3_7/A15 P4_0/A16 P4_1/A17 P4_2/A18 P4_3/A19 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31

P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0 P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0 P10_3/AN3 P10_2/AN2 P10_1/AN1 AVSS P10_0/AN0 VREF AVCC P9_7/ADTRG/SIN4

81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

VCC2 ports

M16C/64A Group
PRQP0100JD-B (100P6F-A) (top view)
VCC1 ports
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

P4_4/CTS7/RTS7/CS0 P4_5/CLK7/CS1 P4_6/PWM0/RXD7/SCL7/CS2 P4_7/PWM1/TXD7/SDA7/CS3 P5_0/WRL/WR P5_1/WRH/BHE P5_2/RD P5_3/BCLK P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P6_0/RTCOUT/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 P6_6/RXD1/SCL1 P6_7/TXD1/SDA1

Notes: 1. N-channel open drain output. 2. Check the position of Pin 1 by referring to appendix 1, Package Dimensions. 3. Pin names in brackets [ ] represent a single functional signal. They should not be considered as two separate functional signals.

Figure 1.4

Pin Assignment for the 100-Pin Package

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 7 of 83

P9_6/ANEX1/SOUT4 P9_5/ANEX0/CLK4 P9_4/DA1/TB4IN/PWM1 P9_3/DA0/TB3IN/PWM0 P9_2/TB2IN/PMC0/SOUT3 P9_1/TB1IN/PMC1/SIN3 P9_0/TB0IN/CLK3 BYTE CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI/SD/CEC (1) P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U/CTS5/RTS5 P8_0/TA4OUT/U/RXD5/SCL5 P7_7/TA3IN/CLK5 P7_6/TA3OUT/TXD5/SDA5 P7_5/TA2IN/W P7_4/TA2OUT/W P7_3/CTS2/RTS2/TA1IN/V P7_2/CLK2/TA1OUT/V P7_1/RXD2/SCL2/SCLMM/TA0IN/TB5IN (1) P7_0/TXD2/SDA2/SDAMM/TA0OUT (1)

M16C/64A Group

1. Overview

(See Note 3) P1_3/TXD6/SDA6/D11 P1_4/D12 P1_5/INT3/IDV/D13 P1_6/INT4/IDW/D14 P1_7/INT5/IDU/D15 P2_0/AN2_0/A0, [A0/D0], A0 P2_1/AN2_1/A1, [A1/D1], [A1/D0] P2_2/AN2_2/A2, [A2/D2], [A2/D1] P2_3/AN2_3/A3, [A3/D3], [A3/D2] P2_4/INT6/AN2_4/A4, [A4/D4], [A4/D3] P2_5/INT7/AN2_5/A5, [A5/D5], [A5/D4] P2_6/AN2_6/A6, [A6/D6], [A6/D5] P2_7/AN2_7/A7, [A7/D7], [A7/D6] VSS P3_0/A8 [A8/D7] VCC2 P3_1/A9 P3_2/A10 P3_3/A11 P3_4/A12 P3_5/A13 P3_6/A14 P3_7/A15 P4_0/A16 P4_1/A17 P1_2/RXD6/SCL6/D10 P1_1/CLK6/D9 P1_0/CTS6/RTS6/D8 P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0 P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0 P10_3/AN3 P10_2/AN2 P10_1/AN1 AVSS P10_0/AN0 VREF AVCC P9_7/ADTRG/SIN4 P9_6/ANEX1/SOUT4 P9_5/ANEX0/CLK4 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26

VCC2 ports

M16C/64A Group
PLQP0100KB-A (100P6Q-A) (top view)

VCC1 ports

P4_2/A18 P4_3/A19 P4_4/CTS7/RTS7/CS0 P4_5/CLK7/CS1 P4_6/PWM0/RXD7/SCL7/CS2 P4_7/PWM1/TXD7/SDA7/CS3 P5_0/WRL/WR P5_1/WRH/BHE P5_2/RD P5_3/BCLK P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P6_0/RTCOUT/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 P6_6/RXD1/SCL1 P6_7/TXD1/SDA1 P7_0/TXD2/SDA2/SDAMM/TA0OUT (1) P7_1/RXD2/SCL2/SCLMM/TA0IN/TB5IN (1) P7_2/CLK2/TA1OUT/V

P9_4/DA1/TB4IN/PWM1 P9_3/DA0/TB3IN/PWM0 P9_2/TB2IN/PMC0/SOUT3 P9_1/TB1IN/PMC1/SIN3 P9_0/TB0IN/CLK3 BYTE CNVSS P8_7/XCIN P8_6/XCOUT

Notes: 1. N-channel open drain output. 2. Check the position of Pin 1 by referring to appendix 1, Package Dimensions. 3. Pin names in brackets [ ] represent a single functional signal. They should not be considered as two separate functional signals.

Figure 1.5

Pin Assignment for the 100-Pin Package

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 8 of 83

RESET XOUT VSS XIN VCC1 P8_5/NMI/SD/CEC (1) P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U/CTS5/RTS5 P8_0/TA4OUT/U/RXD5/SCL5 P7_7/TA3IN/CLK5 P7_6/TA3OUT/TXD5/SDA5 P7_5/TA2IN/W P7_4/TA2OUT/W P7_3/CTS2/RTS2/TA1IN/V

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

M16C/64A Group

1. Overview

Table 1.4
Pin No. FA 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 FB 99 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

Pin Names for the 100-Pin Package (1/2)


I/O Pin for Peripheral Function Control Pin Port P9_6 P9_5 P9_4 P9_3 P9_2 P9_1 P9_0 BYTE CNVSS XCIN XCOUT RESET XOUT VSS XIN VCC1 Interrupt Timer Serial interface SOUT4 CLK4 TB4IN/PWM1 TB3IN/PWM0 TB2IN/PMC0 TB1IN/PMC1 TB0IN A/D converter, D/A converter ANEX1 ANEX0 DA1 DA0 Bus Control Pin

SOUT3 SIN3 CLK3

P8_7 P8_6

P8_5 P8_4 P8_3 P8_2 P8_1 P8_0 P7_7 P7_6 P7_5 P7_4 P7_3 P7_2 P7_1 P7_0 P6_7 P6_6 P6_5 P6_4 P6_3 P6_2 P6_1 P6_0 P5_7 P5_6 P5_5 P5_4 P5_3 P5_2 P5_1 P5_0 P4_7 P4_6 P4_5 P4_4

NMI INT2 INT1 INT0

SD ZP

CEC

TA4IN/U TA4OUT/U TA3IN TA3OUT TA2IN/W TA2OUT/W TA1IN/V TA1OUT/V TA0IN/TB5IN TA0OUT

CTS5/RTS5 RXD5/SCL5 CLK5 TXD5/SDA5

RTCOUT

CTS2/RTS2 CLK2 RXD2/SCL2/SCLMM TXD2/SDA2/SDAMM TXD1/SDA1 RXD1/SCL1 CLK1 CTS1/RTS1/CTS0/ CLKS1 TXD0/SDA0 RXD0/SCL0 CLK0 CTS0/RTS0 RDY ALE HOLD HLDA BCLK RD WRH/BHE WRL/WR CS3 CS2 CS1 CS0

CLKOUT

PWM1 PWM0

TXD7/SDA7 RXD7/SCL7 CLK7 CTS7/RTS7

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 9 of 83

M16C/64A Group

1. Overview

Table 1.5
Pin No. FA 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 FB 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98

Pin Names for the 100-Pin Package (2/2)


Control Pin Port P4_3 P4_2 P4_1 P4_0 P3_7 P3_6 P3_5 P3_4 P3_3 P3_2 P3_1 VCC2 P3_0 VSS P2_7 P2_6 P2_5 P2_4 P2_3 P2_2 P2_1 P2_0 P1_7 P1_6 P1_5 P1_4 P1_3 P1_2 P1_1 P1_0 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 P10_7 P10_6 P10_5 P10_4 P10_3 P10_2 P10_1 AVSS P10_0 VREF AVCC P9_7 SIN4 ADTRG AN0 AN2_7 AN2_6 AN2_5 AN2_4 AN2_3 AN2_2 AN2_1 AN2_0 IDU IDW IDV TXD6/SDA6 RXD6/SCL6 CLK6 CTS6/RTS6 AN0_7 AN0_6 AN0_5 AN0_4 AN0_3 AN0_2 AN0_1 AN0_0 AN7 AN6 AN5 AN4 AN3 AN2 AN1 A7, [A7/D7], [A7/D6] A6, [A6/D6], [A6/D5] A5, [A5/D5], [A5/D4] A4, [A4/D4], [A4/D3] A3, [A3/D3], [A3/D2] A2, [A2/D2], [A2/D1] A1, [A1/D1], [A1/D0] A0, [A0/D0], A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 A8, [A8/D7] Interrupt I/O Pin for Peripheral Function A/D converter, Timer Serial interface D/A converter Bus Control Pin A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9

INT7 INT6

INT5 INT4 INT3

KI3 KI2 KI1 KI0

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 10 of 83

M16C/64A Group

1. Overview

1.6

Pin Functions
Pin Functions for the 100-Pin Package (1/3)
Pin Name VCC1, VCC2, VSS AVCC, AVSS RESET I/O I Power Supply Description Apply 2.7 to 5.5 V to pins VCC1 and VCC2 (VCC1 VCC2) and 0 V to the VSS pin. This is the power supply for the A/D and D/A converters. Connect the AVCC pin to VCC1, and connect the AVSS pin to VSS. Driving this pin low resets the MCU. Input pin to switch processor modes. After a reset, to start operating in single-chip mode, connect the CNVSS pin to VSS via a resistor. To start operating in microprocessor mode, connect the pin to VCC1. Input pin to select the data bus of the external area. The data bus is 16 bits when it is low, and 8 bits when it is high. This pin must be fixed either high or low. Connect the BYTE pin to VSS in single-chip mode. Inputs or outputs data (D0 to D7) while accessing an external area with a separate bus. Inputs or outputs data (D8 to D15) while accessing an external area with a 16-bit separate bus. Outputs address bits A0 to A19. Inputs or outputs data (D0 to D7) and outputs address bits (A0 to A7) by timesharing, while accessing an external area with an 8-bit multiplexed bus. Inputs or outputs data (D0 to D7) and outputs address bits (A1 to A8) by timesharing, while accessing an external area with a 16-bit multiplexed bus. Outputs chip-select signals CS0 to CS3 to specify an external area. Outputs WRL, WRH, (WR, BHE), and RD signals. WRL and WRH can be switched with BHE and WR. WRL, WRH, and RD selected If the external data bus is 16 bits, data is written to an even address in an external area when WRL is driven low. Data is written to an odd address when WRH is driven low. Data is read when RD is driven low. WR, BHE, and RD selected Data is written to an external area when WR is driven low. Data in an external area is read when RD is driven low. An odd address is accessed when BHE is driven low. Select WR, BHE, and RD when using an 8-bit external data bus. Outputs ALE signal to latch address. The MCU is placed in a hold state while the HOLD pin is driven low. In a hold state, HLDA outputs a low-level signal. The MCU bus is placed in a wait state while the RDY pin is driven low.

Table 1.6
Power supply input Analog power supply input Reset input

Signal Name

I I

VCC1 VCC1

CNVSS

CNVSS

VCC1

External data bus width select input

BYTE

VCC1

D0 to D7 D8 to D15 A0 to A19 A0/D0 to A7/D7 A1/D0 to A8/D7 CS0 to CS3

I/O I/O O I/O

VCC2 VCC2 VCC2 VCC2

I/O

VCC2

VCC2

Bus control pins WRL/WR WRH/BHE RD

VCC2

ALE HOLD HLDA RDY

O I O I

VCC2 VCC2 VCC2 VCC2

Power supply: VCC2 is used to supply power to the external bus associated pins. The dual power supply configuration allows VCC2 to interface at a different voltage than VCC1.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 11 of 83

M16C/64A Group

1. Overview

Table 1.7

Pin Functions for the 100-Pin Package (2/3)


Pin Name XIN XOUT XCIN XCOUT BCLK CLKOUT INT0 to INT2 INT3 to INT7 NMI KI0 to KI3 TA0OUT to TA4OUT I/O I O I O O O I I I I I/O I I I O I I O O I I I O O I/O I/O I I O O O Power Supply VCC1 VCC1 VCC1 VCC1 VCC2 VCC2 VCC1 VCC2 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC2 VCC1 Description I/O for the main clock oscillator. Connect a ceramic resonator or crystal between pins XIN and XOUT. (1) Input an external clock to XIN pin and leave XOUT pin open. I/O for a sub clock oscillator. Connect a crystal between XCIN pin and XCOUT pin. (1) Input an external clock to XCIN pin and leave XCOUT pin open. Outputs the BCLK signal. Outputs a clock with the same frequency as fC, f1, f8, or f32. Input for the INT interrupt. Input for the NMI interrupt. Input for the key input interrupt. I/O for timers A0 to A4 (TA0OUT is N-channel open drain output). Input for timers A0 to A4. Input for Z-phase. Input for timers B0 to B5. Output for the three-phase motor control timer. Forced cutoff input. Input for the position data. Output for the real-time clock.

Signal Name Main clock input Main clock output Sub clock input Sub clock output BCLK output Clock output INT interrupt input NMI interrupt input Key input interrupt input

Timer A

TA0IN to TA4IN ZP TB0IN to TB5IN U, U, V, V, W, W SD IDU, IDV, IDW RTCOUT PWM0, PWM1 PMC0, PMC1 CTS0 to CTS2, CTS5 CTS6, CTS7 RTS0 to RTS2, RTS5 RTS6, RTS7 CLK0 to CLK2, CLK5 CLK6, CLK7 RXD0 to RXD2, RXD5 RXD6, RXD7 TXD0 to TXD2, TXD5 TXD6, TXD7 CLKS1

Timer B Three-phase motor control timer Real-time clock output PWM output Remote control signal receiver input

VCC1, PWM output. VCC2 VCC1 VCC1 VCC2 VCC1 VCC2 VCC1 VCC2 VCC1 VCC2 VCC1 VCC2 VCC1 Output for the transmit/receive clock multiple-pin output function. Serial data output. (2) Serial data input. Transmit/receive clock I/O. Output pins to control data reception. Input for the remote control signal receiver.

Input pins to control data transmission.

Serial interface UART0 to UART2, UART5 to UART7

Notes: 1. Contact the oscillator manufacturer regarding the oscillation characteristics. 2. TXD2, SDA2, and SCL2 are N-channel open drain output pins. TXDi (i = 0, 1, 5 to 7), SDAi, and SCLi can be selected as CMOS output pins or N-channel open drain output pins.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 12 of 83

M16C/64A Group

1. Overview

Table 1.8
Signal Name

Pin Functions for the 100-Pin Package (3/3)


Pin Name SDA0 to SDA2, SDA5 SDA6, SDA7 SCL0 to SCL2, SCL5 SCL6, SCL7 CLK3, CLK4 SIN3, SIN4 SOUT3, SOUT4 SDAMM SCLMM CEC VREF AN0 to AN7 I/O I/O I/O I/O I/O I/O I O I/O I/O I/O I I I I I O Power Supply VCC1 VCC2 VCC1 VCC2 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC1 VCC2 VCC1 VCC1 VCC1 Analog input for the A/D converter. External A/D trigger input. Extended analog input for the A/D converter. Output for the D/A converter. Transmit/receive clock I/O. Serial data input. Serial data output. Serial data I/O (N-channel open drain output). Transmit/receive clock I/O (N-channel open drain output). CEC I/O (N-channel open drain output). Reference voltage input for the A/D and D/A converters. Transmit/receive clock I/O for I2C mode. Description

UART0 to UART2, UART5 to UART7 I2C mode Serial interface SI/O3, SI/O4 Multi-master I2C-bus interface CEC I/O Reference voltage input

Serial data I/O for I2C mode.

A/D converter

AN0_0 to AN0_7 AN2_0 to AN2_7 ADTRG ANEX0, ANEX1

D/A converter

DA0, DA1 P0_0 to P0_7 P1_0 to P1_7 P2_0 to P2_7 P3_0 to P3_7 P4_0 to P4_7 P5_0 to P5_7 P6_0 to P6_7 P7_0 to P7_7 P8_0 to P8_7 P9_0 to P9_7 P10_0 to P10_7

I/O

VCC2

8-bit CMOS I/O ports. A direction register determines whether each pin is used as an input port or an output port. A pull-up resistor may be enabled or disabled for input ports in 4-bit units.

I/O ports

I/O

VCC1

8-bit I/O ports having equivalent functions to P0. However, P7_0, P7_1, and P8_5 are N-channel open drain output ports. No pull-up resistor is provided. P8_5 is an input port for verifying the NMI pin level and shares a pin with NMI.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 13 of 83

M16C/64A Group

2. Central Processing Unit (CPU)

2.

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 R3

R0H(high-order bits of R0) R0L (low-order bits of R0) R1H(high-order bits of R1) R1L (low-order bits of R1)

Data registers (1)

R2 R3 A0 A1 FB Address registers (1) Frame base registers (1)


b0

b19

b15

INTBH

INTBL

Interrupt table register

INTBH is the 4 high-order bits of the INTB register and INTBL is the 16 low-order bits.
b19 b0

PC
b15 b0

Program counter

USP ISP SB
b15 b0

User stack pointer Interrupt stack pointer Static base register

FLG
b15 b8 b7 b0

Flag register

IPL

U 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 Register

2.1

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 high-order (R0H/R1H) and low-order (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.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 14 of 83

M16C/64A Group

2. Central Processing Unit (CPU)

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.

2.8.7

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.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 15 of 83

M16C/64A Group

2. Central Processing Unit (CPU)

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.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 16 of 83

M16C/64A Group

3. Address Space

3.
3.1

Address Space
Address Space

The M16C/64A Group has a 1 MB address space from 00000h to FFFFFh. Address space is expandable to 4 MB with the memory area expansion function. Addresses 40000h to BFFFFh can be used as external areas from bank 0 to bank 7. Figure 3.1 shows the Address Space. Areas that can be accessed vary depending on processor mode and the status of each control bit.
Memory expansion mode 00000h 00400h Internal RAM Reserved area 04000h 0D000h 0D800h 0E000h 10000h 1 MB address space 14000h External area 27000h Reserved area 28000h 40000h External area Bank 0 BFFFFh D0000h Reserved area Internal ROM (program ROM 1) FFFFFh Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: - The PM13 bit in the PM1 register 0 (addresses 04000h to 0CFFFh and 80000h to CFFFFh are used as external areas) Program ROM1 is allocated from address FFFFFh lower. 512 KB 8 External area SFR External area Internal ROM (data flash) Internal ROM (program ROM 2) In 4-MB mode When data flash is enabled When program ROM 2 is enabled Bank 7 Bank 6 Bank 5 Bank 4 Bank 3 Bank 2 Bank 1 SFR The internal RAM is allocated from address 00400h higher.

Figure 3.1

Address Space

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 17 of 83

M16C/64A Group

3. Address Space

3.2

Memory Map

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 areas within SFRs are reserved. Do not access these areas. Internal RAM is allocated from address 00400h higher, with 10 KB of internal RAM allocated from 00400h to 02BFFh. Internal RAM is used not only for data storage, but also for the stack area when subroutines are called or when an interrupt request is accepted. 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 allocated from 0E000h to 0FFFFh. This data flash area is mostly used for data storage, but can also store programs. Program ROM 2 is allocated from 10000h to 13FFFh. Program ROM 1 is allocated from FFFFFh lower, with the 64-KB program ROM 1 area allocated from address F0000h to FFFFFh. The special page vectors are allocated from FFE00h to FFFD7h. They are used for the JMPS and JSRS instructions. Refer to the M16C/60, M16C/20, M16C/Tiny Series Software Manual for details. The fixed vector table for interrupts is allocated from FFFDCh to FFFFFh. The 256 bytes beginning with the start address set in the INTB register compose the relocatable vector table for interrupts. Figure 3.2 shows the Memory Map.

00000h Internal RAM Size 12 KB 20 KB 31 KB


Address XXXXXh

SFR Internal RAM

00400h XXXXXh Reserved area 0D000h 0D800h 0E000h 10000h 14000h External area 27000h 28000h
Relocatable vector table

033FFh 053FFh 07FFFh

SFR External area Internal ROM (data flash) Internal ROM (program ROM 2) 13800h 13FF0h 13FFFh On-chip debugger monitor area User boot code area

Reserved area

External area Program ROM 1 Address YYYYYh Size 128 KB 256 KB 512 KB E0000h C0000h 80000h YYYYYh Internal ROM (program ROM 1) FFFFFh 80000h Reserved area FFE00h

256 bytes beginning with the start address set in the INTB register

FFFD8h FFFDCh

Special page vector table Reserved area Fixed vector table


Address for ID code stored

FFFFFh

OFS1 address

Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: - Memory expansion mode - The PM10 bit in the PM1 register is 1 (addresses 0E000h to 0FFFFh are used as data flash) - The PRG2C0 bit in the PRG2C register is 0 (program ROM 2 enabled) - The PM13 bit in the PM1 register is 1 (all areas in internal RAM, and the program ROM 1 area from 80000h are usable)

Figure 3.2

Memory Map

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 18 of 83

M16C/64A Group

3. Address Space

3.3

Accessible Area in Each Mode

Areas that can be accessed vary depending on processor mode and the status of each control bit. Figure 3.3 shows the Accessible Area in Each Mode. In single-chip mode, the SFRs, internal RAM, and internal ROM can be accessed. In memory expansion mode, the SFRs, internal RAM, internal ROM, and external areas can be accessed. Address space is expandable to 4 MB with the memory area expansion function. In microprocessor mode, the SFRs, internal RAM, and external areas can be accessed. Address space is expandable to 4 MB with the memory area expansion function. Allocate ROM to the fixed vector table from FFFDCh to FFFFFh.

Single-Chip Mode 00000h 00400h Internal RAM Reserved area 0D000h 0D800h 0E000h 10000h 14000h SFR Reserved area Internal ROM (data flash) Internal ROM (program ROM 2) SFR

Memory Expansion Mode 00000h SFR 00400h Internal RAM Reserved area 0D000h 0D800h 0E000h 10000h 14000h External area 27000h Reserved area 28000h SFR External area Internal ROM (data flash) Internal ROM (program ROM 2)

Microprocessor Mode 00000h 00400h Internal RAM Reserved area 0D000h 0D800h SFR SFR

External area

27000h Reserved area 28000h External area

Reserved area

80000h Reserved area External area

Internal ROM (program ROM 1) FFFFFh FFFFFh

Internal ROM (program ROM 1) FFFFFh

Notes: 1. Do not access reserved areas. 2. The figure above applies under the following conditions: Single-chip mode and memory expansion mode - The PM10 bit in the PM1 register is 1 (addresses f0E000h to 0FFFFh are used as data flash) - The PRG2C0 bit in the PRG2C register is 0 (program ROM 2 enabled) - The PM13 bit in the PM1 register is 1 (all areas in internal RAM, and the program ROM 1 area from 80000h are usable) Microprocessor mode - The PM10 bit is 0 (addresses 0E000h to 0FFFFh are used as the CS2 area) - The PRG2C0 bit is 1 (program ROM 2 disabled)

Figure 3.3

Accessible Area in Each Mode

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 19 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

4.
4.1

Special Function Registers (SFRs)


SFRs

An SFR is a control register for a peripheral function. Table 4.1 to Table 4.15 list SFR information.
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 0018h 0019h 001Ah 001Bh 001Ch 001Dh 001Eh 001Fh Notes: 1. 2. 3. 4. 5. 6. Processor Mode Register 0 Processor Mode Register 1 System Clock Control Register 0 System Clock Control Register 1 Chip Select Control Register Protect Register Data Bank Register Oscillation Stop Detection Register PM0 PM1 CM0 CM1 CSR PRCR DBR CM2 0000 0000b (CNVSS pin is low) 0000 0011b (CNVSS pin is high) (2) 0000 1000b 0100 1000b 0010 0000b 01h 00h 00h 0X00 0010b (3)

SFR Information (1/16) (1)


Register Symbol Reset Value

Program 2 Area Control Register Peripheral Clock Select Register

PRG2C PCLKR

XXXX XX00b 0000 0011b

Clock Prescaler Reset Flag

CPSRF

0XXX XXXXb

Reset Source Determine Register Voltage Detector 2 Flag Register Voltage Detector Operation Enable Register Chip Select Expansion Control Register PLL Control Register 0 Processor Mode Register 2

RSTFR VCR1 VCR2 CSE PLC0 PM2

XX00 001Xb (hardware reset) (4) 0000 X000b (2) 000X 0000b (2, 5) 001X 0000b (2, 6) 00h 0X01 X010b XX00 0X01b

X: Undefined The blank areas are reserved. No access is allowed. Software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and voltage monitor 2 reset do not affect the following bits and registers: The VCR1 register, the VCR2 register, and bits PM01 and PM00 in the PM0 register. Oscillator stop detect reset does not affect bits CM20, CM21, and CM27. The state of bits in the RSTFR register depends on the reset type. This is the reset value when the LVDAS bit of address OFS1 is 1 during hardware reset. This is the reset value after voltage monitor 0 reset, power-on reset, and when the LVDAS bit of address OFS1 is 0 during hardware reset.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 20 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

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 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h 0048h 0049h 004Ah 004Bh 004Ch 004Dh 004Eh 004Fh Notes: 1. 2. 3. 4. 5. 6.

SFR Information (2/16) (1)


Register Symbol Reset Value

Voltage Monitor Function Select Register Voltage Detector 1 Level Select Register

VWCE VD1LS

00h (5) 0000 1010b (5) 1100 XX10b (2, 3) 1100 XX11b (2, 4) 1000 XX10b (6) 1000 0X10b (6)

Voltage Monitor 0 Control Register Voltage Monitor 1 Control Register Voltage Monitor 2 Control Register

VW0C VW1C VW2C

INT7 Interrupt Control Register INT6 Interrupt Control Register INT3 Interrupt Control Register Timer B5 Interrupt Control Register Timer B4 Interrupt Control Register UART1 Bus Collision Detection Interrupt Control Register Timer B3 Interrupt Control Register UART0 Bus Collision Detection Interrupt Control Register SI/O4 Interrupt Control Register INT5 Interrupt Control Register SI/O3 Interrupt Control Register INT4 Interrupt Control Register UART2 Bus Collision Detection Interrupt Control Register DMA0 Interrupt Control Register DMA1 Interrupt Control Register Key Input Interrupt Control Register A/D Conversion Interrupt Control Register UART2 Transmit Interrupt Control Register

INT7IC INT6IC INT3IC TB5IC TB4IC U1BCNIC TB3IC U0BCNIC S4IC INT5IC S3IC INT4IC BCNIC DM0IC DM1IC KUPIC ADIC S2TIC

XX00 X000b XX00 X000b XX00 X000b XXXX X000b XXXX X000b XXXX X000b XX00 X000b XX00 X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b

X: Undefined The blank areas are reserved. No access is allowed. Software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and voltage monitor 2 reset do not affect the following registers or bit: the VW0C register, and the VW2C3 bit in the VW2C register. This is the reset value when the LVDAS bit of address OFS1 is 1 during hardware reset This is the reset value after voltage monitor 0 reset, power-on reset, and when the LVDAS bit of address OFS1 is 0 during hardware reset. Hardware reset, power-on reset, voltage monitor 0 reset, voltage monitor 1 reset, or voltage monitor 2 reset Hardware reset, power-on reset, or voltage monitor 0 reset

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 21 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.3
Address
0050h 0051h 0052h 0053h 0054h 0055h 0056h 0057h 0058h 0059h 005Ah 005Bh 005Ch 005Dh 005Eh 005Fh 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006Ah 006Bh 006Ch 006Dh 006Eh 006Fh 0070h 0071h 0072h

SFR Information (3/16) (1)


Register
UART2 Receive Interrupt Control Register UART0 Transmit Interrupt Control Register UART0 Receive Interrupt Control Register UART1 Transmit Interrupt Control Register UART1 Receive Interrupt Control Register Timer A0 Interrupt Control Register Timer A1 Interrupt Control Register Timer A2 Interrupt Control Register Timer A3 Interrupt Control Register Timer A4 Interrupt Control Register Timer B0 Interrupt Control Register Timer B1 Interrupt Control Register Timer B2 Interrupt Control Register INT0 Interrupt Control Register INT1 Interrupt Control Register INT2 Interrupt Control Register

Symbol
S2RIC S0TIC S0RIC S1TIC S1RIC TA0IC TA1IC TA2IC TA3IC TA4IC TB0IC TB1IC TB2IC INT0IC INT1IC INT2IC

Reset Value
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 XX00 X000b XX00 X000b XX00 X000b

0073h 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh I2C-bus Interface Interrupt Control Register 007Ch SCL/SDA Interrupt Control Register 007Dh 007Eh 007Fh 0080h to 017Fh Note: 1. The blank areas are reserved. No access is allowed.

DMA2 Interrupt Control Register DMA3 Interrupt Control Register UART5 Bus Collision Detection Interrupt Control Register CEC1 Interrupt Control Register UART5 Transmit Interrupt Control Register CEC2 Interrupt Control Register UART5 Receive Interrupt Control Register UART6 Bus Collision Detection Interrupt Control Register Real-Time Clock Periodic Interrupt Control Register UART6 Transmit Interrupt Control Register Real-Time Clock Compare Interrupt Control Register UART6 Receive Interrupt Control Register UART7 Bus Collision Detection Interrupt Control Register Remote Control Signal Receiver 0 Interrupt Control Register UART7 Transmit Interrupt Control Register Remote Control Signal Receiver 1 Interrupt Control Register UART7 Receive Interrupt Control Register

DM2IC DM3IC U5BCNIC CEC1IC S5TIC CEC2IC S5RIC U6BCNIC RTCTIC S6TIC RTCCIC S6RIC U7BCNIC PMC0IC S7TIC PMC1IC S7RIC

XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b XXXX X000b

IICIC SCLDAIC

XXXX X000b XXXX X000b

X: Undefined

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 22 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.4
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 Note: 1.

SFR Information (4/16) (1)


Register
DMA0 Source Pointer

Symbol
SAR0

Reset Value
XXh XXh 0Xh XXh XXh 0Xh XXh XXh

DMA0 Destination Pointer

DAR0

DMA0 Transfer Counter

TCR0

DMA0 Control Register

DM0CON

0000 0X00b

DMA1 Source Pointer

SAR1

XXh XXh 0Xh XXh XXh 0Xh XXh XXh

DMA1 Destination Pointer

DAR1

DMA1 Transfer Counter

TCR1

DMA1 Control Register

DM1CON

0000 0X00b

DMA2 Source Pointer

SAR2

XXh XXh 0Xh XXh XXh 0Xh XXh XXh

DMA2 Destination Pointer

DAR2

DMA2 Transfer Counter

TCR2

DMA2 Control Register

DM2CON

0000 0X00b

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 23 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.5
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 Note: 1.

SFR Information (5/16) (1)


Register
DMA3 Source Pointer

Symbol
SAR3

Reset Value
XXh XXh 0Xh XXh XXh 0Xh XXh XXh

DMA3 Destination Pointer

DAR3

DMA3 Transfer Counter

TCR3

DMA3 Control Register

DM3CON

0000 0X00b

Timer B0-1 Register Timer B1-1 Register Timer B2-1 Register Pulse Period/Pulse Width Measurement Mode Function Select Register 1 Timer B Count Source Select Register 0 Timer B Count Source Select Register 1

TB01 TB11 TB21 PPWFS1 TBCS0 TBCS1

XXh XXh XXh XXh XXh XXh XXXX X000b 00h X0h

Timer A Count Source Select Register 0 Timer A Count Source Select Register 1 Timer A Count Source Select Register 2 16-Bit Pulse Width Modulation Mode Function Select Register Timer A Waveform Output Function Select Register

TACS0 TACS1 TACS2 PWMFS TAPOFS

00h 00h X0h 0XX0 X00Xb XXX0 0000b

Timer A Output Waveform Change Enable Register Three-Phase Protect Control Register

TAOW TPRC

XXX0 X00Xb 00h

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 24 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.6
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.

SFR Information (6/16) (1)


Register
Timer B3-1 Register Timer B4-1 Register Timer B5-1 Register Pulse Period/Pulse Width Measurement Mode Function Select Register 2 Timer B Count Source Select Register 2 Timer B Count Source Select Register 3

Symbol
TB31 TB41 TB51 PPWFS2 TBCS2 TBCS3

Reset Value
XXh XXh XXh XXh XXh XXh XXXX X000b 00h X0h

PMC0 Function Select Register 0 PMC0 Function Select Register 1 PMC0 Function Select Register 2 PMC0 Function Select Register 3 PMC0 Status Register PMC0 Interrupt Source Select Register PMC0 Compare Control Register PMC0 Compare Data Register PMC1 Function Select Register 0 PMC1 Function Select Register 1 PMC1 Function Select Register 2 PMC1 Function Select Register 3 PMC1 Status Register PMC1 Interrupt Source Select Register

PMC0CON0 PMC0CON1 PMC0CON2 PMC0CON3 PMC0STS PMC0INT PMC0CPC PMC0CPD PMC1CON0 PMC1CON1 PMC1CON2 PMC1CON3 PMC1STS PMC1INT

00h 00XX 0000b 0000 00X0b 00h 00h 00h XXX0 X000b 00h XXX0 X000b XXXX 0X00b 0000 00X0b 00h X000 X00Xb X000 X00Xb

Interrupt Source Select Register 3 Interrupt Source Select Register 2 Interrupt Source Select Register

IFSR3A IFSR2A IFSR

00h 00h 00h

Address Match Interrupt Enable Register Address Match Interrupt Enable Register 2

AIER AIER2

XXXX XX00b XXXX XX00b X: Undefined

The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 25 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.7
Address
0210h 0211h 0212h 0213h 0214h 0215h 0216h 0217h 0218h 0219h 021Ah 021Bh 021Ch 021Dh 021Eh 021Fh 0220h 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 Note: 1.

SFR Information (7/16) (1)


Register
Address Match Interrupt Register 0

Symbol
RMAD0

Reset Value
00h 00h X0h 00h 00h X0h 00h 00h X0h 00h 00h X0h 0000 0001b (Other than user boot mode) 0010 0001b (User boot mode) 00X0 XX0Xb XXXX 0000b

Address Match Interrupt Register 1

RMAD1

Address Match Interrupt Register 2

RMAD2

Address Match Interrupt Register 3

RMAD3

Flash Memory Control Register 0 Flash Memory Control Register 1 Flash Memory Control Register 2

FMR0 FMR1 FMR2

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 26 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.8
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 Note: 1.

SFR Information (8/16) (1)


Register Symbol Reset Value

UART0 Special Mode Register 4 UART0 Special Mode Register 3 UART0 Special Mode Register 2 UART0 Special Mode Register UART0 Transmit/Receive Mode Register UART0 Bit Rate Register UART0 Transmit Buffer Register UART0 Transmit/Receive Control Register 0 UART0 Transmit/Receive Control Register 1 UART0 Receive Buffer Register UART Transmit/Receive Control Register 2

U0SMR4 U0SMR3 U0SMR2 U0SMR U0MR U0BRG U0TB U0C0 U0C1 U0RB UCON

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 00XX 0010b XXh XXh X000 0000b

UART1 Special Mode Register 4 UART1 Special Mode Register 3 UART1 Special Mode Register 2 UART1 Special Mode Register UART1 Transmit/Receive Mode Register UART1 Bit Rate Register UART1 Transmit Buffer Register UART1 Transmit/Receive Control Register 0 UART1 Transmit/Receive Control Register 1 UART1 Receive Buffer Register

U1SMR4 U1SMR3 U1SMR2 U1SMR U1MR U1BRG U1TB U1C0 U1C1 U1RB

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 00XX 0010b XXh XXh

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 UART2 Transmit Buffer Register UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1 UART2 Receive Buffer Register

U2SMR4 U2SMR3 U2SMR2 U2SMR U2MR U2BRG U2TB U2C0 U2C1 U2RB

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh X: Undefined

The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 27 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.9
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.

SFR Information (9/16) (1)


Register
SI/O3 Transmit/Receive Register SI/O3 Control Register SI/O3 Bit Rate Register SI/O4 Transmit/Receive Register SI/O4 Control Register SI/O4 Bit Rate Register SI/O3, 4 Control Register 2

Symbol
S3TRR S3C S3BRG S4TRR S4C S4BRG S34C2

Reset Value
XXh 0100 0000b XXh XXh 0100 0000b XXh 00XX X0X0b

UART5 Special Mode Register 4 UART5 Special Mode Register 3 UART5 Special Mode Register 2 UART5 Special Mode Register UART5 Transmit/Receive Mode Register UART5 Bit Rate Register UART5 Transmit Buffer Register UART5 Transmit/Receive Control Register 0 UART5 Transmit/Receive Control Register 1 UART5 Receive Buffer Register

U5SMR4 U5SMR3 U5SMR2 U5SMR U5MR U5BRG U5TB U5C0 U5C1 U5RB

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh

UART6 Special Mode Register 4 UART6 Special Mode Register 3 UART6 Special Mode Register 2 UART6 Special Mode Register UART6 Transmit/Receive Mode Register UART6 Bit Rate Register UART6 Transmit Buffer Register UART6 Transmit/Receive Control Register 0 UART6 Transmit/Receive Control Register 1 UART6 Receive Buffer Register

U6SMR4 U6SMR3 U6SMR2 U6SMR U6MR U6BRG U6TB U6C0 U6C1 U6RB

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh X: Undefined

The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 28 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.10
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 to 02FFh 0300h 0301h 0302h 0303h 0304h 0305h 0306h 0307h 0308h 0309h 030Ah 030Bh 030Ch 030Dh 030Eh 030Fh Note: 1.

SFR Information (10/16) (1)


Register Symbol Reset Value

UART7 Special Mode Register 4 UART7 Special Mode Register 3 UART7 Special Mode Register 2 UART7 Special Mode Register UART7 Transmit/Receive Mode Register UART7 Bit Rate Register UART7 Transmit Buffer Register UART7 Transmit/Receive Control Register 0 UART7 Transmit/Receive Control Register 1 UART7 Receive Buffer Register I2C0 Data Shift Register I2C0 Address Register 0 I2C0 Control Register 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

U7SMR4 U7SMR3 U7SMR2 U7SMR U7MR U7BRG U7TB U7C0 U7C1 U7RB S00 S0D0 S1D0 S20 S2D0 S3D0 S4D0 S10 S11 S0D1 S0D2

00h 000X 0X0Xb X000 0000b X000 0000b 00h XXh XXh XXh 0000 1000b 0000 0010b XXh XXh XXh 0000 000Xb 00h 00h 0001 1010b 0011 0000b 00h 0001 000Xb 00h 0000 000Xb 0000 000Xb

Timer B3/B4/B5 Count Start Flag Timer A1-1 Register Timer A2-1 Register Timer A4-1 Register 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

TBSR TA11 TA21 TA41 INVC0 INVC1 IDB0 IDB1 DTT ICTB2 PDRF

000X XXXXb XXh XXh XXh XXh XXh XXh 00h 00h XX11 1111b XX11 1111b XXh XXh XXXX 0000b

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 29 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.11
Address
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 0330h 0331h 0332h 0333h 0334h 0335h 0336h 0337h 0338h 0339h 033Ah 033Bh 033Ch 033Dh 033Eh 033Fh Note: 1.

SFR Information (11/16) (1)


Register
Timer B3 Register Timer B4 Register Timer B5 Register

Symbol
TB3 TB4 TB5

Reset Value
XXh XXh XXh XXh XXh XXh

Port Function Control Register

PFCR

0011 1111b

Timer B3 Mode Register Timer B4 Mode Register Timer B5 Mode Register

TB3MR TB4MR TB5MR

00XX 0000b 00XX 0000b 00XX 0000b

Count Start Flag One-Shot Start Flag Trigger Select Register Up/Down Flag Timer A0 Register Timer A1 Register Timer A2 Register Timer A3 Register Timer A4 Register Timer B0 Register Timer B1 Register Timer B2 Register 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

TABSR ONSF TRGSR UDF TA0 TA1 TA2 TA3 TA4 TB0 TB1 TB2 TA0MR TA1MR TA2MR TA3MR TA4MR TB0MR TB1MR TB2MR TB2SC

00h 00h 00h 00h XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh 00h 00h 00h 00h 00h 00XX 0000b 00XX 0000b 00XX 0000b XXXX XX00b

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 30 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.12
Address
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 0360h 0361h 0362h 0363h 0364h 0365h 0366h 0367h 0368h 0369h 036Ah 036Bh 036Ch 036Dh 036Eh 036Fh Notes: 1. 2.

SFR Information (12/16) (1)


Register Symbol
RTCSEC RTCMIN RTCHR RTCWK RTCCR1 RTCCR2 RTCCSR RTCCSEC RTCCMIN RTCCHR

Reset Value
00h X000 0000b XX00 0000b XXXX X000b 0000 X00Xb X000 0000b XXX0 0000b X000 0000b X000 0000b X000 0000b

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

CEC Function Control Register 1 CEC Function Control Register 2 CEC Function Control Register 3 CEC Function Control Register 4 CEC Flag Register CEC Interrupt Source Select Register CEC Transmit Buffer Register 1 CEC Transmit Buffer Register 2 CEC Receive Buffer Register 1 CEC Receive Buffer Register 2 CEC Receive Follower Address Set Register 1 CEC Receive Follower Address Set Register 2

CECC1 CECC2 CECC3 CECC4 CECFLG CISEL CCTB1 CCTB2 CCRB1 CCRB2 CRADRI1 CRADRI2

XXXX X000b 00h XXXX 0000b 00h 00h 00h 00h XXXX XX00b 00h XXXX X000b 00h 00h

Pull-Up Control Register 0 Pull-Up Control Register 1 Pull-Up Control Register 2

PUR0 PUR1 PUR2

00h 0000 0000b (2) 0000 0010b 00h

Port Control Register

PCR

0000 0XX0b

NMI/SD Digital Filter Register

NMIDF

XXXX X000b

X: Undefined The blank areas are reserved. No access is allowed. Values after hardware reset, power-on reset, or voltage monitor 0 reset are as follows: - 00000000b when a low-level signal is input to the CNVSS pin - 00000010b when a high-level signal is input to the CNVSS pin Values after voltage monitor 1 reset, voltage monitor 2 reset, software reset, watchdog timer reset, or oscillation stop detect reset are as follows: - 00000000b when bits PM01 and PM00 in the PM0 register are 00b (single-chip mode). - 00000010b when bits PM01 and PM00 in the PM0 register are 01b (memory expansion mode) or 11b (microprocessor mode).

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 31 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.13
Address
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 0390h 0391h 0392h 0393h 0394h 0395h 0396h 0397h 0398h 0399h 039Ah 039Bh 039Ch 039Dh 039Eh 039Fh Notes: 1. 2.

SFR Information (13/16) (1)


Register Symbol
PWMCON0 PWMPRE0 PWMREG0 PWMPRE1 PWMREG1 PWMCON1

Reset Value
00h 00h 00h 00h 00h 00h

PWM Control Register 0 PWM0 Prescaler PWM0 Register PWM1 Prescaler PWM1 Register PWM Control Register 1

Count Source Protection Mode Register Watchdog Timer Reset Register Watchdog Timer Start Register Watchdog Timer Control Register

CSPR WDTR WDTS WDC

00h (2) XXh XXh 00XX XXXXb

DMA2 Source Select Register DMA3 Source Select Register

DM2SL DM3SL

00h 00h

DMA0 Source Select Register DMA1 Source Select Register

DM0SL DM1SL

00h 00h

X: Undefined The blank areas are reserved. No access is allowed. When the CSPROINI bit in the OFS1 address is 0, the reset value is 10000000b.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 32 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.14
Address
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 03C0h 03C1h 03C2h 03C3h 03C4h 03C5h 03C6h 03C7h 03C8h 03C9h 03CAh 03CBh 03CCh 03CDh 03CEh 03CFh Note: 1.

SFR Information (14/16) (1)


Register Symbol Reset Value

Open-Circuit Detection Assist Function Register

AINRST

XX00 0000b

SFR Snoop Address Register CRC Mode Register

CRCSAR CRCMR

XXXX XXXXb 00XX XXXXb 0XXX XXX0b

CRC Data Register CRC Input Register

CRCD CRCIN

XXh XXh XXh 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 X: Undefined

A/D Register 0 A/D Register 1 A/D Register 2 A/D Register 3 A/D Register 4 A/D Register 5 A/D Register 6 A/D Register 7

AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7

The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 33 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.15
Address
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 03F0h 03F1h 03F2h 03F3h 03F4h 03F5h 03F6h 03F7h 03F8h 03F9h 03FAh 03FBh 03FCh 03FDh 03FEh 03FFh 0400h to D07Fh Note: 1.

SFR Information (15/16) (1)


Register Symbol Reset Value

A/D Control Register 2 A/D Control Register 0 A/D Control Register 1 D/A0 Register D/A1 Register D/A Control Register

ADCON2 ADCON0 ADCON1 DA0 DA1 DACON

0000 X00Xb 0000 0XXXb 0000 X000b 00h 00h XXXX XX00b

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 Port P4 Register Port P5 Register Port P4 Direction Register Port P5 Direction Register Port P6 Register Port P7 Register Port P6 Direction Register Port P7 Direction Register Port P8 Register Port P9 Register Port P8 Direction Register Port P9 Direction Register Port P10 Register Port P10 Direction Register

P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9 P10 PD10

XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh 00h

X: Undefined The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 34 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

Table 4.16
Address
D080h D081h D082h D083h D084h D085h D086h D087h D088h D089h D08Ah D08Bh D08Ch D08Dh D08Eh D08Fh D090h D091h D092h D093h D094h D095h D096h D097h D098h D099h D09Ah D09Bh D09Ch D09Dh D09Eh D09Fh Note: 1.

SFR Information (16/16) (1)


Register Symbol
PMC0HDPMIN PMC0HDPMAX PMC0D0PMIN PMC0D0PMAX PMC0D1PMIN PMC0D1PMAX PMC0TIM PMC0BC PMC0DAT0 PMC0DAT1 PMC0DAT2 PMC0DAT3 PMC0DAT4 PMC0DAT5 PMC0RBIT PMC1HDPMIN PMC1HDPMAX PMC1D0PMIN PMC1D0PMAX PMC1D1PMIN PMC1D1PMAX PMC1TIM PMC1BC

Reset Value
00h XXXX X000b 00h XXXX X000b 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h XX00 0000b 00h XXXX X000b 00h XXXX X000b 00h 00h 00h 00h 00h 00h 00h 00h X: Undefined

PMC0 Header Pattern Set Register (Min) PMC0 Header Pattern Set Register (Max) PMC0 Data0 Pattern Set Register (Min) PMC0 Data0 Pattern Set Register (Max) PMC0 Data1 Pattern Set Register (Min) PMC0 Data1 Pattern Set Register (Max) PMC0 Measurements Register PMC0 Counter Value Register PMC0 Receive Data Store Register 0 PMC0 Receive Data Store Register 1 PMC0 Receive Data Store Register 2 PMC0 Receive Data Store Register 3 PMC0 Receive Data Store Register 4 PMC0 Receive Data Store Register 5 PMC0 Receive Bit Count Register PMC1 Header Pattern Set Register (Min) PMC1 Header Pattern Set Register (Max) PMC1 Data0 Pattern Set Register (Min) PMC1 Data0 Pattern Set Register (Max) PMC1 Data1 Pattern Set Register (Min) PMC1 Data1 Pattern Set Register (Max) PMC1 Measurements Register PMC1 Counter Value Register

The blank areas are reserved. No access is allowed.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 35 of 83

M16C/64A Group

4. Special Function Registers (SFRs)

4.2 4.2.1

Notes on SFRs Register Settings

Table 4.17 lists Registers with Write-Only Bits and registers whose function differs between reading and writing. Set these registers with immediate values. 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.
Table 4.17 Registers with Write-Only Bits

Register Watchdog Timer Reset Register Watchdog Timer Start Register Timer A0 Register Timer A1 Register Timer A2 Register Timer A3 Register Timer A4 Register Timer A1-1 Register Timer A2-1 Register Timer A4-1 Register Three-Phase Output Buffer Register 0 Three-Phase Output Buffer Register 1 Dead Time Timer Timer B2 Interrupt Generation Frequency Set Counter UART0 Bit Rate Register UART1 Bit Rate Register UART2 Bit Rate Register UART5 Bit Rate Register UART6 Bit Rate Register UART7 Bit Rate Register UART0 Transmit Buffer Register UART1 Transmit Buffer Register UART2 Transmit Buffer Register UART5 Transmit Buffer Register UART6 Transmit Buffer Register UART7 Transmit Buffer Register SI/O3 Bit Rate Register SI/O4 Bit Rate Register I2C0 Control Register 1 I2C0 Status Register 0

Symbol WDTR WDTS TA0 TA1 TA2 TA3 TA4 TA11 TA21 TA41 IDB0 IDB1 DTT ICTB2 U0BRG U1BRG U2BRG U5BRG U6BRG U7BRG U0TB U1TB U2TB U5TB U6TB U7TB S3BRG S4BRG S3D0 S10

Address 037Dh 037Eh 0327h to 0326h 0329h to 0328h 032Bh to 032Ah 032Dh to 032Ch 032Fh to 032Eh 0303h to 0302h 0305h to 0304h 0307h to 0306h 030Ah 030Bh 030Ch 030Dh 0249h 0259h 0269h 0289h 0299h 02A9h 024Bh to 024Ah 025Bh to 025Ah 026Bh to 026Ah 028Bh to 028Ah 029Bh to 029Ah 02ABh to 02AAh 0273h 0277h 02B6h 02B8h

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 36 of 83

M16C/64A Group

5. Electrical Characteristics

5.
5.1

Electrical Characteristics
Electrical Characteristics (Common to 3 V and 5 V) Absolute Maximum Rating
Absolute Maximum Ratings
Parameter Supply voltage Analog supply voltage Input voltage RESET, CNVSS, BYTE, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P7_0, P7_1, P8_5 Condition VCC1 = AVCC VCC2 VCC1 = AVCC Rated Value 0.3 to 6.5 0.3 to VCC1 + 0.1 0.3 to 6.5 0.3 to VCC1 + 0.3 Unit V V V V

5.1.1
Table 5.1
Symbol

VCC1, VCC2 Supply voltage VCC2 AVCC VI

0.3 to VCC2 + 0.3

0.3 to 6.5 0.3 to VCC1 + 0.3

V V

VO

Output voltage P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 XOUT P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P7_0, P7_1, P8_5

0.3 to VCC2 + 0.3

0.3 to 6.5 40C < Topr 85C 300 20 to 85/40 to 85 0 to 60 65 to 150

V mW C

Pd Topr

Power consumption Operating ambient temperature When the microcomputer is operating Flash program erase

Tstg

Storage temperature

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 37 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.2
Table 5.2
Symbol VCC1, VCC2 AVCC VSS AVSS VIH

Recommended Operating Conditions


Recommended Operating Conditions (1/2) (1)
Parameter Supply voltage (VCC1 VCC2) Analog supply voltage Supply voltage Analog supply voltage High input voltage P3_1 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (in single-chip mode) P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (data input in memory expansion and microprocessor modes) P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE P7_0, P7_1, P8_5 0.8VCC2 0.8VCC2 0.5VCC2 Standard Min. 2.7 Typ. 5.0 VCC1 0 0 VCC2 VCC2 VCC2 Max. 5.5 Unit V V V V V V V

0.8VCC1

VCC1

0.8VCC1 0 0 0

6.5 0.2VCC2 0.2VCC2 0.16VCC2

V V V V

VIL

Low input voltage

P3_1 to P3_7, P4_0 to P4_7, P5_0 to P5_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (in single-chip mode) P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (data input in memory expansion and microprocessor mode) P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE

0.2VCC1

IOH(peak) High peak output current IOH(avg)

P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7

10.0

mA

High average P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7

5.0

mA

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 5.5 V at Topr = 20 to 85C/-40 to 85C unless otherwise specified. 2. The average output current is the mean value within 100 ms. 3. The total IOL(peak) for ports P0, P1, P2, P8_6, P8_7, P9, and P10 must be 80 mA max. The total IOL(peak) for ports P3, P4, P5, P6, P7, and P8_0 to P8_5 must be 80 mA max. The total IOH(peak) for ports P0, P1, and P2 must be 40 mA max. The total IOH(peak) for ports P3, P4, and P5 must be 40 mA max. The total IOH(peak) for ports P6, P7_2 to P7_7 and P8_0 to P8_4 must be 40 mA max. IOH(peak) for ports P8_6, P8_7, P9, and P10 must be 40 mA max.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 38 of 83

M16C/64A Group

5. Electrical Characteristics

Table 5.3
Symbol

Recommended Operating Conditions (2/2) (1)


Parameter Standard Min. Typ. Max. 10.0 Unit mA

IOL(peak) Low peak P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output current P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 IOL(avg) Low average P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, output current P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 Main clock input oscillation frequency Sub-clock oscillation frequency PLL clock oscillation frequency CPU operation clock PLL frequency synthesizer stabilization wait time VCC1 = 5.0 V VCC1 = 3.0 V VCC1 = 2.7 V to 5.5 V 10 2 VCC1 = 2.7 V to 5.5 V 2 32.768

5.0

mA

f(XIN) f(XCIN) f(PLL) f(BCLK) tSU(PLL)

20 50 25 25 2 3

MHz kHz MHz MHz ms ms

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 5.5 V at Topr = 20 to 85C/-40 to 85C unless otherwise specified. 2. The average output current is the mean value within 100 ms. 3. The total IOL(peak) for ports P0, P1, P2, P8_6, P8_7, P9, and P10 must be 80 mA max. The total IOL(peak) for ports P3, P4, P5, P6, P7, and P8_0 to P8_5 must be 80 mA max. The total IOH(peak) for ports P0, P1, and P2 must be 40 mA max. The total IOH(peak) for ports P3, P4, and P5 must be 40 mA max. The total IOH(peak) for ports P6, P7_2 to P7_7 and P8_0 to P8_4 must be 40 mA max. IOH(peak) for ports P8_6, P8_7, P9, and P10 must be 40 mA max.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 39 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.3
Table 5.4
Symbol INL

A/D Conversion Characteristics


A/D Conversion Characteristics (1, 2, 3)
Parameter Resolution Integral non-linearity error 10bit Measuring Condition AVCC = VCC1 VCC2 VREF VCC1 = AN0 to AN7 input, 5.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.3 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input Standard Min. Typ. Max. 10 3 Unit Bits LSB

LSB

LSB

Absolute accuracy

10bit

VCC1 = AN0 to AN7 input, 5.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.3 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input VCC1 = AN0 to AN7 input, 3.0 V AN0_0 to AN0_7 input, AN2_0 to AN2_7 input, ANEX0, ANEX1 input

LSB

LSB

LSB

DNL tCONV tSAMP VREF VIA

Tolerance level impedance Differential non-linearity error Offset error Gain error 10-bit conversion time Sampling time Reference voltage Analog input voltage
(4)

3 1 3 3 VCC1 = 5 V, AD = 25 MHz 1.60 0.60 3.0 0 VCC1 VREF

k LSB LSB LSB s s V V

Notes: 1. Referenced to VCC1 = AVCC = 3.0 to 5.5 V VCC2 VREF, VSS = AVSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. Set AD frequency as follows: When VCC1 = 4.0 to 5.5 V, 2 MHz AD 25 MHz When VCC1 = 3.2 to 4.0 V, 2 MHz AD 16 MHz When VCC1 = 3.0 to 3.2 V, 2 MHz AD 10 MHz 3. Use when AVCC = VCC1. 4. When VCC1 VCC2, do not input the voltage over VCC2 to AN2_0 to AN2_7 and AN0_0 to AN0_7 input.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 40 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.4
Table 5.5
Symbol tSU RO IVREF

D/A Conversion Characteristics


D/A Conversion Characteristics (1)
Parameter Resolution Absolute Accuracy Setup Time Output Resistance Reference Power Supply Input Current Notes 2 and 3 5 6 Measuring Condition Standard Min. Typ. Max. 8 2.5 3 8.2 1.5 Unit Bits LSB s k mA

Notes: 1. Referenced to VCC1 = AVCC = VREF = 3.0 to 5.5 V, VSS = AVSS = 0 V at Topr = -20 to 85C/-40 to 85C unless otherwise specified. 2. This applies when using one D/A converter, with the D/A register for the unused D/A converter set to 00h. 3. The current consumption of the A/D converter is not included. Also, the IVREF of the D/A converter will flow even if the ADSTBY bit in the ADCON1 register is 0 (A/D operation stopped (standby)).

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 41 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.5

Flash Memory Electrical Characteristics


CPU Clock When Operating Flash Memory (f(BCLK))
Parameter CPU rewrite mode Slow read mode Low current consumption read mode Data flash read 2.7 V VCC1 3.0 V 3.0 V < VCC1 5.5 V fC (32.768) 16 (2) 20 (2) Conditions Standard Min. Typ. Max. 10 (1) 5 Unit MHz MHz kHz MHz MHz

Table 5.6
Symbol -

Notes: 1. Set the PM17 bit in the PM1 register to 1 (wait state). 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 (wait state)

Table 5.7
Symbol tPS -

Flash Memory (Program ROM 1, 2) Electrical Characteristics


Parameter Program/erase cycles (2, 4, 5) Two words program time Lock bit program time Block erase time Program, erase voltage Read voltage Program, erase temperature Flash Memory Circuit Stabilization Wait Time Data hold time (7) Ambient temperature = 55C 20 Conditions VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C 2.7 2.7 0 Standard Min. 1,000 (3) 150 70 0.2 4000 3000 3.0 5.5 5.5 60 50 Typ. Max. Unit times s s s V V C s year

Notes: 1. VCC1 = 2.7 to 5.5 V at Topr = 0 to 60C, unless otherwise specified. 2. 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 4 Kbyte block is erased after writing two 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). 3. Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. 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 128 groups before erasing them all in one operation. 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. 5. 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. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 42 of 83

M16C/64A Group

5. Electrical Characteristics

Table 5.8
Symbol tPS -

Flash Memory (Data Flash) Electrical Characteristics


Parameter Conditions VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C VCC1 = 3.3 V, Topr = 25C 2.7 2.7 20/40 Ambient temperature = 55 C 20 Standard Min. 10,000 (3) 300 140 0.2 4000 3000 3.0 5.5 5.5 85 50 Typ. Max. Unit times s s s V V C s year

Program/erase cycles (2, 4, 5) Two words program time Lock bit program time Block erase time Program, erase voltage Read voltage Program, erase temperature

Flash Memory Circuit Stabilization Wait Time Data hold time (7)

Notes: 1. VCC1 = 2.7 to 5.5 V at Topr = 20 to 85C/40 to 85C, unless otherwise specified. 2. 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 Kbyte block is erased after writing two 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). 3. Cycles to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. 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 128 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. 5. 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. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 43 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.6

Voltage Detection Characteristics

Circuit

and

Power

Supply

Circuit

Electrical

Table 5.9
Symbol Vdet0 td(E-A)

Voltage Detection 0 Circuit Electrical Characteristics


Parameter Voltage detection level Vdet0_0 (2) Voltage detection level Vdet0_2 (2) Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (3) VC25 = 1, VCC1 = 5.0 V Condition Standard Min. 1.6 2.55 Typ. 1.90 2.85 1.8 100 Max. 2.2 3.15 Unit V V A s

Notes: 1. The measurement condition is Topr = 20 to 85C/40 to 85C. 2. Select the voltage detection level with the VDSEL1 bit in the OFS1 address. 3. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VC25 bit in the VCR2 register to 0.

Table 5.10
Symbol Vdet1

Voltage Detection 1 Circuit Electrical Characteristics


Parameter Voltage detection level Vdet1_6 (2) Voltage detection level Vdet1_B (2) Voltage detection level Vdet1_F
(2)

Condition

Standard Min. 2.79 3.54 3.94 Typ. 3.09 3.84 4.44 1.8 100 Max. 3.39 4.14 4.94

Unit V V V A s

td(E-A)

Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (3)

VC26 = 1, VCC1 = 5.0 V

Notes: 1. The measurement condition is Topr = 20 to 85C/40 to 85C. 2. Select the voltage detection level with bits VD1S0 to VD1S3 in the VD1LS register. 3. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VC26 bit in the VCR2 register to 0.

Table 5.11
Symbol Vdet2 td(E-A)

Voltage Detection 2 Circuit Electrical Characteristics


Parameter Voltage detection level Vdet2_0 Voltage detection circuit self power consumption Waiting time until voltage detection circuit operation starts (2) VC27 = 1, VCC1 = 5.0 V Condition Standard Min. 3.50 Typ. 4.00 1.8 100 Max. 4.50 Unit V A s

Notes: 1. The measurement condition is Topr = 20 to 85C/40 to 85C. 2. Necessary time until the voltage detection circuit operates after setting to 1 again after setting the VC27 bit in the VCR2 register to 0.

Table 5.12
Symbol trth

Power-On Reset Circuit


Parameter External power VCC1 rise gradient Condition Standard Min. 2.0 Typ. Max. 50000 Unit mV/ms

Notes: 1. The measurement condition is Topr = 20 to 85C/ 40 to 85C, unless otherwise specified. 2. To use the power-on reset function, enable voltage monitor 0 reset by setting the LVDAS bit in the OFS1 address to 0.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 44 of 83

M16C/64A Group

5. Electrical Characteristics

Vdet0 (1) External Power VCC1 0.1 V tw(por) (2) Voltage detection 0 circuit response time t rth t rth

Vdet0 (1)

Internal reset signal 1 fOCO-S 1 fOCO-S

32

32

Notes: 1. Vdet0 indicates the voltage detection level of the voltage detection 0 circuit. Refer to 7. Voltage Detector for details. 2. When using power-on reset, hold the external power VCC1 at or below the valid voltage (0.1 V) during tw(por), and then turn it on. tw(por) is 30 s or more when -20 C Topr 85 C, and 3000 s or more when -40 C Topr < -20 C.

Figure 5.1

Power-On Reset Circuit Electrical Characteristics

Table 5.13
Symbol td(P-R) td(R-S) td(W-S)

Power Supply Circuit Timing Characteristics


Parameter Internal power supply stability time when power is on (2) STOP release time Low power mode wait mode release time Condition Standard Min. Typ. Max. 5 150 150 Unit ms s s

Notes: 1. The measurement condition is VCC1 = 2.7 to 5.5 V and Topr = 25C. 2. Waiting time until the internal power supply generation circuit stabilizes when power is on.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 45 of 83

M16C/64A Group

5. Electrical Characteristics

td(P-R) Internal power supply stability time when power is on

Recommended operation voltage Vcc1 td(P-R) CPU clock

td(R-S) STOP release time td(W-S) Low power mode wait mode release time

Interrupt for (a) Stop mode release or (b) Wait mode release

CPU clock (a) (b) td(E-A) Voltage detector operation start time td(R-S) td(W-S)

VC25, VC26, VC27

Voltage detector

Stop

Operate

td(E-A)

Figure 5.2

Power Supply Circuit Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 46 of 83

M16C/64A Group

5. Electrical Characteristics

5.1.7
Table 5.14
Symbol fOCO-S

Oscillation Circuit Electrical Characteristics


125 kHz On-Chip Oscillator Circuit Electrical Characteristics
Parameter 125 kHz on-chip oscillator frequency Condition Standard Min. 100 Typ. 125 Max. 150 Unit kHz

Note: 1. VCC1 = 2.7 to 5.5 V, Topr = 20 to 85C/40 to 85C, unless otherwise specified.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 47 of 83

M16C/64A Group

5. Electrical Characteristics

5.2 5.2.1

Electrical Characteristics (VCC1 = VCC2 = 5 V) Electrical Characteristics VCC1 = VCC2 = 5 V


Electrical Characteristics (1)
Parameter High output P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, voltage P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
(1, 2)

Table 5.15
Symbol VOH

Measuring Condition IOH = 5 mA IOH = 5 mA IOH = 200 A IOH = 200 A IOH = 1 mA IOH = 0.5 mA With no load applied With no load applied IOL = 5 mA IOL = 5 mA IOL = 200 A IOL = 200 A IOL = 1 mA IOL = 0.5 mA With no load applied With no load applied

Standard Min. VCC1 2.0 VCC2 2.0 VCC1 0.3 VCC2 0.3 VCC1 2.0 VCC1 2.0 2.6 2.2 2.0 2.0 0.45 0.45 2.0 2.0 0 0 Typ. Max. VCC1 VCC2 VCC1 VCC2 VCC1 VCC1

Unit V

VOH

High output P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, voltage P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7

VOH

High output voltage

XOUT

HIGHPOWER LOWPOWER

High output voltage

XCOUT

HIGHPOWER LOWPOWER

VOL

Low output P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, voltage P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7

VOL

Low output P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, voltage P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7

VOL

Low output voltage

XOUT

HIGHPOWER LOWPOWER

Low output voltage

XCOUT

HIGHPOWER LOWPOWER

Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 48 of 83

M16C/64A Group

5. Electrical Characteristics

Table 5.16
Symbol

Electrical Characteristics (2) (1, 2)


Parameter HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, INT0 to INT7, NMI, ADTRG, CTS0 to CTS2, CTS5 to CTS7, SCL0 to SCL2, SCL5 to SCL7, SDA0 to SDA2, SDA5 to SDA7, CLK0 to CLK7, TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD2, RXD5 to RXD7, SIN3, SIN4, SD, PMC0, PMC1, SCLMM, SDAMM, CEC RESET P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 VI = 5 V Measuring Condition Standard Min. 0.5 Typ. Max. 2.0 Unit V

VT+ - VT- Hysteresis

VT+ - VT- Hysteresis IIH High input current

0.5

2.0 5.0

V A

IIL

Low input current

VI = 0 V

5.0

RPULLUP Pull-up resistance

VI = 0 V

30

50

100

RfXIN RfXCIN VRAM

Feedback resistance XIN Feedback resistance XCIN RAM retention voltage In stop mode 1.8

1.5 8

M M V

Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 49 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V
Table 5.17 Electrical Characteristics (3) (1) R5F364A6NFA, R5F364A6NFB, R5F364A6DFA, R5F364A6DFB, R5F364AENFA, R5F364AENFB, R5F364AEDFA, R5F364AEDFB
Symbol ICC Parameter Power supply current High-speed mode Measuring Condition Min. Standard Unit Typ. Max. 20.0 mA

f(BCLK) = 25 MHz XIN = 4.2 MHz (square wave), PLL multiplied by 6 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) =25 MHz, A/D conversion pin are open and XIN = 4.2 MHz (square wave), other pins are VSS PLL multiplied by 6 125 kHz on-chip oscillator stop f(BCLK) = 20 MHz XIN = 20 MHz (square wave), 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator mode 125 kHz on-chip oscillator on, no division Low-power mode f(BCLK) = 32 kHz In low-power mode, FMR22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 kHz In low-power mode, on RAN (2) Wait mode Main clock stop 125 kHz on-chip oscillator on Peripheral clock operation Topr = 25C f(BCLK) = 32 kHz (oscillation capacity High) 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C f(BCLK) = 32 kHz (oscillation capacity Low) 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C Stop mode Main clock stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C

20.7

mA

16.0 500.0

mA A

160.0

45.0

20.0

11.0

6.0

1.7

Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 50 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V
Table 5.18 Electrical Characteristics (4) R5F364AMNFA, R5F364AMNFB, R5F364AMDFA, R5F364AMDFB
Symbol ICC Parameter Power supply current Measuring Condition Min. Standard Unit Typ. Max. TBD mA
(1)

High-speed mode f(BCLK) = 25 MHz XIN = 4.2 MHz (square wave), PLL multiplied by 6 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) = 25 MHz, A/D conversion pin are open and XIN = 4.2 MHz (square wave), other pins are VSS PLL multiplied by 6 125 kHz on-chip oscillator stop f(BCLK) = 20 MHz XIN = 20 MHz (square wave), 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator mode 125 kHz on-chip oscillator on, no division Low-power mode f(BCLK) = 32 kHz In low-power mode, FMR22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 kHz In low-power mode, on RAN (2) Wait mode Main clock stop 125 kHz on-chip oscillator on Peripheral clock operation Topr = 25C f(BCLK) = 32 kHz (oscillation capacity High) 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C f(BCLK) = 32 kHz (oscillation capacity Low) 125 kHz on-chip oscillator stop Peripheral clock operation Topr = 25C Stop mode Main clock stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C

TBD

mA

TBD TBD

mA A

TBD

TBD

TBD

TBD

TBD

TBD

Notes: 1. Referenced to VCC1 = VCC2 = 4.2 to 5.5 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 51 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V 5.2.2 Timing Requirements (Peripheral Functions and Others)

(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.19
Symbol tc tw(H) tw(L) tr tf Note: 1. 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 The condition is VCC1 = VCC2 = 3.0 to 5.0 V.

External Clock Input (XIN Input) (1)


Parameter Standard Min. 50 20 20 9 9 Max. Unit ns ns ns ns ns

Table 5.20
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (Counter Input in Event Counter Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 100 40 40 Max. Unit ns ns ns

Table 5.21
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (Gating Input in Timer Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns

Table 5.22
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (External Trigger Input in One-Shot Timer Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 200 100 100 Max. Unit ns ns ns

Table 5.23
Symbol tw(TAH) tw(TAL)

Timer A Input (External Trigger Input in Pulse Width Modulation Mode)


Parameter TAiIN input high pulse width TAiIN input low pulse width Standard Min. 100 100 Max. Unit ns ns

Table 5.24
Symbol tc(TA)
tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)

Timer A Input (Two-Phase Pulse Input in Event Counter Mode)


Parameter TAiIN input cycle time TAiOUT input setup time TAiIN input setup time Standard Min. 800 200 200 Max. Unit ns ns ns

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 52 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = Timing Requirements (VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.25
Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL)

VCC2 = 5 V

Timer B Input (Counter Input in Event Counter Mode)


Parameter TBiIN input cycle time (counted on one edge) TBiIN input high pulse width (counted on one edge) TBiIN input low pulse width (counted on one edge) TBiIN input cycle time (counted on both edges) TBiIN input high pulse width (counted on both edges) TBiIN input low pulse width (counted on both edges) Standard Min. 100 40 40 200 80 80 Max. Unit ns ns ns ns ns ns

Table 5.26
Symbol tc(TB) tw(TBH) tw(TBL)

Timer B Input (Pulse Period Measurement Mode)


Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns

Table 5.27
Symbol tc(TB) tw(TBH) tw(TBL)

Timer B Input (Pulse Width Measurement Mode)


Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 400 200 200 Max. Unit ns ns ns

Table 5.28
Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D)

Serial Interface
Parameter CLKi input cycle time CLKi input high pulse width CLKi input low pulse width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time 0 70 90 Standard Min. 200 100 100 80 Max. Unit ns ns ns ns ns ns ns

Table 5.29
Symbol tw(INH) tw(INL)

External Interrupt INTi Input


Parameter Standard Min. 250 250 Max. Unit ns ns

INTi input high pulse width


INTi input low pulse width

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 53 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = Timing Requirements (VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)

VCC2 = 5 V

VCC1 = VCC2 = 5 V
XIN input tr t w(H) tf tc t w(L)

tc(TA) t w(TAH) TAiIN input t w(TAL) tc(UP) t w(UPH) TAiOUT input t w(UPL)

Two-phase pulse input in event counter mode tc(TA) TAiIN input tsu(TAIN-TAOUT) TAiOUT input tsu(TAOUT-TAIN) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)

tc(TB) t w(TBH) TBiIN input t w(TBL)

Figure 5.3

Timing Diagram (1)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 54 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V
tc(CK) t w(CKH) CLKi t w(CKL) th(C-Q) TXDi td(C-Q) RXDi t w(INL) INTi input t w(INH) tsu(D-C) th(C-D)

Figure 5.4

Timing Diagram (2)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 55 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V 5.2.3 Timing Requirements (Memory Expansion Mode and Microprocessor Mode)

(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.30
Symbol tac1(RD-DB) tac2(RD-DB) tac3(RD-DB) tsu(DB-RD) tsu(RDY-BCLK) tsu(HOLD-BCLK) th(RD-DB) th(BCLK-RDY) th(BCLK-HOLD)

Memory Expansion Mode and Microprocessor Mode


Parameter Data input access time (for setting with no wait) Data input access time (for setting with 1 to 3 waits) Data input access time (when accessing multiplex bus area) Data input setup time RDY input setup time HOLD input setup time Data input hold time RDY input hold time HOLD input hold time 40 30 40 0 0 0 Standard Min. Max. (Note 1) (Note 2) (Note 3) Unit ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 0.5x10 --------------------- 45 [ ns ] -

f ( BCLK )

2.

Calculated according to the BCLK frequency as follows:


9 ( n + 0.5 ) x 10 ------------------------------------- 45 [ ns ] -

f ( BCLK )

n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting.

3.

Calculated according to the BCLK frequency as follows:


9 ( n 0.5 ) x 10 ------------------------------------ 45 [ ns ] -

f ( BCLK )

n is 2 for 2 waits setting, and 3 for 3 waits setting.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 56 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode

VCC1 = VCC2 = 5 V

(Effective in wait state setting)

BCLK

RD (Separate bus) WR, WRL, WRH (Separate bus) RD (Multiplexed bus) WR, WRL, WRH (Multiplexed bus)

RDY input tsu(RDY-BCLK) th(BCLK-RDY)

(Common to wait state and no wait state settings)

BCLK

tsu(HOLD-BCLK) HOLD input

th(BCLK-HOLD)

HLDA input td(BCLK-HLDA) td(BCLK-HLDA)


HiZ

P0, P1, P2, P3, P4, P5_0 to P5_2 (1)

Note: 1. These pins are high-impedance regardless of the input level of the BYTE pin, PM06 bit in PM0 register, and PM11 bit in PM1 register. Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 1.0 V, V = 4.0 V IL IH Output timing voltage: V = 2.5 V, V = 2.5 V OL OH

Figure 5.5

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 57 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V 5.2.4 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting))

(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.31
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA) Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time
(3)

Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting)
Parameter Measuring Condition Standard Min. Max. 25 0 0 (Note 2) 25 0 15 4 See
Figure 5.6

Unit ns ns ns ns ns ns ns ns

25 0 25 0 40 0 (Note 1) (Note 2) 40

ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 0.5x10 --------------------- 40 [ ns ] -

f ( BCLK )

f(BCLK) is 12.5 MHz or less.

2.

Calculated according to the BCLK frequency as follows: f ( BCLK ) This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = CR ln(1VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = 30 pF 1 k In(1 0.2VCC2/VCC2) = 6.7 ns.
9 0.5x10 --------------------- 10 [ ns ] -

3.

R DBi C

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 58 of 83

M16C/64A Group

5. Electrical Characteristics

P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10

30 pF

Figure 5.6

Ports P0 to P10 Measurement Circuit

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 59 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode (in no wait state setting)
Read timing

VCC1 = VCC2 = 5 V

BCLK td(BCLK-CS)
25ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
25ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 15ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD)
0ns(min.)

ALE td(BCLK-RD) 25ns(max.) RD tac1(RD-DB) (0.5 tcyc -45)ns(max.) Hi-Z DBi tsu(DB-RD)
40ns(min.)

th(BCLK-RD)
0ns(min.)

th(RD-DB)
0ns(min.)

Write timing
BCLK td(BCLK-CS)
25ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
25ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 15ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(WR-AD) (0.5 tcyc -10)ns(min.) th(BCLK-WR)


0ns(min.)

ALE td(BCLK-WR)
25ns(max.)

WR, WRL, WRH td(BCLK-DB)


40ns(max.)

th(BCLK-DB)
0ns(min.)

DBi

Hi-Z td(DB-WR) (0.5 tcyc -40)ns(min.) tcyc = 1 f(BCLK) th(WR-DB) (0.5 tcyc -10)ns(min.)

Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH

Figure 5.7

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 60 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V 5.2.5 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area))

(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.32 Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)(3) HLDA output delay time
(3)

Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)

Measuring Condition

Standard Min. Max. 25 0 0 (Note 2) 25 0 15 -4

Unit ns ns ns ns ns ns ns ns

See
Figure 5.6

25 0 25 0 40 0 (Note 1) (Note 2) 40

ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 (-- --------- 40 [ ns ] -n --0.5 ) -10 - - ----- --

f ( BCLK )

n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. When n = 1, f(BCLK) is 12.5 MHz or less.

2.

Calculated according to the BCLK frequency as follows: f ( BCLK ) This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pullup (pull-down) resistance value. Hold time of data bus is expressed in t = CR ln(1 VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1k, hold time of output low level is t = 30 pF 1 k In(1 0.2VCC2/VCC2) = 6.7 ns.
9 0.5x10 --------------------- 10 [ ns ] -

3.

R DBi C

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 61 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode


(in 1 to 3 waits setting and when accessing external area) Read timing
BCLK td(BCLK-CS)
25ns(max.)

VCC1 = VCC2 = 5 V

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
25ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE)
15ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD)
0ns(min.)

ALE td(BCLK-RD)
25ns(max.)

th(BCLK-RD)
0ns(min.) {(n+0.5) t cyc - 45}ns(max.)

RD

tac2(RD-DB)

DBi

Hi-Z tsu(DB-RD)
40ns(min.)

th(RD-DB)
0ns(min.)

Write timing
BCLK td(BCLK-CS)
25ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
25ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE)
15ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(WR-AD)
(0.5 tcyc -10)ns(min.)

ALE td(BCLK-WR)
25ns(max.)

th(BCLK-WR)
0ns(min.)

WR, WRL, WRH Hi-Z DBi

td(BCLK-DB)
40ns(max.)

th(BCLK-DB)
0ns(min.)

td(DB-WR) {(n-0.5) t cyc - 40}ns(min.) 1 f(BCLK)

th(WR-DB)

(0.5 tcyc -10)ns(min.)

tcyc =

Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH

n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits)

Figure 5.8

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 62 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 5 V 5.2.6 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus))

(VCC1 = VCC2 = 5 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.33 Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus) (5)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) Chip select output hold time (in relation to RD) Chip select output hold time (in relation to WR) RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time

Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) th(RD-CS) th(WR-CS) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB)
td(BCLK-HLDA)

Measuring Condition

Standard Min. Max. 25 0 (Note 1) (Note 1) 25 0 (Note 1) (Note 1) 25 0 25

Unit ns ns ns ns ns ns ns ns ns ns ns ns

See
Figure 5.6

0 40 0 (Note 2) (Note 1) 40 15

ns ns ns ns ns ns ns ns ns ns ns

td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(AD-ALE) td(AD-RD) td(AD-WR) tdz(RD-AD)

ALE signal output delay time (in relation to BCLK) ALE signal output hold time (in relation to BCLK) ALE signal output delay time (in relation to Address) ALE signal output hold time (in relation to Address) RD signal output delay from the end of address WR signal output delay from the end of address Address output floating start time

4
(Note 3) (Note 4) 0 0 8

ns

Notes: 1. Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 10 [ ns ] -

f ( BCLK )

2.

Calculated according to the BCLK frequency as follows: 9 ( n 0.5 ) x10 ----------------------------------- 40 [ ns ] n is 2 for 2-wait setting, 3 for 3-wait setting. -

f ( BCLK )

3.

Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 25 [ ns ] -

f ( BCLK )

4.

Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 15 [ ns ] -

f ( BCLK )

5.

When using multiplex bus, set f(BCLK) 12.5 MHz or less.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 63 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode


Read timing

VCC1 = VCC2 = 5 V

(in 2 or 3 waits setting, and when accessing external area and using multiplexed bus )

BCLK

td(BCLK-CS)
25ns(max.)

th(BCLK-CS) tcyc
(0.5 tcyc -10)ns(min.)

th(RD-CS)

0ns(min.)

CSi td(AD-ALE) (0.5 tcyc -25ns(min.) ADi /DBi th(ALE-AD) (0.5 tcyc -15ns(min.) tdz(RD-AD)
8ns(max.)

Address

Data input

Address

tsu(DB-RD) tac3(RD-DB) {(n-0.5) tcyc -45}ns(max.) 40ns(min.)

th(RD-DB)
0ns(min.)

td(BCLK-AD)
25ns(max.)

td(AD-RD)
0ns(min.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 15ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD) (0.5 tcyc -10)ns(min.) td(BCLK-RD) 25ns(max.) th(BCLK-RD)


0ns(min.)

ALE

RD

Write timing
BCLK td(BCLK-CS)
25ns(max.)

tcyc

th(WR-CS) (0.5 tcyc -10)ns(min.)

th(BCLK-CS)
0ns(min.)

CSi td(BCLK-DB)
40ns(max.)

th(BCLK-DB)
0ns(min.)

ADi /DBi

Address

Data output

Address

td(AD-ALE) (0.5 tcyc -25ns(min.) td(BCLK-AD)


25ns(max.)

td(DB-WR) {(n-0.5) t cyc - 40}ns(min.)

th(WR-DB) (0.5 tcyc -10)ns(min.) th(BCLK-AD)


0ns(min.)

ADi BHE

td(BCLK-ALE) 15ns(max.)

th(BCLK-ALE)
-4ns(min.)

td(AD-WR)
0ns(min.)

th(WR-AD) (0.5 tcyc -10)ns(min.) th(BCLK-WR)


0ns(min.)

ALE td(BCLK-WR) 25ns(max.) WR,WRL, WRH

Measuring conditions VCC1 = V CC2 = 5 V Input timing voltage: V = 0.8 V, V = 2.0 V IL IH Output timing voltage: V = 0.4 V, V = 2.4 V OL OH

n: 2 (when 2 waits) 3 (when 3 waits)

Figure 5.9

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 64 of 83

M16C/64A Group

5. Electrical Characteristics

5.3 5.3.1

Electrical Characteristics (VCC1 = VCC2 = 3 V) Electrical Characteristics VCC1 = VCC2 = 3 V


Electrical Characteristics (1)
Parameter High output voltage P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7
(1, 2)

Table 5.34
Symbol VOH

Measuring Condition IOH = 1 mA

Standard Min. VCC1 0.5 Typ. Max. VCC1

Unit V

IOH = 1 mA

VCC2 0.5

VCC2

VOH

High output voltage

XOUT

HIGHPOWER LOWPOWER

IOH = 0.1 mA IOH = 50 A With no load applied With no load applied IOL = 1 mA

VCC1 0.5 VCC1 0.5 2.6 2.2

VCC1 VCC1

High output voltage VOL

XCOUT

HIGHPOWER LOWPOWER

V 0.5 V

Low output P6_0 to P6_7, P7_0 to P7_7, voltage P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7

IOL = 1 mA

0.5

VOL

Low output voltage

XOUT

HIGHPOWER LOWPOWER

IOL = 0.1 mA IOL = 50 A With no load applied With no load applied 0.5 0 0

0.5 0.5

Low output voltage

XCOUT

HIGHPOWER LOWPOWER

V 1.0 V

VT+-VT- Hysteresis HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, INT0 to INT7, NMI, ADTRG, CTS0 to CTS2, CTS5 to CTS7, SCL0 to SCL2, SCL5 to SCL7, SDA0 to SDA2, SDA5 to SDA7, CLK0 to CLK7, TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD2, RXD5 to RXD7, SIN3, SIN4, SD, PMC0, PMC1, SCLMM, SDAMM, CEC VT+-VT- Hysteresis RESET IIH High input P0_0 to P0_7, P1_0 to P1_7, current P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE VI = 3 V

0.5

1.0 4.0

V A

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 65 of 83

M16C/64A Group

5. Electrical Characteristics

Table 5.35
Symbol IIL

Electrical Characteristics (2) (1, 2)


Parameter Measuring Condition VI = 0 V Standard Min. Typ. Max. 4.0 Unit A

Low input current

P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7 XIN, RESET, CNVSS, BYTE

RPULLUP Pull-up P0_0 to P0_7, P1_0 to P1_7, resistance P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7 RfXIN RfXCIN VRAM Feedback resistance XIN Feedback resistance XCIN RAM retention voltage

VI = 0 V

50

80

150

3.0 16 In stop mode 1.8

M M V

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. When VCC1 VCC2, refer to 5 V or 3 V standard depending on the voltage.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 66 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V
Table 5.36 Electrical Characteristics (3) R5F364A6NFA, R5F364A6NFB, R5F364A6DFA, R5F364A6DFB, R5F364AENFA, R5F364AENFB, R5F364AEDFA, R5F364AEDFB
Symbol ICC Parameter Power supply current High-speed mode Measuring Condition Min. Standard Unit Typ. Max. 20.0 mA
(1)

f(BCLK) = 25 MHz XIN = 4.2 MHz (square wave), PLL multiplied by 6 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) = 25 MHz pin are open and XIN = 4.2 MHz (square wave), other pins are VSS PLL multiplied by 6 125 kHz on-chip oscillator stop f(BCLK) = 20 MHz XIN = 20 MHz (square wave) 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator mode 125 kHz on-chip oscillator on, no division Low-power mode f(BCLK) = 32 MHz In low-power mode, FMR 22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 MHz In low-power mode, on RAN (2) Wait mode Main clock stop 125 kHz on-chip oscillator on Peripheral clock operating Topr = 25C f(BCLK) = 32 MHz (oscillation capacity High) 125 kHz on-chip oscillator stop Peripheral clock operating Topr = 25C f(BCLK) = 32kHz (oscillation capacity Low) 125 kHz on-chip oscillator stop Peripheral clock operating Topr = 25C Stop mode Main clock stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C

20.7

mA

16.0 450.0

mA A

160.0

40.0

20.0

8.0

4.0

1.6

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 67 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V
Table 5.37 Electrical Characteristics (4) R5F364AMNFA, R5F364AMNFB, R5F364AMDFA, R5F364AMDFB
Symbol ICC Parameter Power supply current High-speed mode Measuring Condition Min. Standard Unit Typ. Max. TBD mA
(1)

f(BCLK) = 25 MHz XIN = 4.2 MHz (square wave), PLL multiplied by 6 In single-chip, 125 kHz on-chip oscillator stop mode, the output f(BCLK) = 25 MHz pin are open and XIN = 4.2 MHz (square wave), other pins are VSS PLL multiplied by 6 125 kHz on-chip oscillator stop f(BCLK) = 20 MHz XIN = 20 MHz (square wave) 125 kHz on-chip oscillator stop 125 kHz on-chip Main clock stop oscillator mode 125 kHz on-chip oscillator on, no division Low-power mode f(BCLK) = 32 MHz In low-power mode, FMR 22 = FMR23 = 1 on flash memory (2) f(BCLK) = 32 MHz In low-power mode, on RAN (2) Wait mode Main clock stop 125 kHz on-chip oscillator on Peripheral clock operating Topr = 25C f(BCLK) = 32 MHz (oscillation capacity High) 125 kHz on-chip oscillator stop Peripheral clock operating Topr = 25C f(BCLK) = 32kHz (oscillation capacity Low) 125 kHz on-chip oscillator stop Peripheral clock operating Topr = 25C Stop mode Main clock stop 125 kHz on-chip oscillator stop Peripheral clock stop Topr = 25C

TBD

mA

TBD TBD

mA A

TBD

TBD

TBD

TBD

TBD

TBD

Notes: 1. Referenced to VCC1 = VCC2 = 2.7 to 3.3 V, VSS = 0 V at Topr = 20 to 85C/40 to 85C, f(BCLK) = 25 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 68 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V 5.3.2 Timing Requirements (Peripheral Functions and Others)

(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.38
Symbol tc tw(H) tw(L) tr tf Note: 1. 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

External Clock Input (XIN Input) (1)


Parameter Standard Min. 50 20 20 9 9 Max. Unit ns ns ns ns ns

The condition is VCC1 = VCC2 = 2.7 to 3.0 V.

Table 5.39
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (Counter Input in Event Counter Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 150 60 60 Max. Unit ns ns ns

Table 5.40
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (Gating Input in Timer Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns

Table 5.41
Symbol tc(TA) tw(TAH) tw(TAL)

Timer A Input (External Trigger Input in One-Shot Timer Mode)


Parameter TAiIN input cycle time TAiIN input high pulse width TAiIN input low pulse width Standard Min. 300 150 150 Max. Unit ns ns ns

Table 5.42
Symbol tw(TAH) tw(TAL)

Timer A Input (External Trigger Input in Pulse Width Modulation Mode)


Parameter TAiIN input high pulse width TAiIN input low pulse width Standard Min. 150 150 Max. Unit ns ns

Table 5.43
Symbol
tc(TA) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)

Timer A Input (Two-Phase Pulse Input in Event Counter Mode)


Parameter TAiIN input cycle time TAiOUT input setup time TAiIN input setup time Standard Min. 2 500 500 Max. Unit

s
ns ns

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 69 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 Timing Requirements (VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.44
Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL)

= VCC2 = 3 V

Timer B Input (Counter Input in Event Counter Mode)


Parameter TBiIN input cycle time (counted on one edge) TBiIN input high pulse width (counted on one edge) TBiIN input low pulse width (counted on one edge) TBiIN input cycle time (counted on both edges) TBiIN input high pulse width (counted on both edges) TBiIN input low pulse width (counted on both edges) Standard Min. 150 60 60 300 120 120 Max. Unit ns ns ns ns ns ns

Table 5.45
Symbol tc(TB) tw(TBH) tw(TBL)

Timer B Input (Pulse Period Measurement Mode)


Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns

Table 5.46
Symbol tc(TB) tw(TBH) tw(TBL)

Timer B Input (Pulse Width Measurement Mode)


Parameter TBiIN input cycle time TBiIN input high pulse width TBiIN input low pulse width Standard Min. 600 300 300 Max. Unit ns ns ns

Table 5.47
Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D)

Serial Interface
Parameter CLKi input cycle time CLKi input high pulse width CLKi input low pulse width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time 0 100 90 Standard Min. 300 150 150 160 Max. Unit ns ns ns ns ns ns ns

Table 5.48
Symbol tw(INH) tw(INL)

External Interrupt INTi Input


Parameter
INTi input high pulse width INTi input low pulse width

Standard Min. 380 380 Max.

Unit ns ns

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 70 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = Timing Requirements (VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)

VCC2 = 3 V

VCC1 = VCC2 = 3 V
XIN input tr t w(H) tf tc t w(L)

tc(TA) t w(TAH) TAiIN input t w(TAL) tc(UP) t w(UPH) TAiOUT input t w(UPL)

Two-phase pulse input in event counter mode tc(TA) TAiIN input tsu(TAIN-TAOUT) TAiOUT input tsu(TAOUT-TAIN) tsu(TAIN-TAOUT) tsu(TAOUT-TAIN)

tc(TB) t w(TBH) TBiIN input t w(TBL)

Figure 5.10

Timing Diagram (1)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 71 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V
tc(CK) t w(CKH) CLKi t w(CKL) th(C-Q) TXDi td(C-Q) RXDi t w(INL) INTi input t w(INH) tsu(D-C) th(C-D)

Figure 5.11

Timing Diagram (2)

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 72 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V 5.3.3 Timing Requirements (Memory Expansion Mode and Microprocessor Mode)

(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.49
Symbol tac1(RD-DB) tac2(RD-DB) tac3(RD-DB) tsu(DB-RD) tsu(RDY-BCLK) tsu(HOLD-BCLK) th(RD-DB) th(BCLK-RDY) th(BCLK-HOLD)

Memory Expansion Mode and Microprocessor Mode


Parameter Data input access time (for setting with no wait) Data input access time (for setting with wait) Data input access time (when accessing multiplex bus area) Data input setup time RDY input setup time HOLD input setup time Data input hold time RDY input hold time HOLD input hold time 50 40 50 0 0 0 Standard Min. Max. (Note 1) (Note 2) (Note 3) Unit ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 0.5x10 --------------------- 60 [ ns ] -

f ( BCLK )

2.

Calculated according to the BCLK frequency as follows:


9 ( n + 0.5 ) x10 ------------------------------------- 60 [ ns ] -

f ( BCLK )

n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting.

3.

Calculated according to the BCLK frequency as follows:


9 ( n 0.5 ) x10 ----------------------------------- 60 [ ns ] -

f ( BCLK )

n is 2 for 2 waits setting, 3 for 3 waits setting.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 73 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode

VCC1 = VCC2 = 3 V

(Effective in wait state setting )

BCLK

RD (Separate bus) WR, WRL, WRH (Separate bus) RD (Multiplexed bus) WR, WRL, WRH (Multiplexed bus)

RDY input tsu(RDY-BCLK) th(BCLK-RDY)

(Common to wait state and no wait state settings)

BCLK

tsu(HOLD-BCLK) HOLD input

th(BCLK-HOLD)

HLDA input td(BCLK-HLDA) td(BCLK-HLDA)


HiZ

P0, P1, P2, P3, P4, P5_0 to P5_2 (1)

Note: 1. These pins are high-impedance regardless of the input level of the BYTE pin, PM06 bit in PM0 register, and PM11 bit in PM1 register. Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH

Figure 5.12

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 74 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V 5.3.4 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in No Wait State Setting))

(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.50
Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)

Memory Expansion and Microprocessor Modes (in No Wait State Setting)


Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR) (3) HLDA output delay time 0 (Note 1) (Note 2) 40 0 40 See
Figure 5.13

Measuring Condition

Standard Min. Max. 30 0 0 (Note 2) 30 0 25 4 30 0 30

Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 0.5 x 10 --------------------- 40 [ ns ] f -

f ( BCLK )

f(BCLK) is 12.5 MHz or less.

2.

Calculated according to the BCLK frequency as follows:


9 0.5 x 10 --------------------- 10 [ ns ] -

f ( BCLK )

This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. Hold time of data bus is expressed in t= CR ln(1 VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = 30 pF 1 k In(1 0.2VCC2/VCC2) = 6.7 ns.

R DBi C

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 75 of 83

M16C/64A Group

5. Electrical Characteristics

P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10

30 pF

Figure 5.13

Ports P0 to P10 Measurement Circuit

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 76 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode (in no wait state setting)
Read timing

VCC1 = VCC2 = 3 V

BCLK td(BCLK-CS)
30ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
30ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 25ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD)
0ns(min.)

ALE td(BCLK-RD) 30ns(max.) RD tac1(RD-DB) (0.5 tcyc -60)ns(max.) Hi-Z DBi tsu(DB-RD)
50ns(min.)

th(BCLK-RD)
0ns(min.)

th(RD-DB)
0ns(min.)

Write timing
BCLK td(BCLK-CS)
30ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
30ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 25ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(WR-AD) (0.5 tcyc -10)ns(min.) th(BCLK-WR)


0ns(min.)

ALE td(BCLK-WR)
30ns(max.)

WR, WRL, WRH td(BCLK-DB) 40ns(max.) DBi Hi-Z td(DB-WR) (0.5 tcyc -40)ns(min.) tcyc = 1 f(BCLK) th(WR-DB) (0.5 tcyc -10)ns(min.) th(BCLK-DB)
0ns(min.)

Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH

Figure 5.14

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 77 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V 5.3.5 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area))

(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.51 Memory Expansion Mode and Microprocessor Mode (in 1 to 3 Waits Setting and When Accessing External Area)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) ALE signal output delay time ALE signal output hold time RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output delay time (in relation to WR) Data output hold time (in relation to WR) (3) HLDA output delay time 0 (Note 1) (Note 2) 40 0 40 See
Figure 5.13

Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB) td(BCLK-HLDA)

Measuring Condition

Standard Min. 0 0 (Note 2) 30 0 25 -4 30 0 30 Max. 30

Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns

Notes: 1. Calculated according to the BCLK frequency as follows:


9 n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. ( n 0.5 ) x10 ----------------------------------- 40 [ ns ] -

f ( BCLK )

When n = 1, f(BCLK) is 12.5 MHz or less.

2.

Calculated according to the BCLK frequency as follows:


9 0.5x10 --------------------- 10 [ ns ] -

f ( BCLK )

3.

This standard value shows the timing when the output is off, and does not show hold time of data bus. Hold time of data bus varies with capacitor volume and pullup (pull-down) resistance value. Hold time of data bus is expressed in t=CR ln(1VOL/VCC2) by a circuit of the right figure. For example, when VOL = 0.2VCC2, C = 30 pF, R = 1 k, hold time of output low level is t = 30 pF 1 k In(1 0.2VCC2/VCC2) = 6.7 ns.

R DBi C

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 78 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode


(in 1 to 3 waits setting and when accessing external area) Read timing
BCLK td(BCLK-CS)
30ns(max.)

VCC1 = VCC2 = 3 V

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
30ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE)
25ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD)
0ns(min.)

ALE td(BCLK-RD)
30ns(max.)

th(BCLK-RD)
0ns(min.) {(n+0.5) t cyc-60}ns(max.)

RD

tac2(RD-DB)

DBi

Hi-Z

tac2(RD-DB) {(n+0.5) t cyc-60}ns(max.) th(RD-DB)


0ns(min.)

tsu(DB-RD)
50ns(min.)

Write timing
BCLK td(BCLK-CS)
30ns(max.)

th(BCLK-CS)
0ns(min.)

CSi tcyc

td(BCLK-AD)
30ns(max.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE)
25ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(WR-AD)
(0.5 tcyc -10)ns(min.)

ALE td(BCLK-WR)
30ns(max.)

th(BCLK-WR)
0ns(min.)

WR, WRL, WRH Hi-Z DBi

td(BCLK-DB)
40ns(max.)

th(BCLK-DB)
0ns(min.)

td(DB-WR) {(n-0.5) tcyc -40}ns(min.) 1 f(BCLK)

th(WR-DB)

(0.5 tcyc -10)ns(min.)

tcyc =

Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH

n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits)

Figure 5.15

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 79 of 83

M16C/64A Group

5. Electrical Characteristics

VCC1 = VCC2 = 3 V 5.3.6 Switching Characteristics (Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus))

(VCC1 = VCC2 = 3 V, VSS = 0 V, at Topr = -20 to 85C/-40 to 85C unless otherwise specified)
Table 5.52 Memory Expansion Mode and Microprocessor Mode (in 2 or 3 Waits Setting, and When Accessing External Area and Using Multiplexed Bus) (5)
Parameter Address output delay time Address output hold time (in relation to BCLK) Address output hold time (in relation to RD) Address output hold time (in relation to WR) Chip select output delay time Chip select output hold time (in relation to BCLK) Chip select output hold time (in relation to RD) Chip select output hold time (in relation to WR) RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) Data output delay time (in relation to WR) Data output hold time (in relation to WR)
HLDA output delay time

Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD) td(BCLK-CS) th(BCLK-CS) th(RD-CS) th(WR-CS) td(BCLK-RD) th(BCLK-RD) td(BCLK-WR) th(BCLK-WR) td(BCLK-DB) th(BCLK-DB) td(DB-WR) th(WR-DB)
td(BCLK-HLDA)

Measuring Condition

Standard Min. Max. 50 0 (Note 1) (Note 1) 50 0 (Note 1) (Note 1) 40 0 40

Unit ns ns ns ns ns ns ns ns ns ns ns ns

See
Figure 5.13

0 50 0 (Note 2) (Note 1) 40 25

ns ns ns ns ns ns ns ns ns ns ns

td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(AD-ALE) td(AD-RD) td(AD-WR) tdz(RD-AD)

ALE signal output delay time (in relation to BCLK) ALE signal output hold time (in relation to BCLK) ALE signal output delay time (in relation to Address) ALE signal output hold time (in relation to Address) RD signal output delay from the end of address WR signal output delay from the end of address Address output floating start time

4
(Note 3) (Note 4) 0 0 8

ns

Notes: 1. Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 10 [ ns ] -

f ( BCLK )

2.

3.

Calculated according to the BCLK frequency as follows: 9 ( n 0.5 ) x10 n is 2 for 2 waits setting, 3 for 3 waits setting. ----------------------------------- 50 [ ns ] f ( BCLK ) Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 40 [ ns ] -

f ( BCLK )

4.

Calculated according to the BCLK frequency as follows: 9 0.5x10 --------------------- 15 [ ns ] -

f ( BCLK )

5.

When using multiplexed bus, set f(BCLK) 12.5 MHz or less.

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 80 of 83

M16C/64A Group

5. Electrical Characteristics

Memory Expansion Mode and Microprocessor Mode


Read timing

VCC1 = VCC2 = 3 V

(in 2 or 3 waits setting, and when accessing external area and using multiplexed bus )

BCLK

td(BCLK-CS)
50ns(max.)

th(BCLK-CS) tcyc th(RD-CS) (0.5 tcyc -10)ns(min.)


0ns(min.)

CSi td(AD-ALE) (0.5 tcyc -40ns(min.) ADi /DBi th(ALE-AD) (0.5 tcyc -15ns(min.) tdz(RD-AD)
8ns(max.)

Address

Data input

Address

tsu(DB-RD) tac3(RD-DB) {(n-0.5) tcyc -60}ns(max.) 50ns(min.)

th(RD-DB)
0ns(min.)

td(BCLK-AD)
50ns(max.)

td(AD-RD)
0ns(min.)

th(BCLK-AD)
0ns(min.)

ADi BHE

td(BCLK-ALE) 25ns(max.)

th(BCLK-ALE)
-4ns(min.)

th(RD-AD) (0.5 tcyc -10)ns(min.) td(BCLK-RD) 40ns(max.) th(BCLK-RD)


0ns(min.)

ALE

RD

Write timing
BCLK td(BCLK-CS)
50ns(max.)

tcyc

th(WR-CS) (0.5 tcyc -10)ns(min.)

th(BCLK-CS)
0ns(min.)

CSi td(BCLK-DB)
50ns(max.)

th(BCLK-DB)
0ns(min.)

ADi /DBi

Address

Data output

Address

td(AD-ALE) (0.5 tcyc -40ns(min.) td(BCLK-AD)


50ns(max.)

td(DB-WR) {(n-0.5) t cyc-50}ns(min.)

th(WR-DB) (0.5 tcyc -10)ns(min.) th(BCLK-AD)


0ns(min.)

ADi BHE

td(BCLK-ALE) 25ns(max.)

th(BCLK-ALE)
-4ns(min.)

td(AD-WR)
0ns(min.)

th(WR-AD) (0.5 tcyc -10)ns(min.) th(BCLK-WR)


0ns(min.)

ALE td(BCLK-WR) 40ns(max.) WR,WRL, WRH

tcyc =

1 f(BCLK) n: 2 (when 2 waits) 3 (when 3 waits)

Measuring conditions VCC1 = V CC2 = 3 V Input timing voltage: V = 0.6 V, V = 2.4 V IL IH Output timing voltage: V = 1.5 V, V = 1.5 V OL OH

Figure 5.16

Timing Diagram

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 81 of 83

M16C/64A Group

Appendix 1. Package Dimensions

Appendix 1. Package Dimensions


The information on the latest package dimensions or packaging may be obtained from Packages on the Renesas Technology Website.
JEITA Package Code P-QFP100-14x20-0.65 RENESAS Code PRQP0100JD-B Previous Code 100P6F-A MASS[Typ.] 1.8g

HD *1 80

D 51

81

50 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.

*2

HE

Reference Dimension in Millimeters Symbol

ZE

100

31

ZD

Index mark

30 F

c
A2

L e y *3 bp x Detail F

D E A2 HD HE A A1 bp c e x y ZD ZE L

Min Nom Max 19.8 20.0 20.2 13.8 14.0 14.2 2.8 22.5 22.8 23.1 16.5 16.8 17.1 3.05 0.1 0.2 0 0.25 0.3 0.4 0.13 0.15 0.2 10 0 0.65 0.13 0.10 0.575 0.825 0.4 0.6 0.8

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 82 of 83

A1

M16C/64A Group

Appendix 1. Package Dimensions

JEITA Package Code P-LQFP100-14x14-0.50

RENESAS Code PLQP0100KB-A

Previous Code 100P6Q-A / FP-100U / FP-100UV

MASS[Typ.] 0.6g

HD *1 D

75

51 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.

76

50

bp b1 HE E
Reference Dimension in Millimeters Symbol

*2

c1

Terminal cross section

1 Index mark ZD

25 F

ZE

100

26

A2

D E A2 HD HE A A1 bp b1 c c1
c

A1

y e

*3

bp

L L1 Detail F

e x y ZD ZE L L1

Min Nom Max 13.9 14.0 14.1 13.9 14.0 14.1 1.4 15.8 16.0 16.2 15.8 16.0 16.2 1.7 0.05 0.1 0.15 0.15 0.20 0.25 0.18 0.09 0.145 0.20 0.125 0 8 0.5 0.08 0.08 1.0 1.0 0.35 0.5 0.65 1.0

REJ03B0264-0101 Rev.1.01 Feb 03, 2009 Page 83 of 83

REVISION HISTORY
Rev. 1.01 Date Feb 03, 2009 Page -

M16C/64A Group Datasheet


Description Summary First Edition issued.

All trademarks and registered trademarks are the property of their respective owners. IEBus is a registered trademark of NEC Electronics Corporation. HDMI and High-Definition Multimedia Interface are registered trademarks of HDMI Licensing, LLC.

A- 1

Sales Strategic Planning Div.

Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan

Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, 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 products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas 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 applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries.

RENESAS SALES OFFICES


Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145

http://www.renesas.com

Renesas Technology 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: <603> 7955-9390, Fax: <603> 7955-9510

2009. Renesas Technology Corp., All rights reserved. Printed in Japan.


Colophon .7.2