ade7169f16 Analog Devices, Inc., ade7169f16 Datasheet - Page 68

no-image

ade7169f16

Manufacturer Part Number
ade7169f16
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
ADE7169F16
Table 49. VSW ADC value SFR (VSWADC, 0xEF)
Table 50. Battery ADC value SFR (BATADC, 0xDF)
Table 51. Temperature ADC value SFR (TEMPADC, 0xD7)
TEMPERATURE MEASUREMENT
To provide a digital temperature measurement, the
ADE7169F16 includes a dedicated ADC. An 8-bit Temperature
ADC value SFR (TEMPADC, 0xD7) holds the results of the
temperature conversion. The resolution of the temperature
measurement is TBD˚C/LSB. There are two ways to initiate a
temperature conversion:
- Single Temperature Measurement
- Background Temperature Measurements
Single Temperature Measurement
Set the TEMP_ADC_GO bit in the Start ADC Measurement
SFR (ADCGO, 0xD8) to get a temperature measurement. An
interrupt will be generated when the conversion is done and the
temperature measurement is available in the Temperature ADC
value SFR (TEMPADC, 0xD7).
Background Temperature Measurements
Background temperature measurements are disabled by default.
To configure the background temperature measurement mode,
set a temperature measurement interval in the Peripheral ADC
Strobe Period SFR (STRBPER, 0xF9). Then temperature
measurements will be performed periodically in the
background – see Table 45. When a temperature conversion
completes, the new temperature ADC value is compared to the
last temperature ADC value that created an interrupt. If the
absolute difference between the two values is greater than the
setting in the TEMP_DIFF bits in the Temperature and Supply
Delta SFR (DIFFPROG, 0xF3), a TEMPADC interrupt is
generated. This allows temperature measurements to take place
completely in the background, only requiring MCU activity if
the temperature has changed more than a configurable delta.
Bit
Location
7-0
Bit
Location
7-0
Bit
Location
7-0
Bit
Mnemonic
VSWADC
Bit
Mnemonic
BATADC
Bit
Mnemonic
TEMPADC
Default
Value
0
Default
Value
0
Default
Value
0
Description
The VSW ADC value in this register is updated when an ADC interrupt
occurs.
Description
The battery ADC value in this register is updated when an ADC interrupt
occurs.
Description
The temperature ADC value in this register is updated when an ADC
interrupt occurs.
Rev. PrD | Page 68 of 140
To set up background temperature measurements:
Temperature ADC in PSM1 and PSM2
Depending on the operating mode of the ADE7169F16, a
temperature conversion is initiated only by certain actions:
PSM0: In this operating mode, the 8052 is active. Temperature
measurements are available in the background measurement
mode and by initiating a single measurement.
PSM1: In this operating mode, the 8052 is active and the part is
powered from battery. Single temperature measurements can be
initiated by setting the TEMP_ADC_GO bit in the Start ADC
Measurement SFR (ADCGO, 0xD8). Background temperature
measurements are not available.
PSM2: In this operating mode, the 8052 is not active.
Temperature conversions are available through the background
measurement mode only.
The Temperature ADC value SFR (TEMPADC, 0xD7) is
updated with a new value only when a temperature ADC
interrupt occurs.
1.
2.
3.
Initiate a single temperature measurement by setting
the TEMP_ADC_GO bit in the Start ADC
Measurement SFR (ADCGO, 0xD8).
Upon completion of this measurement, configure the
TEMP_DIFF[2:0] bits to establish the change in
temperature that will trigger an interrupt.
Set up the interval for background temperature
measurements by configuring the
TEMP_PERIOD[1:0] bits.
Preliminary Technical Data

Related parts for ade7169f16