background image

3

and a four-wire serial port.
The CY7C63743-PXC
periodically reads the ADNS-
6000’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-6000 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-6000 optical
sensor are the best tracking
accuracy, flexibility of
programming the optical
sensor via the SPI port, and
the automatic frame rate
feature (1000fps to 6400fps).
Besides, ADNS-6000 optical
sensor performs excellent
tracking on difficult surfaces
which conventional 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
predefined operations:  motion
read and SROM download and
frame capture.  The speed
improvement is achieved by
continuous data clocking to or
from multiple registers.

Motion Read

 is activated by

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

uses Burst Mode to load the
Agilent-supplied firmware file
contents into the ADNS-6000.
The firmware file is an ASCII
text file with each 2-character
byte on a single line. 

Frame

Capture

 is a fast way to

download a full array of pixel
values from a single frame.

To learn more about sensor’s
technical information, please
visit the Agilent web site at:

http://www.semiconductor.agilent.com

Mouse Optics

The motion of Z-wheel is
detected using the traditional
method by decoding the
quadrature signal generated by
optical sensors. Two
phototransistors are connected
in a source-follower
configuration. An infrared LED
shines, causing the
phototransistors to turn on. In
between the phototransistors
and LED is a pinwheel that
turns on the mouse ball
rollers. The fan of this
pinwheel is mechanically
designed to block the infrared
light such that the
phototransistors are turned on
and off in a quadrature output
pattern. Every change in the
phototransistor outputs
represents a count of mouse
movement. Comparing the last
state of the optics to the
current state derives direction
information. As shown in
Figure 2 below, traveling along
the quadrature signal to the
right produces a unique set of
state transitions, and traveling
to the left produces another
set of unique state transitions.
In this reference design, only
the motion at the Z-wheel is
detected using this method.

Figure 2. Optics Quadrature Signal Generation

Mouse Buttons

Mouse buttons are connected
as standard switches. These
switches are pulled up by the
pull up resistors inside the
microcontroller. When the user
presses 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 released or the button is
not being pressed. Normally
the switches are debounced in
firmware for 15-20ms. In this
reference design there are
three switches: left, Z-wheel,
and right.

USB and PS/2 Connection

The CY7C63743-PXC has a
configuration register that
switches control from the SIE
to manual control on the D+
and D- pins. This allows the
firmware to dynamically
configure itself to operate as a
USB or PS/2 mouse allowing
signaling lines to be shared
without using extra GPIO pins
for PS/2 operation. The
firmware for this reference
design will automatically detect
the host topology (USB or PS/
2) at plug-in and will
configure itself for operation
on that bus. If a USB host
connection is detected then the
firmware will enable the VREG
pin, such that the 1.3k ohm
resistor connected to the D-
line can be pulled up to 3.3V.
It is this action that causes the
host to recognize that there is
a low-speed USB peripheral
attached. The connections for
the connectors are shown in
Figure 3 below.

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

Страница 1: ...ound at the USB Implementers Forum web site at www usb org ADNB 6001 laser mouse bundle set is the world s first laser illuminated navigation system With laser navigation technology the mouse can oper...

Страница 2: ...x A However it may be more optimal to use a different I O configuration to meet the mechanical constraints of PCB design The reference firmware is designed to be easily configured to another set of pi...

Страница 3: ...stors to turn on In between the phototransistors and LED is a pinwheel that turns on the mouse ball rollers The fan of this pinwheel is mechanically designed to block the infrared light such that the...

Страница 4: ...r Customer Supplied PCB ADNS 6120 lens Customer Supplied Base Plate With Recommended Features Per IGES Drawing Customer Supplied VCSEL PCB ADNV 6330 VCSEL ADNS 6230 001 clip or ADNS 6130 001 for trim...

Страница 5: ...nent manufacturing tolerances and the recommended temperature range when adjusted per the procedure below and when implemented as shown in the recommended application circuit of Figure A1 For more inf...

Страница 6: ...08 or through most 3rd party programming companies For further information on this product please contact Cypress Semiconductor Lens The lens technical information is contained in the ADNS 6120 Data...

Страница 7: ...Control Read and Control Write see Chapter 8 of the USB specification to determine the device type and how to configure communications with the device In this particular design only Control Read trans...

Страница 8: ...dition exists on either line During this polling period we begin to count down the PS2 BAT delay If SCLK D is sampled high detect a PS2 interface If SDATA D sampled high disable the USB connect resist...

Страница 9: ...t that needs servicing The ProcessButtons and ReadProcessOptics functions are called within this loop to retrieve any new motion or button information The data received from these functions will be lo...

Страница 10: ...are to STALL these transactions PS 2 Firmware Description A function call map for PS 2 operation is shown in Figure 7 The following are descriptions of the functions in Adns 6000 asm PS 2 Functions PS...

Страница 11: ...mmand from the host This routine then sends a mouse packet in response to the command PS2SetStreamMode This routine is called in response to a SET STREAM MODE command from the host Stream mode is then...

Страница 12: ...S2SetStreamMode ReadDeviceType Reset Enable ResetWrapMode Disable PS2ResetScaling ReadDeltaX ReadDeltaY Read Z Wheel HostRequestToSend PS2HostINhibit PS2Send Send_1 Send_0 Figure 7 PS 2 Operation Func...

Страница 13: ...re both LOW exists for 256us This ISR enables the USB Device Address sets up the endpoint modes and jumps to usbMain for the USB initialization Dual1msTimer This ISR reads the current status of the bu...

Страница 14: ...owing 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 will r...

Страница 15: ...r RBIN 24 MOSI 23 SCLK 21 MISO 22 R2 20K NCS 3 RESET NPD 4 R1 20K R9 10 K R10 10 K 24 MHz OSC_OUT OSC_IN GUARD X1 REFC REFB C9 0 1 C8 2 2 LASER_NEN XY_LASER Q2 2N3906 C2 0 1 C3 0 1 GND GND VDD3 VDD3 V...

Страница 16: ...RES 20K 1 0 125W 0805_CUS 2 Chip RES 22K 1 0 125W 0805_CUS 2 Chip RES 240R 1 0 125W 0805_CUS 1 Resistor 18K7 1 0 25W AXIAL0 4 1 Resonator 24MHz RAD0 2B 1 MMBT3906 SOT 23 1 E Cap 2 2uF 50V CODE A 1 E C...

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

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

Страница 19: ...19 Appendix D Base Plate Feature Figure D1 Overall view of base plate...

Страница 20: ...e 1 X X X X X X X X Byte 2 Y Y Y Y Y Y Y Y Bit 7 Bit 0 Byte 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 Byte 3 R R R R R R R F R The following is the USB report protoco...

Страница 21: ...Responds by sending a mouse report packet to host 0xEA Set Stream Mode Sets stream mode 0xE9 Status Request Returns current mode en disabled scaling button resolution and sampling rate information to...

Страница 22: ...0x03 Read Device Type returns a value of 0x03 After the Read Device Type command returns 0x03 to indicate that this is a Microsoft compatible three button wheel mouse the wheel report format is enabl...

Страница 23: ...0 001 LASER Assembly Clip LASER Clip 5 ADNV 6330 Single Mode Vertical Cavity Surface Emitting LASER VCSEL LASER 5 ADNK 6003 CD Includes Documentation and Support Files for ADNK 6003 Documentation a AD...

Страница 24: ...88 6763 Europe 49 0 6441 92460 China 10800 650 0017 Hong Kong 65 6756 2394 India Australia New Zealand 65 6755 1939 Japan 81 3 3335 8152 Domestic Inter national or0120 61 1280 DomesticOnly Korea 65 67...

Отзывы: