SPI connector pinout

From BitWizard Wiki
Revision as of 14:57, 6 April 2012 by Rew (talk | contribs)
Jump to navigation Jump to search


For the interconnect between the SPI masters and the SPI expansion boards BitWizard uses a 6-pin SPI cable.

The pinout is the same (or very similar) to the pinout of the 6-pin ICSP programming connector that lots of AVR boards have.

pin function remark
1 MISO Master In Slave Out
2 VCC power
3 SCK Shift Clock
4 MOSI Master Out Slave In.
5 SS Slave Select
6 GND Ground 0V

The connector is laid out as follows:

1 2
3 4
5 6

The board usually has pin 1 and six marked.


Connecting the BitWizard boards to an Arduino

pin function arduino pin
1 MISO 12
2 VCC 5V
3 SCK 13
4 MOSI 11
5 SS 10
6 GND Gnd

You could use other pins, but then you have to make a software SPI implementation. This is not too difficult, but might be neccesary if something else is already on the SPI pins. On the other hand, you might be able to still use the hardware SPI module by just moving the "SS" pin somewhere else.