ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 72

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ADE5166/ADE5169
External Voltage ADC in the PSM1 and PSM2 Modes
An external voltage conversion is initiated only by certain actions
that depend on the operating mode of the ADE5166/ ADE5169.
The external voltage ADC in the V
(VDCINADC, Address 0xEF) is updated with a new value only
when an external voltage ADC interrupt occurs.
In PSM0 operating mode, the 8052 is active. External
voltage 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
powered from battery. Single external voltage measurements
can be initiated by setting the VDCIN_ADC_GO bit (Bit 2) in
the start ADC measurement SFR (ADCGO, Address 0xD8).
Background external voltage measurements are not available.
In PSM2 operating mode, the 8052 is not active. External
voltage conversions are available through the background
measurement mode only.
DCIN
ADC value SFR
Rev. 0 | Page 72 of 148
External Voltage ADC Interrupt
The external voltage ADC can generate an ADC interrupt when
at least one of the following conditions occurs:
When the ADC interrupt occurs, a new value is available in the
V
there is no flag associated with this interrupt.
DCIN
The difference between the new external voltage ADC
value and the last external voltage ADC value generating
an ADC interrupt is larger than the value set in the
VDCIN_DIFF[2:0] bits in the temperature and supply
delta SFR (DIFFPROG, Address 0xF3).
The external voltage ADC conversion, initiated by setting
VDCIN_ADC_GO in the start ADC measurement SFR
(ADCGO, Address 0xD8), finishes.
ADC value SFR (VDCINADC, Address 0xEF). Note that

Related parts for ADE5166_08