background image

2

Left Button

ADNS-6000

Optical Mouse Sensor

Wheel Button

Right Button

Z Optics

Sunplus SPCP825A

USB Controller

USB interface

MISO

MOSI

SCLK

NCS

D+/D-

SCLK/SDATA

VREG

1.3k Ohm

Avago Technologies

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 SPCP825A_A6000.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 cations.

Communications between the Sunplus SPCP825A and 
the ADNS-6000 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 thru PB0 (NCS), the PB2 
(SCLK), PB1 (MISO) and PB3 (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 PB7. Therefore, the USB microcontroller 
always initiates communication. Data sent by the ADNS-
6000 optical sensor is received on the PB1 (MISO), and 
data is shifted out to the ADNS-6000 through the PB3 
(MOSI). See the schematic in Appendix A. When writing 
to the ADNS-6000, the microcontroller drive both the 
SCLK and the MOSI lines. When reading from the ADNS-
6000, the microcontroller drives both the SCLK and MOSI 
lines initially. After t

SRAD

 delay, the ADNS-6000 will drive 

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

Hardware Implementation

The standard hardware to implement a mouse is shown 
in Figure 1. For X and Y movement, the optical sensor 
is used. The Z- wheel movement is detected by a set of 
optical sensors that output quadrature signals. For each 
button there is a switch that is pulled up internally by the 
built in pull up resistors. The D - line is pulled up via a 1.3k 
ohm resistor connected to the VREG pin.

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

Страница 1: ...tion 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...

Страница 2: ...T high When the SPI is enabled thru PB0 NCS the PB2 SCLK PB1 MISO and PB3 MOSI GPIO pins serve special functions to enable the SPI interface to talk with external hardware During normal operation the...

Страница 3: ...y reading the Motion_Burst register The ADNS 6000 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...

Страница 4: ...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 t...

Страница 5: ...ns reference plane to surface While reassembling the components please make sure that the Z height Distance from lens reference plane to surface is valid Refer to Figure 5 Sensor Sensor PCB 2 40 0 094...

Страница 6: ...esign 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 circui...

Страница 7: ...changed to the value as supplied by the USB IF 2 idProduct should be assigned for specific product 3 MaxPower value should be changed as per specific circuit s current draw 4 Post Enumeration Operati...

Страница 8: ...000 Delta_X register for the X movement Calls the ReadSPI routine to enable the SPI interface and perform reading operations through the two wire serial interface Any new X motion information is added...

Страница 9: ...routine is entered whenever a SET ADDRESS request has been received The device address change cannot actually take place until after the status stage of this no data control transaction so the addres...

Страница 10: ...he following string ADNS 6000 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...

Страница 11: ...A Schematic Diagram of the Overall Circuit Figure A1 Circuit level block diagram for ADNK 6003 SP01 designer s kit optical mouse using the Avago Technologies ADNS 6000 optical mouse sensor and Sunplu...

Страница 12: ...1 0 125W 0805 2 Chip RES 12 7K 1 0 125W 0805 1 Chip RES 2K7 1 0 125W 0805 1 Chip RES 20K 1 0 125W 0805 4 Chip RES 100K 1 0 125W 0805 1 Chip RES 240R 1 0 125W 0805 1 Photo Transistor DIP 1 2N3906 TO 92...

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

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

Страница 15: ...e 0 0 0 0 0 0 Middle Right Left Byte 1 X X X X X X X X 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 fourth byte Wh...

Страница 16: ...ADNS 6130 001 Trim Lens Data Sheet d ADNS 6230 001 VCSEL Assembly Clip Data Sheet e ADNV 6340 VCSEL Data Sheet f Avago Technologies ADNS 6000 ADNS 6010 ADNS 6090 and ADNS 7010 Laser Mouse Eye Safety C...

Отзывы: