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

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
Laser Power Calibration Routine (Level 1)
Figure 4.0 Laser Calibration Function Call Map
calibration_operation – This routine reset the sensor and call Load_SROM to load the SROM (Shadow ROM) firmware
into the ADNS-6000 optical sensor.
calibration_loop – Main loop for calibration mode.
calibration_mode – This routine call process_command to service any request command receive.
process_command – This select the operation to perform based on the command received on INPUT endpoint 1.

poweron – This routine first performs software reset function and configures input/output ports and then enter the
enter USB mode.
judge_mode – This routine check LEFT button belonging port, if the port input is LOW, then set the normal_mode
variable to ‘0’ .
hard_reset – This routine resets the serial interface and the ADND-6000 internal registers by generating a pulse on the
RESET pin.
Load_SROM – Called in calibration_operation after the initialization of the SPI interface. This routine is used to load the
SROM (Shadow ROM) firmware into the ADNS-6000 optical sensor. It should be called after hard_reset.
DetectUsbReset – This routine initializes USB interface service and SPI ports. Then, the normal_mode variable is
compared, if normal_mode is equal to ‘0’ then this routine will invoke the calibration_operation routine to enter
calibration loop. Refer to Laser Power Calibration Routine (Level 1) for further information). If normal_mode variable flag
is equal to ‘1’ then Read_LP_CFG_REG is called to load the calibrated LP_CFG0 and LP_CFG1 register value. Subsequently,
the ADNS-6000 sensor is reset and AdjustLaser routine is invoked to write the LP_CFG0 and LP_CFG1 value to the sensor
register. Then, SetShuttherMode routine is called to enable VCSEL in shutter mode and laser output is enabled.
getHidReportDesc – Invoke when there is a HID device descriptor request interrupt is received form host. If normal_
mode variable is ‘1’ then HID compliant mouse device’s descriptor and report descriptor will be loaded, else the HID
compliant device’s descriptor will be loaded.
calibration_report_descriptors – Called in getHidReportDesc if normal_mode variable is ‘0’ . This routine will load HID
compliant device’s report descriptor. The report descriptor defined the communication protocol and report format
between the device and host.
calibration_operation
process_command
calibration_mode
DetectUsbReset
calibration_loop
command_write_eeprom
command_read_eeprom
command_reset_sensor
command_write_sensor
command_read_sensor
command_test_sensor
command_echo
finish_command

Related parts for ADNK-6710