SPI configured by eCos (MCF5213)

View: New views
3 Messages — Rating Filter:   Alert me  

SPI configured by eCos (MCF5213)

by Reto Tschuppert :: Rate this Message:

| View Threaded | Show Only this Message

Hello eCos Community

Does anybody configured its spi by eCos? Please post me a sample how to configure a device and the spi interface.
(The eCos Reference Manual is not very helpful for me!)

Thanks for your help

Tschuppi

Re: SPI configured by eCos (MCF5213)

by Reto Tschuppert :: Rate this Message:

| View Threaded | Show Only this Message

Hello again

I enabled the two packages CYGPKG_DEVS_SPI_M68K_MCF52XX and CYGPKG_IO_SPI but I didn't get the file spi_m68k_mcf52xx.h in my install folder after rebuilding ecos. What is my mistake?

Re: SPI configured by eCos (MCF5213)

by Andrew Lunn-2 :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jun 16, 2008 at 12:14:15AM -0700, Reto Tschuppert wrote:
>
> Hello again
>
> I enabled the two packages CYGPKG_DEVS_SPI_M68K_MCF52XX and CYGPKG_IO_SPI
> but I didn't get the file spi_m68k_mcf52xx.h in my install folder after
> rebuilding ecos. What is my mistake?

What eCos sources are you using?

In the public eCos code there is no SPI driver for the SPI device on
the MCF52XX. Without the sources it is hard to say what is wrong.

    Andrew

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss