Yahoo Groups archive

Lpc2000

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

Thread

Interfacing two peripherals on the same SPI port... SSEL function?

Interfacing two peripherals on the same SPI port... SSEL function?

2006-03-21 by householder_lpc

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.

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:
Show quoted textHide quoted text
>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.

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

2006-03-21 by Sagaert Johan

Hi

The SSEL is used when the LPC210x is  acting as an SPI slave.
you need to drive the chip selects yourself.

Johan
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: householder_lpc 
  To: lpc2000@yahoogroups.com 
  Sent: Tuesday, March 21, 2006 11:21 AM
  Subject: [lpc2000] Interfacing two peripherals on the same SPI port... SSEL function?


  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. 






  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers  


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

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.