Вы находитесь на странице: 1из 12

C2165 USB Optical Mouse SoC

Elementary

1. Features:
Optical Navigation Technology
No Mechanical Parts
Accurate Motion Up to 20’’/sec
Enhanced navigation over a wide variety on surfaces
1000 CPI resolution
5V Power Supply
Power Saving During No Motion
On Chip LED Drive with Regulated Current
IEC 60825-1 eye safety under single fault conditions
6MHz Resonator used for low EMI radiation concern.
Compliant USB Rev2.0 Specification
Compliant USB HID Rev1.1 Specification
Support 3 buttons and mechanical wheel encoding for vertical scrolling
Support Tilt-Wheel buttons with extended circuit for horizontal scrolling
Software driver available for Tilt-button enable (Win98 / 2K / XP / VISTA)
16Pin PDIP package available

General Description
The C2165(Elementary) sensor SoC is a low cost single chip optical mouse Elementary solution used to implement a non-mechanical
tracking engine for computer mice. It is based on C1165 optical navigation technology enhanced. Which measures changes in
position by optically acquiring sequential surface images (frames) and mathematically determining the direction and magnitude
of movement. The Elementary optical mouse SoC provides a complete and compact mouse solution, There are no moving
parts, and precision optical alignment is not required, few outside components use and facilitate high volume assembly.

The C2165(Elementary) is in a 16-pin optical package and comes with the resolution 1000 CPI (counts per inch) and the speed of
motion up to 16 inches per second. It includes 3 buttons (R、M、L);X-Y motion and a mechanical wheel encoding (1:2) with 2
extra Tilt buttons for vertical and horizontal scrolling both.

USB MCU inside so that it’s no more mouse controller is needed to interface through USB. The C2165(Elementary) can receive USB
command and echo status or data format, both complete USB spec V2.0 and USB HID spec V1.1 compatibility. It is also a cost
effective solution to support USB Optical Mouse.

Preliminary V0.9

1/12
C2165 USB Optical Mouse SoC
Elementary

2. Pin Description:
16 Pin
Pin Name Type Description
C2165(Elementary)
1 SWL I Left button input
2 SWM I Middle button input
3 SWR I Right button input
4 DM I/O USB D-
5 DP I/O USB D+
6 VDD P +5 volt power supply
7 VC3B P Internal 3.3 voltage regulator power output
8 VC3A P USB 3.3 voltage power input
9 R_LED - LED current resistor
10 VSSA P Analog Ground
11 XY_LED O LED control (sink current)
12 GND P System ground
13 OSCI I Oscillator input
14 OSCO O Oscillator output
15 ZA I Z axis input A
16 ZB I Z axis input B
- Tilt-Left I Tilt-Wheel left side. (with extended circuit
implementation)
- Tilt-Right I Tilt-Wheel right side. (with extended circuit
implementation)

3. Pin Assignment:
16 ZB
SWL 1

C2165
15 ZA
W heel
SWM 2
LB RB
YYWW 14 OSCO
SWR 3 MB
P
13 OSCI
O
DM 4
S
12 GND I
DP 5 T
11 XY_LED I
VDD 6 V
10 E
VSSA
VC3B 7
Y
9 R_LED
VC3A 8

POSITIVE X
Figure 1: C2165 Top View Pinout Figure 2: Top View of Mouse

Preliminary V0.9

2/12
C2165 USB Optical Mouse SoC
Elementary

4. Electrical Characteristics

4.1 Absolute Maximum Ratings


Parameter Symbol Minimum Maximum Units Notes
Supply Voltage VDD -0.5 5.5 V
Operating Temperature TA -15 55 ℃
Storage temperature TS -40 85 ℃
Lead Solder temp 260 ℃
ESD 2 KV All pins, human body model
Input Voltage VIN -0.5 5.5 V

4.2 Recommend Operating Conditions


