From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16741 invoked by alias); 4 Jun 2008 13:30:15 -0000 Received: (qmail 16732 invoked by uid 22791); 4 Jun 2008 13:30:14 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 04 Jun 2008 13:29:46 +0000 Received: by wf-out-1314.google.com with SMTP id 28so79812wfc.24 for ; Wed, 04 Jun 2008 06:29:44 -0700 (PDT) Received: by 10.142.170.3 with SMTP id s3mr4663131wfe.252.1212586184300; Wed, 04 Jun 2008 06:29:44 -0700 (PDT) Received: by 10.142.113.7 with HTTP; Wed, 4 Jun 2008 06:29:44 -0700 (PDT) Message-ID: Date: Wed, 04 Jun 2008 13:30:00 -0000 From: "Tom Deconinck" To: "=?ISO-8859-1?Q?Huguenin_Fr=E9d=E9ric?=" , ecos-discuss@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-IsSubscribed: yes 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: RE : [ECOS] SPI X-SW-Source: 2008-06/txt/msg00020.txt.bz2 eCoscentric has some pretty decent documentation about eCos and SPI: http://ecoscentric.com/ecospro/doc.cgi/html/ref/spi.html To enable the driver you have to add these CDL packages to your platform: CYGPKG_IO_SPI : enables the SPI generic interface layer CYGPKG_DEVS_SPI_ARM_AT91 : enables the at91 SPI bus driver You'll have to define an extra package to export your SPI devices, like you do for i2c. A good starting point might be the at91sam7sek target. On Wed, Jun 4, 2008 at 2:42 PM, Huguenin Fr=E9d=E9ric wrote: > Thanks I'm using the atmel. Does this driver have documentation ? > > > -------- Message d'origine-------- > De: Tom Deconinck [mailto:t.deconinck@gmail.com] > Date: mer. 04/06/2008 13:01 > =C0: Huguenin Fr=E9d=E9ric; ecos-discuss@sourceware.org > Objet : Re: [ECOS] SPI > > Which ARM processor are you using? > > For the Atmel family, there's an SPI driver available: devs/spi/arm/at91/ > > On Wed, Jun 4, 2008 at 12:16 PM, Huguenin Fr=E9d=E9ric > wrote: >> Hello, >> >> How do you use the SPI bus for ARM with eCos ? >> >> -- >> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos >> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss >> >> > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss