USB in software
Leon
Posts: 7,620
Some time ago someone implemented a USB interface on an Atmel ATtiny2313 AVR running at 12 MHz:
http://www.obdev.at/products/avrusb/index.html
It should be feasible to do the same sort of thing with the Propeller. I'm not volunteering, though.
Leon
http://www.obdev.at/products/avrusb/index.html
It should be feasible to do the same sort of thing with the Propeller. I'm not volunteering, though.
Leon
Comments
I mainly want to emulate HID and UART class devices but the nextgen Prop will be that much faster I would think it would be possible to easily run 12Mbps. At that speed it might even be possible to emulate a 10Mbps ethernet device at some level which almost any 10/100 ethernet interface will be happy with.
*Peter*
I have been having this idea of making USB low level drivers with Propeller assembly, and was considering it (low speed mouse/keyboard type) to be my MSc thesis material, but I'm not sure if it'll be possible. I'm now in middle of finalising my BSc and I need to look out what can be done with local Uni... They aren't really too interested about Embedded like stuff.
For timing.. I had some preliminary code segments (untested) for 1.5MBps read/write written, it needs a bit higher clock than usually (IIRC 6 MHz xtal with 16* PLL) to work.
Edit.. sorry.. I think 6MHz oscillator and 16X pll woul be ok.. That's 96Mhz clock => 24MIps => 16 instructions/each bit in low speed Usb bus.
Post Edited (JoannaK) : 6/11/2007 2:06:57 AM GMT
www.sxlist.com/techref/scenix/lib/io/dev/keys/usbdemo-mh.htm
http://www.elektor.de/Default.aspx?tabid=27&art=5551005&PN=On
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