Parameter Symbol Minimum Typical Maximum Units Notes
4.5 5.0 5.5 V PS/2 interface
Supply Voltage VDD
4.25 5.0 5.25 V USB interface
Operating Temperature TA 0 40 ℃
Clock Source Frequency fCLK 6.0 MHz VDD=5V
Power Consumption IDD 30 mA VDD=5.5V
USB Mode Suspend Current ISUSP 400 uA VDD=5.25V
Low Voltage Detect VLVDZ 3.6 V
Low Voltage Reset VLVRZ 3.0 V

4.3 Optical Navigation Operating Conditions


Parameter Symbol Minimum Typical Maximum Units Notes
Distance From lens reference
Z 2.3 2.4 2.5 mm
plane to surface
Speed S 0 20 In/sec
Acceleration A 0.15 G
Light level onto IC IRRINC 40 20000 MW/m2 λ=639 nm
Frame Rate FR 2000 Frames/s
XY_LED Current ILED Typ-15% 560/R_LED Typ+15% mA

Preliminary V0.9

3/12
C2165 USB Optical Mouse SoC
Elementary

4.4 DC Electrical Specifications (VDD = 5.0V, Temperature = 25ºC)


Mnemonic Description Item Min. Typ. Max. Unit Condition
XI, XO Oscillation Cell F - 6 - MHz
VC 3.3 V regulator output VO 3.0 3.3 3.6 V VDD=5V
DP_CK Input Voltage High VIH 2.0 V
Input Voltage Low VIL 0.8 V
Output Voltage High VOH 2.8 3.6 V
Output Voltage Low VOL 0 0.3 V
PS/2 mode Pull-up RPPU 3.5 5.0 6.5 KΩ VIN = VSS
DM_DA Input Voltage High VIH 2.0 V
Input Voltage Low VIL 0.8 V
Output Voltage High VOH 2.8 3.6 V
Output Voltage Low VOL 0 0.3 V
USB mode Pull-up RPU 1.20 1.50 1.80 KΩ
PS/2 mode Pull-up RMPU 3.5 5.0 6.5 KΩ
Input Voltage High VIH 2.0 V
SWL Input Voltage Low VIL 0.8 V
SWM Output Voltage High VOH 2.4 V Source current = 8 mA
SWR Sink current is 20mA for
Output Voltage Low VOL 0.5 V
PB[1:0]; 8 mA for others
Pull down Resistor RPD 35 50 65 KΩ VIN = VDD
Pull up Resistor RPU 10.5 15 19.5 KΩ VIN = VSS
All I/O Port Hi-Z Leakage IZ - - 10 µA RP inactive
* The frequency defined in this item is based on the CPU frequency. It is one-half of the oscillation frequency.

4.5 AC Electrical Specifications (VDD = 5.0V, Temperature = 25ºC)


Characteristics Item Min. Typ. Max. Unit Condition
Internal Ring oscillator frequency FROSC 1.75 3.5 5.25 KHz
Sleep mode delay from no motion to low power TSLEEP 1000 ms
Wakeup delay from sleep mode due to motion TWUPP 50 100 ms
From VDD reach 4.25V
Power up delay TPUP 50 ms
until spec’s met
Flashing frequency of LED FLED 125 Hz
Debounce delay on button input TDBB 5 9 15 ms
Z Wheel sampling period TZW 120 200 300 us
Input Capacitance (OSC pins) TZON 15 pF OSCI, OSCO to GND

Preliminary V0.9

4/12
C2165 USB Optical Mouse SoC
Elementary

4.6 USB Electrical Specifications (VDD = 5.0V, Temperature = 25ºC)


