background image

8

• 

setInterfaceIdle

 

– This routine is entered whenever a SET 

IDLE request is received. See the HID specification for 
the rules on setting idle periods. This function sets the 
HID idle time. See the HID documentation for details on 
handling the idle timer.

• 

setInterfaceProtocol

 

– This routine is entered whenever a 

SET PROTOCOL request is received. This no-data control 
transaction enables boot or report protocol

• 

getInterfaceReport

 

– This routine is entered whenever a 

GET REPORT request is received.

• 

getInterfaceIdle

 

– This routine is entered whenever a GET 

IDLE request is received. This function then initiates a 
control-read transaction that returns the idle time. See 
the HID class documentation for more details.

• 

getDeviceConfiguration

 

– This routine is entered whenever a 

GET CONFIGURATION Request is received. This function 
then starts a control read transaction that sends the 
configuration, interface, endpoint, and HID descriptors 
to the host.

• 

requestNotSupported

 

– Unsupported or invalid descriptor 

requests will cause this firmware to STALL these 
transactions.

Manufacturer String

1

A request for the manufacturer string will return the 
following string:

“Avago Reference Design Mouse”

Product String

2

A request for the product string will return the following 
string:

“ADNS-6090 Mouse”

Configuration String

A request for the configuration string will return the 
following string:

“HID-Compliant Mouse”

Endpoint 1 String

A request for the endpoint string will return the following 
string:

“Endpoint 1 Interrupt Pipe”

Notes: 
1.  The Manufacturer String should be changed to the name of your 

company.

 2.  The Product String should be changed to your product’s name.

Figure 6. USB Operation Function Call Map   

System

Initialization 

Normal Mouse

Mode 

Judge Mode

Load SROM

Adjust Laser

Main Loop

Sample Mouse

ReadDeltaX

ReadDeltaY

Read Z Wheel

Send Data

USB Initialization

Detect Key 

Change

Calibration 

Operation

Calibration Loop

Calibration Mode

Process 

Command

Write EEPROM

Reset Sensor

Finish Command

Echo

Read Sensor

Write Sensor

Read EEPROM

Test Sensor

Summary of Contents for LaserStream ADNK-6093-SP11

Page 1: ...tion with reso lution up to 1600 counts per inch cpi velocities up to 35 inches per second ips and accelerations up to 8 g The Sunplus SPCP826A is a general purpose OTP USB mi crocontroller It has dua...

Page 2: ...d to the PC to update the position of the cursor The advantages of using ADNS 6090 optical sensor are the best tracking accuracy exibility of programming the optical sensor via the SPI port and the au...

Page 3: ...and data is shifted out to the ADNS 6090 through the PB3 MOSI Please see the schematic in Appendix A WhenwritingtotheADNS 6090 themicrocontrollerdrives both the SCLK and the MOSI lines When reading fr...

Page 4: ...eference design will automatically detect the host topology USB The connections for the connectors are shown in Figure 3 below Hot Pluggable USB The PC does not need to be powered o when plugging or u...

Page 5: ...enerates the drive current for the laser diode ADNV 6340 In order to stay below the Class 1 power requirements resistor Rbin must be set at least as high as the value in the bin table based on the bin...

Page 6: ...in non functional until the host has issued a USB bus reset 2 Bus Reset The host recognizes the presence of a new USB device and initiates a bus reset to that device 3 Enumeration The host initiates S...

Page 7: ...program is trapped in the dead loop i e the device is unusable Report_mouse_data This function is used to send button X Y and Z wheel data to the computer judge_mode This function is used to check fo...

Page 8: ...escriptors to the host requestNotSupported Unsupported or invalid descriptor requests will cause this rmware to STALL these transactions Manufacturer String1 A request for the manufacturer string will...

Page 9: ...9 Appendix A Schematic Diagram...

Page 10: ...40R 1 100 ET1 1 R3 15 5way Header 2 54mm 2 54mm BULGIN 14191 1 H1 16 Microswitch 3 ways Through Hole Omron Electronic Components D2F F 3 SW2 SW3 SW4 17 R A SPNO Push Button Through Hole Omron Electron...

Page 11: ...11 Appendix C PCB Layout Top Layer Bottom Layer Top Silkscreen Overlay Bottom Silkscreen Overlay...

Page 12: ...12 Appendix D 3D View VCSEL s PCBA ADNS 6230 001 Clip ADNV 6340 VCSEL ADNS 6090 Sensor ADNS 6120 Round Lens with Round Lens Base Plate ADNS 6130 001Trim Lens with Trim Lens Base Plate Overall Assembly...

Page 13: ...Byte 2 Y Y Y Y Y Y Y Y The following is the USB report protocol format and allows the additional wheel movement information in the sixth byte When the wheel is moved forward the sixth byte reports a...

Page 14: ...tion Sensor 5 ADNS 6120 Round Lens Plate 5 ADNS 6130 001 Trim Lens Plate 5 ADNS 6230 001 LASER Assembly Clip 5 ADNV 6340 Single Mode Vertical Cavity Surface Emitting LASER VCSEL 5 ADNK 6093 SP11 CD In...

Reviews: