參數(shù)資料
型號(hào): ADE7169ASTF16-RL
廠商: ANALOG DEVICES INC
元件分類: 模擬信號(hào)調(diào)理
英文描述: Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
中文描述: ANALOG CIRCUIT, PQFP64
封裝: MS-026BCD, LQFP-64
文件頁(yè)數(shù): 87/140頁(yè)
文件大?。?/td> 1359K
代理商: ADE7169ASTF16-RL
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)當(dāng)前第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)
Preliminary Technical Data
ADE7169F16
Rev. PrD | Page 87 of 140
Figure 62: Interrupt System Functional Block Diagram
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 has been completed, the program counter is popped off
the stack by a RETI instruction. This allows program execution
to resume from where it was interrupted. The interrupt vector
addresses are shown in Table 69.
Table 69. 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)
Vector Address
0x0003
0x000B
0x0013
0x001B
0x0023
0x002B
0x0033
0x003B
0x0043
0x004B
0x0053
0x005B
WATCH DOG FUNCTIONALITY
The watchdog timer generates a device reset or interrupt within a
reasonable amount of time if the ADE7169F16 enters an
erroneous state, possibly due to a programming error or
electrical noise. The watchdog is enabled by default with a time
out of 2 seconds and will create a system reset if not cleared
within 2 seconds. The watchdog function can be disabled by
clearing the WDE (watchdog enable) bit in the watchdog
control (WatchDog Timer SFR (WDCON, 0xC0). When
enabled, the watchdog circuit generates a system reset or
interrupt (WDS) if the user program fails to set the WDE bit
within a predetermined amount of time (see the PRE3…0 bits in
Table 65). The watchdog timer is clocked from the 32 kHz
external crystal connected between the CLKIN and CLKOUT
pins. The WDCON SFR can be written only by user software if
the double write sequence described in WDWR is initiated on
every write access to the WDCON SFR
Watchdog Timer Interrupt
If the watchdog timer is not cleared within the watchdog
timeout period, a system reset will occur unless the watchdog
timer interrupt is enabled. The watchdog timer interrupt enable
bit is located in the WatchDog Timer SFR (WDCON, 0xC0).
Enabling the watchdog timer interrupt allows the program to
examine the stack or other variables that could have led the
program astray. The watchdog timer interrupt also allows the
watchdog to be used as a long interval timer.
Note that the Watchdog Timer Interrupt is automatically
configured as a high priority interrupt. This interrupt cannot be
disabled by the EA bit in the IE register. Even if all of the other
interrupts are disabled, the watchdog is kept active to watch
over the program. Interrupt Latency
The 8051 architecture requires that at least one instruction
executes between interrupts. To ensure this, the 8051 MCU core
hardware prevents the program counter from jumping to an ISR
immediately after completing a RETI instruction or an access of
the IP and IE registers.
The shortest interrupt latency is 3.25 instruction cycles, 800ns
with a clock of 4.096MHz. 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, 4us with a clock of
4.096MHz.
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 that are used in
the main program are restored to their pre-interrupt state.
Common registers that may be modified in the ISR are the
accumulator, and the PSW register. Any general purpose
registers that are used as scratchpads in the ISR should also be
restored before exiting the interrupt. The example 8051 code
shown below shows how to restore some commonly used
registers:
GeneralISR:
; save the current Accumulator value
PUSH
ACC
; save the current status and register bank selection
PUSH
PSW
; service interrupt
; restore the status and register bank selection
POP
PSW
; restore the accumulator
POP
ACC
RETI
相關(guān)PDF資料
PDF描述
ADE7169ASTZF16 Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ASTZF16-RL Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169F16 Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7751 Energy Metering IC with On-Chip Fault Detection
ADE7751AAN-REF Energy Metering IC with On-Chip Fault Detection
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADE7169ASTZF16 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測(cè)量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7169ASTZF16-RL 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測(cè)量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7169F16 制造商:AD 制造商全稱:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE75 制造商:AD 制造商全稱:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7518ASTZF16 功能描述:IC ENERGY METER MCU 16K 64LQFP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測(cè)量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*