Characteristics Item Min. Max. Unit Condition
Output Signal Crossover Voltage VCRS 1.3 2.0 V CL = 200pF ~ 600pF
Input Signal Crossover Voltage VICRS 1.2 2.1 V CL = 200pF ~ 600pF
Differential Input Sensitivity VDI 0.2 V |(D+) – (D-)| See Figure 6
Differential Input Common Mode Range VCM 0.8 2.5 V Include VDI , See Figure 6
Single Ended Receiver Threshold VSE 0.8 2.0 V
Transceiver Input Capacitance CIN 20 pF D+ to VBUS, D- to VBUS
with 15kΩ to GND and 3.3V internal
Output High COH 2.8 3.6 V regulator through 1.5KΩ to D-,
See Figure 5
with 15kΩ to GND and 3.3V internal
Output Low COH 0 0.3 V regulator through 1.5KΩ to D-,
See Figure 5
Single Ended Output VSED 0.8 V
Input High (Driven) VIH 2.0 V
Input High (Floating) VIHZ 2.7 3.6 V
Input Low VIL 0.5 V

4.7 USB Timing Specifications (VDD = 5.0V, Temperature = 25ºC)


Characteristics Item Min. Max. Unit Condition
USB Low-Speed Rise Time / Fall Time TLR/TLF 75 300 ns CL = 200pF ~ 600pF, See Figure 4
TR/TF; CL = 200pF; Excluding the
Rise and Fall time matching VLRFM 80 125 %
first transition from the idle time
USB reset time TRESET 8.6 10 us
Data Rate tLDRATE 1.4775 1.5225 Mb/s Average bit rate, 1.5Mb/s +/-1/5%
Receiver Jitter Tolerance tDJR1 -75 75 ns To next transition, see Figure 7
Receiver Jitter Tolerance tDJR2 -45 45 ns For paired transition, see Figure 7
Differential to EOP Transition Skew tLDEOP -40 100 ns See Figure 8
EOP Width at Receiver tLEOPR 670 ns Accepts EOP, see Figure 8
Source EOP Width tLEOPT 1.25 1.5 us
Width of SE0 interval during differential tLST 210 ns
Transition
Differential Output Jitter tUDJ1 -95 95 ns To next transition, see Figure 9
Differential Output Jitter tUDJ2 -150 150 ns For paired transition, see Figure 9

Preliminary V0.9

5/12
C2165 USB Optical Mouse SoC
Elementary

Figure 3: Data Signal Rise and Fall Times

Figure 4: Data Signal Voltage Levels

Figure 5: Differential Receiver Input Sensitivity vs. Common Mode Input Range

Preliminary V0.9

6/12
C2165 USB Optical Mouse SoC
Elementary

Figure 6: Receiver Jitter Tolerance

Figure 7: Differential to EOP Transition Skew and EOP Width

Figure 8: Differential Output Jitter

Preliminary V0.9

7/12
C2165 USB Optical Mouse SoC
Elementary

5. USB Connection
Connectors and Pin assignment are specified in the USB specification chapter 6. Color codes of the cable are respected.

Cable & adapter pin assignments:


JST connector Function cable color USB connector type A
1 shield Al shield Chassis
2 gnd black 4
3 Vcc red 1
4 Data - (D-) white 3
5 Data + (D+) green 2

Preliminary V0.9

8/12
C2165 USB Optical Mouse SoC
Elementary

6. Function Block Description:

VDD VSS

LED Controller XY_LED


Image Sensor

Sensor Pixel Array Reference


(16x16) Current R_LED

Power-Down

Optical Navigator Control

6502 uC ZA
Navigation ZB
Engine GPIO

MCU
Extended
SWL

Circuit
T-L
Protocol Switch
SWM T-R
SWR

PLL 18MHz
3.3V VC3A
USB SIE
Regulator
Protocol VC3B
Auto Detection
SCLOCK
PS/2 Interface
Oscillator

OSCI OSCO
DM DP

Figure 9: Block Diagram

Preliminary V0.9

9/12
C2165 USB Optical Mouse SoC
Elementary

7. The Sensor Array Pixels Mapping:


PIXEL ADDRESS MAP
(Looking through the lens)

LAST PIXEL
FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0

