ADE7566ASTZF8 Analog Devices Inc, ADE7566ASTZF8 Datasheet - Page 97

IC ENERGY METER MCU 8K 64LQFP

ADE7566ASTZF8

Manufacturer Part Number
ADE7566ASTZF8
Description
IC ENERGY METER MCU 8K 64LQFP
Manufacturer
Analog Devices Inc

Specifications of ADE7566ASTZF8

Applications
Energy Measurement
Core Processor
8052
Program Memory Type
FLASH (8 kB)
Controller Series
ADE75xx
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
Ic Function
Single Phase Energy Measurement IC
Supply Voltage Range
3.13V To 3.46V, 2.4V To 3.7V
Operating Temperature Range
-40°C To +85°C
Digital Ic Case Style
LQFP
No. Of Pins
64
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADE7566ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADE7566ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Preliminary Technical Data
Table 94. Flash Read Protection SFR (PROTR, 0xBF)
Bit No.
7 to 0
Table 95. Flash Low Byte Address SFR (EADRL, 0xC6)
Bit No.
7 to 0
Table 96. Flash High Byte Address SFR (EADRH, 0xC7)
Bit No.
7 to 0
Flash Functions
Sample 8051 code is provided in this section to demonstrate
how to use the flash functions. For these examples, the byte of
flash memory 0x3C00 is accessed.
Write Byte
Write 0xF3 into flash memory byte 0x3C00.
MOV EDATA, #F3h
MOV EADRH, #3Ch
MOV EADRL, #00h
MOV FLSHKY, #3Bh
key.
MOV ECON, #01H
Erase Page
Erase the page containing flash memory byte 0x3C00.
MOV EADRH, #3Ch
byte address
MOV EADRL, #00h
MOV FLSHKY, #3Bh
key.
MOV ECON, #02H
Mnemonic
PROTR
Mnemonic
EADRL
Mnemonic
EADRH
Default
0xFF
Default
0
Default
0
; Data to be written
; Setup byte address
; Write Flash security
; Write Byte
; Select page through
; Write Flash security
; Erase Page
Description
This SFR is used to write the read protection bits for Page 0 to Page 31 of the flash memory
(see the Protecting the Flash section). Clearing the bits enables the protection.
PROTR.7
Page 28 to
Page 31
Description
Flash Pointer Low Byte Address. This SFR is also used to write the write/erase protection bits for Page 16 to
Page 23 of the flash memory (see the Protecting the Flash section). Clearing the bits enables the
protection.
EADRL.7
Page 23
Description
Flash Pointer High Byte Address. This SFR is also used to write the write/erase protection bits for Page 24 to
Page 31 of the flash memory (see the Protecting the Flash section). Clearing the bits enables the
protection.
EADRH.7
Page 31
EADRH.6
Page 30
PROTR.6
Page 24 to
Page 27
EADRL.6
Page 22
Rev. PrA | Page 97 of 136
EADRH.5
Page 29
PROTR.5
Page 20 to
Page 23
EADRL.5
Page 21
Erase All
Erase all of the 16 kB flash memory.
MOV FLSHKY, #3Bh
key.
MOV ECON, #03H
Read Byte
Read flash memory byte 0x3C00.
MOV EADRH, #3Ch
MOV EADRL, #00h
MOV FLSHKY, #3Bh
key.
MOV ECON, #04H
; Data is ready in EDATA register
Erase Page and Write Byte
Erase the page containing flash memory byte 0x3C00 and then
write 0xF3 to that address. Note that the other 511 bytes in this
page are erased.
MOV EDATA, #F3h
MOV EADRH, #3Ch
MOV EADRL, #00h
MOV FLSHKY, #3Bh
key.
MOV ECON, #05H
write byte
EADRH.4
Page 28
PROTR.4
Page 16 to
Page 19
EADRL.4
Page 20
EADRH.3
Page 27
PROTR.3
Page 12 to
Page 15
EADRL.3
Page 19
EADRH.2
Page 26
PROTR.2
Page 8 to
Page 11
EADRL.2
Page 18
; Write Flash security
; Erase All
; Setup byte address
; Write Flash security
; Read Byte
; Data to be written
; Setup byte address
; Write Flash security
; Erase page and then
ADE7566/ADE7569
EADRH.1
Page 25
EADRL.1
Page 17
PROTR.1
Page 4 to
Page 7
EADRH.0
Page 24
PROTR.0
Page 0 to
Page 3
EADRL.0
Page 16

Related parts for ADE7566ASTZF8