Close

Default Pinouts For Example Linux Drivers (and Arduino Uno)

A project log for VGA Graphics Over SPI and Serial - VGATonic

640x480 (and 848x480!) Color VGA Video Card for Microcontrollers and Single Board Computers

pkPK 08/04/2015 at 15:450 Comments

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