Re: Dallas DS18B20 CRC
- From: suppamax <max.giacometti@xxxxxxxxx>
- Date: Wed, 16 Jul 2008 07:18:13 -0700 (PDT)
Another thing I noticed is this one.
For some couples (temperature, counts remaining) I always receive a
wrong CRC, while when "counts remaining" is one unit less, the crc is
correct. For example
Temperature - LSB = 0xA3
Temperature - MSB = 0x01
TH = 0x4B
TL = 0x46
configuration register = 0x7F
reserved = 0xFF
counts remaining = 0x0D <===
reserved = 0x10
CRC = 0xCE [CORRECT]
but sometimes I receive
Temperature - LSB = 0xA3
Temperature - MSB = 0x01
TH = 0x4B
TL = 0x46
configuration register = 0x7F
reserved = 0xFF
counts remaining = 0x0E <===
reserved = 0x10
CRC = 0xD8 [WRONG correct CRC is 0x9B]
Thermometer doesn't work in parasite power mode, and it has sufficient
time to perform temperature conversion (1 second).
Max
.
- References:
- Dallas DS18B20 CRC
- From: suppamax
- Re: Dallas DS18B20 CRC
- From: Richard Seriani
- Re: Dallas DS18B20 CRC
- From: suppamax
- Dallas DS18B20 CRC
- Prev by Date: Re: Simple C question...entering binary
- Next by Date: Re: AVR, polling INT0 IRQ bit - help?
- Previous by thread: Re: Dallas DS18B20 CRC
- Next by thread: Re: Dallas DS18B20 CRC
- Index(es):
Relevant Pages
|