USB Host for Propeller Platform
Rayman
Posts: 14,669
Here's a little board I'm having made right now.
It's based on the MAX3421E.
It plugs right into the Propeller platform and uses a 4-pin SPI interface to communicate. There are also 2 optional pins for interrupts.
The board also has 8 general purpose inputs and 8 general purpose outputs.
The MAX3421E can also act as a USB peripheral controller, which is why there are 2 USB connectors.... The little one is when you want to act as a peripheral, the big one is to host.
Assuming it works, it should allow a lot of USB devices to be connected to the Prop....
It's based on the MAX3421E.
It plugs right into the Propeller platform and uses a 4-pin SPI interface to communicate. There are also 2 optional pins for interrupts.
The board also has 8 general purpose inputs and 8 general purpose outputs.
The MAX3421E can also act as a USB peripheral controller, which is why there are 2 USB connectors.... The little one is when you want to act as a peripheral, the big one is to host.
Assuming it works, it should allow a lot of USB devices to be connected to the Prop....
Comments
The strange thing is that you need a FT232R connected to the Vinculum2 to do development. (That's not completely true because you can use the serial port to upload firmware).
I think I'd rather stick with the MAX chip, but looking at $12 for 2 USB ports verses $4 with Vinculum2 makes me like that way better.
For people like me that use the bigger, pinned version, you could solder wires to the pins you need in a pinch....
http://www.parallax.com/tabid/768/List/0/ProductID/434/Default.asp
I believe the VNC2-48 is pin compatible with VNC1, but yes new software may be required, but surely VNC1 emulation would be high on FTDI's priority list
Wait a minute... I just thought of a great idea...
Ok, I was thinking about making a board that plugged into the SD card socket, but the Prop Platform makes that not such a good idea since you already have access to the SD card's pins...
After thinking about this some more, the only reason I'm leaning toward the VNC2 over the MAX chip is the presumed ability to talk to a mouse and a keyboard using only a 4 pin SPI bus.
Can we get an update on this project? This is big news indeed.
OBC
I made USB_Host curcuit(same as MAXIM's sample curcuirt) with MAX3421E.
I translated MAXIM's code to PropForth.
Prop can read mouse's Descriptor.
But in case of FullSpeed Device(USB memory), prop can't read it.
MAX3421E return hrJERR after sending first setup-token to USB-device.
Do you know this trouble?
BTW: I'm now looking at Vinculum II chips to do the same thing. They are half the price and have 2 USB host controllers. But, this will also take a huge effort to get going (so it may not happen).
Platform_UsbHost.sch
PlatformUsbHost2.pcb