ade7566acpzf8-rl Analog Devices, Inc., ade7566acpzf8-rl Datasheet - Page 111
![no-image](/images/no-image-200.jpg)
ade7566acpzf8-rl
Manufacturer Part Number
ade7566acpzf8-rl
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
1.ADE7566ACPZF8-RL.pdf
(152 pages)
- Current page: 111 of 152
- Download datasheet (3Mb)
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 ade7566acpzf8-rl
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ade7566](/images/no-image3.png)
Part Number:
Description:
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad535kd](/images/no-image3.png)
Part Number:
Description:
Analog Divider
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad6437](/images/no-image3.png)
Part Number:
Description:
Analog Front End For Adsl
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad7868bq](/images/no-image3.png)
Part Number:
Description:
Lc2mos Complete, 12-bit Analog I/o System
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad7502sq](/images/no-image3.png)
Part Number:
Description:
Cmos 4/8 Channel Analog Multiplexers
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad73311](/images/no-image3.png)
Part Number:
Description:
Low Cost, Low Power Cmos General Purpose Analog Front End
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1582crt-reel7](/images/no-image3.png)
Part Number:
Description:
2.5 V To 5.0 V Micropower, Precision Series Mode Voltage References
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1859jrz](/images/no-image3.png)
Part Number:
Description:
Stereo, Single-supply 18-bit Integrated Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1833ast](/images/no-image3.png)
Part Number:
Description:
Multichannel 24-bit, 192 Khz, Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1881a](/images/no-image3.png)
Part Number:
Description:
Ac?97 Soundmax Codec
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1865r-j](/images/no-image3.png)
Part Number:
Description:
Complete Dual 18-bit 16 X Fs Audio Dac
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1890jpz](/images/no-image3.png)
Part Number:
Description:
Sampleport Stereo Asynchronous Sample Rate Converters
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1803jru](/images/no-image3.png)
Part Number:
Description:
U.s./international Modem Daa Line Codec Chipset
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad9630an](/images/no-image3.png)
Part Number:
Description:
Low Distortion 750 Mhz Closed-loop Buffer Amp
Manufacturer:
Analog Devices, Inc.
Datasheet:
![ad1315kz](/images/no-image3.png)
Part Number:
Description:
High Speed Active Load With Inhibit Mode
Manufacturer:
Analog Devices, Inc.
Datasheet: