19-5359 Rev 11/10 71M6511/71M6511H Single-Phase Energy Meter IC A Maxim Integrated Products Brand DATA SHEET NOVEMBER 2010 FEATURES GENERAL DESCRIPTION The 71M6511 is a highly integrated SOC with an MPU core, RTC, flash, Wh accuracy < 0.1% over 2000:1 and LCD driver. Our Single Converter Technology with a 22-bit delta- range sigma ADC, three analog inputs, digital temperature compensation, Exceeds IEC 62053/ANSIC 12.20 precision voltage reference, and 32-bit computation engine (CE) supports a Voltage reference wide range of single-phase metering applications with very few low cost external components. A 32kHz crystal time base for the entire system and < 10ppm/ C -- 71M6511H, internal battery backup support for RAM and RTC further reduce system < 50ppm/C -- 71M6511 cost. Three sensor inputs - V referenced DD 2 Low jitter Wh/VARh pulse outputs Maximum design flexibility is supported with multiple UARTs, I C, a power fail comparator, a 5V LCD charge pump, up to 12 DIO pins and an in- Pulse count for pulse outputs system programmable flash. The device is offered in high (0.1%) and Four-quadrant metering standard (0.5%) accuracy versions for multifunction Voltage/current angle residential/commercial meter applications requiring multiple Line frequency count for RTC voltage/current inputs and complex LCD or DIO configurations. Digital temperature compensation A complete array of ICE and development tools, programming libraries and Sag detection reference designs enable rapid development and certification of meters that Independent 32-bit compute engine meet most demanding worldwide electricity metering standards. 40-70Hz line frequency range with same calibration CT/SHUNT LIVE Phase compensation (7) POWER SUPPLY Battery backup for RAM and RTC LOAD NEUT 22mW at 3.3V, 7.2W backup Flash memory option with security 22-bit delta-sigma ADC CONVERTER V3.3A V3.3D GNDA GNDD 8-bit MPU (80515) - 1 clock cycle per IA 5V BOOST instruction VA VDRV TERIDIAN LCD driver ( 128 pixels) V or I IB 71M6511 REGULATOR High speed SSI serial output VBAT BATTERY RTC for time-of-use functions V2.5 Hardware watchdog timer TEMP LCD DRIVER VOLTAGE REF SENSOR DIO, PULSE Up to 12 general-purpose I/O pins VREF VLCD RAM 64KB flash, 7KB RAM VBIAS 3V/5V LCD COM0..3 SERIAL PORTS SEG0..19 Two UARTs for IR and AMR 88.88.8888 SEG 24..32 FLASH TX 64-lead LQFP package DIO 0..11 AMR RX COMPUTE SEG 32..41 EEPROM ENGINE DIO 12..21 SENSE RX IR DRIVE TX COMPARATOR MPU TEST PULSES POWER V1 RTC FAULT TIMERS OSC/PLL XIN 32 kHz ICE XOUT 7/20/2007 Single Converter Technology is a registered trademark of Maxim Integrated Products, Inc. Page: 1 of 98 20052010 Teridian Semiconductor Corporation V2.7 71M6511/71M6511H Single-Phase Energy Meter IC A Maxim Integrated Products Brand DATA SHEET NOVEMBER 2010 Table of Contents GENERAL DESCRIPTION ..................................................................................................................................... 1 FEATURES ............................................................................................................................................. 1 HARDWARE DESCRIPTION ................................................................................................................................. 8 Hardware Overview .................................................................................................................................. 8 Analog Front End (AFE) ........................................................................................................................... 8 Multiplexer.................................................................................................................................. 8 ADC ........................................................................................................................................... 9 FIR Filter .................................................................................................................................... 9 Voltage Reference ...................................................................................................................... 9 Temperature Sensor ................................................................................................................... 10 Functional Description ................................................................................................................ 10 Computation Engine (CE) ......................................................................................................................... 11 Meter Equations ......................................................................................................................... 12 Pulse Generator ......................................................................................................................... 12 Real-Time Monitor ...................................................................................................................... 13 CE Functional Overview ............................................................................................................. 13 80515 MPU Core ..................................................................................................................................... 15 80515 Overview ......................................................................................................................... 15 Memory Organization ................................................................................................................. 15 Special Function Registers (SFRs) .............................................................................................. 17 Special Function Registers (Generic 80515 SFRs) ...................................................................... 18 Special Function Registers Specific to the 71M6511 .................................................................... 20 Instruction Set ............................................................................................................................ 21 UART ......................................................................................................................................... 21 Timers and Counters .................................................................................................................. 24 WD Timer (Software Watchdog Timer) ........................................................................................ 26 Interrupts .................................................................................................................................... 29 External Interrupts ...................................................................................................................... 32 Interrupt Priority Level Structure .................................................................................................. 34 Interrupt Sources and Vectors ..................................................................................................... 35 On-Chip Resources .................................................................................................................................. 37 DIO Ports ................................................................................................................................... 37 Physical Memory ........................................................................................................................ 38 Oscillator .................................................................................................................................... 39 Real-Time Clock (RTC)............................................................................................................... 40 LCD Drivers ............................................................................................................................... 40 LCD Voltage Boost Circuitry........................................................................................................ 41 UART (UART0) and Optical Port (UART1)................................................................................... 41 Hardware Reset Mechanisms ..................................................................................................... 42 Reset Pin (RESETZ)................................................................................................................... 42 Hardware Watchdog Timer ......................................................................................................... 42 Crystal Frequency Monitor .......................................................................................................... 42 V1 Pin ........................................................................................................................................ 42 I2C Interface (EEPROM) ............................................................................................................ 43 Internal Clocks and Clock Dividers .............................................................................................. 44 Battery ....................................................................................................................................... 44 Internal Voltages (VBIAS, VBAT, V2P5) ...................................................................................... 44 Test Ports .................................................................................................................................. 44 Page: 2 of 98 20052010 Teridian Semiconductor Corporation V2.7