Energy Meter. 71M6531D Datasheet

71M6531D Meter. Datasheet pdf. Equivalent

71M6531D Datasheet
Recommendation 71M6531D Datasheet
Part 71M6531D
Description Energy Meter
Feature 71M6531D; Simplifying System IntegrationTM GENERAL DESCRIPTION The 71M6531D/F and 71M6532D/F are highly integ.
Manufacture Maxim Integrated
Datasheet
Download 71M6531D Datasheet





Maxim Integrated 71M6531D
Simplifying System IntegrationTM
GENERAL DESCRIPTION
The 71M6531D/F and 71M6532D/F are highly
integrated SOCs with an MPU core, RTC, FLASH and LCD
driver. The patented Single Converter Technology® with a
22-bit delta-sigma ADC, four analog inputs, digital tempera-
ture compensation, precision voltage reference, battery voltage
monitor and 32-bit computation engine (CE) supports a wide
range of residential metering applications with very few low-
cost external components.
A 32-kHz crystal time base for the entire system and internal
battery backup support for RAM and RTC further reduce system
cost. The IC supports 2-wire, and 3-wire single-phase and
dual-phase residential metering along with tamper-detection
mechanisms. The 71M6531D/F offers single-ended inputs for
two current channels and two single-ended voltage inputs.
The 71M6532D/F has two differential current inputs and three
single-ended voltage inputs.
Maximum design flexibility is provided by multiple UARTs, I2C,
μWire, up to 21 DIO pins and in-system programmable FLASH
memory, which can be updated with data or application code
in operation.
A complete array of ICE and development tools, programming
libraries and reference designs enable rapid development and
certification of TOU, AMR and Prepay meters that comply with
worldwide electricity metering standards.
A CT/SHUNT
NEUTRAL
B CT
LOAD
LOAD
POWER SUPPLY
AMR
RX/DIO1
IR TX/DIO2
POWER
FAULT
32 kHz
ADC
IAP*
IAN*
VA
IBP*
IBN*
VB
V3.3A
V3.3
SYS
GNDA GNDD
PWR MODE
CONTROL
71M6531 WAKE-UP
71M6532
REGULATOR
VBAT
V2.5
VOLTAGE REF
VREF
VBIAS
TEMP
SENSOR
RAM
LCD & DIO
COM0..3
LCD SEG
SERIAL PORTS
TX
RX
SENSE
DRIVE/MOD
COMPARATOR
V1
FLASH
MEMORY
COMPUTE
ENGINE
MPU
TIMERS
SEG/DIO
SPI
OSC/PLL
XIN
XOUT
RTC
ICE I/F
ICE_E
* Differential pins only on 6532D/F
02/18/2009
BATTERY
88.88.8888
I2C or µWire
EEPROM
TEST PULSES
SPI HOST
V3P3D
GNDD
Rev 2
71M6531D/F, 71M6532D/F
Energy Meter IC
DATA SHEET
19-5374; Rev 1; 4/13
FEATURES
Wh accuracy < 0.1% over 2000:1 current
range
Exceeds IEC62053/ANSI C12.20 standards
Four sensor inputs
Low-jitter Wh and VARh plus two additional
pulse test outputs (4 total, 10 kHz maximum)
with pulse count
Four-quadrant metering
Tamper detection (Neutral current with CT,
Rogowski or shunt, magnetic tamper input)
Line frequency count for RTC
Digital temperature compensation
Sag detection for phase A and B
Independent 32-bit compute engine
46-64 Hz line frequency range with same
calibration. Phase compensation (± 7°)
Three battery modes with wake-up on timer
or push-button:
BROWNOUT Mode (52 µA typ.)
LCD Mode (21 µA typ., DAC active)
SLEEP Mode (0.7 µA typ.)
Energy display during mains power failure
39 mW typical consumption @ 3.3 V, MPU
clock frequency 614 kHz
22-bit delta-sigma ADC with 3360 Hz or
2520 Hz sample rate
8-bit MPU (80515),1 clock cycle per instruction,
10 MHz maximum, with integrated ICE for
debug
RTC for TOU functions with clock-rate adjust
register
Hardware watchdog timer, power fail monitor
LCD driver with 4 common segment drivers:
Up to 156 (71M6531D/F) or 268 pixels
(71M6532D/F)
Up to 22 (71M6531D/F) or 43 (71M6532D/F)
general-purpose I/O pins. Digital I/O pins
compatible with 5 V inputs
32 kHz time base
High-speed slave SPI interface to data RAM
Two UARTs for IR and AMR, IR driver with
modulation
FLASH memory with security and in-system
program update:
128 KB (71M6531D/32D)
256 KB (71M6531F/32F)
4 KB MPU XRAM
Industrial temperature range
68-pin QFN package for 71M6531D/F pin-
compatible with 71M6521, 100-pin LQFP
package for 71M6532D/F, lead free
1



