Sergei Gavrikov wrote: > Alexander Aganichev wrote: > > Just wondering if there's any guideline on cyg_spi_device > > initialization for LPC? I think last time I ported whole SPI driver > > from AT91, but now I see LCP2XXX driver in the main tree but without > > cyg_spi_device initialization. Not sure if it now could be copied from > > AT91 without serious modifications though. > > Alexander, a few weeks ago I played with SPI on Olimex LPC-H2294 board. > There is a short tail on bitbucket about. It has sources.
Just to save your time (device init): http://bitbucket.org/tickling/olpcx22xx/src/tip/examples/spi/spiwiz1.c#cl-106 Sergei P.S. Acknowledgements Hans Rosenfeld for lpc2xxx spi -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
