Exact match. Not showing close matches.
PICList
Thread
'[SX] Dallas DS18b20 CRC code'
2007\09\08@153016
by
maxwinn/a
|
|
Hello all, Now I would like to add CRC checking. The DS18b20 datasheet explains some theory about CRC. I admit, I cannot understand it. There are many examples found on Google, but sadly for other platforms and languages. Dallas themselves do not offer assistance with the best chips, just some others... :roll: Does anyone on this forum have a sample code or link that they have previously used ? I guess even if its in PBasic/Stamp basic, I could likely translate it. So any pointers gratefully received. Thank you for looking! Max. ---------- End of Message ----------
With the help of several resources, including this forum post
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)
2007\09\10@165812 by PJMontyn/a
|
|
Max,
Check out this page:
http://www.sxlist.com/techref/ubicom/lib/io/index.htm
Half way down you'll see a bunch of links for CRC code.
Thanks,
PeterM
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215306
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)
2007\09\12@155126 by mebikeridern/a
|
|
I got the floppy disk raw sector CRC calculation working in Spin.
Floppies use a different polynomial than the Dallas chip, and for a floppy, the accumulated value is initalized to some magic number, where Dallas specifies that their value is initialized to 0.
But maybe my Spin code can be of some help. Search the propeller forum for "Floppy", select "Floppy Drive Interface" and my code is included partway down the discussion.
David
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215889
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)
2007\09\12@155718 by maxwinn/a
|
|
I will check it, thanks for the tip. When I get it running I will post the code here - so check back if you ever need it!!
Regards, Max.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215890
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2007
, 2008 only
- Today
- New search...