ADNK-6710 Avago Technologies US Inc., ADNK-6710 Datasheet - Page 4

Automatic Laser Calibration Tool

ADNK-6710

Manufacturer Part Number
ADNK-6710
Description
Automatic Laser Calibration Tool
Manufacturer
Avago Technologies US Inc.
Datasheet

Specifications of ADNK-6710

Tool Type
Laser Power Calibrator
Description/function
Optical Mouse Sensor Kit
Interface Type
USB
Product
Display Modules
Touch Panel
No Touch Panel
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Laser Power Alignment
Lead Free Status / Rohs Status
No
4. PC Host Application Implementation
The Human Interface Device (HID) class specification allows designers to create USB-based devices and Windows
application without the need for custom driver development. Mice is the most common example of HID device. The
ALPC USB Direct version is extending this idea to add laser calibration functionality thru the USB interface.
The ALPC host application will use standard Windows’s built-in HID driver to communicate with mice device in calibration
mode. However, Windows XP and Windows 2000 have exclusive read/write access to HIDs that are configured as a system
keyboard or mice, the “Access denied” exception will be prompted when attempting to access these HID devices.
To allow communication between host application and mice firmware, the mice firmware will have two set of USB
Descriptors profile, the HID-compliant device descriptor and HID-compliant mouse descriptor. The mice device will be
detected as HID-compliant device in laser calibration mode when HID-compliant device profile is use. At this moment,
the mice will not have pointer navigation function but allow read/write access interface.
Device Endpoints
In USB-based systems, all data travels to or from device endpoints. The USB specification requires that all devices have
a control endpoint. The host uses this endpoint to retrieve information about the device through data packets called
Descriptors. Many USB devices also support additional endpoints that transfer data to and from the host. IN endpoints
transfer data from the device to the host, while OUT endpoints transfer data from the host to the device. Endpoint 0 is
used for input data from device while endpoint 1 is used for output data to device.
Visual Basic
This is the code that define USB endpoints (mdlUSBHid.bas) :
Public Const HidP_Input = 0
Public Const HidP_Output = 1
Laser Output Power Calibration Flow
Figure 2.0 PC host application laser output power calibration flow sequence diagram

ALPC Host
Application
HID_ADNS6000_BinarySearchCalibrate( )
EEPROM Value
ConnectHidDevice( )
HID_EEPROMWrite( )
HID_EEPROMRead( )
HID_EnableTestMode( )
HID_DisableTestMode( )
FindTheHid( )
OK
Firmware
Mouse
Synchronize
LOP Reading (uW)
LOP Reading (uW)
ReadPM100( )
ReadPM100( )
Power Meter

Related parts for ADNK-6710