Thank you Robert The pull up on SSEL cured the problem!! Regards Mark Butcher --- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> wrote: > 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, III
Message
Re: SPI on LPC2106
2005-02-24 by Mark Butcher
Attachments
- No local attachments were found for this message.