0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
M30304GEP-XXXFP

M30304GEP-XXXFP

  • 厂商:

    RENESAS(瑞萨)

  • 封装:

  • 描述:

    M30304GEP-XXXFP - SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER - Renesas Technology Corp

  • 数据手册
  • 价格&库存
M30304GEP-XXXFP 数据手册
M16C/30P Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER REJ03B0088-0122 Rev.1.22 Mar 30, 2007 1. Overview The M16C/30P Group of single-chip microcomputers is built using the high-performance silicon gate CMOS process using a M16C/60 Series CPU core and is packaged in a 100-pin plastic molded QFP. These single-chip microcomputers 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. In addition, these microcomputers contain a multiplier and DMAC which combined with fast instruction processing capability, make it suitable for control of various OA, communication, and industrial equipment which requires high-speed arithmetic/ logic operations. 1.1 Applications Audio, cameras, TV, home appliance, office/communications/portable/industrial equipment, etc. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 1 of 53 M16C/30P Group 1. Overview 1.2 Performance Outline Table 1.1 lists Performance Outline of M16C/30P Group. Table 1.1 CPU Performance Outline of M16C/30P Group Item Performance Number of Basic Instructions 91 instructions Minimum Instruction 62.5ns(f(XIN)=16MHz, VCC1=VCC2=3.0 to 5.5V, no wait) Execution Time 100ns(f(XIN)=10MHz, VCC1=VCC2=2.7 to 5.5V, no wait) Operation Mode Single-chip, memory expansion and microprocessor mode Memory Space 1 Mbyte Memory Capacity See Table 1.2 Product List Peripheral Port Input/Output : 87 pins, Input : 1 pin Function Multifunction Timer Timer A : 16 bits x 3 channels, Timer B : 16 bits x 3 channels Serial Interface 1 channels Clock synchronous, UART, I2CBus(1), IEBus(2) 2 channels Clock synchronous, UART, I2CBus(1) A/D Converter 10-bit A/D converter: 1 circuit, 18 channels DMAC 2 channels CRC Calculation Circuit CCITT-CRC Watchdog Timer 15 bits x 1 channel (with prescaler) Interrupt Internal: 20 sources, External: 7 sources, Software: 4 sources, Priority level: 7 levels Clock Generating Circuit 2 circuits Main clock generation circuit (*), Subclock generation circuit (*), (*)Equipped with a built-in feedback resistor. Electric Supply Voltage VCC1=VCC2=3.0 to 5.5 V (f(XIN)=16MHz) Characteristics VCC1=VCC2=2.7 to 5.5 V (f(XIN)=10MHz, no wait) Power Consumption 10 mA (VCC1=VCC2=5V, f(XIN)=16MHz) 8 mA (VCC1=VCC2=3V, f(XIN)=10MHz) 1.8 μA (VCC1=VCC2=3V, f(XCIN)=32kHz, wait mode) 0.7 μA(VCC1=VCC2=3V, stop mode) One time flash Program Supply Voltage 3.3±0.3 V or 5.0±0.5 V version Flash memory Program/Erase Supply 3.3±0.3 V or 5.0±0.5 V version Voltage Program and Erase 100 times (all area) Endurance Operating Ambient Temperature -20 to 85°C, -40 to 85°C Package 100-pin plastic mold QFP, LQFP NOTES: 1. I2C bus is a registered trademark of Koninklijke Philips Electronics N. V. 2. IEBus is a registered trademark of NEC Electronics Corporation. 3. Use the M16C/30P on VCC1 = VCC2. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 2 of 53 M16C/30P Group 1. Overview 1.3 Block Diagram Figure 1.1 is a M16C/30P Group Block Diagram. 8 8 8 8 8 8 8 Port P0 Port P1 Port P2 Port P3 Port P4 Port P5 Port P6 Port P7 8 Internal peripheral functions A/D converter Timer (16-bit) Output (timer A): 3 Input (timer B): 3 (10 bits X 18 channels) UART or clock synchronous serial I/O System clock generation circuit XIN-XOUT XCIN-XCOUT Port P8 7 (3 channels) Port P8_5 CRC arithmetic circuit (CCITT ) (Polynomial : X16+X12+X5+1) M16C/60 series16-bit CPU core Watchdog timer (15 bits) R0H R1H R2 R3 A0 A1 FB R0L R1L SB USP ISP INTB PC FLG Memory Port P9 ROM (1) RAM (2) 8 DMAC (2 channels) Port P10 8 Multiplier NOTES : 1. ROM size depends on microcomputer type. 2. RAM size depends on microcomputer type. Figure 1.1 M16C/30P Group Block Diagram Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 3 of 53 M16C/30P Group 1. Overview 1.4 Product List Table 1.2 lists the M16C/30P group products and Figure 1.2 shows the Part No., Memory Size, and Package. Table 1.4 lists Product Code of MASK ROM version for M16C/30P. Figure 1.3 shows the Marking Diagram of Mask ROM Version for M16C/30P (Top View). Table 1.5 lists Product Code of One Time Flash version, Flash Memory version, and ROM-less version for M16C/30P. Figure 1.4 shows the Marking Diagram of One Time Flash version, Flash Memory version, and ROM-less Version for M16C/30P (Top View). Please specify the marking for M16C30P (MASK ROM version) when placing an order for ROM. Table 1.2 Product List (1) ROM Capacity 96 Kbytes 128 Kbytes 160 Kbytes 192 Kbytes 96 Kbytes (D) 128 Kbytes (D) 160 Kbytes (D) (D) (D) 192 Kbytes (D) (D) (D) (D) (D) (D) 128 Kbytes (D) 160 Kbytes (D) (D) (D) 192 Kbytes (D) (D) (D) (D) (D) 6 Kbytes 12 Kbytes 6 Kbytes 12 Kbytes 256 Kbytes 12 Kbytes 6 Kbytes 12 Kbytes 6 Kbytes 12 Kbytes 256 Kbytes 96 Kbytes 12 Kbytes 5 Kbytes 5 Kbytes 6 Kbytes RAM Capacity 5 Kbytes package code PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A (1) As of March 2007 Remarks Mask ROM version Part No. M30302MAP-XXXFP M30302MAP-XXXGP M30302MCP-XXXFP M30302MCP-XXXGP M30302MDP-XXXFP M30302MDP-XXXGP M30302MEP-XXXFP M30302MEP-XXXGP M30302GAPFP M30302GAPGP M30302GCPFP M30302GCPGP M30302GDPFP M30302GDPGP M30304GDPFP M30304GDPGP M30302GEPFP M30302GEPGP M30304GEPFP M30304GEPGP M30302GGPFP M30302GGPGP M30302GAP-XXXFP M30302GAPvGP M30302GCP-XXXFP M30302GCP-XXXGP M30302GDP-XXXFP M30302GDP-XXXGP M30304GDP-XXXFP M30304GDP-XXXGP M30302GEP-XXXFP M30302GEP-XXXGP M30304GEP-XXXFP M30304GEP-XXXGP M30302GGP-XXXFP M30302GGP-XXXGP One Time Flash version (blank product) One Time Flash version (factory programmed product) (D): Under development (P): Under planning NOTES: 1. Previous package codes are as follows. PRQP0100JB-A : 100P6S-A, PLQP0100KB-A : 100P6Q-A 2. Block A (4-Kbytes space) is available in flash memory version. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 4 of 53 M16C/30P Group Table 1.3 Product List (2) ROM Capacity 96 K + 4 Kbytes 128 K + 4 Kbytes 192 K + 4 Kbytes 6 Kbytes 6 Kbytes RAM Capacity 5 Kbytes package code (1) PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A PRQP0100JB-A PLQP0100KB-A 1. Overview As of March 2007 Remarks Flash memory version(2) Part No. M30302FAPFP M30302FAPGP M30302FCPFP M30302FCPGP M30302FEPFP M30302FEPGP M30302SPFP M30302SPGP ROM-less version (D): Under development (P): Under planning NOTES: 1. Previous package codes are as follows. PRQP0100JB-A : 100P6S-A, PLQP0100KB-A : 100P6Q-A 2. Block A (4-Kbytes space) is available in flash memory version. Part No. M3030 2 M E P- XXX HP Package type: FP : Package PRQP0100JB-A (100P6S-A) GP : Package PLQP0100KB-A (100P6Q-A) ROM No. M16C/30P Group ROM A C D E G capacity: : 96 Kbytes : 128 Kbytes : 160 Kbytes : 192 Kbytes : 256 Kbytes Memory type: M : Mask ROM version G : One Time Flash version F : Flash Memory version S : ROM-less version Shows RAM capacity, pin count, etc (The value itself has no specific meaning) M16C/30 Series M16C Family Figure 1.2 Part No., Memory Size, and Package Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 5 of 53 M16C/30P Group 1. Overview Table 1.4 Product Code U1 U4 Product Code of MASK ROM version for M16C/30P Package Lead-free Operating Ambient Temperature -20°C to 85°C -40°C to 85°C PRQP0100JB-A (100P6S-A) 1. Standard Renesas Mark M1 6C M3 0 3 0 2 M D P - X X X F P A U1 XXXXXXX Part No. (See Figure 1.2 Part No., Memory Size, and Package ) Chip version, product code and date code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U1 : Shows Product code. (See table 1.3 Product Code) XXXXXXX : Seven digits 2. Customer’s Parts Number + Renesas catalog name M3 0 3 0 2 M D P - X X X F P A U1 M1 6 C X X X X X X X Part No. (See Figure 1.2 Part No., Memory Size, and Package ) Chip version and product code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U1 : Shows Product code. (See table 1.3 Product Code ) Date code seven digits PLQP0100KB-A (100P6Q-A) 1. Standard Renesas Mark M1 6C M 3 0 3 0 2 MD P - X X XGP A U 1 XXXXXXX Part No. (See Figure 1.2 Part No., Memory Size, and Package) Chip version, product code and date code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U1 : Shows Product code. (See table 1.3 Product Code) XXXXXXX : Seven digits 2. Customer’s Parts Number + Renesas catalog name M 3 0 3 0 2 MD P A U1 - X X XGP M1 6 C XXXXXXX Part No. (See Figure 1.2 Part No., Memory Size, and Package ) Chip version and product code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U1 : Shows Product code. (See table 1.3 Product Code ) Date code seven digits NOTES: 1. Refer to the mark specification form for details of the Mask ROM version marking. Figure 1.3 Marking Diagram of Mask ROM Version for M16C/30P (Top View) Page 6 of 53 Rev.1.22 Mar 30, 2007 REJ03B0088-0122 M16C/30P Group 1. Overview Table 1.5 Product Code of One Time Flash version, Flash Memory version, and ROM-less version for M16C/30P Internal ROM Product Code One Time Flash version Flash Memory version ROM-less version U3 U5 U3 U5 U3 U5 Package Program and Erase Endurance 0 100 − Temperature Range 0°C to 60°C 0°C to 60°C − Operating Ambient Temperature -40°C to 85°C -20°C to 85°C -40°C to 85°C -20°C to 85°C -40°C to 85°C -20°C to 85°C Leadfree Leadfree Leadfree NOTES:The one time flash version can be written once only. PRQP0100JB-A (100P6S-A) M1 M3 03 0 2SP A XXXXX 6 F U X C P 3 X Part No. (See Figure 1.2 Part No., Memory Size, and Package ) Chip version and product code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U3 : Shows Product code. (See table 1.3 Product Code ) Date code seven digits PLQP0100KB-A (100P6Q-A) M1 6C M 3 0 3 0 2 S PGP A U3 XXXXXXX Part No. (See Figure 1.2 Part No., Memory Size, and Package ) Chip version and product code A : Shows chip version. Henceforth, whenever it changes a version, it continues with A, B, and C. U3 : Shows Product code. (See table 1.3 Product Code) Date code seven digits The product without marking of chip version of One Time Flash version, Flash Memory version, and the ROMless version corresponds to the chip version “A”. Figure 1.4 Marking Diagram of One Time Flash version, Flash Memory version, and ROM-less Version for M16C/30P (Top View) Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 7 of 53 M16C/30P Group 1. Overview 1.5 Pin Configuration Figures 1.5 to 1.6 show the pin configurations (top view). PIN CONFIGURATION (top view) P1_0/D8 P1_1/D9 P1_2/D10 P1_3/D11 P1_4/D12 P1_5/D13/INT3 P1_6/D14/INT4 P1_7/D15 P2_0/A0 P2_1/A1 P2_2/A2 P2_3/A3 P2_4/A4 P2_5/A5 P2_6/A6 P2_7/A7 VSS P3_0/A8 VCC2 P3_1/A9 P3_2/A10 P3_3/A11 P3_4/A12 P3_5/A13 P3_6/A14 P3_7/A15 P4_0/A16 P4_1/A17 P4_2/A18 P4_3/A19 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 M16C/30P Group 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 NOTES: 1. P7_0 and P7_1 are N channel open-drain output pins. 2. Use the M16C/30P on VCC1=VCC2. Figure 1.5 Pin Configuration (Top View) Rev.1.22 Mar 30, 2007 REJ03B0088-0122 P9_6/ANEX1 P9_5/ANEX0 P9_4 P9_3 P9_2/TB2IN P9_1/TB1IN P9_0/TB0IN BYTE CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI P8_4/INT2 P8_3/INT1 P8_2/INT0 P8_1 P8_0 P7_7 P7_6 P7_5/TA2IN P7_4/TA2OUT P7_3/CTS2/RTS2/TA1IN P7_2/CLK2/TA1OUT P7_1/RXD2/SCL2/TA0IN (1) P7_0/TXD2/SDA2/TA0OUT (1) Package : PRQP0100JB-A (100P6S-A) Page 8 of 53 M16C/30P Group 1. Overview PIN CONFIGURATION (top view) P1_3/D11 P1_4/D12 P1_5/D13/INT3 P1_6/D14/INT4 P1_7/D15 P2_0/A0 P2_1/A1 P2_2/A2 P2_3/A3 P2_4/A4 P2_5/A5 P2_6/A6 P2_7/A7 VSS P3_0/A8 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 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_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 P9_6/ANEX1 P9_5/ANEX0 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 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 50 49 48 47 46 45 44 43 42 41 40 M16C/30P Group 39 38 37 36 35 34 33 32 31 30 29 28 27 26 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/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(1) P7_1/RXD2/SCL2/TA0IN(1) P7_2/CLK2/TA1OUT NOTES: 1. P7_0 and P7_1 are N channel open-drain output pins. 2. Use the M16C/30P on VCC1=VCC2. Figure 1.6 Pin Configuration (Top View) Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 9 of 53 P9_4 P9_3 P9_2/TB2IN P9_1/TB1IN P9_0/TB0IN BYTE CNVSS P8_7/XCIN P8_6/XCOUT RESET XOUT VSS XIN VCC1 P8_5/NMI P8_4/INT2 P8_3/INT1 P8_2/INT0 P8_1 P8_0 P7_7 P7_6 P7_5/TA2IN P7_4/TA2OUT P7_3/CTS2/RTS2/TA1IN Package : PLQP0100KB-A (100P6Q-A) M16C/30P Group 1. Overview Table 1.6 Pin No. FP GP 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 99 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Pin Characteristics (1) Control Pin Port P9_6 P9_5 P9_4 P9_3 P9_2 P9_1 P9_0 BYTE CNVSS XCIN XCOUT RESET XOUT VSS XIN VCC1 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 TA2IN TA2OUT TA1IN TA1OUT TA0IN TA0OUT 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 NMI INT2 INT1 INT0 P8_7 P8_6 TB2IN TB1IN TB0IN Interrupt Pin Timer Pin UART Pin Analog Pin ANEX1 ANEX0 Bus Control Pin Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 10 of 53 M16C/30P Group 1. Overview Table 1.7 Pin Characteristics (2) Port P4_3 P4_2 P4_1 P4_0 P3_7 P3_6 P3_5 P3_4 P3_3 P3_2 P3_1 P3_0 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 P10_0 KI3 KI2 KI1 KI0 AN0_7 AN0_6 AN0_5 AN0_4 AN0_3 AN0_2 AN0_1 AN0_0 AN7 AN6 AN5 AN4 AN3 AN2 AN1 AN0 INT4 INT3 Pin No. Control Pin FP GP 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 49 50 51 52 53 54 55 56 57 58 59 60 VCC2 61 62 VSS 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 AVSS 95 96 VREF 97 AVCC 98 Interrupt Pin Timer Pin UART Pin Analog Pin Bus Control Pin A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 P9_7 ADTRG Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 11 of 53 M16C/30P Group 1. Overview 1.6 Pin Description Pin Description (1) Pin Name VCC1, VCC2 VSS AVCC AVSS RESET CNVSS I/O Type Description I Apply 2.7 to 5.5 V to the VCC1 and VCC2 pins and 0 V to the VSS pin. The VCC apply condition is that VCC1 = VCC2. I Applies the power supply for the A/D converter. Connect the AVCC pin to VCC1. Connect the AVSS pin to VSS. I The microcomputer is in a reset state when applying “L” to the this pin. I 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. I Switches the data bus in external memory space. The data bus is 16 bits long when the this pin is held "L" and 8 bits long when the this pin is held "H". Set it to either one. Connect this pin to VSS when an single-chip mode. I/O Inputs and outputs data (D0 to D7) when these pins are set as the separate bus. I/O Inputs and outputs data (D8 to D15) when external 16-bit data bus is set as the separate bus. O Output address bits (A0 to A19). O O 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 microcomputer 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 microcomputer is placed in a wait state. Table 1.8 Signal Name Power supply input Analog power supply input Reset input CNVSS External data bus width select input BYTE Bus control pins D0 to D7 D8 to D15 A0 to A19 CS0 to CS3 WRL/WR WRH/BHE RD ALE HOLD HLDA RDY I : Input O : Output O I O I I/O : Input and output Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 12 of 53 M16C/30P Group 1. Overview Table 1.9 Signal Name Main clock input Main clock output Sub clock input Sub clock output Clock output INT interrupt input NMI interrupt input Key input interrupt input Timer A Pin Description (2) Pin Name XIN XOUT XCIN XCOUT CLKOUT INT0 to INT4 NMI KI0 to KI3 TA0OUT to TA2OUT TA0IN to TA2IN TB0IN to TB2IN CTS0 to CTS2 RTS0 to RTS2 CLK0 to CLK2 RXD0 to RXD2 TXD0 to TXD2 CLKS1 SDA0 to SDA2 SCL0 to SCL2 I/O Type I O I O O I I I I/O I I I O I/O I O O I/O I/O I I I I/O I I/O Description I/O pins for the main clock generation circuit. Connect a ceramic 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. To use the external clock, input the clock from XCIN and leave XCOUT open. The clock of the same cycle as fC, f8, or f32 is outputted. Input pins for the INT interrupt. Input pin for the NMI interrupt. Input pins for the key input interrupt. These are timer A0 to timer A2 I/O pins. (however, the output of TA0OUT for the N-channel open drain output.) These are timer A0 to timer A2 input pins. These are timer B0 to timer B2 input pins. These are send 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 output pins. (however, TXD2 for the N-channel open drain output.) This is output pin for transfer clock output from multiple pins function. These are serial data I/O pins. (however, SDA2 for the N-channel open drain output.) 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. Analog input pins for the A/D converter. 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. 8-bit I/O ports in CMOS, having a direction register to select an input or output. Each pin is set as an input port or output port. An input port can be set for a pull-up or for no pull-up in 4-bit unit by program. (however, P7_0 and P7_1 for the N-channel open drain output.) Timer B Serial interface I2C mode Reference voltage input A/D converter VREF AN0 to AN7, AN0_0 to AN0_7 ADTRG ANEX0 ANEX1 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, P9_0 to P9_7, P10_0 to P10_7 P8_0 to P8_4, P8_6, P8_7 P8_5 I/O port I/O I I/O ports having equivalent functions to P0. Input pin for the NMI interrupt. Pin states can be read by the P8_5 bit in the P8 register. Input port I : Input O : Output I/O : Input and output Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 13 of 53 M16C/30P Group 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 comprise a register bank. There are two register banks. b31 b15 b8 b7 b0 R2 R3 R0H R1H R2 R3 A0 A1 FB R0L R1L Data Registers (1) Address Registers (1) Frame Base Registers (1) b0 b19 b15 INTBH INTBL Interrupt Table Register b19 b0 PC b15 b0 Program Counter USP ISP SB b15 b0 User Stack Pointer Interrupt Stack Pointer Static Base Register FLG b15 b8 b7 b0 Flag Register IPL UI OB S Z DC 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 NOTES: 1. These registers comprise a register bank. There are two register banks. Figure 2.1 Central Processing Unit Register 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 the same as R2R0. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 14 of 53 M16C/30P Group 2. Central Processing Unit (CPU) 2.2 Address Registers (A0 and A1) The register A0 consists of 16 bits, and is used for address register indirect addressing and address register relative addressing. They also are used for transfers and logic/logic operations. A1 is the same as A0. In some instructions, registers A1 and A0 can be combined for use as a 32-bit address register (A1A0). 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) and 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) The D flag is used exclusively for debugging purpose. During normal use, it must be 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 cleared to “0” when the interrupt request is accepted. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 15 of 53 M16C/30P Group 2. Central Processing Unit (CPU) 2.8.8 Stack Pointer Select Flag (U Flag) ISP is selected when the U flag is “0”; USP is selected when the U flag is “1”. The U flag is cleared 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 is enabled. 2.8.10 Reserved Area When write to this bit, write “0”. When read, its content is indeterminate. Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 16 of 53 M16C/30P Group 3. Memory 3. Memory Figure 3.1 is a Memory Map of the M16C/30P group. 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 64-Kbyte internal ROM is allocated to the addresses from F0000h to FFFFFh. 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 5-Kbyte internal RAM is allocated to the addresses from 00400h to 017FFh. In addition to storing data, the internal RAM also stores the stack used when calling subroutines and when interrupts are generated. The SFR is 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 used by users. 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 the M16C/60 and M16C/20 Series Software Manual. 00000h SFR 00400h Internal RAM XXXXXh Reserved area 0F000h Internal ROM (data area) (3, 4) 0FFFFh 10000h External area 27000h Reserved area Internal RAM Size 5 Kbytes 6 Kbytes 12 Kbytes Address XXXXXh 017FFh 01BFFh 033FFh Size 96 Kbytes 128 Kbytes 160 Kbytes 192 Kbytes 256 Kbytes Internal ROM (5) (1) FFE00h Special page vector table FFFDCh 28000h External area D0000h Reserved area (2, 4) YYYYYh Internal ROM (program area) (5) FFFFFh FFFFFh Undefined instruction Overflow BRK instruction Address match Single step Watchdog timer DBC NMI Reset Address YYYYYh E8000h E0000h D8000h D0000h C0000h(6) NOTES: 1. During memory expansion and microprocessor modes, can be used. 2. In memory expansion mode, can be used. 3. As for the flash memory version, 4-Kbyte space (block A) exists. 4. Shown here is a memory map for the case where the PM10 bit in the PM1 register is “1” . 5. When using the masked ROM version, write nothing to internal ROM area. 6. When the PM13 bit is set to "0", the address of Internal ROM becomes D0000h, and when the PM13 bit is set to "1", the address becomes C0000h. Figure 3.1 Memory Map Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 17 of 53 M16C/30P Group 4. Special Function Register (SFR) 4. Special Function Register (SFR) SFR(Special Function Register) is the control register of peripheral functions. Tables 4.1 to 4.5 list the SFR information. Table 4.1 Address 0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h 0009h 000Ah 000Bh 000Ch 000Dh 000Eh 000Fh 0010h 0011h 0012h 0013h 0014h 0015h 0016h 0017h 0018h 0019h 001Ah 001Bh 001Ch 001Dh 001Eh 001Fh 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 SFR Information (1) (1) Register Symbol After Reset Processor Mode Register 0 (2) 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 PM0 PM1 CM0 CM1 CSR AIER PRCR 00000000b(CNVSS pin is “L”) 00000011b(CNVSS pin is “H”) 00XXX0X0b 01001000b 00100000b 00000001b XXXXXX00b XX000000b Watchdog Timer Start Register Watchdog Timer Control Register Address Match Interrupt Register 0 WDTS WDC RMAD0 XXh 00XXXXXXb 00h 00h X0h 00h 00h X0h Address Match Interrupt Register 1 RMAD1 DMA0 Source Pointer SAR0 XXh XXh XXh XXh XXh XXh XXh XXh DMA0 Destination Pointer DAR0 DMA0 Transfer Counter TCR0 DMA0 Control Register DM0CON 00000X00b DMA1 Source Pointer SAR1 XXh XXh XXh XXh XXh XXh XXh XXh DMA1 Destination Pointer DAR1 DMA1 Transfer Counter TCR1 DMA1 Control Register DM1CON 00000X00b NOTES: 1. The blank areas are reserved and cannot be accessed by users. 2. The PM00 and PM01 bits do not change at software reset. X : Nothing is mapped to this bit Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 18 of 53 M16C/30P Group Table 4.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 to 01AFh 01B0h 01B1h 01B2h 01B3h 01B4h 01B5h 01B6h 01B7h 01B8h 01B9h 01BAh 01BBh 01BCh 01BDh 01BEh 01BFh 01C0h to 024Fh 0250h 0251h 0252h 0253h 0254h 0255h 0256h 0257h 0258h 0259h 025Ah 025Bh 025Ch 025Dh 025Eh 025Fh 0260h to 033Fh 4. Special Function Register (SFR) SFR Information (2) (1) Register Symbol After Reset INT3 Interrupt Control Register UART1 BUS Collision Detection Interrupt Control Register UART0 BUS Collision Detection Interrupt Control Register INT4 Interrupt Control Register UART2 Bus Collision Detection Interrupt Control Register DMA0 Interrupt Control Register DMA1 Interrupt Control Register Key Input Interrupt Control Register A/D Conversion Interrupt Control Register UART2 Transmit Interrupt Control Register 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 INT3IC U1BCNIC U0BCNIC INT4IC BCNIC DM0IC DM1IC KUPIC ADIC S2TIC S2RIC S0TIC S0RIC S1TIC S1RIC TA0IC TA1IC TA2IC XX00X000b XXXXX000b XXXXX000b XX00X000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b Timer B0 Interrupt Control Register Timer B1 Interrupt Control Register Timer B2 Interrupt Control Register INT0 Interrupt Control Register INT1 Interrupt Control Register INT2 Interrupt Control Register TB0IC TB1IC TB2IC INT0IC INT1IC INT2IC XXXXX000b XXXXX000b XXXXX000b XX00X000b XX00X000b XX00X000b Flash Memory Control Register 1 (2) Flash Memory Control Register 0 (3) FMR1 FMR0 0X00XX0Xb 00000001b Peripheral Clock Select Register PCLKR 00000011b NOTES: 1. The blank areas are reserved and cannot be accessed by users. 2. This register is included in the flash memory version. 3. This register is included in the flash memory version and one time flash version. X : Nothing is mapped to this bit Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 19 of 53 M16C/30P Group Table 4.3 Address 0340h 0341h 0342h 0343h 0344h 0345h 0346h 0347h 0348h 0349h 034Ah 034Bh 034Ch 034Dh 034Eh 034Fh 0350h 0351h 0352h 0353h 0354h 0355h 0356h 0357h 0358h 0359h 035Ah 035Bh 035Ch 035Dh 035Eh 035Fh 0360h 0361h 0362h 0363h 0364h 0365h 0366h 0367h 0368h 0369h 036Ah 036Bh 036Ch 036Dh 036Eh 036Fh 0370h 0371h 0372h 0373h 0374h 0375h 0376h 0377h 0378h 0379h 037Ah 037Bh 037Ch 037Dh 037Eh 037Fh 4. Special Function Register (SFR) SFR Information (3) (1) Register Symbol After Reset Interrupt Factor Select Register 2 Interrupt Factor Select Register IFSR2A IFSR 00XXXXXXb 00h 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 Generator UART2 Transmit Buffer Register UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1 UART2 Receive Buffer Register U0SMR4 U0SMR3 U0SMR2 U0SMR U1SMR4 U1SMR3 U1SMR2 U1SMR U2SMR4 U2SMR3 U2SMR2 U2SMR U2MR U2BRG U2TB U2C0 U2C1 U2RB 00h 000X0X0Xb X0000000b X0000000b 00h 000X0X0Xb X0000000b X0000000b 00h 000X0X0Xb X0000000b X0000000b 00h XXh XXh XXh 00001000b 00000010b XXh XXh NOTES: 1. The blank areas are reserved and cannot be accessed by users. X : Nothing is mapped to this bit Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 20 of 53 M16C/30P Group Table 4.4 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 4. Special Function Register (SFR) SFR Information (4) (1) Register Count Start Flag Clock Prescaler Reset Fag One-Shot Start Flag Trigger Select Register Up-Down Flag Timer A0 Register Timer A1 Register Timer A2 Register Symbol TABSR CPSRF ONSF TRGSR UDF TA0 TA1 TA2 After Reset 000XX000b 0XXXXXXXb 00XXX000b XXXX0000b XX0XX000b (2) XXh XXh XXh XXh XXh XXh Timer B0 Register Timer B1 Register Timer B2 Register Timer A0 Mode Register Timer A1 Mode Register Timer A2 Mode Register TB0 TB1 TB2 TA0MR TA1MR TA2MR XXh XXh XXh XXh XXh XXh 00h 00h 00h Timer B0 Mode Register Timer B1 Mode Register Timer B2 Mode Register TB0MR TB1MR TB2MR 00XX0000b 00XX0000b 00XX0000b UART0 Transmit/Receive Mode Register UART0 Bit Rate Generator UART0 Transmit Buffer Register UART0 Transmit/Receive Control Register 0 UART0 Transmit/Receive Control Register 1 UART0 Receive Buffer Register UART1 Transmit/Receive Mode Register UART1 Bit Rate Generator UART1 Transmit Buffer Register UART1 Transmit/Receive Control Register 0 UART1 Transmit/Receive Control Register 1 UART1 Receive Buffer Register UART Transmit/Receive Control Register 2 U0MR U0BRG U0TB U0C0 U0C1 U0RB U1MR U1BRG U1TB U1C0 U1C1 U1RB UCON 00h XXh XXh XXh 00001000b 00000010b XXh XXh 00h XXh XXh XXh 00001000b 00000010b XXh XXh X0000000b DMA0 Request Factor Select Register DMA1 Request Factor Select Register CRC Data Register CRC Input Register DM0SL DM1SL CRCD CRCIN 00h 00h XXh XXh XXh NOTES: 1. The blank areas are reserved and cannot be accessed by users. 2. Bit 5 in the Up-down flag is “0” by reset. However, The values in these bits when read are indeterminate. X : Nothing is mapped to this bit Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 21 of 53 M16C/30P Group Table 4.5 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 03FDh 03FEh 03FFh 4. Special Function Register (SFR) SFR Information (5) (1) Register Symbol AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh After Reset A/D Register 0 A/D Register 1 A/D Register 2 A/D Register 3 A/D Register 4 A/D Register 5 A/D Register 6 A/D Register 7 A/D Control Register 2 A/D Control Register 0 A/D Control Register 1 ADCON2 ADCON0 ADCON1 XXX000X0b 000X0XXXb 00000XXXb Port P0 Register Port P1 Register Port P0 Direction Register Port P1 Direction Register Port P2 Register Port P3 Register Port P2 Direction Register Port P3 Direction Register Port P4 Register Port P5 Register Port P4 Direction Register Port P5 Direction Register Port P6 Register Port P7 Register Port P6 Direction Register Port P7 Direction Register Port P8 Register Port P9 Register Port P8 Direction Register Port P9 Direction Register Port P10 Register Port P10 Direction Register P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9 P10 PD10 XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00X00000b 00h XXh 00h Pull-Up Control Register 0 Pull-Up Control Register 1 Pull-Up Control Register 2 Port Control Register PUR0 PUR1 PUR2 PCR 00h 00000000b (2) 00000010b (2) 00h 00h NOTES: 1. The blank areas are reserved and cannot be accessed by users. 2. At hardware reset, the register is as follows: • “00000000b” where “L” is inputted to the CNVSS pin • “00000010b” where “H” is inputted to the CNVSS pin At software 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). X : Nothing is mapped to this bit Rev.1.22 Mar 30, 2007 REJ03B0088-0122 Page 22 of 53 M16C/30P Group 5. Electrical Characteristics 5. Electrical Characteristics Table 5.1 Symbol VCC AVCC VI Analog Supply Voltage Input Voltage RESET, CNVSS, BYTE, P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_7, P9_0 to P9_7, P10_0 to P10_7, VREF, XIN P7_0, P7_1 VO Output Voltage P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_0 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_2 to P7_7, P8_0 to P8_4, P8_6, P8_7, P9_0 to P9_7, P10_0 to P10_7, XOUT P7_0, P7_1 Pd Topr Power Dissipation Operating Ambient Temperature When the Microcomputer is Operating One Time Flash Program Erase Flash Program Erase Tstg Storage Temperature −40°C development tools BCLK -> CPU clock Table 1.1 Performance Outline of M16C/30P Group Serial interface is revised. Figure 1.2 Type., Memory Size, and Package is partly revised. Table 1.4 Pin Detection (2) is partly revised. Note 2 Table 5.3 A/D Conversion Characteristics is partly revised. Symbol of Table 5.4 Power Supply Circuit Timing Characteristics is partly revised. Table 5.5 Electrical Characteristics is revised. Table 5.19 Electrical Characteristics is revised. Table 1.1 Performance Outline of M16C/30P Group is partly revised. Table 1.2 Product List is partly revised. Figure 1.2 Type No., Memory Size, and Package is partly revised. Figure 1.3 Pin Configuration is partly revised. Figure 1.4 Pin Configuration is partly revised. Tables 1.3 to 1.4 Pin Characteristics are added. Table 1.5 Pin Description is revised. 3. Memory is partly revised. Table 4.1 SFR Information is partly revised. Table 4.5 SFR Information is partly revised Table 5.2 Recommended Operating Conditions is partly revised. Table 5.3 A/D Conversion Characteristics is partly revised. Note 1 is added in Table 5.6 External Clock Input (XIN input) Table 5.7 Memory Expansion Mode and Microprocessor Mode is added. Table 5.20 Memory Expansion Mode and Microprocessor Modes (for setting with no wait) is added. Figure 5.2 Ports P0 to P10 Measurement Circuit is added. Table 5.21 Memory Expansion Mode and Microprocessor Modes (for 1- to 3-wait setting and external area access) is added. Figure 5.5 Timing Diagram (3) is added. Figure 5.6 Timing Diagram (4) is added. Figure 5.7 Timing Diagram (5) is added. Note 1 to 4 are added in Table 5.23 External Clock Input (XIN input) Table 5.24 Memory Expansion Mode and Microprocessor Mode is added. Table 5.37 Memory Expansion Mode and Microprocessor Modes (for setting with no wait) is added. Figure 5.8 Ports P0 to P10 Measurement Circuit is added. Table 5.38 Memory Expansion Mode and Microprocessor Modes (for 1- to 3-wait setting and external area access) is added. Figure 5.11 Timing Diagram (3) is added. 1.00 Sep 01, 2005 2 4 5 6 7-8 9 14 15 19 21 22 25 28 29 32 33 34 36 39 40 43 C-1 REVISION HISTORY Rev. Date M16C/30P Group Datasheet Description Page 44 45 Summary Figure 5.12 Timing Diagram (4) is added. Figure 5.13 Timing Diagram (5) is added. Table 1.1 Performance Outline of M16C/30P Group is partly revised. Table 1.2 Product List is partly revised. Figure 1.2 Type No., Memory Size, and Package is partly revised. Table 1.3 Product Code of Mask ROM version Version for M16C/30P is added. Figure 1.3 Marking Diagram of Mask ROM Version for M16C/30P is added. 1.10 Oct 01, 2005 2 4 5 6 6 16 23 1.11 May 31, 2006 4 5 7 Figure 1.4 Marking Diagram of ROM -less Version for M16C/30P is added. Table 1.4 Product Code of ROM-less version for M16C/30P is added. Figure 3.1 Memory Map is partly added. Table 5.2 information is revised. 1.4 Product List information is revised. Table 1.2 Product List is partly revised. Figure 1.2 Type No., Memory Size, and Package is partly added. Table 1.4 Product Code of Flash Memory version and ROM-less version for M16C/30P is partly revised. Figure 1.4 Marking Diagram of Flash Memory version and ROM-less Version for M16C/30P (Top View) is partly added. 17 18 19 23 26 3. Memory information is revised. Figure 3.1 Memory Map is partly revised. Table 4.1 SFR Information(1) is partly revised. Table 4.2 SFR Information(2) is partly added. Table 5.1 Absolute Maximum Ratings information is revised. Table 5.4 Flash Memory Version Electrical Characteristics is added. Table 5.5 Flash Memory Version Program / Erase Voltage and Read Operation Voltage Characteristics is added. Table 5.7 Electrical Characteristics(1) is partly deleted. Table 5.8 Electrical Characteristics (2) is partly revised. Table 5.23 Memory Expansion and Microprocessor Modes NOTES 3 is partly revised. Table 5.24 Memory Expansion and Microprocessor Modes NOTES 3 is partly revised. Table 5.25 Electrical Characteristics (1) is partly deleted. Table 5.26 Electrical Characteristics (2) is partly revised. Table 5.41 Memory Expansion and Microprocessor Modes NOTES 3 is partly revised. Table 5.42 Memory Expansion and Microprocessor Modes NOTES 3 is partly revised. 28 29 33 34 40 41 45 46 C-2 REVISION HISTORY Rev. 1.20 Date Oct 17, 2006 Page 1 2 4 5 7 17 19 23 27 M16C/30P Group Datasheet Description Summary Note is partly deleted. Table 1.1 Performance Outline of M16C/30P Group is partly added. Table 1.2 Product List is partly revised. Figure 1.2 Type No., Memory Size, and Package is added. Table 1.4 Product Code of One Time Flash version, Flash Memory version, and ROM-less version for M16C/30P is partly added. Figure 3.1 Memory Map is partly added. Table 4.2 SFR Information (2) is partly added. Table 5.1 Absolute Maximum Ratings is partly added. Table 5.6 One Time Flash Version Electrical Characteristics and Table 5.7 One Time Flash Version Program Voltage and Read Operation Voltage Characteristics is added. Table 5.10 Electrical Characteristics (2) is partly added. Table 5.28 Electrical Characteristics (2) is partly added. Table 1.4 Product Code of One Time Flash version, Flash Memory version, and ROM-less version for M16C/30P is partly revised. Table 1.2 Product List (1) is partly revised. Table 1.3 Product List (2) is partly revised. Table 4.2 SFR Information (2) is partly revised. 30 42 1.21 1.22 Nov 02 2006 Mar 30, 2007 7 4 5 19 C-3 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries. RENESAS SALES OFFICES Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: (408) 382-7500, Fax: (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: (1628) 585-100, Fax: (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: (21) 5877-1818, Fax: (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: 2265-6688, Fax: 2730-6071 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: (2) 2715-2888, Fax: (2) 2713-2999 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: 6213-0200, Fax: 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: (2) 796-3115, Fax: (2) 796-2145 http://www.renesas.com 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: 7955-9390, Fax: 7955-9510 © 2007. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .7.0
M30304GEP-XXXFP 价格&库存

很抱歉,暂时无法提供与“M30304GEP-XXXFP”相匹配的价格&库存,您可以联系我们找货

免费人工找货