DS2505 Maxim, DS2505 Datasheet - Page 21

no-image

DS2505

Manufacturer Part Number
DS2505
Description
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS2505
Quantity:
5 510
Part Number:
DS2505
Manufacturer:
ALLEGRO
Quantity:
5 510
Part Number:
DS2505
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS2505+
0
Part Number:
DS2505P
Manufacturer:
TOS
Quantity:
1 971
Part Number:
DS2505P
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS2505P+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS2505P+T
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS2505P+T&R
Manufacturer:
MAXIM
Quantity:
32
Part Number:
DS2505U+
Manufacturer:
DALLAS
Quantity:
20 000
DS2505
PROGRAM PULSE TIMING DIAGRAM Figure 11
CRC GENERATION
With the DS2505 there are two different types of CRCs (Cyclic Redundancy Checks). One CRC is an
8-bit type and is stored in the most significant byte of the 64-bit ROM. The bus master can compute a
CRC value from the first 56 bits of the 64-bit ROM and compare it to the value stored within the DS2505
to determine if the ROM data has been received error-free by the bus master. The equivalent polynomial
8
5
4
function of this CRC is: X
+ X
+ X
+ 1. This 8-bit CRC is received in the true (non-inverted) form
when reading the ROM of the DS2505. It is computed once at the factory and lasered into the ROM.
16
The other CRC is a 16-bit type, generated according to the standardized CRC16-polynomial function X
15
2
+ X
+ X
+ 1. This CRC is used to safeguard user-defined EPROM data when reading data memory or
status memory. It is the same type of CRC as is used with NV RAM based iButtons to safeguard data
packets of the iButton File Structure. In contrast to the 8-bit CRC, the 16-bit CRC is always returned in
the complemented (inverted) form. A CRC-generator inside the DS2505 chip (Figure 12) will calculate a
new 16-bit CRC at every situation shown in the command flow chart of Figure 5.
The DS2505 provides this CRC-value to the bus master to validate the transfer of command, address, and
data to and from the bus master. When reading the data memory of the DS2505 with the Read Memory
command, the 16-bit CRC is only transmitted as the end of the memory is reached. This CRC is
generated by clearing the CRC generator, shifting in the command, low address, high address and every
data byte starting at the first addressed memory location and continuing until the end of the implemented
data memory is reached.
When reading the status memory with the Read Status command, the 16-bit CRC is transmitted when the
end of each 8-byte page of the status memory is reached. At the initial pass through the Read Status flow
chart the 16-bit CRC will be generated by clearing the CRC generator, shifting in the command byte, low
address, high address and the data bytes beginning at the first addressed memory location and continuing
until the last byte of the addressed EPROM Status data page is reached. Subsequent passes through the
Read Status flow chart will generate a 16-bit CRC that is the result of clearing the CRC generator and
then shifting in the new data bytes starting at the first byte of the next page of the EPROM Status data
field and continuing until the last byte of the page is reached.
21 of 24

Related parts for DS2505