Difference between revisions of "RPI SPI8"

From Land Boards Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[File:RPI_SPI8_720px.png]]
 
[[File:RPI_SPI8_720px.png]]
  
== 8-Channel SPI Bus Multiplexer ==
+
== 8-Channel SPI Bus Multiplexer for the Raspberry Pi ==
  
 
* 8 channels
 
* 8 channels
 
* Supports SPI star topology
 
* Supports SPI star topology
 
** MISO from all slaves are wired together
 
** MISO from all slaves are wired together
 +
* 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 14: Line 23:
  
 
<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>
 +
 +
== Programming ===
 +
 +
* Set channel on GPIO_22 (A0), GPIO_27 (A1), GPIO_17 (A2)
 +
* Do SPI transfer

Revision as of 16:57, 18 June 2021

RPI SPI8 720px.png

8-Channel SPI Bus Multiplexer for the Raspberry Pi

  • 8 channels
  • Supports SPI star topology
    • MISO from all slaves are wired together
  • 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.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.

Programming =

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