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



> > 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.
> >
>
> Thanks for the info, Olin.  What should the master do
> as a workaround, just blast the address then wait
> to read some 8-bit "ACK" back from the slave?

No, that won't work because the master will get a NACK from the slave after
sending the address byte, and therefore give up.  The workaround is to put a
capacitor on the data line to slow it down with respect to the clock.  This
was discussed a month or two ago.  Check the archives.


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

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


<001101c08b15$231cadb0$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...