ADE7156ASTZF16-RL Analog Devices Inc, ADE7156ASTZF16-RL Datasheet - Page 97
![1-Phase Energy Meter IC](/photos/6/60/66065/505-64-lqfp_sml.jpg)
ADE7156ASTZF16-RL
Manufacturer Part Number
ADE7156ASTZF16-RL
Description
1-Phase Energy Meter IC
Manufacturer
Analog Devices Inc
Datasheet
1.ADE7169ASTZF16.pdf
(152 pages)
Specifications of ADE7156ASTZF16-RL
Applications
Energy Measurement
Core Processor
8052
Program Memory Type
FLASH (16 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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ADE7156ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
- Current page: 97 of 152
- Download datasheet (3Mb)
INTERRUPT VECTORS
When an interrupt occurs, the program counter is pushed
onto the stack, and the corresponding interrupt vector address
is loaded into the program counter. When the interrupt service
routine is complete, the program counter is popped off the stack
by an RETI instruction. This allows program execution to resume
from where it was interrupted. The interrupt vector addresses
are shown in Table 84.
Table 84. Interrupt Vector Addresses
Source
IE0
TF0
IE1
TF1
RI + TI
TF2 + EXF2
ITEMP (Temperature ADC)
ISPI/I2CI
IPSM (Power Supply)
IADE (Energy Measurement DSP)
IRTC (RTC Interval Timer)
WDT (Watchdog Timer)
1
INTERRUPT LATENCY
The 8052 architecture requires that at least one instruction
execute between interrupts. To ensure this, the 8052 MCU
core hardware prevents the program counter from jumping to
an ISR immediately after completing an RETI instruction or an
access of the IP and IE SFRs.
The shortest interrupt latency is 3.25 instruction cycles, 800 ns
with a clock of 4.096 MHz. The longest interrupt latency for a
high priority interrupt results when a pending interrupt is
generated during a low priority interrupt RETI, followed by a
multiply instruction. This results in a maximum interrupt
latency of 16.25 instruction cycles, 4 μs with a clock of 4.096 MHz.
This feature is not available in the ADE7116.
1
Vector Address
0x0003
0x000B
0x0013
0x001B
0x0023
0x002B
0x0033
0x003B
0x0043
0x0053
0x004B
0x005B
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
Rev. B | Page 97 of 152
CONTEXT SAVING
When the 8052 vectors to an interrupt, only the program counter
is saved on the stack. Therefore, the interrupt service routine
must be written to ensure that registers used in the main
program are restored to their pre-interrupt state. Common
SFRs that can be modified in the ISR are the accumulator
register and the PSW register. Any general-purpose registers
that are used as scratch pads in the ISR should also be restored
before exiting the interrupt. The following example 8052 code
shows how to restore some commonly used registers:
GeneralISR:
; save the current Accumulator value
; save the current status and register bank
selection
; service interrupt
…
; restore the status and register bank
selection
; restore the accumulator
PUSH
PUSH
POP
POP
RETI
ACC
PSW
PSW
ACC
Related parts for ADE7156ASTZF16-RL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ADXL203EB](/photos/9/18/91808/adxl203eb_tmb.jpg)
Part Number:
Description:
±1.7g Dual-Axis IMEMS Accelerometer Evaluation Board
Manufacturer:
Analog Devices Inc
Datasheet:
![EVAL-ADXL346Z](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Inertial Sensor Evaluation System
Manufacturer:
Analog Devices Inc
Datasheet:
![AD7512DIKD](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![AD8541ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![AD8601ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![AD8605ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![AD8631ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![ADM6322C46ARJ](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![ADM811SART-REEL-7](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![ADM811TART-REEL-7](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![ADM8828ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![ADP3331ART](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet:
![AD7887ARM-REEL](/images/manufacturer_photos/0/0/57/analog_devices_inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Analog Devices Inc
Datasheet: