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édéric <[EMAIL PROTECTED]> wrote: > Thanks I'm using the atmel. Does this driver have documentation ? > > > -------- Message d'origine-------- > De: Tom Deconinck [mailto:[EMAIL PROTECTED] > Date: mer. 04/06/2008 13:01 > À: Huguenin Frédéric; [EMAIL PROTECTED] > 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édéric > <[EMAIL PROTECTED]> 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
