Difference between revisions of "RPI SPI8"

From Land Boards Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
** MISO from all slaves are wired together
 
** MISO from all slaves are wired together
 
* Connects to the SPI pins on the Raspberry Pi
 
* Connects to the SPI pins on the Raspberry Pi
** SPIMISO -
 
** SPIMOSI -
 
** SPISCK -
 
** SPICE0 -
 
* Three GPIO pins select SPI channel
 
** GPIO_22 - A0
 
** GPIO_27 - A1
 
** GPIO_17 - A2
 
  
 
=== SPI Star Topology ===
 
=== SPI Star Topology ===
Line 23: Line 15:
  
 
<pre>In Star topology all the signals are split and routed to each slave in parallel, except chip select. Multiple chip select are used to select individual slave devices. More devices support this mode than daisy-chain.</pre>
 
<pre>In Star topology all the signals are split and routed to each slave in parallel, except chip select. Multiple chip select are used to select individual slave devices. More devices support this mode than daisy-chain.</pre>
 +
 +
== Connectors ==
 +
 +
=== 40-Pin Raspberry Pi Connector ===
 +
 +
** SPIMISO - GPIO Pin 21
 +
** SPIMOSI - GPIO Pin 19
 +
** SPISCK - GPIO Pin 23
 +
** SPICE0 - GPIO Pin 24
 +
* Three GPIO pins select SPI channel
 +
** GPIO Pin 22 - A0
 +
** GPIO Pin 27 - A1
 +
** GPIO Pin 17 - A2
  
 
== Programming ==
 
== Programming ==

Revision as of 17:37, 18 June 2021

8-Channel SPI Bus Multiplexer for the Raspberry Pi

RPI SPI8 720px.png

  • 8 channels
  • Supports SPI star topology
    • MISO from all slaves are wired together
  • Connects to the SPI pins on the Raspberry Pi

SPI Star Topology

SPI Star Topology.png

From Practical EE: SPI Bus page:

In Star topology all the signals are split and routed to each slave in parallel, except chip select. Multiple chip select are used to select individual slave devices. More devices support this mode than daisy-chain.

Connectors

40-Pin Raspberry Pi Connector

    • SPIMISO - GPIO Pin 21
    • SPIMOSI - GPIO Pin 19
    • SPISCK - GPIO Pin 23
    • SPICE0 - GPIO Pin 24
  • Three GPIO pins select SPI channel
    • GPIO Pin 22 - A0
    • GPIO Pin 27 - A1
    • GPIO Pin 17 - A2

Programming

  • Set channel on GPIO_22 (A0), GPIO_27 (A1), GPIO_17 (A2)
  • Do SPI transfer

Assembly Sheet

RPI-SPI8 Assembly Sheet - Rev 1