Difference between revisions of "RPI SPI8"

From Land Boards Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
<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 ===
+
== Programming ==
  
 
* Set channel on GPIO_22 (A0), GPIO_27 (A1), GPIO_17 (A2)
 
* Set channel on GPIO_22 (A0), GPIO_27 (A1), GPIO_17 (A2)
 
* Do SPI transfer
 
* Do SPI transfer

Revision as of 16:58, 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