Web Analytics
Datasheet 搜索 > ADI(亚德诺) > ADP1055 数据手册 > ADP1055 用户编程技术手册 1/3 页
ADP1055
0
ADP1055数据手册
Page:
of 3 Go
若手册格式错乱,请下载阅览PDF原文件
Rev. 0 | Page 1 of 3
AN-1382
APPLICATION NOTE
One Technology Way P. O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com
ADP1055 EEPROM Programming
by Navdeep Singh Dhanjal and Subodh Madiwale
INTRODUCTION
The ADP1055 offers a register map and an EEPROM that are
programmed with settings for a specific application. This appli-
cation note focuses on the software procedure to program the
ADP1055. Depending on the application environment, some steps,
such as entering password and writing board settings, are unnec-
essary and can be skipped.
SCANNING FOR ADP1055
The ADP1055 can be programmed to respond to 64 different
device addresses from 0x40 to 0x7F. This is set by the combination
of the resistor value on the ADD pin and the value of Bits[5:4] in
Register 0xD0.
Start with Device 0x40 and increment it all the way until
0x7F.
For each device address, try to read from Register 0xD0.
If a no acknowledge is received, the ADP1055 does not
exist at that device address.
If an acknowledge is received and Bits[7:6] in Register 0xD0
return data = 1, then the ADP1055 exists at that device
address.
When the device address of the connected ADP1055 is
known, use that same address for all communications to
the device.
KEY CODE UNLOCKING AND DATA WRITE
PREPARATION
The device needs to be unlocked and the command masking
must be programmed to write mode to allow writing to the
commands.
Changing the Key Code Password
When the device is shipped from the Analog Devices, Inc.,
factory, the default key code password is 0xFFFFFFFF. At the
end of the programming, it is highly recommended that the key
code be changed to a new key code to protect the I P.
To change the key code password, write four bytes of the old key
code to Register 0xD7 (KEY_CODE command) and then write
four bytes of the new key code to Register 0xD7.
Additionally, to further protect the IP, the commands are ready
for writing when shipped from the factory, allowing the masking
of certain or all commands to protect them from accidental
writes and intentional reads.
Unlocking the Device
If the key code is not going to be changed, use the default
0xFFFFFFFF to perform a block write of four bytes using the
KEY_CODE command to Register 0xD7 to unlock the device.
Next, perform a block read of five bytes to Register 0xD7: the
first four bytes are the password, the fifth byte is 1. This ensures
that the device is unlocked.
If the key code is changed, use the new key code to unlock the
device in the same manner as previously described for unlocking
the device without changing the key code.
Data Write Preparation
To enable read/write access to all the commands, perform a block
write of 32 bytes with Data 0xFF for each byte to COMMAND_
MASK, Register 0xF4 to enable read/write access to all PMBus
commands. Perform another block write of 21 bytes with Data 0xFF
for each byte to EXTCOMMAND_MASK (Register 0xF5) to
enable read/write access to all the manufacture specific commands.
EEPROM PASSWORD AND UNLOCKING
When the device is shipped from the Analog Devices factor y,
the default EEPROM password is 0xFF. Similar to the key code,
to protect the IP, it is highly recommended to change the EEPROM
password at the end of the programming.
Changing the EEPROM Password
To change the EEPROM password, write the old password to
Register 0xD5 then write the new password to Register 0xD5.
Unlocking the EEPROM
If the EEPROM password is not going to be changed, write
0xFF to Register 0xD5 twice to unlock the EEPROM.
If the EEPROM password was changed, use this new password
to unlock the EEPROM by writing the new password to
Command 0xD5 twice. To check that the EEPROM is unlocked,
conduct a word read from Command 0xFE94; if Bit 15 = 1, the
EEPROM is unlocked.
SAVING DATA AND LOCKING EEPROM
To save data to the EEPROM and to lock the EEPROM, take the
following steps:
1. Execute a send command to Command 0x15, to upload the
data in the commands to the EEPROM.
2. Wait for 50 ms for the upload to complete.

ADP1055 数据手册

ADI(亚德诺)
3 页 / 0.12 MByte
ADI(亚德诺)
43 页 / 5.61 MByte
ADI(亚德诺)
141 页 / 1.69 MByte
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件