EF EE ED EC EB EA E9 E8 E7 E6 E5 E4 E3 E2 E1 E0
Wheel
DF DE DD DC DB DA D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LB RB
CF CE CD CC CB CA C9 C8 C7 C6 C5 C4 C3 C2 C1 C0
MB
BF BE BD BC BB BA B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
P
AF AE AD AC AB AA A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 O
9F 9E 9D 9C 9B 9A 99 98 97 96 95 94 93 92 91 90 S 1
8F 8E 8D 8C 8B 8A 89 88 87 86 85 84 83 82 81 80
I
T
7F 7E 7D 7C 7B 7A 79 78 77 76 75 74 73 72 71 70
I
6F 6E 6D 6C 6B 6A 69 68 67 66 65 64 63 62 61 60
V
5F 5E 5D 5C 5B 5A 59 58 57 56 55 54 53 52 51 50 E
4F 4E 4D 4C 4B 4A 49 48 47 46 45 44 43 42 41 40
Y
3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30

2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20

1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10

0F 0E 0D 0C 0B 0A 09 08 07 06 05 04 03 02 01 00 POSITIVE X

FIRST PIXEL

Directions are for a complete mouse,


with the Lens.

Figure 10: Sensor Pixels Array and XY Direction Mapping

Preliminary V0.9

10/12
C2165 USB Optical Mouse SoC
Elementary

8. Application Circuit Example for C2165


VCC

1
1
C1

6
VCC 4.7 uF U2 LD1
Closed to Chip LED 639nm

VDD
C2 10

2
0.1uF VSSA
12 Surface

2
GND 11
JP1 XY_LED
* Not Mounted if cable length less than 6 feet Closed to Chip
D+/CLK 5 13
1 D-/DATA 4 DP OSCI
2 VCC DM XT1
3 GND 6MHz
4 ESD * *
C2165 14
5 C5 C3 C4 SWR 3 OSCO
USB/PS2 CONN 0.1uF 100pF 100pF SWM 2 SWR 7
SWL 1 SWM VC3B
Closed to Connector SWL 8
16 VC3A
15 Z1 9
Z2 R_LED

1
VCC C6

1
C2165-001 Closed to Chip 10uF
RB S1 C7

2
1 2 VCC R1 4.7uF
39K

2
MB S2
1 2
1
LB S3 SWZ1
1 2 Z Encoder

Z Axis
3

Figure 11: Application Schematic with C2165 16pins (3 buttons with Z-Wheel)

VCC

1
1

C1
6

VCC 4.7 uF U2 LD1


Closed to Chip LED 639nm
VDD

C2 10
2

0.1uF VSSA
12 Surface
2

GND 11
JP1 XY_LED
* Not Mounted if cable length less than 6 feet
D+/CLK 5 13 Closed to Chip
1 D-/DATA 4 DP OSCI
2 VCC DM XT1
3 GND 6MHz
4 ESD * *
C2165 14
5 C5 C3 C4 SWR 3 OSCO
USB/PS2 CONN 0.1uF 100pF 100pF SWM 2 SWR 7
SWL 1 SWM VC3B
Closed to Connector SWL 8
16 VC3A
15 Z1 9
Z2 R_LED
1

VCC C6
1

C2165-001 Closed to Chip 10uF


RB S1 C7
2

1 2 VCC R1 4.7uF
39K
2

MB S2
1 2
1

LB S3 SWZ1
1 2 Z Encoder

Z Axis
3

D1
1N4148
1 2 SWR
TILT R S4

1 2
D2
1N4148 SWM

1 2
TILT L S5 D3
1N4148
1 2 SWL

D4
1N4148
Extended Circuit
Tilt-Wheel Buttons (Optional)

Figure 11: Application Schematic with C2165 16pins (3 buttons with Tilt-Wheel)

Preliminary V0.9

11/12
C2165 USB Optical Mouse SoC
Elementary

9. Package Dimension:
C2165 16Pin Package

Preliminary V0.9

12/12