19-5360 Rev 3 9/11 71M6513/71M6513H A Maxim Integrated Products Brand 3-Phase Energy Meter IC DATA SHEET SEPTEMBER 2011 GENERAL DESCRIPTION FEATURES The 71M6513 is a highly integrated system-on-chip SoC with an MPU core, real-time clock (RTC), flash, and LCD driver. Our Single Converter Wh Accuracy < 0.1% Over 2,000:1 Technology with a 21-bit delta-sigma ADC, six analog inputs, digital tem- Current Range perature compensation, precision voltage reference, and 32-bit computation Exceeds IEC 62053/ANSIC 12.20 engine (CE) supports a wide range of poly-phase metering applications with Voltage Reference very few low-cost external components. A 32kHz crystal time base for the < 10ppm/ C (71M6513H) entire system and internal battery-backup support for RAM and RTC further < 40ppm/C (71M6513) reduce system cost. Six Sensor InputsV Referenced DD 2 Maximum design flexibility is supported with multiple UARTs, I C, a power- Auxiliary Analog Input for Neutral fail comparator, a 5V LCD charge pump, up to 22 DIO pins, and an in- Current system programmable flash. The device is offered in high (0.1%) and Low Jitter Wh/VARh Pulse Outputs standard (0.5%) accuracy versions for multifunction residential/commercial Pulse Count For Pulse Outputs meter applications requiring multiple voltage/current inputs and complex Four-Quadrant Metering LCD or DIO configurations. Phase Sequencing A complete array of ICE and development tools, programming libraries and Line Frequency Count for RTC reference designs enable rapid development and certification of meters that Digital Temperature Compensation meet most demanding worldwide electricity metering standards. Sag Detection CT /COIL Independent 32-Bit Compute Engine LIVE 40-70Hz Line Frequency Range with NEUTRAL LOAD Same Calibration LIVE Phase Compensation (7) LIVE Battery Backup for RAM and RTC 22mW at 3.3V, 7.2W Backup POWER SUPPLY Flash Memory Option with Security 8-Bit MPU (80515)One Clock Cycle per Instruction CONVERTER V3.3A V3.3D GNDA GNDD LCD Driver ( 168 Pixels) IA 5V BOOST High-Speed SSI Serial Output VA VDRV TERIDIAN IB RTC for Time-of-Use Functions 71M6513 REGULATOR VB Hardware Watchdog Timer BATTERY VBAT IC V2.5 Up to 22 General-Purpose I/O Pins VC LCD DRIVER 64KB Flash, 7KB RAM TEMP SENSOR VOLTAGE REF DIO, PULSE VREF VLCD Two UARTs for IR and AMR RAM VBIAS 3/5V LCD COM0..3 100-Pin LQFP Package SERIAL PORTS SEG0..23 88.88.8888 COMPUTE TX SEG 24..27 AMR ENGINE RX DIO 0..11 SEG 32..41 FLASH MISC RX SENSE DIO 12..21 IR DRIVE TX COMPARATOR MPU EEPROM V1 RTC POWER OSC/PLL TIMERS V2 FAULT XIN Etc. 32 kHz V3 XOUT ICE Single Converter Technology is a registered trademark of Maxim Integrated Products, Inc. 2005-2011 Teridian Semiconductor Corporation Page: 1 of 104 71M6513/71M6513H A Maxim Integrated Products Brand 3-Phase Energy Meter IC DATA SHEET AUGUST 2011 Table of Contents FEATURES ............................................................................................................................ 1 HARDWARE DESCRIPTION ................................................................................................................ 9 Hardware Overview ................................................................................................................. 9 Analog Front End (AFE) .......................................................................................................... 9 Multiplexer................................................................................................................. 9 ADC .......................................................................................................................... 10 FIR Filter ................................................................................................................... 10 Voltage Reference ..................................................................................................... 10 Temperature Sensor .................................................................................................. 11 V3 ............................................................................................................................. 11 Functional Description ............................................................................................... 11 Computation Engine (CE) ........................................................................................................ 12 Meter Equations ........................................................................................................ 12 Pulse Generator ........................................................................................................ 13 Real-Time Monitor ..................................................................................................... 13 CE Functional Overview ............................................................................................ 13 80515 MPU Core .................................................................................................................... 16 80515 Overview ........................................................................................................ 16 Memory Organization ................................................................................................ 16 Special Function Registers (SFRs) ............................................................................. 18 Special Function Registers (Generic 80515 SFRs) ..................................................... 19 Special Function Registers Specific to the 71M6513 ................................................... 22 Instruction Set ........................................................................................................... 23 UART ........................................................................................................................ 23 Timers and Counters ................................................................................................. 26 WD Timer (Software Watchdog Timer) ....................................................................... 28 Interrupts ................................................................................................................... 31 External Interrupts ..................................................................................................... 34 Interrupt Priority Level Structure ................................................................................. 35 Interrupt Sources and Vectors .................................................................................... 37 On-Chip Resources ................................................................................................................. 39 DIO Ports .................................................................................................................. 39 Page: 2 of 104 2005-2011 Teridian Semiconductor Corporation