[Top][All Lists]

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

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

From: Berni Joss
Subject: [avr-gcc-list] Re: SPI comm on At90S8535
Date: Wed, 27 Nov 2002 17:59:15 +0100

Hi Torsten,
Not sure if I understand correctly your problem, but are you aware that with 
SPI in slave mode the MISO pin is either input or output depending on your 
You may want to check table 22 "SPI Pin Overrides" on page 55 of AT90S/LS8535 
datasheet (not sure which version, possibly dated 11/01)

Hope this helps,

On Wednesday 27 November 2002 01:11 am, you 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]