From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12099 invoked by alias); 12 Dec 2007 16:00:27 -0000 Received: (qmail 12086 invoked by uid 22791); 12 Dec 2007 16:00:26 -0000 X-Spam-Check-By: sourceware.org Received: from snape.ecoscentric.com (HELO snape.ecoscentric.com) (212.13.207.199) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Dec 2007 16:00:20 +0000 Received: from localhost (snape.ecoscentric.com [127.0.0.1]) by snape.ecoscentric.com (Postfix) with ESMTP id 12F48DC8405; Wed, 12 Dec 2007 16:00:17 +0000 (GMT) Received: from snape.ecoscentric.com ([127.0.0.1]) by localhost (snape.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oGBmrAhzoO9l; Wed, 12 Dec 2007 16:00:15 +0000 (GMT) Message-ID: <4760058F.8060803@eCosCentric.com> Date: Wed, 12 Dec 2007 16:00:00 -0000 From: Jonathan Larmour User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Navya S Kamath CC: eCos discussion References: <20071212081800.DE4883FFF@jifvik.dyndns.org> In-Reply-To: <20071212081800.DE4883FFF@jifvik.dyndns.org> OpenPGP: id=A5FB74E6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: I2C for RTC X-SW-Source: 2007-12/txt/msg00041.txt.bz2 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