Maxim Integrated 71M6531D
Data Sheet 71M6531D/F-71M6532D/F
FDS 6531/6532 005
Table of Contents
1 Hardware Description....................................................................................................................... 10
1.1 Hardware Overview ................................................................................................................... 10
1.2 Analog Front End (AFE)............................................................................................................. 10
1.2.1 Signal Input Pins ............................................................................................................ 10
1.2.2 Input Multiplexer............................................................................................................. 11
1.2.3 A/D Converter (ADC) ..................................................................................................... 12
1.2.4 FIR Filter ........................................................................................................................ 12
1.2.5 Voltage References ....................................................................................................... 12
1.2.6 Temperature Sensor ...................................................................................................... 14
1.2.7 Battery Monitor............................................................................................................... 14
1.2.8 AFE Functional Description ........................................................................................... 14
1.2.9 Digital Computation Engine (CE)................................................................................... 15
1.2.10 Meter Equations............................................................................................................. 16
1.2.11 Real-Time Monitor ......................................................................................................... 16
1.2.12 Pulse Generators ........................................................................................................... 16
1.2.13 Data RAM (XRAM) ........................................................................................................ 17
1.2.14 Delay Compensation ..................................................................................................... 17
1.2.15 CE Functional Overview ................................................................................................ 17
1.3 80515 MPU Core ....................................................................................................................... 19
1.3.1 Memory Organization and Addressing .......................................................................... 19
1.3.2 Special Function Registers (SFRs)................................................................................ 21
1.3.3 Generic 80515 Special Function Registers ................................................................... 22
1.3.4 Special Function Registers (SFRs) Specific to the 71M6531D/F and 71M6532D/F..... 24
1.3.5 Instruction Set ................................................................................................................ 26
1.3.6 UARTs ........................................................................................................................... 26
1.3.7 Timers and Counters ..................................................................................................... 28
1.3.8 WD Timer (Software Watchdog Timer) ......................................................................... 30
1.3.9 Interrupts........................................................................................................................ 30
1.4 On-Chip Resources ................................................................................................................... 36
1.4.1 Oscillator ........................................................................................................................ 36
1.4.2 Internal Clocks ............................................................................................................... 36
1.4.3 Real-Time Clock (RTC) ................................................................................................. 37
1.4.4 Temperature Sensor ...................................................................................................... 38
1.4.5 Physical Memory............................................................................................................ 38
1.4.6 Optical Interface............................................................................................................. 40
1.4.7 Digital I/O – 71M6531D/F .............................................................................................. 41
1.4.8 Digital I/O – 71M6532D/F .............................................................................................. 43
1.4.9 Digital IO – Common Characteristics for 71M6531D/F and 71M6532D/F .................... 44
1.4.10 LCD Drivers – 71M6531D/F .......................................................................................... 45
1.4.11 LCD Drivers – 71M6532D/F .......................................................................................... 46
1.4.12 LCD Drivers – Common Characteristics for 71M6531D/F and 71M6532D/F ............... 46
1.4.13 Battery Monitor............................................................................................................... 46
1.4.14 EEPROM Interface ........................................................................................................ 46
1.4.15 SPI Slave Port................................................................................................................ 49
1.4.16 Hardware Watchdog Timer............................................................................................ 52
1.4.17 Test Ports (TMUXOUT pin) ........................................................................................... 53
2 Rev 2



Maxim Integrated 71M6531D
FDS 6531/6532 005
Data Sheet 71M6531D/F-71M6532D/F
2 Functional Description ..................................................................................................................... 54
2.1 Theory of Operation ................................................................................................................... 54
2.2 System Timing Summary........................................................................................................... 55
2.3 Battery Modes ............................................................................................................................ 56
2.3.1 BROWNOUT Mode ....................................................................................................... 57
2.3.2 LCD Mode...................................................................................................................... 58
2.3.3 SLEEP Mode ................................................................................................................. 58
2.4 Fault and Reset Behavior .......................................................................................................... 60
2.4.1 Reset Mode.................................................................................................................... 60
2.4.2 Power Fault Circuit ........................................................................................................ 60
2.5 Wake-Up Behavior..................................................................................................................... 61
2.5.1 Wake on PB ................................................................................................................... 61
2.5.2 Wake on Timer............................................................................................................... 61
2.6 Data Flow ................................................................................................................................... 61
2.7 CE/MPU Communication ........................................................................................................... 62
3 Application Information.................................................................................................................... 63
3.1 Connection of Sensors............................................................................................................... 63
3.2 Connecting 5-V Devices ............................................................................................................ 63
3.3 Temperature Measurement ....................................................................................................... 64
3.4 Temperature Compensation ...................................................................................................... 64
3.4.1 Temperature Coefficients: ............................................................................................. 64
3.4.2 Temperature Compensation for VREF .......................................................................... 65
3.4.3 System Temperature Compensation ............................................................................. 65
3.4.4 Temperature Compensation for the RTC ...................................................................... 65
3.5 Connecting LCDs ....................................................................................................................... 66
3.6 Connecting I2C EEPROMs ........................................................................................................ 66
3.7 Connecting Three-Wire EEPROMs ........................................................................................... 67
3.8 UART0 (TX/RX) ......................................................................................................................... 67
3.9 Optical Interface (UART1).......................................................................................................... 67
3.10 Connecting the V1 Pin ............................................................................................................... 68
3.11 Connecting the Reset Pin .......................................................................................................... 69
3.12 Connecting the Emulator Port Pins............................................................................................ 69
3.13 Connecting a Battery ................................................................................................................. 69
3.14 Flash Programming.................................................................................................................... 70
3.15 MPU Firmware ........................................................................................................................... 70
3.16 Crystal Oscillator ........................................................................................................................ 70
3.17 Meter Calibration........................................................................................................................ 71
4 Firmware Interface ............................................................................................................................ 72
4.1 I/O RAM and SFR Map – Functional Order ............................................................................... 72
4.2 I/O RAM Description – Alphabetical Order ................................................................................ 77
4.3 CE Interface Description ............................................................................................................ 88
4.3.1 CE Program ................................................................................................................... 88
4.3.2 CE Data Format ............................................................................................................. 88
4.3.3 Constants....................................................................................................................... 88
4.3.4 Environment................................................................................................................... 88
4.3.5 CE Calculations ............................................................................................................. 89
4.3.6 CE Status and Control ................................................................................................... 89
4.3.7 CE Transfer Variables ................................................................................................... 92
4.3.8 Pulse Generation ........................................................................................................... 93
4.3.9 CE Calibration Parameters ............................................................................................ 94
Rev 2
3





@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)