From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21822 invoked by alias); 28 Oct 2005 14:12:42 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 21810 invoked by uid 22791); 28 Oct 2005 14:12:38 -0000 Received: from av-217-129-133-89.netvisao.pt (HELO epilog.ath.cx) (217.129.133.89) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 14:12:38 +0000 Received: from duckman by epilog.ath.cx with local (Exim 4.52) id 1EVUy7-0004Mi-9v for ecos-discuss@ecos.sourceware.org; Fri, 28 Oct 2005 15:12:31 +0100 From: Carlos Sobrinho Reply-To: duckman@epilog.ath.cx To: ecos-discuss@ecos.sourceware.org Date: Fri, 28 Oct 2005 14:12:00 -0000 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart17142988.CQkELObikJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510281512.30985.duckman@epilog.ath.cx> Subject: [ECOS] I2C and SPI porting help X-SW-Source: 2005-10/txt/msg00261.txt.bz2 --nextPart17142988.CQkELObikJ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 870 Hello there. I'm working with a AEB-1 board and I implemented the SPI and I2C buses with= =20 bit bang but now I would like to migrate my code to use the cyg_i2c_* and=20 cyg_spi_* infrastructure.=20 I read the hardware porting guide but I still need some more info. Can anyone point me in the right direction? Maybe give a example? I read that I only need some basic io in some functions and I need to pass = the=20 function pointer to the I2C/SPI struct. Do I need to add something in the packages/dev/spi... or can I use it in my= =20 own application? Any information would be gladly appreciated WBR Carlos Sobrinho --=20 ###########################################################################= ## # How do I get HOME? = # ###########################################################################= ## --nextPart17142988.CQkELObikJ Content-Type: application/pgp-signature Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDYjHOSBCKveLU3XwRAozQAJ9Q32bINxAeKM/HUclJg7pv8XLNswCgoqAo xKDE/Eoh8tX6I+4h3lUg2No= =Kn5I -----END PGP SIGNATURE----- --nextPart17142988.CQkELObikJ--