[SOLVED] pc microcontroller interface using usb

Status
Not open for further replies.

avirajose

Junior Member level 3
Joined
Nov 28, 2011
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Visit site
Activity points
1,491
hi,

I need to know the basics about the usb communication between pc and micro controller. I was able to establish the usb communication. Micro controller used is pic18f4550. The device is connected to pc as hid device.

I need to know the following topics,

what happens when a usb device is connected to pc?
How the pc detects the device as specific device?
what are the communications b/w pc and device?

Please do reply, thanks in advance
 

The things you are asking in the forum are as long as a 500 page book.
Its better to buy a book and start reading.
One good book on USB which i know is USB Complete by Jan Axelson
Apart from that you can read PIC Micro-controllers project from USB to RTOS, in this book you can read about USB HID Class.

what happens when a usb device is connected to pc?
This process is called Enumeration, PC assigns 0 address initially and then ask for various information, available in the descriptor files.

How the pc detects the device as specific device?
This all information available in the descriptor file.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…