參數(shù)資料
型號(hào): ADE7169ACPZF16-RL
廠商: ANALOG DEVICES INC
元件分類(lèi): 模擬信號(hào)調(diào)理
英文描述: Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
中文描述: SPECIALTY ANALOG CIRCUIT, QCC64
封裝: 9 X 9 MM, ROHS COMPLIANT, MO-22-VMMD-4, LFCSP-64
文件頁(yè)數(shù): 101/140頁(yè)
文件大?。?/td> 1359K
代理商: ADE7169ACPZF16-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è)第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è)當(dāng)前第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
Remark:
The read protection does not prevent MOVC
commands to be executed within the code.
Rev. PrD | Page 101 of 140
There is an additional layer of protection offered by a protection
security key. The user can setup a protection security key so
that the protection scheme cannot be changed without this key.
Once the protection key has been configured, it may not be
modified.
Enabling Flash Protection by Code
The protection byts in the Flash can be programmed using
Flash controller command and programming ECON to 0x08.
The EADRH, EADRL, PROTB1 and PROTB0 bytes are used in
this case to store the data to be written to the 32 bits of write
protection. Note that the EADRH and EADRL registers are not
used as data pointers here, but to store write protection data.
PROTR
PROTKY
PROTB0
PROTB1
EADRL
EADRH
RP
31-28
RP
27-24
PROTECTION KEY
RP
23-20
RP
19-16
RP
15-12
RP
11-8
RP
7-4
RP
3-0
WP
7
WP
6
WP
5
WP
4
WP
3
WP
2
WP
1
WP
0
WP
15
WP
14
WP
13
WP
12
WP
11
WP
10
WP
9
WP
9
WP
23
WP
22
WP
21
WP
20
WP
19
WP
18
WP
17
WP
16
WP
31
WP
30
WP
29
WP
28
WP
27
WP
26
WP
25
WP
24
0x3FFF
0x3FFE
0x3FFD
0x3FFC
0x3FFB
0x3FFA
0x3FF9
0x3E00
Figure 68: Flash Protection in Page 31
The sequence for writing the protection bits is:
1.
Set up the EADRH, EADRL, PROTB1 and PROTB0
registers with the write/erase protection bits. When
erased, the protection bits default to 1, like any other
bit of Flash memory. The default protection setting is
for no protection. To enable protection, write a 0 to
the bits corresponding to the pages that should be
protected.
2.
Set up the PROTR register with the read protection
bits. Note that every read protection bit protects four
pages. To enable the read protection bit, write a 0 to
the bits that should be read protected.
3.
To enable the protection key, write to the PROTKY
register. If enabled, the protection key will be required
to modify the protection scheme. The protection key,
flash memory address 0x3FFA defaults to FFH so if
the PROTKY register is not written to, it will remain
0xFFH. If the protection key is written to, the
PROTKY register must be written with this value
every time the protection functionality is accessed.
Note that once the protection key is configured, it
cannot be modified.
4.
Run the protection command by writing 08H to the
ECON register.
5.
Reset the chip to activate the new protection.
To enable read and write/erase protection for the last page only,
use the following 8051 code. Writing the flash protection
command to the ECON register initiates programming the
protection bits in the flash.
; enable write/erase protection on the last page only
MOV EADRH, #07FH
MOV EADRL, #0FFH
MOV PROTB1, #FFH
MOV PROTB0, #FFH
; enable read protection on the last four pages only
MOV PROTR, #07FH
; set up a protection key of 0A3H. This command can be
; omitted to use the default protection key of 0xFF
MOV PROTKY, #0A3H
; write the flash key to the FLSHKY register to enable flash
; access. The flash access key is not configurable.
MOV FLSHKY, #3BH
; write flash protection command to the ECON register
MOV ECON, #08H
Enabling Flash Protection by emulator
commands
Another way to set the Flash protection bytes is to use some
reserved emulator commands available only in download mode.
These commands write directly to the SFRs and can be used to
duplicate the operation mentioned in the Enabling Flash
Protection by Code paragraph. Once these Flash bytes are
written, the part can exit emulation mode by reset and the
protections will be effective. This method can be used in
production and implemented after downloading the program.
The commands used for this operation are an extension of the
commands listed in the application note uC004 –
Understanding the Serial Download Protocol:
- Command with ASCII code ‘I’ or 0x49 write the data into R0
- Command with ASCII code ‘F’ or 0x46 write R0 into the SFR
address defined in the data of this command
Omitting the protocol defined in uC004, the sequence to load
protections are similar to the sequence presented mentioned in
the Enabling Flash Protection by Code paragraph.except that
two emulator commands are necessary to replace one assembly
相關(guān)PDF資料
PDF描述
ADE7169ASTF16 Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ASTF16-RL Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADE7169ACPZF16-RL1 制造商:AD 制造商全稱(chēng):Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ASTF16 制造商:AD 制造商全稱(chēng):Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ASTF16-RL 制造商:AD 制造商全稱(chēng):Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ASTZF16 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 類(lèi)別:集成電路 (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:是 類(lèi)別:集成電路 (IC) >> PMIC - 能量測(cè)量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*