Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: SPI usage

2005-01-13 by Bill Knight

On Thu, 13 Jan 2005 13:22:31 +1100, Bruce Paterson wrote:


Bruce Paterson wrote:

> 
> Hi,
> 
> I've written an interrupt based SPI driver to fit into the newlib 
> structure (ioctl, read, write).

A hardware question (it seems to be my day for questions!).
If you have SPI port enabled, used as a Master, do you have to tie the
SSEL0 pin high, or can you program that pin as a GPIO (and somehow the 
SPI core gets a permanent high supplied to it internally) ?

Seems a waste of an I/O pin to have to tie it high where most SPI 
applications would be SPI master
------------------------------------------------------------------
Bruce
  I believe the answer is yes, you must tie the SSEL0 pin high even
when operating in Master mode and yes, it seems a waste.

-Bill Knight
http://www.theARMPatch.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.