Searching \ for '[PIC]: PIC i2c Error Checking Considerations' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/i2cs.htm?key=i2c
Search entire site for: 'PIC i2c Error Checking Considerations'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: PIC i2c Error Checking Considerations'
2001\02\16@211041 by rostaman

flavicon
face
Hi, all.
I am about to implement error checking on top
of the PIC's i2c MSSP subsystem.  I have a
C language snippet of CRC-16 (divisor polynomial
x^16 + x^5 + x^2 + 1), and am wondering if anybody
is using this.  If so, is there assembly source
available on the web?  If not, what is commonly
used in the i2c world for handling bit flips between
master and slave?

Thanks!
Ross






__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\02\16@214421 by Bob Ammerman

picon face
----- Original Message -----
From: rostaman <spam_OUTrostamanTakeThisOuTspamONEBOX.COM>
To: <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
Sent: Wednesday, February 14, 2001 8:44 PM
Subject: [PIC]: PIC i2c Error Checking Considerations


> Hi, all.
> I am about to implement error checking on top
> of the PIC's i2c MSSP subsystem.  I have a
> C language snippet of CRC-16 (divisor polynomial
> x^16 + x^5 + x^2 + 1), and am wondering if anybody
> is using this.  If so, is there assembly source
> available on the web?  If not, what is commonly
> used in the i2c world for handling bit flips between
> master and slave?

The usual assumption is that i2c, being designed for the controlled
environment of (typically) a single circuit board, is an error-free channel.

Thus, error correcting protocols are generally not used on i2c.

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level
software)

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\02\17@120526 by Olin Lathrop

face picon face
> I am about to implement error checking on top
> of the PIC's i2c MSSP subsystem.  I have a
> C language snippet of CRC-16 (divisor polynomial
> x^16 + x^5 + x^2 + 1), and am wondering if anybody
> is using this.  If so, is there assembly source
> available on the web?  If not, what is commonly
> used in the i2c world for handling bit flips between
> master and slave?

I have used IIC in a number of different projects, and have not used error
detection/correction on any of them and have not had problems.  I consider
IIC only good for connection between chips locally on the same board.  It
never goes "external".  If you're careful with the clock rate and observe
all the specs, IIC is little different than other wires between chips.

If using the PIC MSSP module in master mode, don't go above 500Kbits/S and
remember to put extra capacitance on the data line.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, olinspamKILLspamembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...