Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is USB Enumeration?

Status
Not open for further replies.

JazzRei

Member level 1
Joined
Oct 13, 2010
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,499
Hi..

I'm trying to design to tap power from USB port and supply to a device.
I know through USB enumeration process, it goes through the transition of
Attached--->Powered--->Default--->Addressed--->Configured.
I'm using a PIC18F4550 which support USB interface.
Can anyone do explain in details of the process?

Appreciate for the feedback.
 

In a nutshell, the USB enumeration is a process of sending some commands and receiving data from the enumerated device to gather information about the device (device name, VID and PID numbers, number of endpoinds, required power, name of the company that made the device etc.)
When you plug your device into USB port the PC (named "host") sends some commands which must be implemented by each USB device (no matter what device type is). For example, the first command which is sent by the host is command called "GetDeviceDescriptor". The DeviceDescriptor is an 18-byte data structure containing the most important information about your device. If you want to know details about how USB enumeration process works (and everything about USB interface) i recommend you read a very good article about it:

**broken link removed**
 

Hi...

I did come by this article before. But I don't really understand the indepth. What are the impt things I should know for USB enumeration to work?
 

I don't think you will find better article describing how USB enumeration works...
The most important things you must know are described in the article.
First of all you must know what are the tokens, ACK, NACK etc., what are descriptors and their structure. Without that knowledge you will not be able to write software in your PIC18 device.
Try to read the article again and be patient.
 

Thanks for ur guidance. I will read the article again.
 

Hi kekon,

Can I check with you regarding the 4 different transfers (control, interrupt, isochronous and bulk)? I dun really understand... If possible, can u explain to me.

Thanks.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top