參數(shù)資料
型號: DS1963S
英文描述: SHA iButton
中文描述: SHA iButton
文件頁數(shù): 32/37頁
文件大?。?/td> 349K
代理商: DS1963S
DS1963S
32 of 37
CRC GENERATION
With the DS1963S there are two different types of CRCs (Cyclic Redundancy Checks). One CRC is an
8-bit type. It is computed at the factory and lasered into the most significant byte of the 64-bit ROM. The
equivalent polynomial function of this CRC is X
been read without error the bus master can compute the CRC value from the first 56 bits of the 64-bit
ROM and compare it to the value read from the DS1963S. This 8-bit CRC is received in the true form
(non-inverted) when reading the ROM.
8
+ X
5
+ X
4
+ 1. To determine whether the ROM data has
The other CRC is a 16-bit type, generated according to the standardized CRC16-polynomial function X
+ X
Compute SHA, when reading the scratchpad and for fast verification of a data transfer when writing to
the scratchpad. It is the same type of CRC as is used with NV RAM based iButtons for error detection
within the iButton Extended File Structure. In contrast to the 8-bit CRC, the 16-bit CRC is always
returned or sent in the complemented (inverted) form. A CRC-generator inside the DS1963S chip (Figure
13) will calculate a new 16-bit CRC as shown in the command flow chart of Figure 7. The bus master
may compare the CRC value read from the device to the one it calculates from the data and decides
whether to continue with an operation or to re-read the portion of the data with the CRC error.
16
15
+ X
2
+ 1. This CRC is used for error detection with the Read Authenticated Page command,
With the Write Scratchpad command the CRC is generated by first clearing the CRC generator and then
shifting in the command code, the Target Addresses TA1 and TA2 and all the data bytes. The DS1963S
will transmit this CRC only if the data bytes written to the scratchpad include scratchpad ending offset
11111b. The data may start at any location within the scratchpad. This algorithm applies regardless of the
state of the HIDE-flag. However, if the HIDE-flag is set the data bytes that follow the target address are
used for the CRC-calculation only. They are not received in the scratchpad.
With the Read Scratchpad command the CRC is generated by first clearing the CRC generator and then
shifting in the command code, the Target Addresses TA1 and TA2, the E/S byte, and the scratchpad data
starting at the scratchpad offset. The DS1963S will transmit this CRC only if the reading continues
through the end of the scratchpad, regardless of the actual ending offset. If the HIDE-flag is set the CRC-
calculation uses FFh-bytes instead of the scratchpad data, which remains hidden.
With the Read Authenticated Page command the 16-bit CRC value is the result of shifting the command
byte into the cleared CRC generator, followed by the two address bytes, the data bytes, and the values of
the write-cycle counters of the addressed memory page and its associated secret. The write cycle counters
are shifted in with their least significant byte first. With the Compute SHA command the CRC results
from shifting the command byte into the cleared CRC generator, followed by the Target Addresses TA1
and TA2 and the SHA Control byte.
For more details on generating CRC values including example implementations in both hardware and
software, see the
Book of DS19xx iButton Standards
.
相關(guān)PDF資料
PDF描述
DS1971 256-Bit EEPROM iButton
DS1973 4-kbit EEPROM iButton
DS1977 32KB EEPROM iButton
DS1977-F5 32KB EEPROM iButton
DS1982U UniqueWare iButton
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS1963S+F5 制造商:Maxim Integrated Products 功能描述:SHA IBTN 8SOIC - Rail/Tube
DS1963S-F5 功能描述:iButton RoHS:否 存儲類型:SRAM 存儲容量:512 B 組織: 工作電源電壓:3 V to 5.25 V 接口類型:1-Wire 最大工作溫度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封裝 / 箱體:F5 MicroCan 制造商:Maxim Integrated
DS1963S-F5+ 功能描述:iButton SHA iButton RoHS:否 存儲類型:SRAM 存儲容量:512 B 組織: 工作電源電壓:3 V to 5.25 V 接口類型:1-Wire 最大工作溫度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封裝 / 箱體:F5 MicroCan 制造商:Maxim Integrated
DS1965S-1-F3 功能描述:iButton RoHS:否 存儲類型:SRAM 存儲容量:512 B 組織: 工作電源電壓:3 V to 5.25 V 接口類型:1-Wire 最大工作溫度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封裝 / 箱體:F5 MicroCan 制造商:Maxim Integrated
DS1965S-1-F5 功能描述:iButton RoHS:否 存儲類型:SRAM 存儲容量:512 B 組織: 工作電源電壓:3 V to 5.25 V 接口類型:1-Wire 最大工作溫度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封裝 / 箱體:F5 MicroCan 制造商:Maxim Integrated