If you don't modify the drivers (which I, of course, encourage - especially if you want to compile for a different kernel version on your target board), you can use the pins I used. Here's a chart of the pins I connected to for my example videos, and in the published drivers. (The Beaglebone Black needs SPI0 enabled through device tree before loading drivers; find out how here. The Intel Edison needs a pinmuxing script to be run before loading drivers; find that script here).
Chip Select | MOSI | SCK | CS Label | MOSI Label | SCK Label | |
Raspberry Pi 2 Model B | 22 | 19 | 23 | BCM 25 | BCM 10 (MOSI) | BCM 11 (SCLK) |
Odroid C1 | 22 | 19 | 23 | #103 | #107 | #105 |
BeagleBone Black | 15 | 18 | 22 | GPIO_48 | SPIO_D1 | SPIO_SCLK |
Intel Edison | 8 | 11 | 13 | 49 | 43/SPI_2_TXD | 40/SPI_2_CLK |
Arduino Uno | 9 | 11 | 13 | 9 | 11 | 13 |
Reference Diagram Links
Raspberry Pi 2: http://pi.gadgetoid.com/pinout
Odroid C1: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141578608433&tab_idx=2
BeagleBone Black (P9 Header): http://beagleboard.org/support/bone101
Intel Edison: http://www.emutexlabs.com/project/215-intel-edison-gpio-pin-multiplexing-guide
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.