Under development This document is under development and its contents are subject to change M16C/6N Group (M16C/6NL, M16C/6NN) Renesas MCU REJ03B0061-0210 Rev.2.10 Aug 25, 2006 1. Overview The M16C/6N Group (M16C/6NL, M16C/6NN) of MCUs are built using the high-performance silicon gate CMOS process using the M16C/60 Series CPU core and are packaged in 100-pin and 128-pin plastic molded LQFP. These MCUs operate using sophisticated instructions featuring a high level of instruction efficiency. With 1 Mbyte of address space, they are capable of executing instructions at high speed. Being equipped with one CAN (Controller Area Network) module in the M16C/6N Group (M16C/6NL, M16C/6NN), the MCU is suited to drive automotive and industrial control systems. The CAN module complies with the 2.0B specification. In addition, this MCU contains a multiplier and DMAC which combined with fast instruction processing capability, makes it suitable for control of various OA, communication equipment which requires high-speed arithmetic/logic operations. 1.1 Applications • Car audio and industrial control systems, other Specifications written in this manual are believed to be accurate, but are not guaranteed to be entirely free of error. Specifications in this manual may be changed for functional or performance improvements. Please make sure your manual is the latest edition. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 1 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 1.2 Performance Overview Tables 1.1 and 1.2 list the Functions and Specifications for M16C/6N Group (M16C/6NL, M16C/6NN). Table 1.1 Functions and Specifications for M16C/6N Group (100-pin Version: M16C/6NL) Item Specification CPU 91 instructions Number of fundamental instructions Minimum instruction execution time 41.7ns (f(BCLK) = 24 MHz, 1/1 prescaler, without software wait) Single-chip, memory expansion and microprocessor modes Operating mode Address space 1 Mbyte Memory capacity Refer to Table 1.3 Product Information Peripheral Ports Input/Output: 87 pins, Input: 1 pin Function Timer A: 16 bits ✕ 5 channels Multifunction timers Timer B: 16 bits ✕ 6 channels Three-phase motor control circuit 3 channels Serial interfaces Clock synchronous, UART, I2C-bus (1), IEBus (2) 2 channels Clock synchronous A/D converter 10-bit A/D converter: 1 circuit, 26 channels D/A converter 8 bits ✕ 2 channels DMAC 2 channels CRC calculation circuit CRC-CCITT CAN module 1 channel with 2.0B specification Watchdog timer 15 bits ✕ 1 channel (with prescaler) Interrupts Internal: 30 sources, External: 9 sources Software: 4 sources, Priority levels: 7 levels 4 circuits Clock generation circuits • Main clock oscillation circuit (*) • Sub clock oscillation circuit (*) • On-chip oscillator • PLL frequency synthesizer (*) Equipped with on-chip feedback resistor Oscillation-stopped detector Main clock oscillation stop and re-oscillation detection function Electrical Supply voltage VCC = 3.0 to 5.5 V Characteristics (f(BCLK) = 24 MHz, 1/1 prescaler, without software wait) Consumption Mask ROM 19mA (f(BCLK) = 24 MHz, PLL operation, no division) Flash memory 21mA (f(BCLK) = 24 MHz, PLL operation, no division) current Mask ROM 3µA (f(BCLK) = 32 kHz, Wait mode, Oscillation capacity Low) Flash memory 0.8µA (Stop mode, Topr = 25°C) Flash Memory Programming and erasure voltage 3.3 ± 0.3 V or 5.0 ± 0.5 V Version Programming and erasure endurance 100 times I/O 5.0 V I/O withstand voltage Characteristics Output current 5m A Operating Ambient Temperature -40 to 85°C Device Configuration CMOS high-performance silicon gate Package 100-pin molded-plastic LQFP NOTES: 1. I2C-bus is a trademark of Koninklijke Philips Electronics N.V. 2. IEBus is a trademark of NEC Electronics Corporation. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 2 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.2 Functions and Specifications for M16C/6N Group (128-pin Version: M16C/6NN) CPU Peripheral Function Item Number of fundamental instructions Minimum instruction execution time Operating mode Address space Memory capacity Ports Multifunction timers Serial interfaces A/D converter D/A converter DMAC CRC calculation circuit CAN module Watchdog timer Interrupts Clock generation circuits Electrical Characteristics Oscillation-stopped detector Supply voltage Specification 91 instructions 41.7ns (f(BCLK) = 24 MHz, 1/1 prescaler, without software wait) Single-chip, memory expansion and microprocessor modes 1 Mbyte Refer to Table 1.3 Product Information Input/Output: 113 pins, Input: 1 pin Timer A: 16 bits ✕ 5 channels Timer B: 16 bits ✕ 6 channels Three-phase motor control circuit 3 channels Clock synchronous, UART, I2C-bus (1), IEBus (2) 4 channels Clock synchronous 10-bit A/D converter: 1 circuit, 26 channels 8 bits ✕ 2 channels 2 channels CRC-CCITT 1 channel with 2.0B specification 15 bits ✕ 1 channel (with prescaler) Internal: 32 sources, External: 12 sources Software: 4 sources, Priority levels: 7 levels 4 circuits • Main clock oscillation circuit (*) • Sub clock oscillation circuit (*) • On-chip oscillator • PLL frequency synthesizer (*) Equipped with on-chip feedback resistor Main clock oscillation stop and re-oscillation detection function VCC = 3.0 to 5.5 V (f(BCLK) = 24 MHz, 1/1 prescaler, without software wait) 19mA (f(BCLK) = 24 MHz, PLL operation, no division) 21mA (f(BCLK) = 24 MHz, PLL operation, no division) 3µA (f(BCLK) = 32 kHz, Wait mode, Oscillation capacity Low) 0.8µA (Stop mode, Topr = 25°C) 3.3 ± 0.3 V or 5.0 ± 0.5 V 100 times 5.0 V 5m A -40 to 85°C CMOS high-performance silicon gate 128-pin molded-plastic LQFP Consumption Mask ROM Flash memory current Mask ROM Flash memory Flash Memory Programming and erasure voltage Version Programming and erasure endurance I/O I/O withstand voltage Characteristics Output current Operating Ambient Temperature Device Configuration Package NOTES: 1. I2C-bus is a trademark of Koninklijke Philips Electronics N.V. 2. IEBus is a trademark of NEC Electronics Corporation. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 3 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 1.3 Block Diagram Figure 1.1 shows a Block Diagram. 8 Port P0 8 8 Port P1 Port P3 INTB PC Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 4 of 67 Port P13 (3) (3) 2 8 Port P12 (3) 8 Port P11 (3) 8 8 Figure 1.1 Block Diagram Multiplier FLG Port P14 NOTES: 1: ROM size depends on MCU type. 2: RAM size depends on MCU type. 3: Ports P11 to P14 are only in the 128-pin version. 4: 8 bits ✕ 2 channels in the 100-pin version. RAM (2) 8 A0 A1 FB ROM (1) ISP 7 R2 R3 SB USP Port P10 D/A converter (8 bits ✕ 2 channels) R0L R1L Memory Port P9 DMAC (2 channels) CAN module (1 channel) M16C/60 Series CPU core R0H R1H Port P8_5 Watchdog timer (15 bits) Port P6 8 CRC calculation circuit (CCITT) (Polynomial: X16+X12+X5+1) Clock synchronous serial I/O (8 bits ✕ 4 channels) (4) 8 Port P8 Three-phase motor control circuit Port P5 XIN-XOUT XCIN-XCOUT PLL frequency synthesizer On-chip oscillator Timer (16 bits) UART or Clock synchronous serial I/O (3 channels) Port P4 8 System clock generation circuit A/D converter (10 bits ✕ 8 channels Expandable up to 26 channels) Output (timer A): 5 Input (timer B): 6 8 Port P7 Internal peripheral functions Port P2 8 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 1.4 Product Information Table 1.3 lists the Product Information and Figure 1.2 shows the Type Number, Memory Size, and Packages. Table 1.3 Product Information Type No. M306NLFHGP M306NNFHGP M306NLFJGP M306NNFJGP As of Aug. 2006 (2) ROM Capacity RAM Capacity Package Type Remarks 384 K + 4 Kbytes 31 Kbytes PLQP0100KB-A Flash memory (1) PLQP0128KB-A version 512 K + 4 Kbytes 31 Kbytes PLQP0100KB-A PLQP0128KB-A M306NLME-XXXGP 192 Kbytes 16 Kbytes PLQP0100KB-A Mask ROM version M306NNME-XXXGP PLQP0128KB-A M306NLMG-XXXGP 256 Kbytes 20 Kbytes PLQP0100KB-A M306NNMG-XXXGP PLQP0128KB-A NOTES: 1. Data flash memory provides an additional 4 Kbytes of ROM capacity (block A). 2. The correspondence between new and old package types is as follows. PLQP0100KB-A: 100P6Q-A PLQP0128KB-A: 128P6Q-A Type No. M30 6N L M G - XXX GP Package type: GP: Package PLQP0100KB-A (100P6Q-A) PLQP0128KB-A (128P6Q-A) ROM No. Omitted on flash memory version ROM capacity: E : 192 Kbytes G: 256 Kbytes H : 384 Kbytes J : 512 Kbytes Memory type: M : Mask ROM version F : Flash memory version Shows the number of CAN module, pin count, etc. 6N Group M16C Family Figure 1.2 Type Number, Memory Size, and Package Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 5 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 1.5 Pin Assignments 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 P1_3/D11 P1_4/D12 P1_5/D13/INT3 P1_6/D14/INT4 P1_7/D15/INT5 P2_0/AN2_0/A0(/D0/-) P2_1/AN2_1/A1(/D1/D0) P2_2/AN2_2/A2(/D2/D1) P2_3/AN2_3/A3(/D3/D2) P2_4/AN2_4/A4(/D4/D3) P2_5/AN2_5/A5(/D5/D4) P2_6/AN2_6/A6(/D6/D5) P2_7/AN2_7/A7(/D7/D6) VSS P3_0/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 Figures 1.3 and 1.4 show the Pin Assignment (Top View). Tables 1.4 to1.8 list the List of Pin Names. 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 M16C/6N Group (M16C/6NL) 29 28 27 26 100 P4_2/A18 P4_3/A19 P4_4/CS0 P4_5/CS1 P4_6/CS2 P4_7/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/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/TA0OUT P7_1/RXD2/SCL2/TA0IN/TB5IN (1) P7_2/CLK2/TA1OUT/V P9_4/DA1/TB4IN P9_3/DA0/TB3IN P9_2/TB2IN/SOUT3 (1) P9_1/TB1IN/SIN3 P9_0/TB0IN/CLK3 BYTE CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U P8_0/TA4OUT/U(SIN4) P7_7/TA3IN P7_6/TA3OUT P7_5/TA2IN/W(SOUT4) P7_4/TA2OUT/W(CLK4) 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 P1_2/D10 P1_1/D9 P1_0/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/CTX0/SOUT4 P9_5/ANEX0/CRX0/CLK4 NOTE: 1. P7_1 and P9_1 are N channel open-drain pins. Figure 1.3 Pin Assignments (Top View) (1) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 6 of 67 Package: PLQP0100KB-A (100P6Q-A) Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.4 List of Pin Names for 100-Pin Package (1) Pin No. 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 Control Pin Port Interrupt Pin P9_4 P9_3 P9_2 P9_1 P9_0 BYTE CNVSS XCIN P8_7 XCOUT P8_6 _____________ RESET XOUT VSS XIN VCC1 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 P4_3 P4_2 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 Timer Pin TB4IN TB3IN TB2IN TB1IN TB0IN UART Pin Analog CAN Module Pin Pin Bus Control Pin DA1 DA0 SOUT3 SIN3 CLK3 ________ NMI _________ INT2 _________ INT1 _________ INT0 page 7 of 67 ZP ___ TA4IN/U TA4OUT/U TA3IN TA3OUT ____ TA2IN/W TA2OUT/W ___ TA1IN/V TA1OUT/V TA0IN/TB5IN TA0OUT (SIN4) (SOUT4) (CLK4) __________ __________ CTS2/RTS2 CLK2 RXD2/SCL2 TXD2/SDA2 TXD1/SDA1 RXD1/SCL1 CLK1 _________ _________ _________ CTS1/RTS1/CTS0/CLKS1 TXD0/SDA0 RXD0/SCL0 CLK0 __________ __________ CTS0/RTS0 _________ RDY/CLKOUT ALE ___________ HOLD ___________ HLDA BCLK ______ RD __________________ WRH/BHE _________ ______ WRL/WR _______ CS3 _______ CS2 _______ CS1 _______ CS0 A19 A18 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.5 List of Pin Names for 100-Pin Package (2) Pin No. 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 Control Pin Port Interrupt Pin Timer Pin UART Pin Analog CAN Module Pin Pin Bus Control Pin P4_1 P4_0 P3_7 P3_6 P3_5 P3_4 P3_3 P3_2 P3_1 A17 A16 A15 A14 A13 A12 A11 A10 A9 P3_0 A8(/-/D7) VCC2 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 AN2_7 AN2_6 AN2_5 AN2_4 AN2_3 AN2_2 AN2_1 AN2_0 _________ INT5 _________ INT4 _________ INT3 AN0_7 AN0_6 AN0_5 AN0_4 AN0_3 AN0_2 AN0_1 AN0_0 AN7 AN6 AN5 AN4 AN3 AN2 AN1 ______ KI3 ______ KI2 ______ KI1 ______ KI0 AVSS P10_0 AN0 VREF AVCC ______________ P9_7 P9_6 P9_5 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 8 of 67 SIN4 SOUT4 CLK4 ADTRG ANEX1 CTX0 ANEX0 CRX0 A7(/D7/D6) A6(/D6/D5) A5(/D5/D4) A4(/D4/D3) A3(/D3/D2) A2(/D2/D1) A1(/D1/D0) A0(/D0/-) D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 VREF AVCC P9_7/ADTRG/SIN4 P9_6/ANEX1/CTX0/SOUT4 P9_5/ANEX0/CRX0/CLK4 P9_4/DA1/TB4IN P9_3/DA0/TB3IN P9_2/TB2IN/SOUT3 (1) P9_1/TB1IN/SIN3 P9_0/TB0IN/CLK3 P14_1 P14_0 BYTE CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI P8_4/INT2/ZP P8_3/INT1 P8_2/INT0 P8_1/TA4IN/U P8_0/TA4OUT/U(SIN4) P7_7/TA3IN P7_6/TA3OUT P7_5/TA2IN/W(SOUT4) P7_4/TA2OUT/W(CLK4) P7_3/CTS2/RTS2/TA1IN/V P7_2/CLK2/TA1OUT/V (1) P7_1/RXD2/SCL2/TA0IN/TB5IN P7_0/TXD2/SDA2/TA0OUT P6_7/TXD1/SDA1 VCC1 P6_6/RXD1/SCL1 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 9 of 67 Figure 1.4 Pin Assignments (Top View) (2) NOTE: 1. P7_1 and P9_1 are N channel open-drain pins. 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 117 118 119 120 121 122 123 124 125 126 127 128 14 13 12 11 10 9 8 7 6 5 4 3 P1_0/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 P11_7/SIN6 P11_6/SOUT6 P11_5/CLK6 P11_4 P11_3 P11_2/SOUT5 P11_1/SIN5 P11_0/CLK5 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 2 1 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 101 102 P1_1/D9 P1_2/D10 P1_3/D11 P1_4/D12 P1_5/D13/INT3 P1_6/D14/INT4 P1_7/D15/INT5 P2_0/AN2_0/A0(/D0/-) P2_1/AN2_1/A1(/D1/D0) P2_2/AN2_2/A2(/D2/D1) P2_3/AN2_3/A3(/D3/D2) P2_4/AN2_4/A4(/D4/D3) P2_5/AN2_5/A5(/D5/D4) P2_6/AN2_6/A6(/D6/D5) P2_7/AN2_7/A7(/D7/D6) VSS P3_0/A8(/-/D7) VCC2 P12_0 P12_1 P12_2 P12_3 P12_4 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 P4_4/CS0 P4_5/CS1 P4_6/CS2 P4_7/CS3 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 103 64 104 105 106 107 108 109 110 111 112 113 114 115 116 63 62 61 60 59 58 57 56 55 M16C/6N Group (M16C/6NN) 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 P12_5 P12_6 P12_7 P5_0/WRL/WR P5_1/WRH/BHE P5_2/RD P5_3/BCLK P13_0 P13_1 P13_2 P13_3 P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P13_4 P13_5/INT6 P13_6/INT7 P13_7/INT8 P6_0/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 VSS Package: PLQP0128KB-A (128P6Q-A) Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.6 List of Pin Names for 128-Pin Package (1) Pin No. 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 Control Pin Port Interrupt Pin Timer Pin UART Pin VREF AVCC Analog CAN Module Pin Pin Bus Control Pin ______________ P9_7 P9_6 P9_5 P9_4 P9_3 P9_2 P9_1 P9_0 P14_1 P14_0 BYTE CNVSS XCIN P8_7 XCOUT P8_6 _____________ RESET XOUT VSS XIN VCC1 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 VCC1 P6_6 VSS P6_5 P6_4 P6_3 P6_2 P6_1 P6_0 P13_7 P13_6 P13_5 P13_4 P5_7 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 SIN4 SOUT4 CLK4 TB4IN TB3IN TB2IN TB1IN TB0IN ADTRG ANEX1 CTX0 ANEX0 CRX0 DA1 DA0 SOUT3 SIN3 CLK3 ________ NMI _________ INT2 _________ INT1 _________ INT0 ZP ___ TA4IN/U TA4OUT/U TA3IN TA3OUT ____ TA2IN/W TA2OUT/W ___ TA1IN/V TA1OUT/V TA0IN/TB5IN TA0OUT (SIN4) (SOUT4) (CLK4) __________ __________ CTS2/RTS2 CLK2 RXD2/SCL2 TXD2/SDA2 TXD1/SDA1 RXD1/SCL1 _________ CLK1 _________ _________ _________ CTS1/RTS1/CTS0/CLKS1 TXD0/SDA0 RXD0/SCL0 CLK0 __________ __________ CTS0/RTS0 INT8 _________ INT7 _________ INT6 page 10 of 67 _________ RDY/CLKOUT Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.7 List of Pin Names for 128-Pin Package (2) Pin No. 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 Control Pin Port Interrupt Pin Timer Pin UART Pin Analog CAN Module Pin Pin Bus Control Pin P5_6 P5_5 P5_4 P13_3 P13_2 P13_1 P13_0 P5_3 P5_2 P5_1 P5_0 P12_7 P12_6 P12_5 P4_7 P4_6 P4_5 P4_4 P4_3 P4_2 P4_1 P4_0 P3_7 P3_6 P3_5 P3_4 P3_3 P3_2 P3_1 P12_4 P12_3 P12_2 P12_1 P12_0 ALE ___________ HOLD ___________ HLDA P3_0 A8(/-/D7) BCLK ______ RD __________________ WRH/BHE _________ ______ WRL/WR _______ CS3 _______ CS2 _______ CS1 _______ CS0 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 VCC2 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 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 _________ INT5 _________ INT4 _________ INT3 page 11 of 67 AN2_7 AN2_6 AN2_5 AN2_4 AN2_3 AN2_2 AN2_1 AN2_0 A7(/D7/D6) A6(/D6/D5) A5(/D5/D4) A4(/D4/D3) A3(/D3/D2) A2(/D2/D1) A1(/D1/D0) A0(/D0/-) D15 D14 D13 D12 D11 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.8 List of Pin Names for 128-Pin Package (3) Pin No. 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 Control Pin Port P1_2 P1_1 P1_0 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 P11_7 P11_6 P11_5 P11_4 P11_3 P11_2 P11_1 P11_0 P10_7 P10_6 P10_5 P10_4 P10_3 P10_2 P10_1 Interrupt Pin Timer Pin UART Pin Analog CAN Module Pin Pin AN0_7 AN0_6 AN0_5 AN0_4 AN0_3 AN0_2 AN0_1 AN0_0 SIN6 SOUT6 CLK6 ______ KI3 ______ KI2 ______ KI1 ______ KI0 SOUT5 SIN5 CLK5 AN7 AN6 AN5 AN4 AN3 AN2 AN1 AVSS P10_0 Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 12 of 67 AN0 Bus Control Pin D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview 1.6 Pin Functions Tables 1.9 to 1.11 list the Pin Functions. Table 1.9 Pin Functions (100-pin and 128-pin Versions) (1) Signal Name Power supply input Analog power supply input Reset input CNVSS Pin Name VCC1, VCC2, VSS AVCC, AVSS I/O Type Description I Apply 3.0 to 5.5 V to the VCC1 and VCC2 pins and 0 V to the VSS RESET CNVSS I I External data bus width select input BYTE I Bus control pins D0 to D7 I/O D8 to D15 I/O A0 to A19 A0/D0 to A7/D7 O I/O A1/D0 to A8/D7 I/O I _____________ _______ _______ O CS0 to CS3 _________ ______ WRL/WR _________ ________ WRH/BHE ______ RD O ALE __________ HOLD O I __________ O I HLDA ________ RDY I: Input O: Output pin. The VCC apply condition is that VCC2 = VCC1 (1). Applies the power supply for the A/D converter. Connect the AVCC pin to VCC1. Connect the AVSS pin to VSS. The MCU is in a reset state when applying “L” to the this pin. Switches processor mode. Connect this pin to VSS to when after a reset to start up in single-chip mode. Connect this pin to VCC1 to start up in microprocessor mode. Switches the data bus in external memory space. The data bus is 16-bit long when the this pin is held “L” and 8-bit long when the this pin is held “H”. Set it to either one. Connect this pin to VSS when single-chip mode. Inputs and outputs data (D0 to D7) when these pins are set as the separate bus. Inputs and outputs data (D8 to D15) when external 16-bit data bus is set as the separate bus. Output address bits (A0 to A19). Input and output data (D0 to D7) and output address bits (A0 to A7) by time-sharing when external 8-bit data bus are set as the multiplexed bus. Input and output data (D0 to D7) and output address bits (A1 to A8) by time-sharing when external 16-bit data bus are set as the multiplexed bus. _______ _______ _______ _______ Output CS0 to CS3 signals. CS0 to CS3 are chip-select signals to specify an external______ space. ________ _________ ________ _____ ________ _________ Output WRL, WRH, (WR, BHE), RD signals. WRL and WRH or ________ ______ BHE, and WR can be switched by program. ________ _________ _____ • WRL, WRH, and RD are selected ________ The WRL signal becomes “L” by writing data to an even address in an external memory space. _________ The WRH signal becomes “L” by writing data to an odd address in an_____ external memory space. The RD pin signal becomes “L” by reading data in an external memory space._____ ______ ________ • WR, ______ BHE, and RD are selected The WR signal becomes “L” by writing data in an external memory space. _____ The RD signal becomes “L” by reading data in an external memory space. ________ The BHE signal becomes “L” by accessing an odd address. ______ ________ _____ Select WR, BHE, and RD for an external 8-bit data bus. ALE is a signal to latch the address. __________ While the HOLD pin is held “L”, the MCU is placed in a hold state. __________ In a hold state, HLDA outputs a “L” signal. ________ While applying a “L” signal to the RDY pin, the MCU is placed in a wait state. I/O: Input/Output NOTE: 1. In this manual, hereafter, VCC refers to VCC1 unless otherwise noted. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 13 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.10 Pin Functions (100-pin and 128-pin Versions) (2) 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 XIN Pin Name I XOUT O XCIN I XCOUT O BCLK CLKOUT NT0 to INT8 (2) ________ NMI O O I I Description I/O pins for the main clock oscillation circuit. Connect a ceramic (1) resonator or crystal oscillator between XIN and XOUT . To use the external clock, input the clock from XIN and leave XOUT open. I/O pins for a sub clock oscillation circuit. Connect a crystal oscillator between XCIN and XCOUT (1). To use the external clock, input the clock from XCIN and leave XCOUT open. Outputs the BCLK signal. The clock of the same cycle as fC, f8, or f32 is output. ______ Input pins for the_______ INT interrupt. Input pin for the NMI interrupt. I Input pins for the key input interrupt. ______ I/O Type ______ KI0 to KI3 TA0OUT to TA4OUT TA0IN to TA4IN ZP Timer B TB0IN to___TB5IN ___ ____ Three-phase motor U, U, V, V, W, W control output __________ __________ Serial interface CTS0 to CTS2 __________ __________ RTS0 to RTS2 CLK0 to CLK6 (2) RXD0 to RXD2 SIN3 to SIN6 (2) TXD0 to TXD2 SOUT3 to SOUT6 (2) CLKS1 I/O I I I O These are timer A0 to timer A4 I/O pins. These are timer A0 to timer A4 input pins. Input pin for the Z-phase. These are timer B0 to timer B5 input pins. These are Three-phase motor control output pins. I O I/O I I O O O I2C mode SDA0 to SDA2 SCL0 to SCL2 I/O I/O Reference voltage input A/D converter VREF I AN0 to AN7 AN0_0 to AN0_7 AN2_0 to AN2_7 _____________ ADTRG ANEX0 I These are transmit control input pins. These are receive control output pins. These are transfer clock I/O pins. These are serial data input pins. These are serial data input pins. These are serial data output pins. These are serial data output pins. This is output pin for transfer clock output from multiple pins function. These are serial data I/O pins. These are transfer clock I/O pins. (however, SCL2 for the N-channel open drain output.) Applies the reference voltage for the A/D converter and D/A converter. Analog input pins for the A/D converter. D/A converter CAN module I: Input ANEX1 DA0, DA1 CRX0 CTX0 O: Output This is an A/D trigger input pin. This is the extended analog input pin for the A/D converter, and is the output in external op-amp connection mode. This is the extended analog input pin for the A/D converter. I These are the output pins for the D/A converter. O This is the input pin for the CAN module. I This is the output pin for the CAN module. O I/O: Input/Output I I/O NOTES: 1. ________ Ask the ________ oscillator maker the oscillation characteristic. 2. INT6 to INT8, CLK5, CLK6, SIN5, SIN6, SOUT5, SOUT6 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 14 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 1. Overview Table 1.11 Pin Functions (100-pin and 128-pin Versions) (3) Signal Name I/O port Pin Name P0_0 to P0_7 I/O Type Description 8-bit I/O ports in CMOS, having a direction register to select I/O P1_0 to P1_7 an input or output. P2_0 to P2_7 Each pin is set as an input port or output port. An input port P3_0 to P3_7 P4_0 to P4_7 can be set for a pull-up or for no pull-up in 4-bit unit by P5_0 to P5_7 (however P7_1 and P9_1 for the N-channel open drain P6_0 to P6_7 output.) program. P7_0 to P7_7 P8_0 to P8_4 P8_6, P8_7 P9_0 to P9_7 P10_0 to P10_7 P11_0 to P11_7 (1) P12_0 to P12_7 (1) P13_0 to P13_7 (1) P14_0, P14_1 Input port (1) P8_5 _______ I Input pin for the NMI interrupt. Pin states can be read by the P8_5 bit in the P8 register. I: Input O: Output I/O: Input/Output NOTE: 1. Ports P11 to P14 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 15 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 2. Central Processing Unit (CPU) 2. Central Processing Unit (CPU) Figure 2.1 shows the CPU Registers. The CPU has 13 registers. Of these, R0, R1, R2, R3, A0, A1, and FB configure a register bank. There are two register banks. b31 b15 b8 b7 b0 R2 R0H (R0's high bits) R0L (R0's low bits) R3 R1H (R1's high bits) R1L (R1's low bits) Data Registers (1) R2 R3 A0 Address Registers (1) A1 FB b19 Frame Base Registers (1) b15 b0 INTBH Interrupt Table Register INTBL The upper 4 bits of INTB are INTBH and the lower 16 bits of INTB are INTBL. b19 b0 Program Counter PC b15 b0 USP User Stack Pointer ISP Interrupt Stack Pointer SB Static Base Register b15 b0 FLG b15 Flag Register b8 b7 IPL U b0 I O B S Z D C Carry Flag Debug Flag Zero Flag Sign Flag Register Bank Select Flag Overflow Flag Interrupt Enable Flag Stack Pointer Select Flag Reserved Area Processor Interrupt Priority Level Reserved Area NOTE: 1. These registers comprise a register bank. There are two register banks. Figure 2.1 CPU Registers 2.1 Data Registers (R0, R1, R2, and R3) The R0 register consists of 16 bits, and is used mainly for transfers and arithmetic/logic operations. R1 to R3 are the same as R0. The R0 register can be separated between high (R0H) and low (R0L) for use as two 8-bit data registers. R1H and R1L are the same as R0H and R0L. Conversely R2 and R0 can be combined for use as a 32-bit data register (R2R0). R3R1 is analogous to R2R0. 2.2 Address Registers (A0 and A1) The A0 register consists of 16 bits, and is used for address register indirect addressing and address register relative addressing. They also are used for transfers and arithmetic/logic operations. A1 is the same as A0. In some instructions, A1 and A0 can be combined for use as a 32-bit address register (A1A0). Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 16 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 2. Central Processing Unit (CPU) 2.3 Frame Base Register (FB) FB is configured with 16 bits, and is used for FB relative addressing. 2.4 Interrupt Table Register (INTB) INTB is configured with 20 bits, indicating the start address of an interrupt vector table. 2.5 Program Counter (PC) PC is configured with 20 bits, indicating the address of an instruction to be executed. 2.6 User Stack Pointer (USP), Interrupt Stack Pointer (ISP) Stack pointer (SP) comes in two types: USP and ISP, each configured with 16 bits. Your desired type of stack pointer (USP or ISP) can be selected by the U flag of FLG. 2.7 Static Base Register (SB) SB is configured with 16 bits, and is used for SB relative addressing. 2.8 Flag Register (FLG) FLG consists of 11 bits, indicating the CPU status. 2.8.1 Carry Flag (C Flag) This flag retains a carry, borrow, or shift-out bit that has occurred in the arithmetic/logic unit. 2.8.2 Debug Flag (D Flag) This flag is used exclusively for debugging purpose. During normal use, set to 0. 2.8.3 Zero Flag (Z Flag) This flag is set to 1 when an arithmetic operation resulted in 0; otherwise, it is 0. 2.8.4 Sign Flag (S Flag) This flag is set to 1 when an arithmetic operation resulted in a negative value; otherwise, it is 0. 2.8.5 Register Bank Select Flag (B Flag) Register bank 0 is selected when this flag is 0; register bank 1 is selected when this flag is 1. 2.8.6 Overflow Flag (O Flag) This flag is set to 1 when the operation resulted in an overflow; otherwise, it is 0. 2.8.7 Interrupt Enable Flag (I Flag) This flag enables a maskable interrupt. Maskable interrupts are disabled when the I flag is 0, and are enabled when the I flag is 1. The I flag is set to 0 when the interrupt request is accepted. 2.8.8 Stack Pointer Select Flag (U Flag) ISP is selected when the U flag is 0; USP is selected when the U flag is 1. The U flag is set to 0 when a hardware interrupt request is accepted or an INT instruction for software interrupt Nos. 0 to 31 is executed. 2.8.9 Processor Interrupt Priority Level (IPL) IPL is configured with three bits, for specification of up to eight processor interrupt priority levels from level 0 to level 7. If a requested interrupt has priority greater than IPL, the interrupt request is enabled. 2.8.10 Reserved Area When white to this bit, write 0. When read, its content is undefined. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 17 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 3. Memory 3. Memory Figure 3.1 shows a Memory Map. The address space extends the 1 Mbyte from address 00000h to FFFFFh. The internal ROM is allocated in a lower address direction beginning with address FFFFFh. For example, a 512-Kbyte internal ROM is allocated to the addresses from 80000h to FFFFFh. As for the flash memory version, 4-Kbyte space (block A) exists in 0F000h to 0FFFFh. 4-Kbyte space is mainly for storing data. In addition to storing data, 4-Kbyte space also can store programs. The fixed interrupt vector table is allocated to the addresses from FFFDCh to FFFFFh. Therefore, store the start address of each interrupt routine here. The internal RAM is allocated in an upper address direction beginning with address 00400h. For example, a 31-Kbyte internal RAM is allocated to the addresses from 00400h to 07FFFh. In addition to storing data, the internal RAM also stores the stack used when calling subroutines and when interrupts are generated. The Special Function Registers (SFRs) are allocated to the addresses from 00000h to 003FFh. Peripheral function control registers are located here. Of the SFR, any area which has no functions allocated is reserved for future use and cannot be accessed by user. The special page vector table is allocated to the addresses from FFE00h to FFFDBh. This vector is used by the JMPS or JSRS instruction. For details, refer to M16C/60, M16C/20, M16C/Tiny Series Software Manual. In memory expansion and microprocessor modes, some areas are reserved for future use and cannot be used by users. 00000h SFR 00400h Internal RAM XXXXXh FFE00h Reserved area (1) 0F000h 0FFFFh 10000h Internal ROM (data flash) (3) Special page vector table External area 27000h Internal ROM (4) Internal RAM Reserved area FFFDCh BRK instruction Address match Single step External area Capacity Address XXXXXh Capacity Address YYYYYh 16 Kbytes 043FFh 192 Kbytes D0000h 80000h 20 Kbytes 053FFh 256 Kbytes C0000h YYYYYh 31 Kbytes 07FFFh 384 Kbytes A0000h 512 Kbytes 80000h FFFFFh Undefined instruction Overflow 28000h Reserved area (2) Oscillation stop and re-oscillation detection / watchdog timer Internal ROM (program area) (4) FFFFFh DBC NMI Reset NOTES: 1. During memory expansion mode or microprocessor mode, cannot be used. 2. In memory expansion mode, cannot be used. 3. As for the flash memory version, 4-Kbyte space (block A) exists. 4. When using the masked ROM version, write nothing to internal ROM area. 5. Shown here is a memory map for the case where the PM10 bit in the PM1 register is 1 (block A enabled, addresses 10000h to 26FFFh for CS2 area) and the PM13 bit in the PM1 register is 1 (internal RAM area is expanded over 192 Kbytes). Figure 3.1 Memory Map Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 18 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) 4. Special Function Registers (SFRs) An SFR (Special Function Register) is a control register for a peripheral function. Tables 4.1 to 4.12 list the SFR Information. Table 4.1 SFR Information (1) (3) Address 0000h 0001h 0002h 0003h Register Symbol After Reset 00000000b (CNVSS pin is "L") 00000011b (CNVSS pin is "H") 00001000b 01001000b 00100000b 00000001b XXXXXX00b XX000000b 0004h Processor Mode Register 0 (1) PM0 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 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 Processor Mode Register 1 System Clock Control Register 0 System Clock Control Register 1 Chip Select Control Register Address Match Interrupt Enable Register Protect Register PM1 CM0 CM1 CSR AIER PRCR Oscillation Stop Detection Register (2) CM2 0X000000b Watchdog Timer Start Register Watchdog Timer Control Register WDTS WDC Address Match Interrupt Register 0 RMAD0 XXh 00XXXXXXb 00h 00h X0h Address Match Interrupt Register 1 RMAD1 Chip Select Expansion Control Register PLL Control Register 0 CSE PLC0 00h 0001X010b Processor Mode Register 2 PM2 XXX00000b DMA0 Source Pointer SAR0 XXh XXh XXh DMA0 Destination Pointer DAR0 XXh XXh XXh DMA0 Transfer Counter TCR0 XXh XXh DMA0 Control Register DM0CON DMA1 Source Pointer SAR1 XXh XXh XXh DMA1 Destination Pointer DAR1 XXh XXh XXh DMA1 Transfer Counter TCR1 XXh XXh DMA1 Control Register DM1CON 00h 00h X0h 00000X00b 00000X00b X: Undefined NOTES: 1. Bits PM00 and PM01 in the PM0 register do not change at software reset, watchdog timer reset and oscillation stop detection reset. 2. Bits CM20, CM21, and CM27 in the CM2 register do not change at oscillation stop detection reset. 3. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 19 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.2 SFR Information (2) (2) Address 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h 0048h 0049h 004Ah 004Bh 004Ch 004Dh 004Eh 004Fh 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 0073h 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh 007Ch 007Dh 007Eh 007Fh Register CAN0 Wake-up Interrupt Control Register CAN0 Successful Reception Interrupt Control Register CAN0 Successful Transmission Interrupt Control Register INT3 Interrupt Control Register Timer B5 Interrupt Control Register SI/O5 Interrupt Control Register (1) 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 CAN0 Error Interrupt Control Register A/D Conversion Interrupt Control Register Key Input Interrupt Control Register UART2 Transmit Interrupt Control 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 INT7 Interrupt Control Register (1) Timer A3 Interrupt Control Register INT6 Interrupt Control Register (1) Timer A4 Interrupt Control Register Timer B0 Interrupt Control Register SI/O6 Interrupt Control Register (1) Timer B1 Interrupt Control Register INT8 Interrupt Control Register (1) Timer B2 Interrupt Control Register INT0 Interrupt Control Register INT1 Interrupt Control Register INT2 Interrupt Control Register CAN0 Message Box 0: Identifier / DLC CAN0 Message Box 0: Data Field CAN0 Message Box 0: Time Stamp CAN0 Message Box 1: Identifier / DLC CAN0 Message Box 1: Data Field CAN0 Message Box 1: Time Stamp X: Undefined NOTES: 1. These registers exist only in the 128-pin version. 2. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 20 of 67 Symbol C01WKIC C0RECIC C0TRMIC INT3IC TB5IC S5IC TB4IC U1BCNIC TB3IC U0BCNIC S4IC INT5IC S3IC INT4IC U2BCNIC DM0IC DM1IC C01ERRIC ADIC KUPIC S2TIC S2RIC S0TIC S0RIC S1TIC S1RIC TA0IC TA1IC TA2IC INT7IC TA3IC INT6IC TA4IC TB0IC S6IC TB1IC INT8IC TB2IC INT0IC INT1IC INT2IC After Reset XXXXX000b XXXXX000b XXXXX000b XX00X000b XXXXX000b XXXXX000b XXXXX000b XX00X000b XX00X000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XX00X000b XX00X000b XXXXX000b XXXXX000b XX00X000b XXXXX000b XX00X000b XX00X000b XX00X000b XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.3 SFR Information (3) Address 0080h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h 0089h 008Ah 008Bh 008Ch 008Dh 008Eh 008Fh 0090h 0091h 0092h 0093h 0094h 0095h 0096h 0097h 0098h 0099h 009Ah 009Bh 009Ch 009Dh 009Eh 009Fh 00A0h 00A1h 00A2h 00A3h 00A4h 00A5h 00A6h 00A7h 00A8h 00A9h 00AAh 00ABh 00ACh 00ADh 00AEh 00AFh 00B0h 00B1h 00B2h 00B3h 00B4h 00B5h 00B6h 00B7h 00B8h 00B9h 00BAh 00BBh 00BCh 00BDh 00BEh 00BFh Register CAN0 Message Box 2: Identifier / DLC CAN0 Message Box 2: Data Field CAN0 Message Box 2: Time Stamp CAN0 Message Box 3: Identifier / DLC CAN0 Message Box 3: Data Field CAN0 Message Box 3: Time Stamp CAN0 Message Box 4: Identifier / DLC CAN0 Message Box 4: Data Field CAN0 Message Box 4: Time Stamp CAN0 Message Box 5: Identifier / DLC CAN0 Message Box 5: Data Field CAN0 Message Box 5: Time Stamp X: Undefined Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 21 of 67 Symbol After Reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.4 SFR Information (4) Address 00C0h 00C1h 00C2h 00C3h 00C4h 00C5h 00C6h 00C7h 00C8h 00C9h 00CAh 00CBh 00CCh 00CDh 00CEh 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h 00D5h 00D6h 00D7h 00D8h 00D9h 00DAh 00DBh 00DCh 00DDh 00DEh 00DFh 00E0h 00E1h 00E2h 00E3h 00E4h 00E5h 00E6h 00E7h 00E8h 00E9h 00EAh 00EBh 00ECh 00EDh 00EEh 00EFh 00F0h 00F1h 00F2h 00F3h 00F4h 00F5h 00F6h 00F7h 00F8h 00F9h 00FAh 00FBh 00FCh 00FDh 00FEh 00FFh Register CAN0 Message Box 6: Identifier / DLC CAN0 Message Box 6: Data Field CAN0 Message Box 6: Time Stamp CAN0 Message Box 7: Identifier / DLC CAN0 Message Box 7: Data Field CAN0 Message Box 7: Time Stamp CAN0 Message Box 8: Identifier / DLC CAN0 Message Box 8: Data Field CAN0 Message Box 8: Time Stamp CAN0 Message Box 9: Identifier / DLC CAN0 Message Box 9: Data Field CAN0 Message Box 9: Time Stamp X: Undefined Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 22 of 67 Symbol After Reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.5 SFR Information (5) Address 0100h 0101h 0102h 0103h 0104h 0105h 0106h 0107h 0108h 0109h 010Ah 010Bh 010Ch 010Dh 010Eh 010Fh 0110h 0111h 0112h 0113h 0114h 0115h 0116h 0117h 0118h 0119h 011Ah 011Bh 011Ch 011Dh 011Eh 011Fh 0120h 0121h 0122h 0123h 0124h 0125h 0126h 0127h 0128h 0129h 012Ah 012Bh 012Ch 012Dh 012Eh 012Fh 0130h 0131h 0132h 0133h 0134h 0135h 0136h 0137h 0138h 0139h 013Ah 013Bh 013Ch 013Dh 013Eh 013Fh Register CAN0 Message Box 10: Identifier / DLC CAN0 Message Box 10: Data Field CAN0 Message Box 10: Time Stamp CAN0 Message Box 11: Identifier / DLC CAN0 Message Box 11: Data Field CAN0 Message Box 11: Time Stamp CAN0 Message Box 12: Identifier / DLC CAN0 Message Box 12: Data Field CAN0 Message Box 12: Time Stamp CAN0 Message Box 13: Identifier / DLC CAN0 Message Box 13: Data Field CAN0 Message Box 13: Time Stamp X: Undefined Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 23 of 67 Symbol After Reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.6 SFR Information (6) (1) Address 0140h 0141h 0142h 0143h 0144h 0145h 0146h 0147h 0148h 0149h 014Ah 014Bh 014Ch 014Dh 014Eh 014Fh 0150h 0151h 0152h 0153h 0154h 0155h 0156h 0157h 0158h 0159h 015Ah 015Bh 015Ch 015Dh 015Eh 015Fh 0160h 0161h 0162h 0163h 0164h 0165h 0166h 0167h 0168h 0169h 016Ah 016Bh 016Ch 016Dh 016Eh 016Fh 0170h 0171h 0172h 0173h 0174h 0175h 0176h 0177h 0178h 0179h 017Ah 017Bh 017Ch 017Dh 017Eh 017Fh Register Symbol CAN0 Message Box 14: Identifier /DLC CAN0 Message Box 14: Data Field CAN0 Message Box 14: Time Stamp CAN0 Message Box 15: Identifier /DLC CAN0 Message Box 15: Data Field CAN0 Message Box 15: Time Stamp CAN0 Global Mask Register C0GMR CAN0 Local Mask A Register C0LMAR CAN0 Local Mask B Register C0LMBR X: Undefined NOTE: 1. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 24 of 67 After Reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.7 SFR Information (7) (2) 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 01B0h 01B1h 01B2h 01B3h 01B4h 01B5h 01B6h 01B7h 01B8h 01B9h 01BAh 01BBh 01BCh 01BDh 01BEh 01BFh Register Symbol After Reset Flash Memory Control Register 1 (1) FMR1 0X00XX0Xb Flash Memory Control Register 0 (1) FMR0 Address Match Interrupt Register 2 RMAD2 Address Match Interrupt Enable Register 2 AIER2 Address Match Interrupt Register 3 RMAD3 00000001b 00h 00h X0h XXXXXX00b 00h 00h X0h X: Undefined NOTES: 1. These registers are included in the flash memory version. Cannot be accessed by users in the mask ROM version. 2. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 25 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.8 SFR Information (8) (3) Address 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 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 Timer B3, B4, B5 Count Start Flag Register Symbol TBSR Timer A1-1 Register TA11 Timer A2-1 Register TA21 Timer A4-1 Register TA41 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 INVC0 INVC1 IDB0 IDB1 DTT ICTB2 Interrupt Source Select Register 2 IFSR2 Timer B3 Register TB3 Timer B4 Register TB4 After Reset 000XXXXXb XXh XXh XXh XXh XXh XXh 00h 00h 00111111b 00111111b XXh XXh S6TRR X0000000b XXh XXh XXh XXh XXh XXh XXh SI/O6 Control Register (1) SI/O6 Bit Rate Register (1) SI/O3, 4, 5, 6 Transmit/Receive Register (2) Timer B3 Mode Register Timer B4 Mode Register Timer B5 Mode Register Interrupt Source Select Register 0 Interrupt Source Select Register 1 SI/O3 Transmit/Receive Register S6C S6BRG S3456TRR TB3MR TB4MR TB5MR IFSR0 IFSR1 S3TRR 01000000b XXh XXXX0000b 00XX0000b 00XX0000b 00XX0000b 00h 00h XXh SI/O3 Control Register SI/O3 Bit Rate Register SI/O4 Transmit/Receive Register S3C S3BRG S4TRR 01000000b XXh XXh SI/O4 Control Register SI/O4 Bit Rate Register SI/O5 Transmit/Receive Register (1) S4C S4BRG S5TRR 01000000b XXh XXh SI/O5 Control Register (1) SI/O5 Bit Rate Register (1) UART0 Special Mode Register 4 UART0 Special Mode Register 3 UART0 Special Mode Register 2 UART0 Special Mode Register UART1 Special Mode Register 4 UART1 Special Mode Register 3 UART1 Special Mode Register 2 UART1 Special Mode Register 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 S5C S5BRG U0SMR4 U0SMR3 U0SMR2 U0SMR U1SMR4 U1SMR3 U1SMR2 U1SMR U2SMR4 U2SMR3 U2SMR2 U2SMR U2MR U2BRG UART2 Transmit Buffer Register U2TB UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1 U2C0 U2C1 UART2 Receive Buffer Register U2RB 01000000b XXh 00h 000X0X0Xb X0000000b X0000000b 00h 000X0X0Xb X0000000b X0000000b 00h 000X0X0Xb X0000000b X0000000b 00h XXh XXh XXh 00001000b 00000010b XXh XXh Timer B5 Register SI/O6 Transmit/Receive Register TB5 (1) X: Undefined NOTES: 1. These registers exist only in the 128-pin version. 2. Bits S5TRF and S6TRF in the S3456TRR register are used in the 128-pin version. 3. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 26 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) Table 4.9 SFR Information (9) Address 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh 020Eh 020Fh 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 4. Special Function Registers (SFRs) (1) CAN0 Message Control Register 0 CAN0 Message Control Register 1 CAN0 Message Control Register 2 CAN0 Message Control Register 3 CAN0 Message Control Register 4 CAN0 Message Control Register 5 CAN0 Message Control Register 6 CAN0 Message Control Register 7 CAN0 Message Control Register 8 CAN0 Message Control Register 9 CAN0 Message Control Register 10 CAN0 Message Control Register 11 CAN0 Message Control Register 12 CAN0 Message Control Register 13 CAN0 Message Control Register 14 CAN0 Message Control Register 15 Register Symbol C0MCTL0 C0MCTL1 C0MCTL2 C0MCTL3 C0MCTL4 C0MCTL5 C0MCTL6 C0MCTL7 C0MCTL8 C0MCTL9 C0MCTL10 C0MCTL11 C0MCTL12 C0MCTL13 C0MCTL14 C0MCTL15 CAN0 Control Register C0CTLR CAN0 Status Register C0STR CAN0 Slot Status Register C0SSTR CAN0 Interrupt Control Register C0ICR CAN0 Extended ID Register C0IDR CAN0 Configuration Register C0CONR CAN0 Receive Error Count Register CAN0 Transmit Error Count Register C0RECR C0TECR CAN0 Time Stamp Register C0TSR CAN1 Control Register C1CTLR X: Undefined NOTE: 1. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 27 of 67 After Reset 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h X0000001b XX0X0000b 00h X0000001b 00h 00h 00h 00h 00h 00h XXh XXh 00h 00h 00h 00h X0000001b XX0X0000b Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.10 SFR Information (10) (1) Address 0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h 0248h 0249h 024Ah 024Bh 024Ch 024Dh 024Eh 024Fh 0250h 0251h 0252h 0253h 0254h 0255h 0256h 0257h 0258h 0259h 025Ah 025Bh 025Ch 025Dh 025Eh 025Fh 0260h 0261h 0262h 0263h 0264h 0265h 0266h 0267h 0268h 0269h 026Ah 026Bh 026Ch 026Dh 026Eh 026Fh 0270h to 0372h 0373h 0374h 0375h 0376h 0377h 0378h 0379h 037Ah 037Bh 037Ch 037Dh 037Eh 037Fh Register Symbol After Reset CAN0 Acceptance Filter Support Register C0AFS XXh XXh Peripheral Clock Select Register CAN0 Clock Select Register PCLKR CCLKR 00h 00h X: Undefined NOTE: 1. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 28 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.11 SFR Information (11) (2) Address 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 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 Count Start Flag Clock Prescaler Reset Flag One-Shot Start Flag Trigger Select Register Up/Down Flag Register Symbol TABSR CPSRF ONSF TRGSR UDF After Reset 00h 0XXXXXXXb 00h 00h 00h (1) Timer A0 Register TA0 Timer A1 Register TA1 Timer A2 Register TA2 Timer A3 Register TA3 Timer A4 Register TA4 Timer B0 Register TB0 Timer B1 Register TB1 Timer B2 Register TB2 Timer A0 Mode Register Timer A1 Mode Register Timer A2 Mode Register Timer A3 Mode Register Timer A4 Mode Register Timer B0 Mode Register Timer B1 Mode Register Timer B2 Mode Register Timer B2 Special Mode Register TA0MR TA1MR TA2MR TA3MR TA4MR TB0MR TB1MR TB2MR TB2SC UART0 Transmit/Receive Mode Register UART0 Bit Rate Register U0MR U0BRG UART0 Transmit Buffer Register U0TB UART0 Transmit/Receive Control Register 0 UART0 Transmit/Receive Control Register 1 U0C0 U0C1 UART0 Receive Buffer Register U0RB UART1 Transmit/Receive Mode Register UART1 Bit Rate Register U1MR U1BRG UART1 Transmit Buffer Register U1TB UART1 Transmit/Receive Control Register 0 UART1 Transmit/Receive Control Register 1 U1C0 U1C1 UART1 Receive Buffer Register U1RB UART Transmit/Receive Control Register 2 UCON 00h XXh XXh XXh 00001000b 00XX0010b XXh XXh 00h XXh XXh XXh 00001000b 00XX0010b XXh XXh X0000000b DMA0 Request Source Select Register DM0SL 00h DMA1 Request Source Select Register DM1SL 00h CRC Data Register CRCD CRC Input Register CRCIN XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh 00h 00h 00h 00h 00h 00XX0000b 00XX0000b 00XX0000b XXXXXX00b XXh XXh XXh X: Undefined NOTES: 1. Bits TA2P to TA4P in the UDF register are set to 0 after reset. However, the contents in these bits are undefined when read. 2. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 29 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 4. Special Function Registers (SFRs) Table 4.12 SFR Information (12) (3) Address 03C0h 03C1h 03C2h 03C3h 03C4h 03C5h 03C6h 03C7h 03C8h 03C9h 03CAh 03CBh 03CCh 03CDh 03CEh 03CFh 03D0h 03D1h 03D2h 03D3h 03D4h 03D5h 03D6h 03D7h 03D8h 03D9h 03DAh 03DBh 03DCh 03DDh 03DEh 03DFh 03E0h 03E1h 03E2h 03E3h 03E4h 03E5h 03E6h 03E7h 03E8h 03E9h 03EAh 03EBh 03ECh 03EDh 03EEh 03EFh 03F0h 03F1h 03F2h 03F3h 03F4h 03F5h 03F6h 03F7h 03F8h 03F9h 03FAh 03FBh 03FCh Register Symbol After Reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh A/D Register 0 AD0 A/D Register 1 AD1 A/D Register 2 AD2 A/D Register 3 AD3 A/D Register 4 AD4 A/D Register 5 AD5 A/D Register 6 AD6 A/D Register 7 AD7 A/D Control Register 2 ADCON2 00h A/D Control Register 0 A/D Control Register 1 D/A Register 0 ADCON0 ADCON1 DA0 00000XXXb 00h 00h D/A Register 1 DA1 00h D/A Control Register DACON 00h Port P14 Control Register (2) Pull-Up Control Register 3 (2) 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 P11 Register (2) Port P10 Direction Register Port P11 Direction Register (2) Port P12 Register (2) Port P13 Register (2) Port P12 Direction Register (2) Port P13 Direction Register (2) Pull-up Control Register 0 PC14 PUR3 P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9 P10 P11 PD10 PD11 P12 P13 PD12 PD13 PUR0 03FDh Pull-up Control Register 1 PUR1 03FEh 03FFh Pull-up Control Register 2 Port Control Register PUR2 PCR XX00XXXXb 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00X00000b 00h XXh XXh 00h 00h XXh XXh 00h 00h 00h 00000000b (1) 00000010b 00h 00h X: Undefined NOTES: 1. At hardware reset, the register is as follows: 00000000b where "L" is input to the CNVSS pin 00000010b where "H" is input to the CNVSS pin At software reset, watchdog timer reset and oscillation stop detection reset, the register is as follows: 00000000b where the PM01 to PM00 bits in the PM0 register are 00b (single-chip mode) 00000010b where the PM01 to PM00 bits in the PM0 register are 01b (memory expansion mode) or 11b (microprocessor mode) 2. These registers exist only in the128-pin version. 3. Blank spaces are reserved. No access is allowed. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 30 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics 5. Electrical Characteristics Table 5.1 Absolute Maximum Ratings Condition Rated Value Unit VCC Supply voltage (VCC1 = VCC2) VCC = AVCC –0.3 to 6.5 V AVCC Analog supply voltage VCC = AVCC VI Input RESET, CNVSS, BYTE, voltage P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, Symbol Parameter –0.3 to 6.5 V –0.3 to VCC+0.3 V –0.3 to 6.5 V –0.3 to VCC+0.3 V _____________ P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1, VREF, XIN P7_1, P9_1 VO Output P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, voltage P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1, XOUT P7_1, P9_1 Pd Power dissipation Topr Operating ambient During MCU operation temperature Tstg Topr = 25°C During flash memory program and erase operation Storage temperature NOTE: 1. Ports P11 to P14 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 31 of 67 –0.3 to 6.5 V 700 mW –40 to 85 °C 0 to 60 –65 to 150 °C Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Table 5.2 Recommended Operating Conditions (1) Symbol VCC AVCC VSS AVSS VIH VIL Parameter (1) Min. 3.0 Supply voltage (VCC1 = VCC2) Analog supply voltage Supply voltage Analog supply voltage HIGH input P3_1 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, 0.8 VCC voltage P7_0, P7_2 to P7_7, P8_0 to P8_7, P9_0, P9_2 to P9_7, LOW input voltage IOH(peak) HIGH peak output current IOH(avg) HIGH average output current IOL(peak) LOW peak output current IOL(avg) LOW average output current P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1, _____________ XIN, RESET, CNVSS, BYTE 0.8 VCC P7_1, P9_1 0.8 VCC P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 (During single-chip mode) P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 0.5 VCC (Data input during memory expansion and microprocessor modes) 0 P3_1 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, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, _____________ P14_0, P14_1, XIN, RESET, CNVSS, BYTE P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 0 (During single-chip mode) P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 0 (Data input during memory expansion and microprocessor modes) 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, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 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, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 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_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 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_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 Standard Max. Typ. 5.0 5.5 VCC 0 0 VCC Unit 6.5 VCC page 32 of 67 V V VCC 0.2 VCC V V 0.2 VCC V 0.16 VCC V –10.0 mA –5.0 mA 10.0 mA 5.0 mA NOTES: 1. Referenced to VCC = 3.0 to 5.5 V at Topr = –40 to 85°C unless otherwise specified. 2. Average output current values during 100 ms period. 3. The total IOL(peak) for ports P0, P1, P2, P8_6, P8_7, P9, P10, P11, P14_0, and P14_1 must be 80 mA max. The total IOL(peak) for ports P3, P4, P5, P6, P7, P8_0 to P8_4, P12, and P13 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, P5, P12, and P13 must be –40 mA max. The total IOH(peak) for ports P6, P7, and P8_0 to P8_4 must be –40 mA max. The total IOH(peak) for ports P8_6, P8_7, P9, P10, P11, P14_0, and P14_1 must be –40 mA max. 4. P11 to P14 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 V V V V V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Table 5.3 Recommended Operating Conditions (2) Symbol f(XIN) (1) Parameter Min. Main clock input oscillation No wait Mask ROM version VCC = 3.0 to 5.5 V frequency (2) (3) (4) Standard Max. Typ. 0 Unit 16 MHz 50 kHz Flash memory version f(XCIN) Sub clock oscillation frequency f(Ring) On-chip oscillation frequency f(PLL) PLL clock oscillation frequency f(BCLK) CPU operation clock tsu(PLL) PLL frequency synthesizer stabilization wait time 32.768 1 VCC = 3.0 to 5.5 V MHz 16 24 MHz 0 24 MHz 20 ms 1. Referenced to VCC = 3.0 to 5.5 V at Topr = –40 to 85°C unless otherwise specified. 2. Relationship between main clock oscillation frequency and supply voltage is shown right. 3. Execute program/erase of flash memory by VCC = 3.3 ± 0.3 V or VCC = 5.0 ± 0.5 V. 4. When using 16 MHz and over, use PLL clock. PLL clock oscillation frequency which can be used is 16 MHz, 20 MHz or 24 MHz. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 33 of 67 f(XIN) operating maximum frequency [MHz] NOTES: Main clock input oscillation frequency (Mask ROM version / Flash memory version: no wait) 16.0 0.0 3.0 5.5 VCC [V] (main clock: no division) Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) Table 5.4 Electrical Characteristics (1) Symbol VOH HIGH output voltage 5. Electric Characteristics (1) P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, VOH HIGH output voltage P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 VOH XOUT HIGHPOWER HIGH output voltage LOWPOWER XCOUT HIGHPOWER HIGH output voltage LOWPOWER VOL P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, LOW output voltage 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_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, VOL LOW output voltage 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_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 XOUT HIGHPOWER VOL LOW output voltage LOWPOWER XCOUT HIGHPOWER LOW output voltage LOWPOWER __________ ________ VT+-V T- Hysteresis HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, _________ _________ ________ ______________ __________ __________ INT0 to INT8, NMI, ADTRG, CTS0 to CTS2, SCL0 to SCL2, SDA0 to SDA2, CLK0 to CLK6, ______ ______ TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD2, SIN3 to SIN6 _____________ VT+-V T- Hysteresis RESET IIH P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, HIGH input P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current 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, P11_0 to P11_7, P12_0____________ to P12_7, P13_0 to P13_7, P14_0, P14_1, XIN, RESET, CNVSS, BYTE P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, IIL LOW input P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current 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, P11_0 to P11_7, P12_0____________ to P12_7, P13_0 to P13_7, P14_0, P14_1, XIN, RESET, CNVSS, BYTE P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, RPULLUP Pull-up P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, resistance P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 RfXIN XIN Feedback resistance RfXCIN XCIN Feedback resistance VRAM VCC = 5V Standard Parameter Measuring Condition Min. Typ. Max. VCC P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, I OH = –5 mA VCC-2.0 RAM retention voltage IOH = –200 µA IOH = –1 mA IOH = –0.5 mA With no load applied With no load applied IOL = 5 mA Unit V VCC-0.3 VCC V 3.0 3.0 VCC VCC V V 2.5 1.6 2.0 V IOL = 200 µA 0.45 V IOL = 1 mA IOL = 0.5 mA With no load applied With no load applied 2.0 2.0 V 0 0 V 0.2 1.0 V 0.2 VI = 5 V 2.5 5.0 V µA VI = 0 V –5.0 µA 170 kΩ VI = 0 V 30 50 1.5 15 At stop mode 2.0 MΩ MΩ V NOTES: 1. Referenced to VCC =________ 4.2 to 5.5 V, VSS = 0 V at Topr = –40 to 85°C, f(BCLK) = 24 MHz unless otherwise specified. ________ 2. P11 to P14, INT6 to INT8, CLK5, CLK6, SIN5, and SIN6 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 34 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) Table 5.5 Electrical Characteristics (2) Symbol ICC 5. Electric Characteristics (1) Parameter Power supply Measuring Condition In single-chip mode, Mask ROM current Min. f(BCLK) = 24 MHz, Standard Typ. Max. 19 33 Unit mA PLL operation, the output pins are (VCC = 3.0 to 5.5 V) open and other pins No division On-chip oscillation, No division 1 Flash memory f(BCLK) = 24 MHz, 21 are VSS. mA 35 mA PLL operation, No division On-chip oscillation, No division 1.8 mA Flash memory f(BCLK) = 10 MHz, 15 mA 25 mA 25 µA 25 µA 420 µA 50 µA 8.5 µA 3.0 µA program VCC = 5 V Flash memory f(BCLK) = 10 MHz, erase VCC = 5 V Mask ROM f(BCLK) = 32 kHz, Low power dissipation mode, ROM (2) Flash memory f(BCLK) = 32 kHz, Low power dissipation mode, RAM (2) f(BCLK) = 32 kHz, Low power dissipation mode, Flash memory (2) Mask ROM On-chip oscillation, Flash memory Wait mode f(BCLK) = 32 kHz, Wait mode (3) , Oscillation capacity High f(BCLK) = 32 kHz, Wait mode (3) , Oscillation capacity Low Stop mode, 0.8 3.0 µA Topr = 25°C NOTES: 1. Referenced to VCC = 3.0 to 5.5 V, VSS = 0 V at Topr = –40 to 85°C, f(BCLK) = 24 MHz unless otherwise specified. 2. This indicates the memory in which the program to be executed exists. 3. With one timer operated using fC32. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 35 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics (1) Table 5.6 A/D Conversion Characteristics Symbol Parameter – Resolution INL Integral 10 bits Min. VREF = VCC VREF ANEX0, ANEX1 input, AN0 to AN7 input, Standard Typ. Max. 10 = VCC AN0_0 to AN0_7 input, AN2_0 to AN2_7 input = 5 V External operation amp connection mode nonlinearity error 8 bits – Measuring Condition Absolute 10 bits 8 bits Bit ±3 LSB ±7 LSB VREF ANEX0, ANEX1 input, AN0 to AN7 input, = VCC AN0_0 to AN0_7 input, AN2_0 to AN2_7 input ±5 LSB = 3.3 V External operation amp connection mode ±7 LSB VREF = AVCC = VCC = 3.3 V VREF ANEX0, ANEX1 input, AN0 to AN7 input, ±2 LSB ±3 LSB = VCC AN0_0 to AN0_7 input, AN2_0 to AN2_7 input = 5 V External operation amp connection mode accuracy Unit ±7 LSB VREF ANEX0, ANEX1 input, AN0 to AN7 input, = VCC AN0_0 to AN0_7 input, AN2_0 to AN2_7 input ±5 LSB = 3.3 V External operation amp connection mode ±7 LSB VREF = AVCC = VCC = 3.3 V ±2 LSB DNL Differential nonlinearity error ±1 LSB – Offset error ±3 LSB – Gain error ±3 LSB RLADDER Resistor ladder VREF = VCC 10 40 kΩ tCONV 10-bit conversion time, VREF = VCC = 5 V, φAD = 10 MHz 3.3 µs VREF = VCC = 5 V, φAD = 10 MHz 2.8 µs sample & hold available 8-bit conversion time, sample & hold available tSAMP Sampling time VREF Reference voltage VIA Analog input voltage µs 0.3 2.0 VCC V 0 V REF V NOTES: 1. Referenced to VCC = AVCC = VREF = 3.3 to 5.5 V, VSS = AVSS = 0 V, –40 to 85°C unless otherwise specified. 2. φAD frequency must be 10 MHz or less. 3. When sample & hold is disabled, φAD frequency must be 250 kHz or more in addition to a limit of NOTE 2. When sample & hold is enabled, φAD frequency must be 1 MHz or more in addition to a limit of NOTE 2. Table 5.7 D/A conversion Characteristics Symbol (1) Parameter – Resolution – Absolute accuracy tsu RO Setup time IVREF Reference power supply input current Measuring Condition Min. 4 Output resistance (NOTE 2) Standard Typ. Max. 8 10 Unit Bits 1.0 % 3 µs 20 kΩ 1.5 mA NOTES: 1. Referenced to VCC = AVCC = VREF = 3.3 to 5.5 V, VSS = AVSS = 0 V, –40 to 85°C unless otherwise specified. 2. This applies when using one D/A converter, with the DAi register (i = 0, 1) for the unused D/A converter set to 00h. The resistor ladder of the A/D converter is not included. Also, the IVREF will flow even if VREF is disconnected by the ADCON1 register. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 36 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Table 5.8 Flash Memory Version Electrical Characteristics Parameter Symbol (1) Min. (2) Standard Typ. Max. 25 200 µs Unit - Programming and erasure endurance - Word program time (VCC = 5.0 V) - Lock bit program time 25 200 µs - Block erase time 4-Kbyte block 0.3 4 s (VCC = 5.0 V) 8-Kbyte block 0.3 4 s 32-Kbyte block 0.5 4 s 64-Kbyte block 0.8 4 100 cycle s 4✕n - Erase all unlocked blocks time tps Flash memory circuit stabilization wait time (3) s µs 15 NOTES: 1. Referenced to VCC = 4.5 to 5.5 V, 3.0 to 3.6 V, Topr = 0 to 60°C unless otherwise specified. 2. Programming and erasure endurance refers to the number of times a block erase can be performed. If the programming and erasure endurance is n (n = 100), each block can be erased n times. For example, if a 4-Kbyte block A is erased after writing 1 word data 2,048 times, each to a different address, this counts as one programming and erasure endurance. Data cannot be written to the same address more than once without erasing the block (rewrite prohibited). 3. n denotes the number of blocks to erase. Table 5.9 Flash Memory Version Program/Erase Voltage and Read Operation Voltage Characteristics (at Topr = 0 to 60°C) Flash Program, Erase Voltage Flash Read Operation Voltage VCC = 3.3 ± 0.3 V or 5.0 ± 0.5 V VCC = 3.0 to 5.5 V Table 5.10 Power Supply Circuit Timing Characteristics Symbol Measuring Condition Parameter Min. Standard Typ. Max. 2 Unit td(P-R) Time for internal power supply stabilization during powering-on VCC = 3.0 to 5.5 V td(R-S) STOP release time 150 µs td(W-S) Low power dissipation mode wait mode release time 150 µs td(P-R) Time for internal power supply VCC stabilization during powering-on td(P-R) CPU clock Interrupt for (a) Stop mode release or (b) Wait mode release td(R-S) STOP release time td(W-S) Low power dissipation mode CPU clock wait mode release time (a) (b) Figure 5.1 Power Supply Circuit Timing Diagram Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 37 of 67 td(R-S) td(W-S) ms Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) =5V Table 5.11 External Clock Input (XIN Input) Symbol Parameter tC External clock input cycle time tw(H) External clock input HIGH pulse width tw(L) External clock input LOW pulse width tr External clock rise time tf External clock fall time Standard Min. Max. 62.5 25 25 15 15 Unit ns ns ns ns ns Table 5.12 Memory Expansion Mode and Microprocessor Mode Symbol Parameter tac1(RD-DB) Data input access time (for setting with no wait) tac2(RD-DB) tac3(RD-DB) Data input access time (for setting with wait) tsu(DB-RD) tsu(RDY-BCLK) Data input setup time Standard Unit Min. Max. (NOTE 1) ns (NOTE 2) ns (NOTE 3) Data input access time (when accessing multiplexed bus area) 40 30 ________ RDY input setup time __________ tsu(HOLD-BCLK) HOLD input setup time th(RD-DB) Data input hold time ________ th(BCLK-RDY) RDY input hold time __________ th(BCLK-HOLD) HOLD input hold time 40 0 0 0 ns ns ns ns ns ns ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 45 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 10 f(BCLK) 9 – 45 [ns] n is “2” for 1-wait setting, “3” for 2-wait setting and “4” for 3-wait setting. 3. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 109 – 45 [ns] f(BCLK) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 38 of 67 n is “2” for 2-wait setting, “3” for 3-wait setting. Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) =5V Table 5.13 Timer A Input (Counter Input in Event Counter Mode) Parameter Symbol tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 100 40 40 Unit ns ns ns Table 5.14 Timer A Input (Gating Input in Timer Mode) Parameter Symbol tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 400 200 200 Unit ns ns ns Table 5.15 Timer A Input (External Trigger Input in One-shot Timer Mode) Symbol Parameter tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 200 100 100 Unit ns ns ns Table 5.16 Timer A Input (External Trigger Input in Pulse Width Modulation Mode) tw(TAH) TAiIN input HIGH pulse width Standard Min. Max. 100 tw(TAL) TAiIN input LOW pulse width 100 Symbol Parameter Unit ns ns Table 5.17 Timer A Input (Counter Increment/decrement Input in Event Counter Mode) Symbol Parameter Standard Min. Max. 2000 1000 tc(UP) TAiOUT input cycle time tw(UPH) TAiOUT input HIGH pulse width tw(UPL) TAiOUT input LOW pulse width tsu(UP-TIN) TAiOUT input setup time 1000 400 th(TIN-UP) TAiOUT input hold time 400 Unit ns ns ns ns ns Table 5.18 Timer A Input (Two-phase Pulse Input in Event Counter Mode) Symbol Parameter tc(TA) TAiIN input cycle time tsu(TAIN-TAOUT) TAiOUT input setup time tsu(TAOUT-TAIN) TAiIN input setup time Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 39 of 67 Standard Max. Min. 800 200 200 Unit ns ns ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) =5V Table 5.19 Timer B Input (Counter Input in Event Counter Mode) Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL) 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) Standard Min. Max. 100 40 40 TBiIN input HIGH pulse width (counted on both edges) 200 80 TBiIN input LOW pulse width (counted on both edges) 80 TBiIN input cycle time (counted on both edges) Unit ns ns ns ns ns ns Table 5.20 Timer B Input (Pulse Period Measurement Mode) TBiIN input HIGH pulse width Standard Min. Max. 400 200 TBiIN input LOW pulse width 200 Symbol tc(TB) tw(TBH) tw(TBL) Parameter TBiIN input cycle time Unit ns ns ns Table 5.21 Timer B Input (Pulse Width Measurement Mode) Symbol tc(TB) tw(TBH) tw(TBL) Parameter TBiIN input cycle time TBiIN input HIGH pulse width Standard Min. Max. 400 200 200 TBiIN input LOW pulse width Unit ns ns ns Table 5.22 A/D Trigger Input Symbol tC(AD) tw(ADL) Parameter _____________ ADTRG input cycle time (trigger able minimum) Standard Min. Max. 1000 _____________ ADTRG input LOW pulse width 125 Unit ns ns Table 5.23 Serial Interface CLKi input HIGH pulse width Standard Min. Max. 200 100 CLKi input LOW pulse width 100 Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) Parameter CLKi input cycle time 80 TXDi output delay time RXDi input setup time 0 70 RXDi input hold time 90 TXDi hold time Unit ns ns ns ns ns ns ns _______ Table 5.24 External Interrupt INTi Input Symbol tw(INH) tw(INL) Parameter _______ INTi input HIGH pulse width _______ INTi input LOW pulse width Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 40 of 67 Standard Min. Max. 250 250 Unit ns ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) =5V Table 5.25 Memory Expansion Mode and Microprocessor Mode (for setting with no wait) Symbol Measuring Condition Parameter 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) Address output delay time Figure 5.2 Address output hold time (in relation to BCLK) Standard Min. Max. 25 Address output hold time (in relation to RD) 0 Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time ALE signal output delay time 15 ns ns 25 ns ns –4 RD signal output delay time RD signal output hold time ns 0 WR signal output delay time 25 WR signal output hold time Data output hold time (in relation to BCLK) 40 (3) Data output delay time (in relation to WR) (3) ns ns 0 Data output delay time (in relation to BCLK) Data output hold time (rin relation to WR) 25 ns ns 4 ALE signal output hold time ns ns ns 4 Chip select output hold time (rin relation to BCLK) Unit ns 4 ns (NOTE 2) ns (NOTE 1) ns __________ td(BCLK-HLDA) HLDA output delay time 40 ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 10 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 40 [ns] f(BCLK) 9 f(BCLK) is 12.5 MHz or less. 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 pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = – CR ✕ ln (1 – VOL / VCC) by a circuit of the right figure. For example, when VOL = 0.2 VCC, C = 30 pF, R =1 kΩ, hold time of output “L” level is t = – 30 pF ✕ 1 kΩ ✕ ln (1 – 0.2 VCC / VCC) = 6.7 ns. R DBi C P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 30 pF NOTE: 1. P11 to P14 are only in the 128-pin version. Figure 5.2 Port P0 to P14 Measurement Circuit Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 41 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) =5V Table 5.26 Memory Expansion Mode and Microprocessor Mode (for 1- to 3-wait setting and external area access) Symbol Measuring Condition Parameter 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) Address output delay time Figure 5.2 Address output hold time (in relation to BCLK) Standard Min. Max. 25 Address output hold time (in relation to RD) 0 Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time 25 ns ns 15 ns ns 25 ns ns 25 ns ns 40 ns ns 4 ALE signal output delay time ALE signal output hold time –4 RD signal output delay time RD signal output hold time 0 WR signal output delay time WR signal output hold time 0 Data output delay time (in relation to BCLK) Data output hold time (rin relation to BCLK) (3) Data output hold time (in relation to WR) ns ns 4 Data output delay time (in relation to WR) (NOTE 2) (3) ns ns ns 4 Chip select output hold time (in relation to BCLK) Unit ns (NOTE 1) __________ td(BCLK-HLDA) HLDA output delay time 40 ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 10 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: (n – 0.5) ✕ 10 – 40 [ns] f(BCLK) 9 n is “1” for 1-wait setting, “2” for 2-wait setting and “3” for 3-wait setting. When n = 1, f(BCLK) is 12.5 MHz or less. 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 pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = – CR ✕ ln (1 – VOL / VCC) by a circuit of the right figure. For example, when VOL = 0.2 VCC, C = 30 pF, R =1 kΩ, hold time of output “L” level is t = – 30 pF ✕ 1 kΩ ✕ ln (1 – 0.2 VCC / VCC) = 6.7 ns. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 42 of 67 R DBi C Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 5 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) =5V Table 5.27 Memory Expansion Mode and Microprocessor Mode (for 2- to 3-wait setting, external area access and multiplexed bus selection) Symbol Parameter 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) Address output delay time Measuring Condition Figure 5.2 Standard Min. Max. 25 Address output hold time (in relation to BCLK) (NOTE 1) Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time 25 Chip select output hold time (in relation to BCLK) (NOTE 1) Chip select output hold time (in relation to WR) (NOTE 1) RD signal output delay time ns 25 RD signal output hold time 25 WR signal output hold time ns ns 0 Data output delay time (in relation to BCLK) ns ns 0 WR signal output delay time ns ns ns ns 4 Chip select output hold time (in relation to RD) ns ns ns 4 Address output hold time (in relation to RD) Unit 40 ns Data output hold time (in relation to BCLK) 4 ns Data output delay time (in relation to WR) (NOTE 2) ns Data output hold time (in relation to WR) (NOTE 1) ns __________ td(BCLK-HLDA) HLDA output delay time td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(ALE-AD) td(AD-RD) td(AD-WR) tdZ(RD-AD) ALE signal output delay time (in relation to BCLK) 40 ns 15 ns –4 ns ALE signal output delay time (in relation to Address) (NOTE 3) ns ALE signal output hold time (in relation to Address) (NOTE 4) ns RD signal output delay from the end of Address 0 ns WR signal output delay from the end of Address 0 ALE signal output hold time (in relation to BCLK) Address output floating start time NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 109 – 10 [ns] f(BCLK) 2. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 10 f(BCLK) 9 – 40 [ns] n is “2” for 2-wait setting, “3” for 3-wait setting. 3. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 25 [ns] f(BCLK) 9 4. Calculated according to the BCLK frequency as follows: 0.5 ✕ 109 – 15 [ns] f(BCLK) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 43 of 67 ns 8 ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 5 V XIN input tr tr tw(H) tw(L) tc tc(TA) tw(TAH) TAiIN input tw(TAL) tc(UP) tw(UPH) TAiOUT input tw(UPL) TAiOUT input (Up/down input) During event counter mode TAiIN input (When count on falling edge is selected) th(TIN—UP) tsu(UP—TIN) TAiIN input (When count on rising edge is selected) Two-phase pulse input in event counter mode tC(TA) TAiIN input tsu(TAIN—TAOUT) tsu(TAIN—TAOUT) tsu(TAOUT—TAIN) TAiOUT input tsu(TAOUT—TAIN) tc(TB) tw(TBH) TBiIN input tw(TBL) tc(AD) tw(ADL) ADTRG input tc(CK) tw(CKH) CLKi tw(CKL) th(C—Q) TXDi td(C—Q) tsu(D—C) RXDi tw(INL) INTi input tw(INH) Figure 5.3 Timing Diagram (1) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 44 of 67 th(C—D) Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 5 V Memory Expansion Mode and Microprocessor Mode (Effective for setting with wait) 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 setting with wait and setting without wait) BCLK tsu(HOLD–BCLK) th(BCLK–HOLD) HOLD input HLDA output td(BCLK–HLDA) P0, P1, P2, P3, P4, P5_0 to P5_2 (1) td(BCLK–HLDA) Hi–Z NOTE: 1. The above pins are set to high-impedance regardless of the input level of the BYTE pin, the PM06 bit in the PM0 register, and the PM11 bit in the PM1 register. Measuring conditions : VCC = 5 V Input timing voltage : Determined with VIL = 1.0 V, VIH = 4.0 V Output timing voltage: Determined with VOL = 2.5 V, VOH = 2.5 V Figure 5.4 Timing Diagram (2) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 45 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For setting with no wait) Read timing BCLK td(BCLK-CS) th(BCLK-CS) 25ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) -4ns.min 25ns.max th(RD-AD) 0ns.min ALE td(BCLK-RD) 25ns.max th(BCLK-RD) 0ns.min RD tac1(RD-DB) (0.5 ✕ tcyc-45)ns.max Hi-Z DBi tSU(DB-RD) 40ns.min th(RD-DB) 0ns.min Write timing BCLK td(BCLK-CS) th(BCLK-CS) 25ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) 25ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE td(BCLK-WR) 25ns.max th(BCLK-WR) 0ns.min WR,WRL, WRH td(BCLK-DB) th(BCLK-DB) 4ns.min 40ns.max Hi-Z DBi td(DB-WR) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.5 Timing Diagram (3) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 th(WR-DB) (0.5 ✕ tcyc-40)ns.min (0.5 ✕ tcyc-10)ns.min 1 tcyc = f(BCLK) page 46 of 67 VCC = 5 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For 1-wait setting and external area access) Read timing BCLK td(BCLK-CS) th(BCLK-CS) 25ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) th(RD-AD) th(BCLK-ALE) 0ns.min -4ns.min 25ns.max ALE td(BCLK-RD) th(BCLK-RD) 0ns.min 25ns.max RD tac2(RD-DB) (1.5 ✕ tcyc-45)ns.max DBi Hi-Z th(RD-DB) tSU(DB-RD) 0ns.min 40ns.min Write timing BCLK td(BCLK-CS) th(BCLK-CS) 25ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) th(WR-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min 25ns.max ALE td(BCLK-WR) 25ns.max th(BCLK-WR) 0ns.min WR,WRL, WRH td(BCLK-DB) th(BCLK-DB) 4ns.min 40ns.max Hi-Z DBi td(DB-WR) (0.5 ✕ tcyc-40)ns.min 1 tcyc = f(BCLK) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.6 Timing Diagram (4) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 47 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min VCC = 5 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For 2-wait setting and external area access) Read timing tcyc BCLK th(BCLK-CS) 4ns.min td(BCLK-CS) 25ns.max CSi th(BCLK-AD) 4ns.min td(BCLK-AD) 25ns.max ADi BHE td(BCLK-ALE) 25ns.max th(RD-AD) th(BCLK-ALE) -4ns.min 0ns.min ALE th(BCLK-RD) 0ns.min td(BCLK-RD) 25ns.max RD tac2(RD-DB) (2.5 ✕ tcyc-45)ns.max DBi Hi-Z tSU(DB-RD) 40ns.min th(RD-DB) 0ns.min Write timing tcyc BCLK td(BCLK-CS) 25ns.max th(BCLK-CS) td(BCLK-AD) 25ns.max th(BCLK-AD) 4ns.min CSi 4ns.min ADi BHE td(BCLK-ALE) 25ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min th(BCLK-ALE) -4ns.min ALE td(BCLK-WR) 25ns.max th(BCLK-WR) 0ns.min WR, WRL WRH td(BCLK-DB) 40ns.max DBi Hi-Z td(DB-WR) (1.5 ✕ tcyc-40)ns.min tcyc = th(BCLK-DB) 4ns.min 1 f(BCLK) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.7 Timing Diagram (5) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 48 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min VCC = 5 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 5 V Memory Expansion Mode and Microprocessor Mode (For 3-wait setting and external area access) Read timing tcyc BCLK th(BCLK-CS) 4ns.min td(BCLK-CS) 25ns.max CSi th(BCLK-AD) td(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) th(RD-AD) 0ns.min th(BCLK-ALE) 25ns.max -4ns.min ALE th(BCLK-RD) td(BCLK-RD) 25ns.max 0ns.min RD tac2(RD-DB) (3.5 ✕ tcyc-45)ns.max DBi Hi-Z tSU(DB-RD) th(RD-DB) 40ns.min 0ns.min Write timing tcyc BCLK td(BCLK-CS) 25ns.max th(BCLK-CS) 4ns.min td(BCLK-AD) th(BCLK-AD) 4ns.min CSi 25ns.max ADi BHE td(BCLK-ALE) 25ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min th(BCLK-ALE) -4ns.min ALE td(BCLK-WR) 25ns.max th(BCLK-WR) 0ns.min WR, WRL WRH DBi td(BCLK-DB) th(BCLK-DB) 40ns.max 4ns.min Hi-Z td(DB-WR) (2.5 ✕ tcyc-40)ns.min 1 tcyc = f(BCLK) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.8 Timing Diagram (6) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 49 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 5 V Memory Expansion Mode and Microprocessor Mode (For 1- or 2-wait setting, external area access and multiplexed bus selection) Read timing BCLK td(BCLK-CS) th(RD-CS) (0.5 ✕ tcyc-10)ns.min tcyc 25ns.max th(BCLK-CS) 4ns.min CSi td(AD-ALE) (0.5 ✕ tcyc-25)ns.min ADi /DBi th(ALE-AD) (0.5 ✕ tcyc-15)ns.min Address 8ns.max Address Data input tdZ(RD-AD) tac3(RD-DB) (1.5 ✕ tcyc-45)ns.max tSU(DB-RD) th(RD-DB) 0ns.min 40ns.min td(AD-RD) 0ns.min td(BCLK-AD) th(BCLK-AD) 4ns.min 25ns.max ADi BHE td(BCLK-ALE) th(BCLK-ALE) 25ns.max th(RD-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE td(BCLK-RD) th(BCLK-RD) 0ns.min 25ns.max RD Write timing BCLK td(BCLK-CS) th(BCLK-CS) th(WR-CS) (0.5 ✕ tcyc-10)ns.min tcyc 25ns.max 4ns.min CSi th(BCLK-DB) td(BCLK-DB) 4ns.min 40ns.max ADi /DBi Address Data output td(DB-WR) td(AD-ALE) (1.5 ✕ tcyc-40)ns.min (0.5 ✕ tcyc-25)ns.min Address th(WR-DB) (0.5 ✕ tcyc-10)ns.min td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE td(BCLK-ALE) 25ns.max th(BCLK-ALE) td(AD-WR) -4ns.min 0ns.min th(WR-AD) (0.5 ✕ tcyc-10)ns.min ALE td(BCLK-WR) 25ns.max WR,WRL, WRH tcyc = 1 f(BCLK) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.9 Timing Diagram (7) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 50 of 67 th(BCLK-WR) 0ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 5 V Memory Expansion Mode and Microprocessor Mode (For 3-wait setting, external area access and multiplexed bus selection) Read timing tcyc BCLK th(RD-CS) (0.5 ✕ tcyc-10)ns.min td(BCLK-CS) th(BCLK-CS) 4ns.min 25ns.max CSi td(AD-ALE) (0.5 ✕ tcyc-25)ns.min ADi /DBi th(ALE-AD) (0.5 ✕ tcyc-15)ns.min Address td(BCLK-AD) td(AD-RD) 25ns.max ADi BHE Data input tdZ(RD-AD) 8ns.max th(RD-DB) tac3(RD-DB) (2.5 ✕ tcyc-45)ns.max 0ns.min tSU(DB-RD) 0ns.min th(BCLK-AD) 40ns.min 4ns.min (no multiplex) td(BCLK-ALE) 25ns.max th(RD-AD) th(BCLK-ALE) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE th(BCLK-RD) td(BCLK-RD) 0ns.min 25ns.max RD Write timing tcyc BCLK th(WR-CS) (0.5 ✕ tcyc-10)ns.min td(BCLK-CS) 25ns.max th(BCLK-CS) 4ns.min CSi th(BCLK-DB) td(BCLK-DB) 40ns.max ADi /DBi Address 4ns.min Data output td(AD-ALE) td(DB-WR) (0.5 ✕ tcyc-25)ns.min (2.5 ✕ tcyc-40)ns.min th(WR-DB) (0.5 ✕ tcyc-10)ns.min td(BCLK-AD) th(BCLK-AD) 25ns.max 4ns.min ADi BHE (no multiplex) td(BCLK-ALE) 25ns.max th(BCLK-ALE) th(WR-AD) -4ns.min td(AD-WR) ALE td(BCLK-WR) 25ns.max WR, WRL WRH tcyc = (0.5 ✕ tcyc-10)ns.min 0ns.min 1 f(BCLK) Measuring conditions : VCC = 5 V Input timing voltage : VIL = 0.8 V, VIH = 2.0 V Output timing voltage : VOL = 0.4 V, VOH = 2.4 V Figure 5.10 Timing Diagram (8) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 51 of 67 th(BCLK-WR) 0ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) Table 5.28 Electrical Characteristics 5. Electric Characteristics (1) VCC = 3.3 V Standard Parameter Measuring Condition Unit Symbol Min. Typ. Max. VCC V P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, IOH = –1 mA VOH HIGH output VCC-0.5 voltage P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7,P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 XOUT HIGHPOWER VCC-0.5 VOH IOH = –0.1 mA HIGH output VCC V voltage VCC-0.5 LOWPOWER IOH = –50 µA VCC XCOUT HIGHPOWER With no load applied HIGH output 2.5 V voltage LOWPOWER With no load applied 1.6 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, IOL = 1 mA 0.5 VOL LOW output V voltage 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_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, P11_0 to P11_7,P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 XOUT HIGHPOWER 0.5 VOL IOL = 0.1 mA LOW output V voltage LOWPOWER 0.5 IOL = 50 µA XCOUT HIGHPOWER 0 V With no load applied LOW output voltage LOWPOWER With no load applied 0 _________ _______ 0.8 HOLD, RDY, TA0IN to TA4IN, TB0IN to TB5IN, 0.2 V VT+-V T- Hysteresis ________ ________ _______ _____________ _________ _________ INT0 to INT8, NMI, ADTRG, CTS0 to CTS2, SCL0 to SCL2, SDA0 to SDA2, CLK0 to CLK6, _____ _____ TA0OUT to TA4OUT, KI0 to KI3, RXD0 to RXD2, SIN3 to SIN6 _____________ RESET VT+-V T- Hysteresis V 0.2 1.8 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, VI = 3.3 V IIH µA HIGH input 4.0 P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current 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, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1, ____________ XIN, RESET, CNVSS, BYTE IIL P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, VI = 0 V LOW input –4.0 µA P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, current 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, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1, ____________ XIN, RESET, CNVSS, BYTE RPULLUP Pull-up P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, VI = 0 V 50 kΩ 100 500 resistance P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0, P9_2 to P9_7, P10_0 to P10_7, P11_0 to P11_7, P12_0 to P12_7, P13_0 to P13_7, P14_0, P14_1 Feedback resistance RfXIN XIN MΩ 3.0 Feedback resistance RfXCIN XCIN MΩ 25 VRAM RAM retention voltage V 2.0 At stop mode NOTES: 1. Referenced to VCC = 3.0 to 3.6 V, VSS = 0 V at Topr = –40 to 85°C, f(BCLK) = 24 MHz unless otherwise specified. ________ ________ 2. P11 to P14, INT6 to INT8, CLK5, CLK6, SIN5, and SIN6 are only in the 128-pin version. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 52 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) = 3.3 V Table 5.29 External Clock Input (XIN Input) Symbol Parameter tC External clock input cycle time tw(H) External clock input HIGH pulse width tw(L) External clock input LOW pulse width tr External clock rise time tf External clock fall time Standard Min. Max. 62.5 25 25 15 15 Unit ns ns ns ns ns Table 5.30 Memory Expansion Mode and Microprocessor Mode Symbol Parameter tac1(RD-DB) Data input access time (for setting with no wait) tac2(RD-DB) tac3(RD-DB) Data input access time (for setting with wait) tsu(DB-RD) tsu(RDY-BCLK) Data input setup time Standard Unit Min. Max. (NOTE 1) ns (NOTE 2) ns (NOTE 3) Data input access time (when accessing multiplexed bus area) 50 40 ________ RDY input setup time __________ tsu(HOLD-BCLK) HOLD input setup time th(RD-DB) Data input hold time ________ th(BCLK-RDY) RDY input hold time __________ th(BCLK-HOLD) HOLD input hold time 50 0 0 0 ns ns ns ns ns ns ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 60 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 10 f(BCLK) 9 – 60 [ns] n is “2” for 1-wait setting, “3” for 2-wait setting and “4” for 3-wait setting. 3. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 109 – 60 [ns] f(BCLK) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 53 of 67 n is “2” for 2-wait setting, “3” for 3-wait setting. Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) = 3.3 V Table 5.31 Timer A Input (Counter Input in Event Counter Mode) Parameter Symbol tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 150 60 60 Unit ns ns ns Table 5.32 Timer A Input (Gating Input in Timer Mode) Parameter Symbol tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 600 300 300 Unit ns ns ns Table 5.33 Timer A Input (External Trigger Input in One-shot Timer Mode) Symbol Parameter tc(TA) TAiIN input cycle time tw(TAH) TAiIN input HIGH pulse width tw(TAL) TAiIN input LOW pulse width Standard Min. Max. 300 150 150 Unit ns ns ns Table 5.34 Timer A Input (External Trigger Input in Pulse Width Modulation Mode) tw(TAH) TAiIN input HIGH pulse width Standard Min. Max. 150 tw(TAL) TAiIN input LOW pulse width 150 Symbol Parameter Unit ns ns Table 5.35 Timer A Input (Counter Increment/decrement Input in Event Counter Mode) Symbol Parameter Standard Min. Max. 3000 1500 tc(UP) TAiOUT input cycle time tw(UPH) TAiOUT input HIGH pulse width tw(UPL) TAiOUT input LOW pulse width tsu(UP-TIN) TAiOUT input setup time 1500 600 th(TIN-UP) TAiOUT input hold time 600 Unit ns ns ns ns ns Table 5.36 Timer A Input (Two-phase Pulse Input in Event Counter Mode) Symbol Parameter tc(TA) TAiIN input cycle time tsu(TAIN-TAOUT) TAiOUT input setup time tsu(TAOUT-TAIN) TAiIN input setup time Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 54 of 67 Standard Max. Min. 2 500 500 Unit µs ns ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Timing Requirements VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85°C unless otherwise specified) = 3.3 V Table 5.37 Timer B Input (Counter Input in Event Counter Mode) Symbol tc(TB) tw(TBH) tw(TBL) tc(TB) tw(TBH) tw(TBL) 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) Standard Min. Max. 150 60 60 TBiIN input HIGH pulse width (counted on both edges) 300 120 TBiIN input LOW pulse width (counted on both edges) 120 TBiIN input cycle time (counted on both edges) Unit ns ns ns ns ns ns Table 5.38 Timer B Input (Pulse Period Measurement Mode) TBiIN input HIGH pulse width Standard Min. Max. 600 300 TBiIN input LOW pulse width 300 Symbol tc(TB) tw(TBH) tw(TBL) Parameter TBiIN input cycle time Unit ns ns ns Table 5.39 Timer B Input (Pulse Width Measurement Mode) Symbol tc(TB) tw(TBH) tw(TBL) Parameter TBiIN input cycle time TBiIN input HIGH pulse width Standard Min. Max. 600 300 300 TBiIN input LOW pulse width Unit ns ns ns Table 5.40 A/D Trigger Input Symbol tC(AD) tw(ADL) Parameter _____________ ADTRG input cycle time (trigger able minimum) Standard Min. Max. 1500 _____________ ADTRG input LOW pulse width 200 Unit ns ns Table 5.41 Serial Interface CLKi input HIGH pulse width Standard Min. Max. 300 150 CLKi input LOW pulse width 150 Symbol tc(CK) tw(CKH) tw(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) Parameter CLKi input cycle time 160 TXDi output delay time RXDi input setup time 0 100 RXDi input hold time 90 TXDi hold time Unit ns ns ns ns ns ns ns _______ Table 5.42 External Interrupt INTi Input Symbol tw(INH) tw(INL) Parameter _______ INTi input HIGH pulse width _______ INTi input LOW pulse width Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 55 of 67 Standard Min. Max. 380 380 Unit ns ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) = 3.3 V Table 5.43 Memory Expansion Mode and Microprocessor Mode (for setting with no wait) Symbol Measuring Condition Parameter 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) Address output delay time Figure 5.11 Address output hold time (in relation to BCLK) Standard Min. Max. 30 Address output hold time (in relation to RD) 0 Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time ALE signal output delay time 25 ns ns 30 ns ns –4 RD signal output delay time RD signal output hold time ns 0 WR signal output delay time 30 WR signal output hold time Data output hold time (in relation to BCLK) 40 (3) Data output delay time (in relation to WR) (3) ns 4 ns (NOTE 2) ns (NOTE 1) __________ td(BCLK-HLDA) ns ns 0 Data output delay time (in relation to BCLK) Data output hold time (in relation to WR) 30 ns ns 4 ALE signal output hold time ns ns ns 4 Chip select output hold time (in relation to BCLK) Unit HLDA output delay time 40 ns ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 10 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 40 [ns] f(BCLK) 9 f(BCLK) is 12.5 MHz or less. 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 pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = – CR ✕ ln (1 – VOL / VCC) by a circuit of the right figure. For example, when VOL = 0.2 VCC, C = 30 pF, R =1 kΩ, hold time of output “L” level is t = – 30 pF ✕ 1 kΩ ✕ ln (1 – 0.2 VCC / VCC) = 6.7 ns. R DBi C P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12 P13 P14 30 pF NOTE: 1. P11 to P14 are only in the 128-pin version. Figure 5.11 Port P0 to P14 Measurement Circuit Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 56 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) = 3.3 V Table 5.44 Memory Expansion Mode and Microprocessor Mode (for 1- to 3-wait setting and external area access) Symbol Measuring Condition Parameter 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) Address output delay time Figure 5.11 Address output hold time (in relation to BCLK) Standard Min. Max. 30 Address output hold time (in relation to RD) 0 Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time 30 ns ns 25 ns ns 30 ns ns 30 ns ns 40 ns ns 4 ALE signal output delay time ALE signal output hold time –4 RD signal output delay time RD signal output hold time 0 WR signal output delay time WR signal output hold time 0 Data output delay time (in relation to BCLK) Data output hold time (in relation to BCLK) (3) Data output hold time (in relation to WR) ns ns 4 Data output delay time (in relation to WR) (NOTE 2) (3) ns ns ns 4 Chip select output hold time (in relation to BCLK) Unit ns (NOTE 1) __________ td(BCLK-HLDA) HLDA output delay time 40 ns NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 10 [ns] f(BCLK) 9 2. Calculated according to the BCLK frequency as follows: (n – 0.5) ✕ 10 – 40 [ns] f(BCLK) 9 n is “1” for 1-wait setting, “2” for 2-wait setting and “3” for 3-wait setting. When n = 1, f(BCLK) is 12.5 MHz or less. 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 pull-up (pull-down) resistance value. Hold time of data bus is expressed in t = – CR ✕ ln (1 – VOL / VCC) by a circuit of the right figure. For example, when VOL = 0.2 VCC, C = 30 pF, R =1 kΩ, hold time of output “L” level is t = – 30 pF ✕ 1 kΩ ✕ ln (1 – 0.2 VCC / VCC) = 6.7 ns. Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 57 of 67 R DBi C Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Switching Characteristics VCC (Referenced to VCC = 3.3 V, VSS = 0 V, at Topr = –40 to 85 °C unless otherwise specified) = 3.3 V Table 5.45 Memory Expansion Mode and Microprocessor Mode (for 2- to 3-wait setting, external area access and multiplexed bus selection) Symbol Parameter 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) Address output delay time Measuring Condition Figure 5.11 Standard Min. Max. 50 Address output hold time (in relation to BCLK) (NOTE 1) Address output hold time (in relation to WR) (NOTE 1) Chip select output delay time 50 Chip select output hold time (in relation to BCLK) (NOTE 1) Chip select output hold time (in relation to WR) (NOTE 1) RD signal output delay time ns 40 RD signal output hold time 40 WR signal output hold time ns ns 0 Data output delay time (in relation to BCLK) ns ns 0 WR signal output delay time ns ns ns ns 4 Chip select output hold time (in relation to RD) ns ns ns 4 Address output hold time (in relation to RD) Unit 50 ns Data output hold time (in relation to BCLK) 4 ns Data output delay time (in relation to WR) (NOTE 2) ns Data output hold time (in relation to WR) (NOTE 1) ns __________ td(BCLK-HLDA) HLDA output delay time td(BCLK-ALE) th(BCLK-ALE) td(AD-ALE) th(ALE-AD) td(AD-RD) td(AD-WR) tdZ(RD-AD) ALE signal output delay time (in relation to BCLK) 40 ns 25 ns –4 ns ALE signal output delay time (in relation to Address) (NOTE 3) ns ALE signal output hold time (rin relation to Address) (NOTE 4) ns RD signal output delay from the end of Address 0 ns WR signal output delay from the end of Address 0 ALE signal output hold time (in relation to BCLK) Address output floating start time NOTES: 1. Calculated according to the BCLK frequency as follows: 0.5 ✕ 109 – 10 [ns] f(BCLK) 2. Calculated according to the BCLK frequency as follows: (n –0.5) ✕ 10 f(BCLK) 9 – 50 [ns] n is “2” for 2-wait setting, “3” for 3-wait setting. 3. Calculated according to the BCLK frequency as follows: 0.5 ✕ 10 – 40 [ns] f(BCLK) 9 4. Calculated according to the BCLK frequency as follows: 0.5 ✕ 109 – 15 [ns] f(BCLK) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 58 of 67 ns 8 ns Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 3.3 V XIN input tr tr tw(H) tw(L) tc tc(TA) tw(TAH) TAiIN input tw(TAL) tc(UP) tw(UPH) TAiOUT input tw(UPL) TAiOUT input (Up/down input) During event counter mode TAiIN input (When count on falling edge is selected) th(TIN—UP) tsu(UP—TIN) TAiIN input (When count on rising edge is selected) Two-phase pulse input in event counter mode tC(TA) TAiIN input tsu(TAIN—TAOUT) tsu(TAIN—TAOUT) tsu(TAOUT—TAIN) TAiOUT input tsu(TAOUT—TAIN) tc(TB) tw(TBH) TBiIN input tw(TBL) tc(AD) tw(ADL) ADTRG input tc(CK) tw(CKH) CLKi tw(CKL) th(C—Q) TXDi td(C—Q) tsu(D—C) RXDi tw(INL) INTi input tw(INH) Figure 5.12 Timing Diagram (1) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 59 of 67 th(C—D) Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode VCC = 3.3 V (Effective for setting with wait) 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 setting with wait and setting without wait) BCLK tsu(HOLD–BCLK) th(BCLK–HOLD) HOLD input HLDA output td(BCLK–HLDA) P0, P1, P2, P3, P4, P5_0 to P5_2 (1) td(BCLK–HLDA) Hi–Z NOTE: 1. The above pins are set to high-impedance regardless of the input level of the BYTE pin, the PM06 bit in the PM0 register, and the PM11 bit in the PM1 register. Measuring conditions : VCC = 3.3 V Input timing voltage : Determined with VIL = 0.6 V, VIH = 2.7 V Output timing voltage: Determined with VOL = 1.65 V, VOH = 1.65 V Figure 5.13 Timing Diagram (2) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 60 of 67 Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For setting with no wait) Read timing BCLK td(BCLK-CS) th(BCLK-CS) 30ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 30ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) -4ns.min 30ns.max th(RD-AD) 0ns.min ALE td(BCLK-RD) 30ns.max th(BCLK-RD) 0ns.min RD tac1(RD-DB) (0.5 ✕ tcyc-60)ns.max Hi-Z DBi tSU(DB-RD) 50ns.min th(RD-DB) 0ns.min Write timing BCLK td(BCLK-CS) th(BCLK-CS) 30ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 30ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) 30ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE td(BCLK-WR) 30ns.max th(BCLK-WR) 0ns.min WR,WRL, WRH td(BCLK-DB) th(BCLK-DB) 4ns.min 40ns.max Hi-Z DBi td(DB-WR) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.14 Timing Diagram (3) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 th(WR-DB) (0.5 ✕ tcyc-40)ns.min (0.5 ✕ tcyc-10)ns.min 1 tcyc = f(BCLK) page 61 of 67 VCC = 3.3 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For 1-wait setting and external area access) Read timing BCLK td(BCLK-CS) th(BCLK-CS) 30ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 30ns.max 4ns.min ADi BHE td(BCLK-ALE) th(RD-AD) th(BCLK-ALE) 0ns.min -4ns.min 30ns.max ALE td(BCLK-RD) th(BCLK-RD) 0ns.min 30ns.max RD tac2(RD-DB) (1.5 ✕ tcyc-60)ns.max DBi Hi-Z th(RD-DB) tSU(DB-RD) 0ns.min 50ns.min Write timing BCLK td(BCLK-CS) th(BCLK-CS) 30ns.max 4ns.min CSi tcyc td(BCLK-AD) th(BCLK-AD) 30ns.max 4ns.min ADi BHE td(BCLK-ALE) th(BCLK-ALE) th(WR-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min 30ns.max ALE td(BCLK-WR) 30ns.max th(BCLK-WR) 0ns.min WR,WRL, WRH td(BCLK-DB) th(BCLK-DB) 4ns.min 40ns.max Hi-Z DBi td(DB-WR) tcyc = (0.5 ✕ tcyc-40)ns.min 1 f(BCLK) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.15 Timing Diagram (4) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 62 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min VCC = 3.3 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode (For 2-wait setting and external area access) Read timing tcyc BCLK th(BCLK-CS) 4ns.min td(BCLK-CS) 30ns.max CSi th(BCLK-AD) 4ns.min td(BCLK-AD) 30ns.max ADi BHE td(BCLK-ALE) 30ns.max th(RD-AD) th(BCLK-ALE) -4ns.min 0ns.min ALE th(BCLK-RD) 0ns.min td(BCLK-RD) 30ns.max RD tac2(RD-DB) (2.5 ✕ tcyc-60)ns.max DBi Hi-Z tSU(DB-RD) 50ns.min th(RD-DB) 0ns.min Write timing tcyc BCLK td(BCLK-CS) 30ns.max th(BCLK-CS) td(BCLK-AD) 30ns.max th(BCLK-AD) 4ns.min CSi 4ns.min ADi BHE td(BCLK-ALE) 30ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min th(BCLK-ALE) -4ns.min ALE td(BCLK-WR) 30ns.max th(BCLK-WR) 0ns.min WR, WRL WRH td(BCLK-DB) 40ns.max DBi Hi-Z td(DB-WR) (1.5 ✕ tcyc-40)ns.min tcyc = th(BCLK-DB) 4ns.min 1 f(BCLK) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.16 Timing Diagram (5) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 63 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min VCC = 3.3 V Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 3.3 V Memory Expansion Mode and Microprocessor Mode (For 3-wait setting and external area access) Read timing tcyc BCLK th(BCLK-CS) 4ns.min td(BCLK-CS) 30ns.max CSi th(BCLK-AD) td(BCLK-AD) 30ns.max 4ns.min ADi BHE td(BCLK-ALE) th(RD-AD) 0ns.min th(BCLK-ALE) 30ns.max -4ns.min ALE th(BCLK-RD) td(BCLK-RD) 30ns.max 0ns.min RD tac2(RD-DB) (3.5 ✕ tcyc-60)ns.max DBi Hi-Z tSU(DB-RD) th(RD-DB) 50ns.min 0ns.min Write timing tcyc BCLK td(BCLK-CS) 30ns.max th(BCLK-CS) 4ns.min td(BCLK-AD) th(BCLK-AD) 4ns.min CSi 30ns.max ADi BHE td(BCLK-ALE) 30ns.max th(WR-AD) (0.5 ✕ tcyc-10)ns.min th(BCLK-ALE) -4ns.min ALE td(BCLK-WR) 30ns.max th(BCLK-WR) 0ns.min WR, WRL WRH DBi td(BCLK-DB) th(BCLK-DB) 40ns.max 4ns.min Hi-Z td(DB-WR) (2.5 ✕ tcyc-40)ns.min 1 tcyc = f(BCLK) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.17 Timing Diagram (6) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 64 of 67 th(WR-DB) (0.5 ✕ tcyc-10)ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics VCC = 3.3 V Memory Expansion Mode and Microprocessor Mode (For 2-wait setting, external area access and multiplexed bus selection) Read timing BCLK td(BCLK-CS) th(RD-CS) (0.5 ✕ tcyc-10)ns.min tcyc 40ns.max th(BCLK-CS) 4ns.min CSi td(AD-ALE) (0.5 ✕ tcyc-40)ns.min ADi /DBi Address th(ALE-AD) (0.5 ✕ tcyc-15)ns.min 8ns.max Address Data input tdZ(RD-AD) tac3(RD-DB) (1.5 ✕ tcyc-60)ns.max tSU(DB-RD) th(RD-DB) 0ns.min 50ns.min td(AD-RD) 0ns.min td(BCLK-AD) th(BCLK-AD) 4ns.min 40ns.max ADi BHE td(BCLK-ALE) th(BCLK-ALE) 40ns.max th(RD-AD) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE td(BCLK-RD) th(BCLK-RD) 0ns.min 40ns.max RD Write timing BCLK td(BCLK-CS) th(BCLK-CS) th(WR-CS) (0.5 ✕ tcyc-10)ns.min tcyc 40ns.max 4ns.min CSi th(BCLK-DB) td(BCLK-DB) 4ns.min 50ns.max ADi /DBi Address Data output td(DB-WR) td(AD-ALE) (1.5 ✕ tcyc-50)ns.min (0.5 ✕ tcyc-40)ns.min Address th(WR-DB) (0.5 ✕ tcyc-10)ns.min td(BCLK-AD) th(BCLK-AD) 40ns.max 4ns.min ADi BHE td(BCLK-ALE) 40ns.max th(BCLK-ALE) td(AD-WR) -4ns.min 0ns.min th(WR-AD) (0.5 ✕ tcyc-10)ns.min ALE td(BCLK-WR) 40ns.max WR,WRL, WRH tcyc = 1 f(BCLK) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.18 Timing Diagram (7) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 65 of 67 th(BCLK-WR) 0ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) 5. Electric Characteristics Memory Expansion Mode and Microprocessor Mode VCC = 3.3 V (For 3-wait setting, external area access and multiplexed bus selection) Read timing tcyc BCLK th(RD-CS) (0.5 ✕ tcyc-10)ns.min td(BCLK-CS) th(BCLK-CS) 6ns.min 40ns.max CSi td(AD-ALE) (0.5 ✕ tcyc-40)ns.min ADi /DBi th(ALE-AD) (0.5 ✕ tcyc-15)ns.min Address td(BCLK-AD) td(AD-RD) 40ns.max ADi BHE Data input tdZ(RD-AD) 8ns.max th(RD-DB) tac3(RD-DB) (2.5 ✕ tcyc-60)ns.max 0ns.min tSU(DB-RD) 0ns.min th(BCLK-AD) 50ns.min 4ns.min (no multiplex) td(BCLK-ALE) 40ns.max th(RD-AD) th(BCLK-ALE) (0.5 ✕ tcyc-10)ns.min -4ns.min ALE th(BCLK-RD) td(BCLK-RD) 0ns.min 40ns.max RD Write timing tcyc BCLK th(WR-CS) (0.5 ✕ tcyc-10)ns.min td(BCLK-CS) 40ns.max th(BCLK-CS) 4ns.min CSi th(BCLK-DB) td(BCLK-DB) 50ns.max ADi /DBi 4ns.min Address Data output td(AD-ALE) td(DB-WR) (0.5 ✕ tcyc-40)ns.min (2.5 ✕ tcyc-50)ns.min th(WR-DB) (0.5 ✕ tcyc-10)ns.min td(BCLK-AD) th(BCLK-AD) 40ns.max 4ns.min ADi BHE (no multiplex) td(BCLK-ALE) 40ns.max th(BCLK-ALE) th(WR-AD) -4ns.min td(AD-WR) ALE td(BCLK-WR) 40ns.max WR, WRL WRH tcyc = (0.5 ✕ tcyc-10)ns.min 0ns.min 1 f(BCLK) Measuring conditions : VCC = 3.3 V Input timing voltage : VIL = 0.6 V, VIH = 2.7 V Output timing voltage : VOL = 1.65 V, VOH = 1.65 V Figure 5.19 Timing Diagram (8) Rev.2.10 Aug 25, 2006 REJ03B0061-0210 page 66 of 67 th(BCLK-WR) 0ns.min Under development This document is under development and its contents are subject to change. M16C/6N Group (M16C/6NL, M16C/6NN) Appendix 1. Package Dimensions 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 51 75 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. 50 76 bp c1 Reference Symbol c E *2 HE b1 D E A2 HD HE A A1 bp b1 c c1 100 26 1 ZE Terminal cross section 25 Index mark ZD y *3 e A1 c A A2 F bp e x y ZD ZE L L1 L x L1 Detail F JEITA Package Code P-LQFP128-14x20-0.50 RENESAS Code PLQP0128KB-A Previous Code 128P6Q-A Dimension in Millimeters 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 MASS[Typ.] 0.9g HD *1 D 102 65 103 64 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. bp E c *2 HE c1 b1 Reference Symbol ZE Terminal cross section 128 39 38 A Index mark c ZD A2 1 A1 F L e Rev.2.10 Aug 25, 2006 REJ03B0061-0210 y page 67 of 67 *3 bp D E A2 HD HE A A1 bp b1 c c1 L1 x DetailF e x y ZD ZE L L1 Dimension in Millimeters Min Nom Max 19.9 20.0 20.1 13.9 14.0 14.1 1.4 21.8 22.0 22.2 15.8 16.0 16.2 1.7 0.05 0.125 0.2 0.17 0.22 0.27 0.20 0.09 0.145 0.20 0.125 0° 8° 0.5 0.10 0.10 0.75 0.75 0.35 0.5 0.65 1.0 REVISION HISTORY Rev. Date M16C/6N Group (M16C/6NL, M16C/6NN) Data Sheet Description Page Summary 1.00 Jul. 20, 2004 – First edition issued 1.01 Nov. 01, 2004 – Revised edition issued * Revised parts and revised contents are as follows (except for expressional change). 26 Table 5.2 Recommended Operating Conditions (1) • IOH(peak): Unit is revised from “V” to “mA”. 27 Table 5.3 Recommended Operating Conditions (2) 28 Table 5.4 IIH, IIL: “P3_3” is revised to “P3_7” in Parameter. 31 Table 5.9: VCC = 3.0 ± 0.3 V” is revised to “VCC = 3.3 ± 0.3 V” in Flash Program, Erase – Revised edition issued • NOTE 3: “VCC = 3.0 ± 0.3 V” is revised to “VCC = 3.3 ± 0.3 V”. Voltage. 1.02 Jul. 01, 2005 * Revised parts and revised contents are as follows (except for expressional change). 5 Table 1.3 Product List is revised. 13 FIgure 4.1 SFR Information (1): The value of After Reset in CM2 Register is revised. 19 Figure 4.7 SFR Information (7): NOTE 1 is revised. 28 Table 5.4 Electrical Characteristics (1) • Measuring Condition of VOL is revised from “LOL = –200µA” to “LOL = 200µA”. 29 Table 5.5 Electrical Characteristics (2): Mask ROM (5th item) 30 Table 5.6 A/D Conversion Characteristics: “Tolerance Level Impedance” is deleted. – Revised edition issued • “f(XCIN)” is changed to “(f(BCLK)). 2.10 Aug.25, 2006 * Memory expansion and microprocessor modes are added. * Revised parts and revised contents are as follows (except for expressional change). 2 Table 1.1 Fuictions and Specifications for M16C/6N Group (100-pin version) 3 Table 1.2 Fuictions and Specifications for M16C/6N Group (128-pin version) • Operating Mode is revised. • Operating Mode is revised. 5 Table 1.3 Product Information • Status of development is revised and NOTES 1 and 2 are added. 6 7, 8 9 Figure 1.3 Pin Assignments (1): Bus control pins are added. Tables 1.4 and 1.5 List of Pin Names for 100-pin package (1)(2) are added. Figure 1.4 Pin Assignments (2): Bus control pins are added. 10 to 12 Tables 1.6 to 1.8 List of Pin Names for 128-pin package (1)(2)(3) are added. 13 to 15 Tables 1.9 to 1.11 Pin Functions (1)(2)(3) are revised. 18 3. Memory: Last sentence (In memory expansion ...) is added. Figure 3.1 Memory Map: NOTES 1 and 2 are added. 19 Table 4.1 SFR Information (1) • Value of After Reset in PM0 is revised. • CSR Register is added to 0008h. • CSE Register is added to 001Bh. • NOTE 1 is added. A-1 REVISION HISTORY Rev. Date 2.10 Aug.25, 2006 M16C/6N Group (M16C/6NL, M16C/6NN) Data Sheet Description Page 26 Summary Table 4.8 SFR Information (8) • The value of After Reset in IDB0 register is revised. • The value of After Reset in IDB1 register is revised. 30 Table 4.12 SFR Information (12) • Value of After Reset in PUR1 is revised. • NOTE 1 is added. 32 Table 5.2 Recommended Operating Conditions (1) is partly revised. 33 Table 5.3 Recommended Operating Conditions (2) • Power supply ripple is deleted. (three items) Figure 5.1 Voltage Fluctuation Timing is deleted. 34 Table 5.4 Electrical Characteristics (1) __________ ________ • HOLD and RDY are added to Hysteresis. • Hysteresis XIN is deleted. 37 38 41 to 43 Table 5.8 Flash Memory Version Electrical Characteristics is revised. Table 5.12 Memory Expansion Mode and Microprocessor Mode is added. Switching Characteristics are added. 45 to 51 Figures 5.4 to 5.10 Timing Diagram (2) to (8) are added. 52 to 66 Characteristics of 3.3 V are added. A-2 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. Notes regarding these materials 1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party. 2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor home page (http://www.renesas.com). 4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. 6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials. 7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. 8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein. http://www.renesas.com 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-7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, 1 Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2730-6071 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999 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 Renesas Technology Malaysia Sdn. Bhd Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jalan Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510 © 2006. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .6.0