From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26321 invoked by alias); 28 Oct 2005 14:20:08 -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 26288 invoked by uid 22791); 28 Oct 2005 14:20:04 -0000 Received: from carallon.force9.co.uk (HELO carallon.f9.co.uk) (80.229.37.120) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 14:20:04 +0000 Received: from [192.168.42.8] by carallon.com (MDaemon.PRO.v8.0.2.R) with ESMTP id md50000023310.msg for ; Fri, 28 Oct 2005 15:21:11 +0100 Message-ID: <436233D2.7030105@carallon.com> Date: Fri, 28 Oct 2005 14:20:00 -0000 From: Will Wagner User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 To: eCos Discussion References: <200510281512.30985.duckman@epilog.ath.cx> In-Reply-To: <200510281512.30985.duckman@epilog.ath.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Processed: carallon.f9.co.uk, Fri, 28 Oct 2005 15:21:11 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.42.8 X-Return-Path: will_wagner@carallon.com X-MDaemon-Deliver-To: ecos-discuss@ecos.sourceware.org X-MDAV-Processed: carallon.f9.co.uk, Fri, 28 Oct 2005 15:21:13 +0100 Subject: Re: [ECOS] I2C and SPI porting help X-SW-Source: 2005-10/txt/msg00262.txt.bz2 Carlos Sobrinho wrote: > Hello there. > > I'm working with a AEB-1 board and I implemented the SPI and I2C buses with > bit bang but now I would like to migrate my code to use the cyg_i2c_* and > cyg_spi_* infrastructure. > > 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 > 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 > own application? > > Any information would be gladly appreciated I can send you my implementation of SPI using an MPC866P if you want an example. > > WBR > Carlos Sobrinho -- ------------------------------------------------------------------------ Will Wagner will_wagner@carallon.com Senior Project Engineer Office Tel: 0207 371 2032 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ------------------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss