USB

For issues with communication ports, protocols, etc.
Post Reply
Andy_bfisch
Posts: 10
Joined: Aug 09, 2009 20:20

USB

Post by Andy_bfisch »

Have everyone coded a USB Driver how speek with a mikrocontroller?
The Mikrocontroller has then the IO Pins to write or read data.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

hello Andy,
the driver self is a part from the USB stack and included in your OS (win, lin, mac ..)

you must write "only" the software running on your MC.

after you connected from USB 5V,GND, D+, D- (use the right resistors) with your MC the USB controller (of course the OS software) will enumerate your MC as new USB device.

Image

It will ask your MC for the right USB speed (low,half,full) and the type and number of endpoints and it's type of data requests (bulk,irq,..) .

I wrote my first tests with help of an book about USB 2.0
http://www.isbn-finden.de/index.php?kw= ... n10_mit-21
but you can get all specs from http://usb.org too.

There exists many stable solutions for AVR and other controllers.

You can learn something from it.

Joshy
Last edited by D.J.Peters on Nov 03, 2010 13:11, edited 2 times in total.
I3I2UI/I0
Posts: 90
Joined: Jun 03, 2005 10:39
Location: Germany

Post by I3I2UI/I0 »

Post Reply