ade7566 Analog Devices, Inc., ade7566 Datasheet - Page 70

no-image

ade7566

Manufacturer Part Number
ade7566
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ade7566ASTZF16
Manufacturer:
Bestrely
Quantity:
4 213
Part Number:
ade7566ASTZF16
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF16
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ade7566ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADE7566/ADE7569
8052 MCU CORE ARCHITECTURE
The ADE7566/ADE7569 have an 8052 MCU core and use the
8052 instruction set. Some of the standard 8052 peripherals,
such as the UART, have been enhanced. This section describes
the standard 8052 core and its enhancements used in the
ADE7566/ADE7569.
The special function register (SFR) space is mapped into the
upper 128 bytes of internal data memory space and is accessed
by direct addressing only. It provides an interface between the
CPU and all on-chip peripherals. A block diagram showing the
programming model of the ADE7566/ADE7569 via the SFR
area is shown in Figure 75.
All registers except the program counter (PC), instruction
register (IR), and the four general-purpose register banks
reside in the SFR area. The SFR registers include power
control, configuration, and data registers that provide an
interface between the CPU and all on-chip peripherals.
MCU REGISTERS
The registers used by the MCU are summarized in this section.
Table 54. 8052 SFRs
Address
0xE0
0xF0
0xD0
0x87
0x82
0x83
0x83 and 0x82
0x81
0xAF
Table 55. Program Status Word SFR (PSW, 0xD0)
Bit No.
7
6
5
4 to 3
2
1
0
Address
0xD7
0xD6
0xD5
0xD4, 0xD3
0xD2
0xD1
0xD0
Mnemonic
ACC
B
PSW
PCON
DPL
DPH
DPTR
SP
CFG
Mnemonic
CY
AC
F0
RS1, RS0
OV
F1
P
Description
Carry Flag. Modified by ADD, ADDC, SUBB, MUL, and DIV instructions.
Auxiliary Carry Flag. Modified by ADD and ADDC instructions.
General-Purpose Flag Available to the User.
Register Bank Select Bits.
RS1
0
0
1
1
Overflow Flag. Modified by ADD, ADDC, SUBB, MUL, and DIV instructions.
General-Purpose Flag Available to the User.
Parity Bit. The number of bits set in the accumulator added to the value of the parity bit is always an
even number.
Bit Addressable
Yes
Yes
Yes
No
No
No
No
No
No
RS0
0
1
0
1
Result (Selected Bank)
0
1
2
3
Rev. 0 | Page 70 of 136
Description
Accumulator.
Auxiliary Math Register.
Program Status Word (see Table 55).
Program Control Register (see Table 56).
Data Pointer Lowest Significant Byte (see Table 57).
Data Pointer Most Significant Byte (see Table 58).
16-Bit Data Pointer (see Table 59).
Stack Pointer Lowest Significant Byte (see Table 60).
Configuration (see Table 61).
256 BYTES
REGISTER
GENERAL
PURPOSE
BANKS
STACK
RAM
Figure 75. ADE7566/ADE7569 Block Diagram
16kB ELECTRICALLY
REPROGRAMMABLE
PROGRAM/DATA
256 BYTES XRAM
NONVOLATILE
COMPATIBLE
PC
FLASH/EE
MEMORY
CORE
8051
IR
FUNCTION
REGISTER
128-BYTE
SPECIAL
AREA
OTHER ON-CHIP
PERIPHERALS:
SERIAL I/O
WDT
TIMERS
MEASUREMENT
TEMPERATURE
MANAGEMENT
LCD DRIVER
BATTERY
ENERGY
POWER
RTC
ADC
ADC

Related parts for ade7566