but, having never used a beagleboard before, and being generally new
to embedded linux, i'm slightly confused by the virtual device system
in /sys/class/
thanks to some online examples, i can map the /sys/class/gpio/
locations and poll / set GPIO pins.
but what i would really like is to use the beaglebone as an SPI
master, and the correct use of the /sys/class/spi/ locations remains
mysterious.
is it easy to explain? is there some existing example code for
userland SPI? or should i proceed directly to writing a device driver?
i've tried looking online a bit, and found only missing links and some
references to apparently nonexistent SPI drivers. so it seemed like a
good time to post the question.
I'm new to the beaglebone myself (only had it for a couple weeks), but
the ECE497 has been a great resource. Its designed for previous beagle
boards, but the information applies with a bit of thinking. I wish I
could be of more help, but this is the extent of my current knowledge
(for now)
did you able to solve this problem. We are also little bit confused
regarding how to make the SPI work in BeagleBone. Any help from
someone would be appreciated. Thanks.