M16C/6S Group R01DS0201EJ0502 Rev.5.02 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Dec 25, 2012 Overview The M16C/6S group are highly integrated single-chip microcomputers with PLC (Power Line Communica- tion) modem core and AFE (Analog Front End) in a 64-pin plastic molded LQFP package, which incorpo- rates IT800 PLC modem technology developed by Yitran Communications Ltd. M16C/60 Series CPU core enables a high level of code efficiency and high-speed operation. In addition, the implementation of Yitran s patented DCSK (Differential Code Shift Keying) spread spectrum modulation technique in the IT800 mo- dem core enables extremely robust communication over the existing electrical wiring, with data rates up to 7.5Kbps. The M16C/6S complies with worldwide regulations (FCC part 15, ARIB and CENELEC bands) and is suitable for a variety of narrowband applications like smart metering and home networking. Applications Power Line Communication ------Table of Contents------ Overview ......................................................... 1 Serial I/O ....................................................... 92 Memory ......................................................... 10 Clock Synchronous serial I/O Mode ........ 101 Central Processing Unit (CPU) ..................... 11 UART Mode ............................................. 109 SFR ............................................................... 13 Special Mode........................................... 117 Reset............................................................. 19 SI/O3 and SI/O4 ...................................... 132 Processor Mode ............................................ 23 Programmable I/O Ports ............................. 137 Clock Generation Circuit ............................... 27 Electrical Characteristics............................. 149 Protection ...................................................... 46 Flash Memory Version ................................ 160 Interrupts ....................................................... 47 IT800AFE (Analog Front End) .................... 186 Watchdog Timer............................................ 66 Usage Notes ............................................... 191 DMAC ........................................................... 68 APPENDIX .................................................. 201 Timers ........................................................... 78 Timer A ...................................................... 79 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. R01DS0201EJ0502 Rev.5.02 page 1 of 203 Dec 25, 2012M16C/6S Group Overview Performance Outline Table 1.1.1 lists performance outline of M16C/6S group. Table 1.1.1. Performance outline of M16C/6S group Item Performance CPU Number of basic instructions 91 instructions Minimum Instruction Execution 65.1 ns (f(BCLK)= 15.36MHZ, VCC= 3.0V to 3.6V) time Operation Mode Single-chip mode Memory Space 1M Byte Memory Capacity ROM See Tables 1.1.3 and 1.1.4 Product List RAM 24K Byte Peripheral Port Input/Output : 21 pins, Input : 1 pin Function Multifunction Timer Timer A : 16 bits x 5 channels, Serial I/O 2 channels 2 (1) Clock synchronous, UART, I C bus , 1 channel 2 (1) UART, I C bus , 2 channels Clock synchronous(*) (*) 1 channel is internally connected to IT800 DMAC 2 channels Watchdog Timer 15 bits x 1 channel (with prescaler) Interrupt 21 internal and 3 external sources, 4 software sources, 7 levels Clock Generation Circuit 2 circuits Main clock generation circuit with PLL synthesizer (*), On-chip oscillator, (*) This circuit contains a built-in feedback resister. Electrical Power supply voltage 3.0V to 3.6V Characteristics Power Consumption 70mA (VCC= VCCA= 3.3V, f(XIN)= 5.12MHz) Flash memory Program/Erase Supply Voltage 3.0V to 3.6V (Topr= 0 to 60C) Version Program and Erase Endurance 100 times Power consumption 70mA (VCC= VCCA= 3.3V, f(XIN)= 5.12MHz) (2) Operating Ambient Temperature -20 to 85C -40 to 85C -40 to 105C Package 64-pin plastic mold LQFP Notes: 2 1. I C Bus is a registered trademark of Koninklijke Philips Electronics N. V. 2. See Tables 1.1.5 and 1.1.6 Product code for version of expanded operating ambient temperature. R01DS0201EJ0502 Rev.5.02 page 2 of 203 Dec 25, 2012