[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] SPI comm on At90S8535

From: Lorne Gutz
Subject: Re: [avr-gcc-list] SPI comm on At90S8535
Date: Wed, 27 Nov 2002 08:36:36 -0500

I have and application running that uses 2 AT90S8535 that
communicate via SPI.  
 I haven't done onything with them for over 2 years now
so the code is not on my computer and at the time I was
not using GNU gcc.    That code is still in codevision and
I have no plans to change it.
What I can do though is dig it out and have a look for you 
if you don't find an answer in the next day or two.

On Tuesday 26 November 2002 19:11, Torsten Mohr wrote:
> Hi,
> just a stupid question, it must be something really
> simple:
> I have:
>       turn LED on
> }
> I initialise:
>       outp(0x00, SPDR);
>       outp(0xeb, SPCR); // slave mode, Int enabled, LSB first
>       sei();
> Now when i set SlaveSelect of the AVR to GND, MISO should be
> set to a valid level, right?
> It is hanging at 1.3 V though there is nothing connected to it.
> I assume my initialisation is not correct, is there
> something missing?  The interrupt is never called...
> Thanks for hints,
> Torsten.
> avr-gcc-list at http://avr1.org

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]