This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE : RE : SPI


You can just use C-code, but if you are using a target that is already
supported there is a big chance there's a cdl package define all
devices for that specific hardware target. For my hardware, I usually
create such a cdl package.

See the the ecoscentric documentation about SPI.
I was just referring to the at91sam7sek target as an example on how to
add the required SPI cdl packages to your target.

On Wed, Jun 4, 2008 at 4:14 PM, Huguenin Frédéric
<Frederic.Huguenin@he-arc.ch> wrote:
> I don't understand :
>
> --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.
>
> Do I have to create an eCos package ? Or it's just
> as standard C package in my project.
>
>
> -------- Message d'origine--------
> De: Tom Deconinck [mailto:t.deconinck@gmail.com]
> Date: mer. 04/06/2008 15:29
> À: Huguenin Frédéric; ecos-discuss@sourceware.org
> Objet : Re: RE : [ECOS] SPI
>
> 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
> <Frederic.Huguenin@he-arc.ch> 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
>> À: Huguenin Frédéric; 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édéric
>> <Frederic.Huguenin@he-arc.ch> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]