22
USB COMMAND DETAILS
USB_RESET D+/D- low for an extended period
USB Spec: A device may reset after seeing an SE0 for more than 18.7 uS, and de nitely after 10mS.
Notes: After power up and prior to Reset, the device will not respond to any USB commands. After the
device has been given a USB Reset, the device’s address will be reset to zero and the device will
be in the Default state. The chip will default to Report protocol and any pending output will be
ushed.
All registers will be reset to a state that matches power-on-reset with the following exceptions:
USB State register will be “Default instead of Attached”.
USB_SUSPEND Idle state for an extended period
USB Spec: A device may suspend after seeing an idle for more than 3mS, and de nitely after 10mS.
Notes: The chip will take a minimum of 5mS to start Suspend, though will de nitely start after 6mS.
The chip may  nish the current frame if necessary before stopping the clock. Thus, an additional
frame time may be used to reach Suspend mode.
USB_RESUME Non-idle state
USB Spec: Remote Resume signalling from a device must be between 1mS and 15mS. The host is required
to send Resume signaling for 20mS plus 10mS of resume recovery time in which it does not
access any devices. This allows devices enough time to wake back up.
Notes: The chip can cause a Resume if Remote Wakeup is enabled and a button has been pressed.
Remote resume signalling from the chip will last 11.45mS to 12.45mS.
Get_Status_Device 80 00 00 00 00 00 02 00
Returns: xx yy
xx[0] = Self Powered
xx[1] = Remote Wakeup
xx[7:2] = 0
yy = 00 (Reserved)
Default: Accept (unde ned in USB Spec)
Addressed: Accept
Con gured: Accept
Notes: Use Set_Feature_Device/Clear_Feature_Device to set/clear remote wakeup.
Get_Status_Interface 81 00 00 00 00 00 02 00
Returns: 00 00
Default: Stall (unde ned in USB Spec)
Addressed: Stall
Con gured: Accept
Notes: Both return bytes are reserved and currently 00.
23
Get_Status_Endpt0 82 00 00 00 xx 00 02 00
82 00 00 00 00 00 02 00
82 00 00 00 80 00 02 00
xx = 00 = Endpt0 OUT
xx = 80 = Endpt0 IN
Returns: xx yy
xx[0] = Halt
xx[7:1] = 0
yy = 00 (Reserved)
Default: Accept (unde ned in USB Spec)
Addressed: Accept
Con gured: Accept
Notes: Use Set_Feature_Endpt0/Clear_Feature_Endpt0 to (try to) set/clear Halt bit. According to USB,
“It is neither required or recommended that the Halt feature be implemented for the Default
Control Pipe. Since a new SETUP command will clear any Endpt0 halt bit, it is impossible to tell if
there really is a halt bit.
Get_Status_Endpt1 82 00 00 00 81 00 02 00
Returns: xx yy
xx[0] = Halt
xx[7:1] = 0
yy = 00 (Reserved)
Default: Stall (unde ned in USB Spec)
Addressed: Stall
Con gured: Accept
Notes: Use Set_Feature_Endpt1/Clear_Feature_Endpt1 to set/clear Halt bit.
Get_Con guration 80 08 00 00 00 00 01 00
Returns: xx
xx = con g value
Default: Accept (unde ned in USB Spec) – returns 00
Addressed: Accept – returns 00
Con gured: Accept – returns 01
Notes: Use Set_Con guration to change.
Get_Interface 81 0A 00 00 00 00 01 00
Returns: 00
Default: Stall (unde ned in USB Spec)
Addressed: Stall
Con gured: Accept – returns 00
Notes: Command has no alternate interfaces, so only valid value is 00
24
Get_Protocol A1 03 00 00 00 00 01 00
Returns: xx
xx = 00 = Boot protocol
xx = 01 = Report protocol
Default: Accept
Addressed: Accept
Con gured: Accept
Notes: Defaults to Report protocol after USB Reset. Use Set_Protocol to change.
Get_Desc_Device 80 06 00 01 00 00 nn 00
80 06 00 01 00 00 12 00
Returns: 12 01 00 02 00 00 00 08
vv vv pp pp dd dd mm PP
ss 01
vv vv = vendor id
pp pp = product id (vendor speci ed)
dd dd = device id (vendor speci ed) (bcd rev_id byte)
mm = iManufacturer
PP = iProduct
ss = iSerialNumber (00 - no string)
Default: Accept
Addressed: Accept
Con gured: Accept
Get_Desc_String will return stall” if Manufacturer string is queried when iManufacturer = 0x00.

ADNS-5700-H3PB

Mfr. #:
Manufacturer:
Broadcom / Avago
Description:
IC USB OPT MOUSE SENSOR 18-DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union