public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: I2C for RTC
       [not found] <20071212081800.DE4883FFF@jifvik.dyndns.org>
@ 2007-12-12 16:00 ` Jonathan Larmour
  0 siblings, 0 replies; only message in thread
From: Jonathan Larmour @ 2007-12-12 16:00 UTC (permalink / raw)
  To: Navya S Kamath; +Cc: eCos discussion

Navya S Kamath wrote:
> Hi All,
> 
> I would like to use I2C using GPIO 7 and 8 on IXP425 to access RTC through
> redboot. I have included I2C package. What are the things to be taken care?

NB, this was misaddressed - please check your addressee before you send. It
isn't ecos-discuss-owner!

Secondly, to answer the question, the I2C package provides I2C
infrastructure only. It does not provide a hardware driver. You need to
write an I2C driver and then a wallclock driver that uses the I2C
interface. I suggest starting at the I2C package documentation, and looking
at the existing m68k i2c hardware driver example.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

-- 
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] only message in thread

only message in thread, other threads:[~2007-12-12 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20071212081800.DE4883FFF@jifvik.dyndns.org>
2007-12-12 16:00 ` [ECOS] Re: I2C for RTC Jonathan Larmour

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).