Avago ADNK-6003-SP01 Design Manual

Optical mouse designer's kit

Advertisement

Quick Links

ADNK-6003-SP01
Optical Mouse Designer's Kit
Design Guide
Introduction
The Universal Serial Bus (USB) is an industry standard
serial interface between a computer and peripherals
such as a mouse, joystick, keyboard, UPS, etc. This design
guide describes how a cost-eff ective USB optical mouse
can be built using the Sunplus, SPCP825A USB microcon-
troller and the Avago Technologies ADNS-6000 optical
sensor. The document starts with the basic operations of
a computer mouse peripheral followed by an introduc-
tion to the Sunplus SPCP825A USB microcontroller and
the Avago Technologies ADNS-6000 Optical Navigation
Sensor. A schematic of the Sunplus SPCP825A USB micro-
controller to the ADNS-6000 optical sensor and buttons
of a standard mouse can be found in Appendix A. The
software section of this application note describes the ar-
chitecture of the fi rmware required to implement the USB
mouse functions. The Sunplus SPCP825A data sheet is
available from the Sunplus web site at www.sunplus.com
. The ADNS-6000 data sheet is available from the Avago
Technologies web site at www.avagotech.com. USB docu-
mentation can be found at the USB Implementers Forum
web site at www.usb.org.
ADNS-6000 laser mouse set is the world's fi rst laser-illumi-
nated navigation system. With laser navigation technol-
ogy, the mouse can operate on many surfaces that prove
diffi cult for traditional LED-based optical navigation.
Its high-performance architecture is capable of sensing
high-speed mouse motion -- velocities up to 20 inches
per second and accelerations up to 8g.
The ADNS-6000 sensor along with the ADNS-6120 lens,
ADNS-6230-001 clip and ADNV-6340 laser diode form
a complete and compact laser mouse tracking system.
There are no moving parts, which means high reliabil-
ity and less maintenance for the end user. In addition,
precision optical alignment is not required, facilitating
high volume assembly.
1
Optical Mouse Basics
The optical mouse measures changes in position by
optically acquiring sequential surface images (frames),
and mathematically determining the direction and
magnitude of movement. The Z-wheel movement is done
in the traditional method by decoding the quadrature
signal generated by optical sensors. This design guide
shows how to connect to and manage a standard con-
fi guration of mouse hardware, as well as handle the USB
protocols. Each of these protocols provides a standard
way of reporting mouse movement and button presses to
the PC.
Introduction to the Sunplus, SPCP825A
The Sunplus, SPCP825A is a general purpose OTP USB mi-
crocontroller. It has dual USB speed, namely low and full
speed. It can support PS/2 mode. The transceiver is fully
controlled by the fi rmware. Moreover the USB SIE provides
good fl exibility for fi rmware to handle USB protocol. The
built-in PLL allows CPU to work at 6MHz or 12MHz by
using only one 6MHz crystal or resonator.
Serial Peripheral Interface (SPI)
The Sunplus SPCP825A provides a SPI compatible
interface. The SPI circuit supports byte serial transfer in
either Master or Slave mode. The integrated SPI circuit
allows the Sunplus SPCP825A to communicate with
external SPI compatible hardware, in this case the ADNS-
6000.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADNK-6003-SP01 and is the answer not in the manual?

Questions and answers

Summary of Contents for Avago ADNK-6003-SP01

  • Page 1 Sunplus web site at www.sunplus.com controlled by the fi rmware. Moreover the USB SIE provides . The ADNS-6000 data sheet is available from the Avago good fl exibility for fi rmware to handle USB protocol. The Technologies web site at www.avagotech.com. USB docu-...
  • Page 2 The D - line is pulled up via a 1.3k ohm resistor connected to the VREG pin. MISO VREG MOSI Avago Technologies ADNS-6000 SCLK Optical Mouse Sensor 1.3k Ohm Sunplus SPCP825A...
  • Page 3 Optical Sensor Mouse Optics Avago Technologies ADNS-6000 optical sensor is used in The motion of Z-wheel is detected using the traditional this reference design as the primary navigation engine. method by decoding the quadrature signal generated by This Optical Navigation Technology contains an Image Ac- optical sensors.
  • Page 4 (PCB), lens, buttons, and USB cable. (See Figure 4.) Unscrewing the one screw located at the base of the unit can open the ADNK-6003-SP01 unit. Lifting and pulling the PCB out of the base plate can further disassemble the mouse unit.
  • Page 5 Figure A1 are intended to comply with Class adoption of new features and improved performance 1 Eye Safety Requirements of IEC 60825-1. Avago Tech- algorithms. The external program is supplied by Avago nologies suggests that manufacturers perform testing to Technologies as a fi le which may be burned into a pro- verify eye safety on each mouse.
  • Page 6 Appendix D for details. Reference Design Documentation – Gerber File The Gerber File presents detailed schematics used in ADNK-6003-SP01 in PCB layout form. See Appendix C for more details. Overall circuit A schematic of the overall circuit is shown in Appendix A...
  • Page 7 The fi rmware for this reference design is written in the number of data endpoints supported by the mouse (2). At Avago Technologies assembly language. The following this point, the process of enumeration is completed. fi les are required to compile the mouse.
  • Page 8 USB Firmware Description ReadDeltaY – Reads the ADNS-6000 Delta_Y register for A function call map for USB operation is shown in Figure the Y movement. Calls the ReadSPI routine to enable the 6. The following are descriptions of the functions in SPI interface and perform reading operations through the SPCP825A _A6000.asm.
  • Page 9 USB Functions setInterfaceIdle – This routine is entered whenever a Main_loop –This function spins in an infi nite loop waiting SET IDLE request is received. See the HID specifi cation for an event that needs servicing. sample_mouse and for the rules on setting idle periods. This function sets the report_mouse_data are the functions which are called HID idle time.
  • Page 10 Manufacturer String*1 A request for the manufacturer string will return the following string. “Avago Technologies Reference Design Mouse” Product String*2 A request for the product string will return the following string. “ADNS-6000 Mouse” Confi guration String A request for the confi guration string will return the following string.
  • Page 11: Appendix A: Schematic Diagram Of The Overall Circuit

    Appendix A: Schematic Diagram of the Overall Circuit...
  • Page 12: Appendix B: Bill Of Materials For Components Shown On The Circuit

    Appendix B: Bill of Materials for components shown on the circuit. Comment Footprint Quantity Cer. Cap 0.1uF (104) 0805 Cer. Cap 2.2uF, 16V CASE A Cer. Cap 4.7pF, 20V CASE A Cer. Cap 470pF CASE A Chip RES. 10K 1% 0.125W 0805 Chip RES.
  • Page 13: Appendix C: Pcb Layout

    Appendix C: PCB Layout Figure C1: PCB Schematic (Bottom Layer) Figure C2: PCB Schematic (Top Layer)
  • Page 14 Figure C3: PCB Schematic (Top Overlay) Figure C4 : PCB Schematic (Bottom Overlay)
  • Page 15: Appendix D: Base Plate Feature

    Appendix D: Base Plate Feature Figure D1: Overall view of base plate Appendix E: USB data reporting format The USB report has two formats, depending on if boot or report protocol is enabled. The following format is the boot protocol and is understood by a USB aware BIOS. Bit 7 Bit 0 Byte 0...
  • Page 16: Appendix F: Kit Components

    For product information and a complete list of distributors, please go to our web site: Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies in the United States and other countries. Data subject to change. Copyright © 2005-2008 Avago Technologies. All rights reserved. Obsoletes AV01-0427EN...

This manual is also suitable for:

Adns-6030Adnk-6013

Table of Contents