ADE7166ASTZF8 Analog Devices Inc, ADE7166ASTZF8 Datasheet - Page 76

IC ENERGY METER 1PHASE 64LQFP

ADE7166ASTZF8

Manufacturer Part Number
ADE7166ASTZF8
Description
IC ENERGY METER 1PHASE 64LQFP
Manufacturer
Analog Devices Inc
Datasheets

Specifications of ADE7166ASTZF8

Applications
Energy Measurement
Core Processor
8052
Program Memory Type
FLASH (8 kB)
Controller Series
ADE71xx
Ram Size
512 x 8
Interface
I²C, SPI, UART
Number Of I /o
20
Voltage - Supply
3.135 V ~ 3.465 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
64-LQFP
Ic Function
Single Phase Energy Measurement IC
Supply Voltage Range
3.13V To 3.46V, 2.4V To 3.7V
Operating Temperature Range
-40°C To +85°C
Digital Ic Case Style
LQFP
No. Of Pins
64
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADE7166ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADE7166ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADE7566/ADE7569/ADE7166/ADE7169
To set up background battery measurements, follow these steps:
1.
2.
Battery ADC in PSM0, PSM1, and PSM2
Depending on the operating mode, a battery conversion is
initiated only by certain actions.
Battery ADC Interrupt
The battery ADC can generate an ADC interrupt when at least
one of the following conditions occurs:
When the battery flag (FBAT) is set in the Power Management
Interrupt Flag SFR (IPSMF, 0xF8), a new ADC value is available
in the Battery ADC Value SFR (BATADC, 0xDF). This battery
flag can be enabled as a source of the PSM interrupt to generate
a PSM interrupt every time the battery drops below a set voltage
threshold or after a single conversion initiated by setting the
BATT_ADC_GO bit is ready.
The Battery ADC Value SFR (BATADC, 0xDF) is updated with
a new value only when the battery flag is set in the Power
Management Interrupt Flag SFR (IPSMF, 0xF8).
EXTERNAL VOLTAGE MEASUREMENT
The ADE7566/ADE7569/ADE7166/ADE7169 include a
dedicated ADC to provide a digital measurement of an external
voltage on the V
SFR (VDCINADC, 0xEF), holds the results of the conversion.
The resolution of the external voltage measurement is 15.3
mV/LSB. There are two ways to initiate an external voltage
Configure the Battery Detection Threshold SFR
(BATVTH, 0xFA) to establish a low battery threshold.
If the BATADC measurement is below this threshold,
the FBAT in the Power Management Interrupt Flag SFR
(IPSMF, 0xF8) is set.
Set up the interval for background battery measurements
by configuring the BATT_PERIOD[1:0] bits in the
Peripheral ADC Strobe Period SFR (STRBPER, 0xF9).
In PSM0 operating mode, the 8052 is active. Battery
measurements are available in the background
measurement mode and by initiating a single
measurement.
In PSM1 operating mode, the 8052 is active and the part is
battery powered. Single battery measurements can be
initiated by setting the BATT_ADC_GO bit in the Start
ADC Measurement SFR (ADCGO, 0xD8). Background
battery measurements are not available.
In PSM2 operating mode, the 8052 is not active. Unlike
temperature and VDCIN measurements, the battery
conversions are not available in this mode.
The new battery ADC value is smaller than the value set in
the Battery Detection Threshold SFR (BATVTH, 0xFA),
indicating a battery voltage loss.
A single battery measurement initiated by setting the
BATT_ADC_GO bit finishes.
DCIN
pin. An 8-bit SFR, the VDCIN ADC Value
Rev. A | Page 76 of 144
conversion: a single external voltage measurement or
background external voltage measurements.
Single External Voltage Measurement
To obtain an external voltage measurement, set the
VDCIN_ADC_GO bit in the Start ADC Measurement SFR
(ADCGO, 0xD8). An interrupt is generated when the conversion
is done and when the external voltage measurement is available
in the VDCIN ADC Value SFR (VDCINADC, 0xEF).
Background External Voltage Measurements
Background external voltage measurements are disabled by
default. To configure the background external voltage
measurement mode, set an external voltage measurement
interval in the Peripheral ADC Strobe Period SFR (STRBPER,
0xF9). External voltage measurements are performed
periodically in the background (see Table 48).
When an external voltage conversion is complete, the new
external voltage ADC value is compared to the last external
voltage ADC value that created an interrupt. If the absolute
difference between the two values is greater than the setting in
the VDCIN_DIFF[2:0] bits in the Temperature and Supply
Delta SFR (DIFFPROG, 0xF3), a V
V
Interrupt Flag SFR (IPSMF, 0xF8), which is used for power
supply monitoring. This V
generate a PSM interrupt by setting the EVDCIN bit in the
Power Management Interrupt Enable SFR (IPSME, 0xEC).
This method allows external voltage measurements to take
place completely in the background, only requiring MCU
activity if the external voltage has changed more than a
configurable delta.
To set up background external voltage measurements, follow
these steps:
1.
2.
3.
DCIN
Initiate a single external voltage measurement by setting
the VDCIN_ADC_GO bit in the Start ADC Measurement
SFR (ADCGO, 0xD8).
Upon completion of this measurement, configure the
VDCIN_DIFF[2:0] bits to establish the change in voltage
that sets the FVDCIN in the Power Management Interrupt
Flag SFR (IPSMF, 0xF8).
Set up the interval for background external voltage
measurements by configuring the VDCIN_PERIOD[1:0] bits
in the Peripheral ADC Strobe Period SFR (STRBPER, 0xF9).
ADC flag is the FVDCIN in the Power Management
DCIN
ADC flag can be enabled to
DCIN
ADC flag is set. This

Related parts for ADE7166ASTZF8