DS28EC20: 20Kb 1-Wire EEPROM
COPY SCRATCHPAD [55h]
The Copy Scratchpad command is used to copy data from the scratchpad to the data memory and the writable
sections of the register page. After issuing the Copy Scratchpad command, the master must provide a 3-byte
authorization pattern, which should have been obtained by an immediately preceding Read Scratchpad command.
This 3-byte pattern must exactly match the data contained in the three address registers (TA1, TA2, E/S, in that
order). If the pattern matches, the target address is valid, the PF and BS flag are not set, and the target memory is
not copy protected, the AA flag is set and the copy begins. The data to be copied is determined by the three
address registers. The scratchpad data from the beginning offset through the ending offset is copied to memory,
starting at the target address. Anywhere from 1 to 32 bytes can be copied with this command. The duration of the
device’s internal data transfer is t PROG during which the 1-Wire bus must be idle or actively pulled high. Active
pullup is optional for this device. A pattern of alternating 0s and 1s are transmitted after the data has been copied
until the master issues a reset pulse. If the PF flag or BS flag is set or the target memory is copy protected, the
copy does not begin and the AA flag is not set. The BS flag ensures that Copy Scratchpad is not executed
(blocked) if there was a Read Memory or Extended Read Memory between Write Scratchpad and Copy
Scratchpad.
READ MEMORY [F0h]
The Read Memory command is the general function to read from the DS28EC20. After issuing the command, the
master must provide a 2-byte target address, which should be in the range of 0000h to 0A3Fh. If the target address
is higher than 0A3Fh, the DS28EC20 changes the upper four address bits to 0. After the address is transmitted, the
master reads data starting at the (modified) target address and can continue until address 0A3Fh. If the master
continues reading, the result is FFh. The Read Memory command sequence can be ended at any point by issuing
a reset pulse. Note that this command sets the BS flag. This requires any scratchpad data to be rewritten before it
can be used in a Copy Scratchpad sequence.
EXTENDED READ MEMORY [A5h]
This command works essentially the same way as Read Memory, except for the 16-bit CRC that the DS28EC20
generates and transmits following the last data byte of a memory page. The CRC generated by this command uses
the same polynomial as the Write Scratchpad command. After issuing the command, the master must provide a 2-
byte target address, which should be in the range of 0000h to 0A3Fh. If the target address is higher than 0A3Fh,
the DS28EC20 changes the upper four address bits to 0. After the address is transmitted, the master reads data
starting at the (modified) target address and continuing until the end of a 32-byte page is reached. At that point the
bus master receives an inverted 16-bit CRC. If the master continues reading it receives data starting at the begin-
ning of the next page, followed again by the inverted CRC for that page. Reading beyond the end of the memory is
permissible, but the result is FFh. The Extended Read Memory command sequence can be ended at any point by
issuing a reset pulse. Note that this command sets the BS flag. This requires any scratchpad data to be rewritten
before it can be used in a Copy Scratchpad sequence.
1-Wire BUS SYSTEM
The 1-Wire bus is a system that has a single bus master and one or more slaves. In all instances the DS28EC20 is
a slave device. The bus master is typically a microcontroller. The discussion of this bus system is broken down into
three topics: hardware configuration, transaction sequence, and 1-Wire signaling (signal types and timing). The 1-
Wire protocol defines bus transactions in terms of the bus state during specific time slots, which are initiated on the
falling edge of sync pulses from the bus master.
HARDWARE CONFIGURATION
The 1-Wire bus has only a single line by definition; it is important that each device on the bus be able to drive it at
the appropriate time. To facilitate this, each device attached to the 1-Wire bus must have open-drain or tri-state
outputs. The 1-Wire port of the DS28EC20 is open drain with an internal circuit equivalent to that shown in
Figure 8.
A multidrop bus consists of a 1-Wire bus with multiple slaves attached. The DS28EC20 supports both a standard
and overdrive communication speed of 15.4kbps (max) and 90kbps (max), respectively. For operation at overdrive
16 of 27
相关PDF资料
DS301X KWIK-CHG DESIGNATION STRIP SGL
DS3030W-100# IC NVSRAM 256KBIT 100NS 256BGA
DS3045W-100# IC NVSRAM 1MBIT 100NS 256BGA
DS3050W-100# IC NVSRAM 4MBIT 100NS 256BGA
DS3065W-100# IC NVSRAM 8MBIT 100NS 256BGA
DS3065WP-100IND+ IC SRAM 3.3V 8MB 34POWERCAP MOD
DS3070W-100# IC NVSRAM 16MBIT 100NS 256BGA
DS321X KIT X-WIDE DESIGN STRIP VERT
相关代理商/技术参数
DS28EC20-224-BB+ 制造商:Maxim Integrated Products 功能描述:- Rail/Tube
DS28EC20P 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:DS28EC20_1203
DS28EC20P T 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:DS28EC20_1203
DS28EC20P+ 功能描述:电可擦除可编程只读存储器 20Kb 1-Wire 电可擦除可编程只读存储器 RoHS:否 制造商:Atmel 存储容量:2 Kbit 组织:256 B x 8 数据保留:100 yr 最大时钟频率:1000 KHz 最大工作电流:6 uA 工作电源电压:1.7 V to 5.5 V 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:SOIC-8
DS28EC20P+T 功能描述:电可擦除可编程只读存储器 20Kb 1-Wire 电可擦除可编程只读存储器 RoHS:否 制造商:Atmel 存储容量:2 Kbit 组织:256 B x 8 数据保留:100 yr 最大时钟频率:1000 KHz 最大工作电流:6 uA 工作电源电压:1.7 V to 5.5 V 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:SOIC-8
DS28EC20P-224-BB+T 制造商:Maxim Integrated Products 功能描述:- Tape and Reel
DS28EC20Q-A5A-5A+T 制造商:Maxim Integrated Products 功能描述:20KB 1-WIRE EEPROM - Tape and Reel
DS28EC20Q-A5A-5A+W 制造商:Maxim Integrated Products 功能描述:20KB 1-WIRE EEPROM - Rail/Tube