At 05:07 PM 2/23/05 +0000, Mark Butcher wrote:
>After the last command the status register has the bit 0x80 (SPIF)
>set to 1, indicating that the transfer has completed (before it was
>at 0), but I see no data sent (neither signals on the clock line nor
>the data line nor the SSEL line). In fact they all seem to be in a
>high impedence state since I measure zero voltage (or 3V3 with a
>pull up resistor).
>
>Therefore I conclude that I have problems setting the SPI ports to
>the correct mode but PINSEL0 seems to be correct (which I have
>verified several times to be sure).
>
>So what is the trick involved to get it working?
SSEL must a - be an input and b - be pulled high.
See http://www.open-research.org.uk/ARMuC/index.cgi?LPC2100Tips
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] SPI on LPC2106
2005-02-23 by Robert Adsett
Attachments
- No local attachments were found for this message.