19-5370 Rev 3 7/12 71M6521DE/DH/FE Energy Meter ICs DATA SHEET FEATURES GENERAL DESCRIPTION Up to 0.1% Wh Accuracy Over 2000:1 Current The Teridian 71M6521DE/DH/FE energy meter ICs are highly integrated Range systems-on-a-chip (SoCs) with an MPU core, RTC, flash, and LCD driver. Exceeds IEC 62053/ANSI C 12.20 Standards The Single Converter Technology with a 22-bit delta-sigma ADC, four Voltage Reference < 40 ppm/C (< 20ppm/C for analog inputs, digital temperature compensation, precision voltage 71M6521DH) reference, battery voltage monitor, and 32-bit computation engine (CE) Four Sensor InputsV Referenced supports a wide range of residential metering applications with very few DD low-cost external components. A 32kHz crystal time base for the entire Low-Jitter Wh and VARh Pulse Test Outputs system and internal battery-backup support for RAM and RTC further (10kHz max) reduce system cost. The ICs support 2-wire, 3-wire, and 4-wire single- Pulse Count for Pulse Outputs phase and dual-phase residential metering along with tamper-detection Four-Quadrant Metering mechanisms. Tamper Detection 2 Maximum design flexibility is provided by multiple UARTs, I C, Neutral Current with CT or Shunt MICROWIRE, up to 18 DIO pins, and in-system programmable flash Line Frequency Count for RTC memory, which can be updated with data or application code in operation. Digital Temperature Compensation A complete array of ICE and development tools, programming libraries, and Sag Detection for Phase A and B reference designs enable rapid development and certification of TOU, Independent 32-Bit Compute Engine AMR, and prepay meters that comply with worldwide electricity metering 46-64Hz Line Frequency Range with Same standards. Calibration Phase Compensation (7) CT/SHUNT Battery backup for RTC and battery monitor A LOAD Three Battery Modes with Wake-Up on Pushbutton POWER SUPPLY NEUT or Timer: LOAD B Brownout Mode (48A) LCD Mode (5.7A) Sleep Mode (2.9A) CONVERTER V3.3 V3.3A GNDA GNDD SYS IA Energy Display on Main Power Failure PWR MODE VA CONTROL Wake-Up with Pushbutton IB TERIDIAN WAKE-UP VB 71M6521 22-Bit Delta-Sigma ADC REGULATOR VBAT 8-Bit MPU (80515), 1 Clock Cycle per Instruction V2.5 BATTERY with Integrated ICE for MPU Debug TEMP VOLTAGE REF DIO, PULSE SENSOR VREF RTC with Temperature Compensation VBIAS RAM 3.3V LCD COM0..3 Auto-Calibration SERIAL PORTS SEG0..18 88.88.8888 Hardware Watchdog Timer, Power-Fail Monitor FLASH SEG 24..31/ TX AMR DIO 4..11 LCD Driver (Up to 152 Pixels) RX SEG 34..37/ COMPUTE IIC or uWire DIO 14..17 Up to 18 General-Purpose I/O Pins RX/DIO1 ENGINE SENSE EEPROM IR TX/DIO2 DRIVE/MOD 32kHz Time Base SEG 32,33, 38/ICE COMPARATOR MPU 16KB (6521DE/DH) or 32KB (6521FE) Flash with POWER TEST PULSES V1 RTC FAULT Security TIMERS OSC/PLL XIN V3P3D 2KB MPU XRAM 32 kHz ICE E GNDD ICE XOUT Two UARTs for IR and AMR 07/25/2007 Digital I/O Pins Compatible with 5V Inputs 64-Pin LQFP or 68-Pin QFN Package Teridian is a trademark and Single Converter Technology is a registered Lead(Pb)-Free Packages trademark of Maxim Integrated Products Inc. MICROWIRE is a registered trademark of National Semiconductor Corp. Rev 3 Page: 1 of 107 71M6521DE/DH/FE Data Sheet Table of Contents GENERAL DESCRIPTION ........................................................................................................................ 1 FEATURES ................................................................................................................................................ 1 HARDWARE DESCRIPTION ..................................................................................................................... 10 Hardware Overview ..................................................................................................................... 10 Analog Front End (AFE) ............................................................................................................... 10 Input Multiplexer ............................................................................................................ 10 A/D Converter (ADC) ..................................................................................................... 11 FIR Filter ........................................................................................................................ 11 Voltage References ....................................................................................................... 11 Temperature Sensor ...................................................................................................... 12 Battery Monitor .............................................................................................................. 13 Functional Description ................................................................................................... 13 Digital Computation Engine (CE) ................................................................................................. 13 Meter Equations ............................................................................................................ 14 Description ................................................................................................................................... 14 Real-Time Monitor ......................................................................................................... 15 Pulse Generator ............................................................................................................ 15 CE Functional Overview ................................................................................................ 15 80515 MPU Core ........................................................................................................... 17 Memory Organization .................................................................................................... 17 Special Function Registers (SFRs) ................................................................................ 19 Special Function Registers (Generic 80515 SFRs) ....................................................... 20 Special Function Registers Specific to the 71M6521DE/DH/FE .................................... 22 Instruction Set ................................................................................................................ 23 UART ............................................................................................................................. 23 Timers and Counters ..................................................................................................... 25 WD Timer (Software Watchdog Timer) .......................................................................... 28 Interrupts ....................................................................................................................... 30 On-Chip Resources ..................................................................................................................... 38 Oscillator ....................................................................................................................... 38 PLL and Internal Clocks ................................................................................................ 38 Real-Time Clock (RTC) ................................................................................................. 38 Temperature Sensor ...................................................................................................... 38 Physical Memory ........................................................................................................... 39 Optical Interface ............................................................................................................ 40 Digital I/O ....................................................................................................................... 40 LCD Drivers ................................................................................................................... 42 Battery Monitor .............................................................................................................. 42 EEPROM Interface ........................................................................................................ 43 Page: 2 of 107 Rev 3