DS2505
MEMORY FUNCTION COMMANDS
The “Memory Function Flow Chart” (Figure 5) describes the protocols necessary for accessing the
various data fields within the DS2505. The Memory Function Control section, 8-bit scratchpad, and the
Program Voltage Detect circuit combine to interpret the commands issued by the bus master and create
the correct control signals within the device. A 3-byte protocol is issued by the bus master. It is
comprised of a command byte to determine the type of operation and two address bytes to determine the
specific starting byte location within a data field. The command byte indicates if the device is to be read
or written. Writing data involves not only issuing the correct command sequence but also providing a
12-volt programming voltage at the appropriate times. To execute a write sequence, a byte of data is first
loaded into the scratchpad and then programmed into the selected address. Write sequences always occur
a byte at a time. To execute a read sequence, the starting address is issued by the bus master and data is
read from the part beginning at that initial location and continuing to the end of the selected data field or
until a reset sequence is issued. All bits transferred to the DS2505 and received back by the bus master
are sent least significant bit first.
READ MEMORY [F0H]
The Read Memory command is used to read data from the 16384-bit EPROM data field. The bus master
follows the command byte with a 2-byte address (TA1=(T7:T0), TA2=(T15:T8)) that indicates a starting
byte location within the data field. With every subsequent read data time slot the bus master receives data
from the DS2505 starting at the initial address and continuing until the end of the 16384-bit data field is
reached or until a reset pulse is issued. If reading occurs through the end of memory space, the bus
master may issue sixteen additional read time slots and the DS2505 will respond with a 16-bit CRC of the
command, address bytes and all data bytes read from the initial starting byte through the last byte of
memory. This CRC is the result of clearing the CRC generator and then shifting in the command byte
followed by the 2 address bytes and the data bytes beginning at the first addressed memory location and
continuing through to the last byte of the EPROM data memory. After the CRC is received by the bus
master, any subsequent read time slots will appear as logical 1s until a reset pulse is issued. Any reads
ended by a reset pulse prior to reaching the end of memory will not have the 16-bit CRC available.
Typically a 16-bit CRC would be stored with each page of data to ensure rapid, error-free data transfers
that eliminate having to read a page multiple times to determine if the received data is correct or not.
(See Book of DS19xx iButton Standards, Chapter 7 for the recommended file structure to be used with
the 1-Wire environment.) If CRC values are imbedded within the data, a Reset Pulse may be issued at the
end of memory space during a Read Memory command.
READ STATUS [AAH]
The Read Status command is used to read data from the EPROM Status data field. The bus master
follows the command byte with a 2-byte address (TA1=(T7:T0), TA2=(T15:T8)) that indicates a starting
byte location within the data field. With every subsequent read data time slot the bus master receives data
from the DS2505 starting at the supplied address and continuing until the end of an 8-byte page of the
EPROM Status data field is reached. At that point the bus master will receive a 16-bit CRC of the
command byte, address bytes and status data bytes. This CRC is computed by the DS2505 and read back
by the bus master to check if the command word, starting address and data were received correctly. If the
CRC read by the bus master is incorrect, a reset pulse must be issued and the entire sequence must be
repeated.
7 of 24
相关PDF资料
DS25LV02R+T&R IC OTP 1KBIT SOT23-5
DS2704G+T&R IC EEPROM 1.25KBIT 6TDFN
DS28CZ04G-4+T IC EEPROM 4KBIT 400KHZ 12TQFN
DS28DG02E-3C+T IC EEPROM 2KBIT 2MHZ 28TSSOP
DS28E04S-100+T IC EEPROM 4KBIT 16SOIC
DS28EC20+T IC EEPROM 20KBIT TO92-3
DS301X KWIK-CHG DESIGNATION STRIP SGL
DS3030W-100# IC NVSRAM 256KBIT 100NS 256BGA
相关代理商/技术参数
DS2505+TR 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:16Kb Add-Only Memory
DS2505010A6 制造商: 功能描述: 制造商:undefined 功能描述:
DS2505FRAB0 制造商:Thomas & Betts 功能描述:200A,REC,4P5W,MG,505,AB0,3P250/440
DS2505MP000 制造商:Thomas & Betts 功能描述:200A,PLG,4P5W,MG,505,3P250V
DS2505MRAB0 制造商:Thomas & Betts 功能描述:200A,NLT,4P5W,MG,505,AB0,3P250/440
DS2505P 功能描述:可擦除可编程ROM RoHS:否 制造商:Maxim Integrated 类型: 存储容量:1024 bit 组织:1 K x 1 接口类型: 工作电流:5 uA 编程电压: 工作电源电压:2.8 V to 6 V 最大工作温度:+ 85 C 安装风格:Through Hole 封装 / 箱体:TO-92
DS2505P/T&R 制造商:Maxim Integrated Products 功能描述:IC OTP 16KBIT 6TSOC
DS2505P/T&R 功能描述:可擦除可编程ROM RoHS:否 制造商:Maxim Integrated 类型: 存储容量:1024 bit 组织:1 K x 1 接口类型: 工作电流:5 uA 编程电压: 工作电源电压:2.8 V to 6 V 最大工作温度:+ 85 C 安装风格:Through Hole 封装 / 箱体:TO-92