DS1923 Maxim, DS1923 Datasheet - Page 44

no-image

DS1923

Manufacturer Part Number
DS1923
Description
The DS1923 temperature/humidity logger iButton® is a rugged, self-sufficient system that measures temperature and/or humidity and records the result in a protected memory section
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1923-F5#
Manufacturer:
Maxim
Quantity:
2
Part Number:
DS1923-F5#
Manufacturer:
MAXIM/美信
Quantity:
20 000
Hygrochron Temperature/Humidity Logger
iButton with 8KB Data-Log Memory
The DS1923 uses two types of CRCs. 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 com-
pare it to the value stored within the DS1923 to deter-
mine if the ROM data has been received error-free. The
equivalent polynomial function of this CRC is
X
(noninverted) form, and it is computed at the factory
and lasered into the ROM.
The other CRC is a 16-bit type, generated according to
the standardized CRC-16 polynomial function
X
tion when reading register pages or the data-log mem-
ory using the Read Memory with CRC command and
for fast verification of a data transfer when writing to or
reading from the scratchpad. In contrast to the 8-bit
Figure 14. Noise Suppression Scheme
Figure 15. CRC-16 Hardware Description and Polynomial
44
8
16
+ X
+ X
X
______________________________________________________________________________________
8
X
5
0
15
V
STAGE
+ X
PUP
V
9TH
TH
0V
STAGE
1ST
+ X
4
+ 1. This 8-bit CRC is received in the true
V
X
2
HY
9
X
+ 1. This CRC is used for error detec-
1
STAGE
10TH
STAGE
2ND
X
10
CASE A
STAGE
11TH
CRC Generation
X
11
X
2
STAGE
12TH
STAGE
3RD
X
POLYNOMIAL = X
12
X
3
STAGE
13TH
t
t
STAGE
REH
GL
4TH
X
CASE B
13
16
X
+ X
4
STAGE
14TH
15
CRC, the 16-bit CRC is always communicated in the
inverted form. A CRC generator inside the DS1923
(Figure 15) calculates a new 16-bit CRC as shown in
the command flowchart of Figure 9. The bus master
compares 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 reread the portion of
the data with the CRC error. With the initial pass
through the Read Memory with CRC flowchart, the 16-
bit CRC value is the result of shifting the command byte
into the cleared CRC generator, followed by the 2
address bytes and the data bytes. The password is
excluded from the CRC calculation. Subsequent pass-
es through the Read Memory with CRC flowchart gen-
erate a 16-bit CRC that is the result of clearing the CRC
generator and then shifting in the data bytes.
With the Write Scratchpad command, the CRC is gener-
ated by first clearing the CRC generator and then shift-
STAGE
+ X
5TH
2
+ 1
X
14
X
5
STAGE
15TH
STAGE
6TH
X
6
STAGE
7TH
t
REH
t
GL
X
15
X
INPUT DATA
7
STAGE
CASE C
16TH
STAGE
8TH
X
16
CRC OUTPUT

Related parts for DS1923