Skip to content

dominicgs/BeagleDancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeagleDancer

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 http://goodfet.sf.net and http://wiki.yobi.be/wiki/Raspdancer.

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])

Software

These instructions have been tested ona Debian image for the BeagleBone Black, the image can be found on the eLinux site: http://elinux.org/BeagleBoardDebian#Flasher

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/README.md 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 https://github.com/lthiery/SPI-Py

Build instructions are as follows:

  • $ git clone git://github.com/lthiery/SPI-Py.git
  • $ cd SPI-Py
  • $ python setup.py build
  • $ sudo python setup.py 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 dominicgs@gmail.com.

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.

Liability

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!

About

A Facedancer21 expansion board for the BeagleBone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published