background image

2

Figure 1. Sunplus SPCP825A –ADNS-6010 Optical Mouse Hardware Block Diagram

Firmware Confi gurable GPIO

The reference fi rmware is confi gured to use the GPIO pins 
as shown on the schematic in Appendix A. However, it 
may be more optimal to use a diff erent I/O confi guration 
to meet the mechanical constraints of PCB design. The 
reference fi rmware is designed to be easily confi gured 
to another set of pin connections. This is accomplished 
through changes in the I/O defi nitions at the beginning 
of the SPC825A_A6010.asm listing. The following state-
ments are the pin defi nitions as they exist today. The 
fi rmware will use these defi nitions to read and confi gure 
the GPIO pins, without any other modifi cation.

Communications between the Sunplus SPCP825A and 
the ADNS-6010 are done through the integrated SPI 
interface. The serial port cannot be activated while the 
chip is in power down mode (NPD low) or reset (RESET 
high).  When the SPI is enabled through PB0 (NCS), the 
PB2 (SCLK), PB3 (MISO), and PB1 (MOSI) GPIO pins serve 
special functions to enable the SPI interface to talk with 
external hardware. During normal operation, the Sunplus 
SPCP825A SPI is always confi gured as a Master to output 
the serial clock on PB2. Therefore, the USB microcontroller 
always initiates communication. Data sent by the ADNS-
6010 optical sensor is received on the PB3 (MISO), and 
data is shifted out to the ADNS-6010 through the PB1 
(MOSI). See the schematic in Appendix A. When writing 
to the ADNS-6010, the microcontroller drive both the 
SCLK and the MOSI lines. When reading from the ADNS-
6010, the microcontroller drives both the SCLK and MOSI 
lines initially. After t

SRAD

 delay, the ADNS-6010 will drive 

the data via MISO. The microcontroller is only driving the 
SCLK line (outputs SCLK for the serial interface).

Optical Sensor

Avago Technologies ADNS-6010 optical sensor is used in 
this reference design as the primary navigation engine. 
This Optical Navigation Technology contains an Image Ac-
quisition System, a Digital Signal Processor, a two channel 
quadrature output, and a four-wire serial port. The 
Sunplus SPCP825A periodically reads the ADNS-6010’s 
Delta_X and Delta_Y registers to obtain any horizontal 
and vertical motion information happening as a result of 
the mouse being moved. The output of the ADNS-6010 
optical sensor is 4-wire serial port.

This motion information will be reported to the PC to 
update the position of the cursor. The advantages of using 
ADNS-6010 optical sensor are the best tracking accuracy, 
fl exibility of programming the optical sensor via the SPI 
port, and the automatic frame rate feature (1000fps to 
7080fps). Besides, ADNS-6010 optical sensor performs 
excellent tracking on diffi

  cult surfaces which convention-

al Led based technology is unable to track such as glossy 
and smooth surfaces. In addition, Burst mode is another 
special serial port operation mode that may be used to 
reduce the serial transaction time for three predefi ned 
operations:  motion read and SROM download and frame 
capture.  The speed improvement is achieved by continu-
ous data clocking to or from multiple registers.

Motion Read is activated by reading the Motion_Burst 
register.  The ADNS-6010 will respond with the contents 
of the Motion, Delta_X, Delta_Y, SQUAL, Shutter_Upper,  
Shutter_Lower and Maximum_Pixel registers in that 
order. SROM download uses Burst Mode to load the 

Left Button

ADNS-6010

Optical Mouse Sensor

Wheel Button

Right Button

Z Optics

 Sunplus SPCP825A

 USB interface

MISO

MOSI

SCLK

NCS

D+/D-

SCLK/SDATA

VREG

1.3 

k Ohm

 Avago Technologies

Содержание ADNK-6013-SP01

Страница 1: ...o 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 The ADNS 6010 enables 400cp...

Страница 2: ...rive the data via MISO The microcontroller is only driving the SCLK line outputs SCLK for the serial interface Optical Sensor Avago Technologies ADNS 6010 optical sensor is used in this reference desi...

Страница 3: ...sses a button the switch will be closed and the pin will be pulled LOW to GND A LOW state at the pin is interpreted as the button being pressed A HIGH state is interpreted as the button has been relea...

Страница 4: ...6010 optical mouse sensor Dimension in millimeters inches Figure 5 Distance from lens reference plane to surface Enabling the SROM The ADNS 6010 must operate from the externally loaded programming Thi...

Страница 5: ...n Note 5088 LASER Power Adjustment Procedure 1 The ambient temperature should be 25C 5C 2 Set VDD3 to its permanent value 3 Ensure that the laser drive is at 100 duty cycle by setting bit 6 of registe...

Страница 6: ...e mouse 2 At this point the process of enumeration is completed Notes 1 idVendor should be changed to the value as supplied by the USB IF 2 idProduct should be assigned for specific product 3 MaxPower...

Страница 7: ...is to check the SROM ID if product device and program ID do not match the program is trapped in the dead loop and thus the device is unusable disable_laser This function is called to disable the oper...

Страница 8: ...nge cannot actually take place until after the status stage of this no data control transaction so the address is saved and a flag is set to indicate that a new address was just received The code that...

Страница 9: ...following string ADNS 6010 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 w...

Страница 10: ...it level block diagram for ADNK 6013 SP01 designer s kit optical mouse using the Avago Technologies ADNS 6010 optical mouse sensor and Sunplus SPCP825A USB Controller Appendix A Schematic Diagram of t...

Страница 11: ...05 1 Chip RES 12 7k 1 0805 1 Cer Cap 470pF 0805 1 Cer Cap 100nF 0805 6 CAPTANTALUM 4 7uF 20V CASE A 2 CAPTANTALUM 2 2uF 10V CASE A 2 PhotoTransistor DIP 1 2N3906 TO92 1 Resonator 6MHz SMD 1 Resonator...

Страница 12: ...12 Appendix C PCB Layout Figure C1 PCB Schematic Bottom Layer Figure C2 PCB Schematic Top Layer...

Страница 13: ...13 Figure C4 PCB Schematic Bottom Overlay Figure C3 PCB Schematic Top Overlay...

Страница 14: ...Y Y Y Y The following is the USB report protocol format and allows the additional wheel movement information in the fourth byte When the wheel is moved forward the fourth byte reports a 0x01 and when...

Страница 15: ...e Lens 5 ADNS 6130 001 Laser VCSEL Trim Lens Plate Lens 5 ADNS 6230 001 Laser VCSEL Assembly Clip VCSEL Clip 5 ADNV 6340 Single Mode Vertical Cavity Surface Emitting LASER VCSEL VCSEL 5 ADNK 6013 SP01...

Отзывы: