This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I2C for RTC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]