I was wondering how to get usb serial communication happening between
the beagleboard and an arduino (which uses an FTDI FT232R chip). Do I
need a driver for it? Currently I'm using the latest Angstrom demo
distribution, but I'm really happy to move to any OS as long as it
works and has development tools.
Please forgive me if I've missed some sort of list etiquette here. I'm
really desperate to get some IO going on the beagleboard - I've
written some nice audio synthesizers effects all running on the
beagleboard, but just no way to control them (except mouse/keyboard)
I've tried the Belkin G wifi stick with pretty much every angstrom
distro now, trying everything I could find on these groups, but now
have given up. So arduino would be almost as cool, if I can ever get
that working.
Really hope someone could shed some light on the arduino thing.
I was wondering how to get usb serial communication happening between
the beagleboard and an arduino (which uses an FTDI FT232R chip). Do I
You would need to use a USB 2.0 hub.
But actually you don't even need to use the USB port to communicate. You
just need a level converter to step up the 1.8V level of one of the
extra serial ports of the Beagleboard to the 5V (or 3.3V in some clones)
of the Arduino tx/rx pins.
The Beagleboard has a bunch of GPIO (general-purpose I/O) pins, but on
the 1.8V level; using level converters I've successfully driven a 20x4
LCD on the Beagleboard (LCD previously used on an Arduino).
Sigh! I miss 5V and 3.3V GPIO on the Beagleboard. But I found the
www.mbed.org board which has lots of 3.3V GPIO (5V-tolerant); if you
look at it, you may soon forget the Arduino (except -maybe- for very low
power applications). It is not a full-fledged Linux computer like the
Beagleboard, but packs more memory and computing power (Cortex-M3 at
100MHz) than the Arduino family.
I was wondering how to get usb serial communication happening
between
the beagleboard and an arduino (which uses an FTDI FT232R chip). Do I
need a driver for it? Currently I'm using the latest Angstrom demo
distribution, but I'm really happy to move to any OS as long as it
works and has development tools.
Please forgive me if I've missed some sort of list etiquette here. I'm
really desperate to get some IO going on the beagleboard - I've
written some nice audio synthesizers effects all running on the
beagleboard, but just no way to control them (except mouse/keyboard)
I've tried the Belkin G wifi stick with pretty much every angstrom
distro now, trying everything I could find on these groups, but now
have given up. So arduino would be almost as cool, if I can ever get
that working.
Really hope someone could shed some light on the arduino thing.
cheers
Marek
The other way you could try communicating is I2C. Both the Arduino
and the BeagleBoard support it, and if you have multiple Arduinos
to connect they can all be connected as slaves off the same connector
with the BeagleBoard as a master.
Thanks for the suggestions! I know I could use the GPIO's onboard, but
I want to keep things isolated, I've fried enough arduinos in my
time The mbed looks like an aweseome middle ground, but I'm doing
audio dsp so beagle has more juice for such things.
I tried plugging the device directly into the USB host port (it's USB
2.0 on the C4 right?) and got the following message:
root@beagleboard:~# [ 62.792877] hub 1-0:1.0: unable to enumerate
USB device on port 2
Got a similar message when plugging it into the same port via a USB 2
hub. Does anyone know if the latest Angstrom demo image comes with the
FTDI driver already installed? Or maybe I should try the ubuntu?
[ 684.941741] usb 1-2: configuration #1 chosen from 1 choice
[ 684.948120] hub 1-2:1.0: USB hub found
[ 684.952819] hub 1-2:1.0: 4 ports detected
[ 685.254577] usb 1-2.2: new full speed USB device using ehci-omap
and address 5
[ 685.386260] usb 1-2.2: configuration #1 chosen from 1 choice
and in my lsusb
Bus 001 Device 005: ID 0403:6001 Future Technology Devices
International, Ltd FT232 USB-Serial (UART) IC