Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A Facedancer expansion board for the BeagleBone. Most of the hard work was done by Travis Goodspeed and Philippe Teuwen. You can find their projects at and

It's called "BeagleDancer" because it sounded better than "FaceBone".

Pins (Beagle name)

    1. GND
    1. 3.3V
    1. 5V
    1. USB OTG ID detect (UART4_RXD - gpio0[30])
    1. Interrupt (UART4_TXD - gpio0[31])
    1. GPX (GPIO1_16 - gpio1[16])
    1. SPI0_CS0 (I2C1_SCL)
    1. SPI0_D1 (I2C1_SDA)
    1. SPI0_D0 (UART2_TXD)
    1. SPI0_SCLK (UART2_RXD)
    1. Reset (GPIO1_17 - gpio1[17])


These instructions have been tested ona Debian image for the BeagleBone Black, the image can be found on the eLinux site:

First install the prerequisites: $ apt-get install gcc make python-dev python-serial

Seconly, configure the pin multiplexes to allow access to the SPI device from the operating system. Detailed instructions are given in devicetree/ You may want to add a udev rule to allow non-root access to the SPI device.

The next step is to download and build the SPI-Py module (GPL), it can be found at

Build instructions are as follows:

  • $ git clone git://
  • $ cd SPI-Py
  • $ python build
  • $ sudo python install

Finally, we need to reset the MAX3421 chip using GPIO1_17. As root:

  • $ echo "48" > /sys/class/gpio/export
  • $ echo "49" > /sys/class/gpio/export
  • $ echo "30" > /sys/class/gpio/export
  • $ echo "31" > /sys/class/gpio/export
  • $ echo "out" > /sys/class/gpio/gpio49/direction
  • $ echo "0" > /sys/class/gpio/gpio49/value
  • $ echo "1" > /sys/class/gpio/gpio49/value

Licensing, etc

Copyright 2013 Dominic Spill

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License V2 as published by the Free Software Foundation.


This program is distributed for educational purposes only and is no way suitable for any particular application, especially commercial. There is no implied suitability so use at your own risk!


A Facedancer21 expansion board for the BeagleBone.




No releases published


No packages published