--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@...> wrote: > > Quoting Danish Ali <danish@...>: > > > A quick sanity check: > > You say you have no hardware attached. > > You know you need a pull-up resistor on the SSEL pin, > > which MUST be routed to the SPI block in PINSEL0. > > > > The user manual tells you that you can't use the SSEL pin for GPIO > > on devices earlier than the 2148 - even if you only ever use SSP as a master! > > Without this, if the pin (or when wired as GPIO, the internal floating net) > > goes low, the SPI will automatically be a slave. > > > > imho this should be in an official "gotcha" document even if it is > > not an errata item. > > See http://www.open-research.org.uk/ARMuC/LPC2100Tips.html > > Robert > I just added a pull-up to SSEL and it appears to be working! Thanks for the help Danish and thank you Robert for the link; I'm sure I would have been falling into one of the other "gotchas" in the next few days! Paul
Message
Re: SPI Code hangs
2006-03-10 by brightside_design
Attachments
- No local attachments were found for this message.