Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: SPI usage

2005-01-13 by Bruce Paterson

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

-- 
Cheers,
Bruce
-------------------------------------------------------------------
     /\\\/\\\/\\\    /   /      Bruce Paterson
    /  \\\ \\\ \\\  /   /    Senior Design Engineer
   /   /\\\/\\\/\\\/   /   8 Anzed Court, Mulgrave, Vic, 3170
  /   /  \\\ \\\ \\\  /  PO Box 4112, Mulgrave, Vic, 3170, Australia
/   /    \\\/\\\ \\\/   Ph: +61 3 8561 4232   Fax: +61 3 9560 9055
       Tele-IP Ltd.      Email: bruce@...    Icq: #32015991
                         WWW:   http://www.tele-ip.com       VK3TJN
-------------------------------------------------------------------

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.