Have everyone coded a USB Driver how speek with a mikrocontroller?
The Mikrocontroller has then the IO Pins to write or read data.
USB
-
- Posts: 10
- Joined: Aug 09, 2009 20:20
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
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.
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
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.
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.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact: