public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]  i2c questions
@ 2007-02-18 17:51 Grant Edwards
  2007-02-18 18:57 ` [ECOS] " Grant Edwards
  2007-02-19  7:23 ` [ECOS] building and debugging Laurie Gellatly
  0 siblings, 2 replies; 6+ messages in thread
From: Grant Edwards @ 2007-02-18 17:51 UTC (permalink / raw)
  To: ecos-discuss

I'm trying to use the i2c (with a bit-banged driver).  I've run
into a couple glitches so far:

1) The "delay" that's specified appears to be just added on to
   the intrinsic overhead of a bit-banged driver.  Is this the
   Specifying a delay of 10,000ns on my platform results in an
   actual clock period of about 59,000ns.  The description of
   the delay parameter in the reference manual appears to
   assume that there is zero overhead involved in the driver.
   Is this the expected behavior?

2) There doesn't seem to be any way to determine when writing
   zero bytes of data with cyg_i2c_tx() whether the operation
   was successful or not, since it returns 0 for both cases.  I
   presume one should use the lower-level "transaction"
   routines for this case?

-- 
Grant Edwards                   grante             Yow!  Yow! I'm having a
                                  at               quadraphonic sensation
                               visi.com            of two winos alone in a
                                                   steel mill!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <519508.74681.qm@web62310.mail.re1.yahoo.com>]

end of thread, other threads:[~2007-02-21 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-18 17:51 [ECOS] i2c questions Grant Edwards
2007-02-18 18:57 ` [ECOS] " Grant Edwards
2007-02-18 21:56   ` Grant Edwards
2007-02-19  7:23 ` [ECOS] building and debugging Laurie Gellatly
2007-02-20 19:32   ` Andrew Lunn
     [not found] <519508.74681.qm@web62310.mail.re1.yahoo.com>
2007-02-21 10:04 ` Laurie Gellatly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).