Difference between revisions of "ECE497 SPI Project"

From eLinux.org
Jump to: navigation, search
(Installation Instructions)
(Updated project information)
Line 19: Line 19:
 
We have integrated some code to work with a SPI radio device. The code is located at [https://github.com/larmorgs/ece497/tree/master/Project github].
 
We have integrated some code to work with a SPI radio device. The code is located at [https://github.com/larmorgs/ece497/tree/master/Project github].
  
To get started hook up pins 19 and 21 to SPI Master and SPI clock.
+
To get started hook up pins 30 and 11 to SPI Master and SPI clock.
  
== User Instructions ==
+
Then echo 0 into /sys/kernel/debug/omap_mux/spi1_d1 and /sys/kernel/debug/omap_mux/spi1_sclk to select the pin mux for SPI.
 
+
Once everything is installed, how do you use the program?  Give details here, so if you have a long user manual, link to it here.
+
 
+
== Highlights ==
+
 
+
Here is where you brag about what your project can do.
+
 
+
Include a [http://www.youtube.com/ YouTube] demo.
+
 
+
== Theory of Operation ==
+
 
+
Give a high level overview of the structure of your software.  Are you using GStreamer?  Show a diagram of the pipeline.  Are you running multiple tasks?  Show what they do and how they interact.
+
  
 
== Work Breakdown ==
 
== Work Breakdown ==
  
List the major tasks in your project and who did what.
+
So far we have done research on how Linux interfaces with SPI and we have integrated the SPI interface with current code that we have for an SPI radio. We also have explored methods of interfacing the SPI LED strip with a user to create a pleasant experience, such as creating a website to change the colors, or adding a possible twitter reader that would change the lights based on tweets.
 
+
Also list here what doesn't work yet and when you think it will be finished and who is finishing it.
+
  
 
== Future Work ==
 
== Future Work ==
  
Suggest addition things that could be done with this project.
+
We want to develop a driver that will interface with SPI and potentially create a sysfs userspace utility for the LED strip.
  
 
== Conclusions ==
 
== Conclusions ==
  
Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.
+
The SPI interface is not well developed in Linux and can use some work progressing it. We have taken on the task of getting these two devices to work in an easier manner.

Revision as of 15:19, 2 November 2012

Team members: Sean Richardson, Greg Larmore

Executive Summary

For this project we want to further improve documentation available for SPI with the Beagle Bone. In the process of our information gathering we will connect two different product that use SPI, one being an SPI radio interface and the other being a SPI LED strand.

So far there exists documentation for the BeagleBoard/SPI. There also exists other documentation regarding the SPI specifications.

The documentation is lacking for the current Beagle Bone platform interfacing with SPI. Additionally there exists virtually no documentation for using a Beagle device with the LPD8806 LED controller.

In conclusion this project should help the Beagle community in general with information sharing and usable research.


Installation Instructions

The kernel driver for SPI is installed in the latest version of the beagle bone.

We have integrated some code to work with a SPI radio device. The code is located at github.

To get started hook up pins 30 and 11 to SPI Master and SPI clock.

Then echo 0 into /sys/kernel/debug/omap_mux/spi1_d1 and /sys/kernel/debug/omap_mux/spi1_sclk to select the pin mux for SPI.

Work Breakdown

So far we have done research on how Linux interfaces with SPI and we have integrated the SPI interface with current code that we have for an SPI radio. We also have explored methods of interfacing the SPI LED strip with a user to create a pleasant experience, such as creating a website to change the colors, or adding a possible twitter reader that would change the lights based on tweets.

Future Work

We want to develop a driver that will interface with SPI and potentially create a sysfs userspace utility for the LED strip.

Conclusions

The SPI interface is not well developed in Linux and can use some work progressing it. We have taken on the task of getting these two devices to work in an easier manner.