piclist 2003\06\16\104950a >
Thread: More TWI problem info
www.piclist.com/techref/index.htm?key=more+twi+problem
face picon face BY : Sean H. Breheny email (remove spam text)



Hi Mike,

I have 2.2k resistors to 5V(Vdd) from both the SDA and SCL lines right next
to the master. I did originally have 1k resistors but then I found out that
this just barely violated a 3mA max pull-down current spec for the
ATmega128's TWI module, so I switched them to 2.2k with no change in operation.

I have since "fixed" the problem by having a time-out on the loop that
waits for the transfer to complete and having my code reset the TWI after
each transfer. However, once every few thousand transfers, I still get the
wrong value (which may or may not be the same problem, I'll have to look
into it further).

Sean

At 07:37 AM 6/16/2003 +0100, you wrote:
>Do you have the correct value pullups on the master?
>
>Mike

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

In reply to: <23075D38FE1C8144847DFAECA3565F270173E156@pai-smx-01.europe .bkhm.net>
See also: www.piclist.com/techref/index.htm?key=more+twi+problem
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) More TWI problem info

month overview.

new search...