piclist 2001\01\30\132313a >
Thread: : i2c Master Timing Problems
www.piclist.com/techref/i2cs.htm?key=i2c
face picon face BY : Olin Lathrop email (remove spam text)



> Anyway, the
> slave never gets an interrupt from this code.  The
> o-scope shows the same timing pattern as my successful
> bit-banging code, but the trailing edges of the MSSP's SCK
> line are close to the SDA transitions.  Don't think
> that makes a difference, but...

There is a bug in the MSSP where the master samples the ACK bit on the
falling instead of rising edge of SCK.  This can cause a race condition
where the master sees a NACK instead of ACK.  However, this bug shouldn't
keep the slave from seeing the address byte.


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

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistservKILLspamspamTakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body


<000d01c08ae9$18c96a00$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/i2cs.htm?key=i2c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) : i2c Master Timing Problems

month overview.

new search...