Difference between revisions of "RPI SPI8"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 30: | Line 30: | ||
=== SPI Connectors === | === SPI Connectors === | ||
+ | |||
+ | Four of 2x6 right angle headers | ||
# SPICE0[A-H] | # SPICE0[A-H] |
Revision as of 17:40, 18 June 2021
Contents
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
SPI Star Topology
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
SPI Connectors
Four of 2x6 right angle headers
- SPICE0[A-H]
- SPIMOSI
- SPIMISO
- SPISCK
- VCC (3.3V from Raspberry Pi)
- GND
Programming
- Set channel on GPIO_22 (A0), GPIO_27 (A1), GPIO_17 (A2)
- Do SPI transfer