Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Interfacing two peripherals on the same SPI port... SSEL function?

2006-03-21 by Sean

The SSEL line is the dedicated CS signal per device.  The output SSEL line 
on the uC is just an example, you can use any GPIO for this functionality 
to control multiple devices, or if you want several then you can use a 
decoder chip i.e. 2-to-4 or 3-to-8 to conserve on GPIO lines.

-- Sean

At 05:21 3/21/2006, you wrote:
>Dear,
>
>How should I use the SPI port on an LPC2200 processor if I want to
>interface two or more peripherals on it?
>
>I thought that every slave peripheral should have a dedicated Chip
>Select signal, and the one for which CS is low would be allowed to
>talk/hear.
>
>BUT, there is only one SSEL signal per SPI bus on the LPC. Should I
>use GPIO pins to create a CS for each peripheral?
>
>Many thanks in advance.

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.