Hello KD, in case you are using a LPC2131/2132/2138 as the master device on your SPI bus, you can configure the pin hosting SSEL function to perform a GPIO or some other non-SPI related function. Your SPI peripheral will run just fine. However, for all other currently available LPC2000 devices the SSEL pin must be configured as the SPI SSEL pin and tied via a pull-up to 3.3V. As you can see, older LPC2000 microcontrollers are always using SPI's SSEL once the SPI is enabled: masters to detect presence of another master on the bus and slaves as the select line. If you choose non-LPC213x device and configure its SPI module to be the master but select a function different from the SSEL on the corresponding pin, the SPI module will switch to the slave mode. Regards, philips_apps --- In lpc2000@yahoogroups.com, "karldalen" <karldalen@y...> wrote: > > Simple question! > > Does the SSEL pin function overide the GPio function when > the SPI interface are enabled? I need to use the SPI in 3 > pin master mode and overide the SSEL function by using > that port pin as a GP I/O? > > Since configuration are pin based and therefore it > should work even then that the manual says nothing > specific about the SSEL function! No? > > Reg > KD
Message
Re: Pin Config registers!
2004-12-10 by philips_apps
Attachments
- No local attachments were found for this message.