ADE7166ASTZF16 Analog Devices Inc, ADE7166ASTZF16 Datasheet - Page 111

IC ENERGY METER 1PHASE 64LQFP

ADE7166ASTZF16

Manufacturer Part Number
ADE7166ASTZF16
Description
IC ENERGY METER 1PHASE 64LQFP
Manufacturer
Analog Devices Inc
Datasheets

Specifications of ADE7166ASTZF16

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
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADE7166ASTZF16
Manufacturer:
VHK
Quantity:
2
Part Number:
ADE7166ASTZF16
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADE7166ASTZF16-RL
Manufacturer:
KOA
Quantity:
50 000
Part Number:
ADE7166ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Table 106. Flash Write/Erase Protection 0 SFR (PROTB0, Address 0xBD)
Bit
[7:0]
Table 107. Flash Write/Erase Protection 1 SFR (PROTB1, Address 0xBE)
Bit
[7:0]
Table 108. Flash Read Protection SFR (PROTR, Address 0xBF)
Bit
[7:0]
Table 109. Flash Low Byte Address SFR (EADRL, Address 0xC6)
Bit
[7:0]
Table 110. Flash High Byte Address SFR (EADRH, Address 0xC7)
Bit
[7:0]
Flash Functions
The following sample 8052 code is provided to demonstrate
how to use the flash functions. For these examples, Flash
Memory Byte 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
Mnemonic
PROTB1
Mnemonic
PROTB0
Mnemonic
PROTR
Mnemonic
EADRH
Mnemonic
EADRL
Default
0xFF
Default
0xFF
Default
0xFF
Default
0
Default
0
; Data to be written
; Set up byte address
; Write Flash security
; Write Byte
Description
This SFR is used to write the write/erase protection bits for Page 8 to Page 15 of the flash memory
(see the Protecting the Flash section). Clearing the bits enables the protection.
PROTB1.7
Page 15
Description
This SFR is used to write the write/erase protection bits for Page 0 to Page 7 of the flash memory
(see the Protecting the Flash section). Clearing the bits enables the protection.
PROTB0.7
Page 7
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
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
PROTB1.6
Page 14
PROTB0.6
Page 6
EADRH.6
Page 30
PROTR.6
Page 24 to
Page 27
EADRL.6
Page 22
Rev. B | Page 111 of 152
PROTB1.5
Page 13
PROTB0.5
Page 5
EADRH.5
Page 29
PROTR.5
Page 20 to
Page 23
EADRL.5
Page 21
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 ; Erase Page
PROTB1.4
Page 12
PROTB0.4
Page 4
EADRH.4
Page 28
PROTR.4
Page 16 to
Page 19
EADRL.4
Page 20
PROTB1.3
Page 11
PROTB0.3
Page 3
EADRH.3
Page 27
PROTR.3
Page 12 to
Page 15
EADRL.3
Page 19
PROTB1.2
Page 10
PROTB0.2
Page 2
EADRH.2
Page 26
PROTR.2
Page 8 to
Page 11
EADRL.2
Page 18
; Select page through
; Write Flash security
PROTB1.1
Page 9
PROTB0.1
Page 1
EADRH.1
Page 25
EADRL.1
Page 17
PROTR.1
Page 4 to
Page 7
PROTB1.0
Page 8
PROTB0.0
Page 0
EADRH.0
Page 24
PROTR.0
Page 0 to
Page 3
EADRL.0
Page 16

Related parts for ADE7166ASTZF16