[En-Nut-Discussion] EIR and new NutOs 4.8.3

Harald Kipp harald.kipp at egnite.de
Wed Jul 8 13:30:23 CEST 2009


Wiegelmann wrote:
> Hey folks,
>
> somebody changed the spi-Support

Hi Jörg,

I did a lot of changes as explained at
http://www.ethernut.de/en/documents/ntn-6_spi.html

However, these routines are implemented in new modules, using a new API.
The old version should still work.

Unfortunately the SourceForge SVN web interface currently shows an old
state, but from my local copy I cannot see any related change from 4.8.2
to 4.8.3.

Btw. the new project
http://sourceforge.net/projects/ewebradio/
uses this new SPI interface. The amazing result is, that the code can be
build for all Ethernuts (including 8 bit AVRs), the EIR and for the ARM9
based AT91SAM9260-EK.

>  for SAM7 from NUT OS 4.8.3. Does anyone have a "howto" to get the stuff work. I stuck a bit, because I can't get my old software running with the new NUTOS. The line
>
> outr(SPI0_CSR0, (64 << SPI_SCBR_LSB) | SPI_NCPHA);
>
> to reduce the speed of the bus is blocking the bus in the new version. In the old version all is running fine. Is the spi-polling mode working? 
>   
We'd need this infos. What version did you upgrade to 4.8.3 exactly?

> By the way, does anyone know how to disable the MP3-Codecdevice in nutconf? I don't need it for my application.
>   
No need to disable it. If you check your application's .map file, you
should not find any reference to the MP3 codec, if your application
doesn't use it. If you find one, the .map file will also be useful to
find out, which reference caused the inclusion of that code.

Harald



More information about the En-Nut-Discussion mailing list