OpenCores
no use no use 1/1 no use no use
Address decoding in USB 2.0
by Harish_rtl_design on Nov 8, 2010
Harish_rtl_design
Posts: 6
Joined: Sep 15, 2010
Last seen: Mar 16, 2012
Hi,

I am currently involved with usb 2.0 design. I am a bit confused about address decoding in usb2.0 for the following scenario.

In USB2.0, initially during the control transfer, how do you find whether the packet is addressed to you or not when other USB devices are also connected, say when the system/host is turned on.

Thank You,

Regards,
Harish
RE: Address decoding in USB 2.0
by aydiwalid on Nov 8, 2010
aydiwalid
Posts: 3
Joined: Oct 24, 2008
Last seen: Apr 28, 2012
you should respond to any packet sent to you when you have the default address before you receive the packet set_address.

all pachets are initiated by the host so you have no collision problem.

usb have 4 pins (D+/- and power pin 5v and GND)

so when you have 5v means the host is turned on.

look you can not communicate directly with the host you should use UTMI interface.
so look to this document:

USB 2.0
Transceiver Macrocell Interface
(UTMI)
Specification
Version 1.05
3/29/2001

good luck

walid aydi
RE: Address decoding in USB 2.0
by Harish_rtl_design on Nov 10, 2010
Harish_rtl_design
Posts: 6
Joined: Sep 15, 2010
Last seen: Mar 16, 2012
Thank you for replying.

As you had mentioned that device needs to respond to any packet when it has the default address, so if there is any packet on the usb bus with other devices of default address, then who should respond to the packet. Also when host sends "set address" who should accept that packet. Pls help me with this.

Thank You,

Warm Regards,
Harish
RE: Address decoding in USB 2.0
by stuge on Nov 11, 2010
stuge
Posts: 1
Joined: May 18, 2010
Last seen: Jun 15, 2012
The host will only enable one hub port at a time.
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.