PIXART PAW3102DB

PAW3102DB
PAW3102DB HIGH RESOLUTION CMOS OPTICAL MOUSE SENSOR
General Description
The PAW3102DB is a high resolution CMOS process optical mouse sensor with DSP integration chip that
serves as a non-mechanical motion estimation engine for implementing a computer mouse.
Features
Key Specification
‰
Single 5.0 volt power supply
‰
Wide operating supply range
Built-in ± 10% accurate oscillator, external Power Supply 4.25V ~ 5.5V
crystal-less
‰
Precise optical motion estimation technology
‰
Complete 2-D motion sensor
‰
No mechanical parts
‰
Accurate motion estimation over a wide range Resolution
of surfaces
800/1000(default)/1200/1600 CPI
‰
High speed motion detection up to 28 Frame Rate
inches/sec
3000 frames/sec
‰
High resolution up to 1600 CPI
‰
Register setting for low power dissipation
10 mA @Mouse moving (Normal)
5 mA @Mouse not moving (Sleep)
100 uA @Power down mode
‰
Power saving mode during times of no
Package
movement
‰
Serial Interface for programming and data
transfer
‰
I/O pin 5.0 volt tolerance
‰
EFT enhancement
Optical Lens
1:1
Speed
28 inches/sec
Operating
Current
Staggered DIP8
Ordering Information
Order Number
PAW3102DB
I/O
CMOS output
Resolution
1000 CPI
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
1
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
1. Pin Configuration
Pin Description
Pin No.
Name
Type
Definition
1
2
3
4
5
6
7
8
OSC_RES
NC
SDIO
SCLK
LED
VSS
VDD
VREF
IN
I/O
IN
OUT
GND
PWR
BYPASS
Internal RC oscillator for system clock without external resistor
No connect
Serial interface bi-direction data
Serial interface clock
LED control
Chip ground
Chip power, 5V power supply
Voltage reference
Pin Assignment
LB
RB
8
1
7
2
+Y
8
1
6
7
2
3
6
5
3
5
4
4
+X
Figure 1. Top View Pinout
Figure 2. Top View of Mouse
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
2
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
AND POWER CONTROL
VOLTAGE REGULATOR
2. Block Diagram and Operation
Figure 3. Block Diagram
The PAW3102DB is a high resolution CMOS-process optical mouse sensor with DSP integration chip that
serves as a non-mechanical motion estimation engine for implementing a computer mouse. It is based on new
optical navigation technology, which measures changes in position by optically acquiring sequential surface
images (frames) and mathematically determining the direction and magnitude of movement. The mouse sensor is
in an 8-pin optical package. The current X and Y information are available in registers accessed via a serial port.
The word "mouse sensor," instead of PAW3102DB, is used in the document.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
3
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
3. Registers and Operation
The mouse sensor can be programmed through registers, via the serial port, and DSP configuration and motion
data can be read from these registers. All registers not listed are reserved, and should never be written by mouse
controller.
3.1 Registers
Address
0x00
0x01
0x02
0x03
0x04
0x05
|
0x11
0x12
0x13
0x14
Name
R/W Reset Value
Operation_Mode1 R/W
0x00
Product_ID1
R
0x01
Delta_Y
R
Delta_X
R
Image_Quality
R
-
Data Type
Bit field
Bit field
Eight bits 2’s complement number
Eight bits 2’s complement number
Eight bits unsigned integer
-
-
-
Reserved for future use
Write_Protect
Product_ID2
W
R
0x10
0x15
Product_ID3
R
0x2N
0x16
0x17
0x18
0x19
0x1A
0x1B
0x1C
|
0x3F
Motion_Status
Delta_X
Delta_Y
Image_Quality
Operation_Mode2
Configuration
R
R
R
R
R
R
0x0C
0x64
-
-
-
Bit field
Reserved for future use
Eight bits [11:4] number with the product identifier
Four bits [3:0] number with the product identifier
Reserved [3:0] number is reserved for future
Bit field
Eight bits 2’s complement number
Eight bits 2’s complement number
Eight bits unsigned integer
Bit field
Bit field
Reserved for future use
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
4
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
3.2 Register Descriptions
0x00
Operation_Mode1
Bit
7
6
Field
Usage
Reset
PD_enh
5
4
3
2
1
0
Reserved[4:0]
Slp_enl
Register 0x00 allows the user to change the operation of the mouse sensor. Shown below are the bits,
their default values, and optional values.
If Slp_enl = 0, After 1 sec not moving during normal mode, the mouse sensor will enter sleep mode,
and keep on sleep mode until moving is detected or wakeup is asserted.
Notes
Field Name
Description
Reset
Full chip reset
0 = Normal operation mode (Default)
1 = Full chip reset
PD_enh
Power down mode
0 = Normal operation mode (Default)
1 = Power down mode
Reserved[4:0]
Reserved for future use. Must be written to zero.
Slp_enl
Sleep mode enable/disable
0 = Enable (Default)
1 = Disable
0x01
Bit
Product_ID1
7
Field
6
5
4
3
PID1[2:0]
2
1
0
Reserved[3:0]
Usage
Product ID of mouse sensor and operation state of the mouse sensor.
Notes
Field Name
Description
PID1[2:0]
The product ID is 000
Reserved[3:0]
Reserved for future use
Opstate
Operation state
0 = Sleep state
1 = Normal state
0x02
Opstate
Delta_Y
Bit
7
6
5
4
3
2
1
0
Field
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Usage
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
5
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
0x03
Delta_X
Bit
7
6
5
4
3
2
1
0
Field
X7
X6
X5
X4
X3
X2
X1
X0
Usage
X movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
0x04
Bit
Image_Quality
7
6
5
4
Field
3
2
1
0
Imgqa[7:0]
Usage
Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255.
Notes
Field Name
Description
Imgqa[7:0]
Image quality report range: 0(worst) ~ 255(best).
0x12
Bit
Write_Protect
7
Field
6
5
4
3
Reserved[2:0]
2
1
0
WP[4:0]
Usage
Write protect for the register 0x1A, 0x1B.
Note:
When Write_Protect function is disabled, users can write register 0x1A, 0x1B. After writing
registers, users have to enable the Write_Protect function for EFT issue.
Notes
Field Name
Description
Reserved[2:0]
Reserved for future use. Must be written to zero.
Write protect enable/disable for 0x1A, 0x1B
00000 = Enable (Default), register 0x1A, 0x1B is read only
10101 = Disable, register 0x1A, 0x1B can be read/written
WP[4:0]
0x14
Bit
Product_ID2
7
6
5
4
3
2
1
0
Field
PID2[11:4]
Usage
The value in this register can’t change. It can be used to verify that the serial communications link is
OK.
0x15
Product_ID3
Bit
Field
Usage
7
6
5
PID2[3:0]
4
3
2
1
0
Reserved[3:0]
The value in this register can’t be changed. PID2[3:0] can be used to verify that the serial
communications link is OK. Reserved[3:0] is a value between 0x0 and 0xF, it can’t be used to verify
that the serial communications.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
6
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
0x16
Motion_Status
Bit
7
Field
Motion
Usage
6
5
Reserved[2:1]
4
3
2
DYOVF
DXOVF
Reserved[0]
1
0
RES[1:0]
Register 0x16 allows the user to determine if motion has occurred since the last time it was read. If
so, then the user should read registers 0x17 and 0x18 to get the accumulated motion. It also tells if the
motion buffers have overflowed since the last reading. The current resolution is also shown.
Reading this register freezes the Delta_X and Delta_Y register values. Read this register before
reading the Delta_X and Delta_Y registers. If Delta_X and Delta_Y are not read before the motion
register is read a second time, the data in Delta_X and Delta_Y will be lost.
Notes
Field Name
Description
Motion
Motion since last report or PD
0 = No motion (Default)
1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers
Reserved[2:1]
Reserved for future use
DYOVF
Motion Delta Y overflow, ΔY buffer has overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred
DXOVF
Motion Delta X overflow, ΔX buffer has overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred
Reserved[0]
Reserved for future use
RES[1:0]
Resolution in counts per inch
0 = 1000 (Default)
1 = 1200
2 = 1600
3 = 800
0x17
Delta_X
Bit
7
6
5
4
3
2
1
0
Field
X7
X6
X5
X4
X3
X2
X1
X0
Usage
X movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
0x18
Delta_Y
Bit
7
6
5
4
3
2
1
0
Field
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Usage
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128 ~ +127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
7
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
0x19
Bit
Image_Quality
7
6
5
4
3
Field
2
1
0
Imgqa[7:0]
Usage
Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255.
Notes
Field Name
Description
Imgqa[7:0]
Image quality report range: 0(worst) ~ 255(best).
0x1A
Operation_Mode2
Bit
7
6
Field
Usage
Reset
PD_enh
Notes
5
4
CPI[1:0]
3
2
1
0
LEDsht_enh
Slp_enh
Slpmu_enh
Wakeup
Register 0x1A allows the user to change the operation of the mouse sensor. Shown below are the bits,
their default values, and optional values.
Operation_Mode2[2:0]
“0xx” = Disable sleep mode
“110” = Force enter sleep
“101” = Force wakeup from sleep mode
Notes:
1. After 1 sec not moving during normal mode, the mouse sensor will enter sleep mode, and keep on
sleep mode until moving is detected or wakeup is asserted.
2. Only one of these two bits Slpmu_enh and Wakeup can be set to 1 at the same time, others have to
be set to 0. After a period of time, the bit, which was set to 1, will be reset to 0 by internal signal.
Field Name
Description
Reset
Full chip reset
0 = Normal operation mode (Default)
1 = Full chip reset
PD_enh
Power down mode
0 = Normal operation mode (Default)
1 = Power down mode
CPI[1:0]
LEDsht_enh
Output resolution setting
0 = 1000 (Default)
1 = 1200
2 = 1600
3 = 800
LED shutter enable/disable
0 = Disable
1 = Enable (Default)
Slp_enh
Sleep mode enable/disable
0 = Disable
1 = Enable (Default)
Slpmu_enh
Manual enter sleep mode, set “1” will enter sleep and this bit will be reset to “0”
Wakeup
Manual wake up from sleep mode, set “1” will enter wakeup and this bit will be reset
to “0”
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
8
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
0x1B
Configuration
Bit
7
6
5
4
3
2
1
0
Field
XY_exch
Y_inv
X_inv
Usage
Register 0x1B allows the user to change the XY direction of the mouse sensor. Shown below are the
bits, their default values, and optional values.
Configuration[7:5]
“011” = Typical direction 0°
“110” = The mouse sensor turn -90°
“101” = The mouse sensor turn +90°
Reserved[4:0]
Notes:
When write Configuration[7:5], users have to keep Configuration[4:0] values. So the only way to
do this is read Configuration[7:0] first, set/clear the desired bits of Configuration[7:5] and keep the
same value of Configuration[4:0] , then write Configuration[7:0].
Notes
Field Name
Description
XY_exch
X and Y direction exchange function
0 = Disable (Default)
1 = Enable (X and Y direction exchange)
Y_inv
Y direction inverse function
0 = Enable(Y direction inverse)
1 = Disable (Default)
X_inv
Reserved[4:0]
X direction inverse function
0 = Enable (X direction inverse)
1 = Disable (Default)
Reserved for future use. Don’t change the reserved bits during register writes. The
user can change other bits, but the reserved bits must be kept during register writes.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
9
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
4. Specifications
4.1 Absolute Maximum Ratings
Stresses above those listed under "Absolute Maximum Rating" may cause permanent damage to the device.
These are stress ratings only. Functional operation of this device at these or any other conditions above those
indicated in the operational sections of this specification is not implied and exposure to absolute maximum
rating conditions for extended periods may affect device reliability.
Symbol
Parameter
Min
Max
Unit
Notes
TSTG
Storage temperature
-40
85
°C
TA
Operating Temperature
-15
55
°C
260
°C
5.5
V
2
kV
All pins, human body model MIL
883 Method 3015
VDC
V
SDIO, SCLK, VDD
Max.
Unit
40
°C
5.5
V
100
mV
Peak to peak within 0 - 80 MHz
Refer to Figure 4.
Lead Solder Temp
VDC
DC supply voltage
-0.5
ESD
VIN
DC input voltage
-0.5
For 10 seconds, 1.6mm below
seating plane.
4.2 Recommend Operating Condition
Symbol
Parameter
Min.
Typ.
TA
Operating
Temperature
0
VDD
Power supply
voltage
4.25
VN
Supply noise
Z
Distance from lens
reference plane to
surface
2.3
2.4
2.5
mm
R
Resolution
800
1000
1600
CPI
A
Acceleration
20
g
SCLK
Serial Port Clock
Frequency
10
MHz
FR
Frame Rate
S
Speed
5.0
3000
0
Notes
frames/sec
28
inches/sec
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
10
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
4.3. AC Operating Condition
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD =5.0 V.
Symbol
Parameter
Min. Typ. Max. Unit
tHOLD
SDIO read hold time
3
tRESYNC
Serial Interface RESYNC.
1
tSIWTT
Serial Interface Watchdog
Timer Timeout
1.7
tPDR
PD Pulse Register
tPUPD
Power Up from deactivate
the Power Down mode
3
tPU
Power Up from VDD↑
3
Notes
us
Minimum hold time for valid data. (Refer to
Figure 9)
us
@3000frame/sec (Refer to Figure 10)
ms @3000frame/sec (Refer to Figure 10)
Two frames time maximum after setting bit 6
in the Operation_Mode register
@3000frame/sec. (Refer to Figure 11)
666
us
30.5
From deactivate power down mode to valid
motion data. After tPUPD, all registers contain
valid data from first image after deactivate
ms power down mode. Note that an additional 90
frames for Auto-Exposure (AE) stabilization
may be required if mouse movement occurred
while PD bit in register was high.
30.5
ms
From VDD↑ to valid motion data.
500usec + 90frames.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
11
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
4.4. DC Operating Condition
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD =5.0 V.
Symbol
Parameter
Min. Typ. Max. Unit
Type: PWR
IDDN
Supply Current
Mouse moving (Normal)
10
mA SCLK, SDIO = no load
IDDS1
Supply Current
Mouse not moving (sleep1)
5
mA
IDDPD
Supply Current
(Power Down)
100
uA SCLK, SDIO = high
Type: SCLK, SDIO
VIH
Input voltage HIGH
VIL
Input voltage LOW
VOH
Output voltage HIGH
VOL
Output voltage LOW
2.0
0.7
2.4
0.6
V
V
@I OH = 2mA (SDIO only)
V
@I OL = 2mA (SDIO only)
Type: LED
VOL
Output voltage LOW
150
mV @I OL = 25mA
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
12
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
5. Z and 2D/3D Assembly
Package Lid
Lens
Z
OBJECT SURFACE
Figure 4. Distance from Lens Reference Plane to Surface
ESD LENS RING
BASE PLATE
CLIP
PLASTIC SPRING
LED
SURFACE IS 0 REF.
PCB
SENSOR
BASE PLATE ALIGNMENT POST
Unit: mm
Figure 5. 2D Assembly
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
13
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
Clipper
PCB
Sensor
LED
Lens
Base Plate
Figure 6. 3D Assembly for Mounting Instructions
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
14
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
6. Serial Interface
The synchronous serial port is used to set and read parameters in the mouse sensor.
SCLK: The serial clock line. It is always generated by the mouse controller.
SDIO: The serial data line is used to write and read data.
6.1 Transmission Protocol
The transmission protocol is a two-wire link, half duplex protocol between the mouse controller and the mouse
sensor. All data changes on SDIO are initiated by the falling edge on SCLK. The mouse controller always
initiates communication; the mouse sensor never initiates data transfers.
The transmission protocol consists of the two operation modes:
- Write Operation.
- Read Operation.
Both of the two operation modes consist of two bytes. The first byte contains the address (seven bits) and has a
bit7 as its MSB to indicate data direction. The second byte contains the data.
SECOND BYTE
F IR S T B Y T E
R /W
( 1 B IT )
A D D R E S S ( 7 B IT )
MSB
D A T A ( 8 B IT )
LS
B
LSB M SB
Figure 7. Transmission Protocol
6.1.1 Write Operation
A write operation, which means that data is going from the mouse controller to the mouse sensor, is always
initiated by the mouse controller and consists of two bytes. The first byte contains the address (seven bits) and
has a “1” as its MSB to indicate data direction. The second byte contains the data. The transfer is synchronized
by SCLK. The mouse controller changes SDIO on falling edges of SCLK. The mouse sensor reads SDIO on
rising edges of SCLK.
1
SCLK
SDIO
DON'T
CARE
1
2
3
A6 A5
4
5
6
A4 A3
A2
7
8
A1 A0
9
10
D7 D6
11
12
13
14
15
16
D5 D4 D3 D2 D1 D0
DON'T
CARE
SDIO driven by the mouse controller
Figure 8. Write Operation
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
15
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
6.1.2 Read Operation
A read operation, which means that data is going from the mouse sensor to the mouse controller, is always
initiated by the mouse controller and consists of two bytes. The first byte contains the address, is written by the
mouse controller, and has a “0” as its MSB to indicate data direction. The second byte contains the data and is
driven by the mouse sensor. The transfer is synchronized by SCLK. SDIO is changed on falling edges of SCLK
and read on every rising edge of SCLK. The mouse controller must go to a high Z state after the last address data
bit. The mouse sensor will go to the high Z state after the last data bit.
SCLK
1
2
3
4
5
6
7
9
10
11
12
13
14
15
16
D7
D6
D5
D4
D3
D2
D1
D0
8
H i-Z
S D IO
D O N 'T
CARE
0
A6
A5
A4
A3
A2
A1
A0
S D IO d riven b y th e m ou se con troller
H i-Z_
R /W b it o f n ex t
ad d ress
S D IO d riv en b y th e m ou se senso r
N o te "A "
N o te "B "
N o te "A " 1. T he m ou se co ntroller send s add ress to the m o use sen so r.
2. T he m ou se co ntroller releases an d set S D IO to H i-Z after th e last ad dress bit.
SCLK
A1
S D IO
9
8
7
H i-Z
A0
D7
tH O L D
3u s,m in
N o te "B "
1. T he m o use sen so r sen ds data to th e m ou se con tro ller .
2. T he m o use sen so r releases and set S D IO to H i-Z after th e last data bit.
SCLK
16
H i-Z
S D IO
D0
1
_
R /W b it of n ex t ad dress
S D IO driven b y the m ou se co ntroller
Figure 9. Read Operation
6.2 Re-Synchronous Serial Interface
If the mouse controller and the mouse sensor get out of synchronization, then the data either written or read from
the registers will be incorrect. In such a case, an easy way to solve this condition is to toggle the SCLK line from
high to low for least tRESYNC, and then MUST toggle it from low to high to wait at least tSIWTT to reach resynchronous the serial port. This method is called by “watchdog timer timeout”. The mouse sensor will reset the
serial port without resetting the registers and be prepared for the beginning of a new transmission.
t S IW T T
SCLK
1
tR E S Y N C
1 u s , m in
S D IO
H i-Z
2
3
4
5
6
7
_
8
9
A D D R E S S (R /W )
1
0
1
1
1
2
1
3
1
4
1
5
1
6
DATA
Figure 10. Re-synchronous Serial Interface Using Watchdog Timer Timeout
Note that this function is disabled when the mouse sensor is in the power down mode. If the user uses this
function during the power down mode, it will get out of synchronization. The mouse sensor and the mouse
controller also might get out of synchronization due to following conditions.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
16
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
z
Power On Problem - The problem occurs if the mouse sensor powers up before the mouse controller
sets the SCLK and SDIO lines to be output. The mouse sensor and the mouse controller might get out
of synchronization due to power on problem. An easy way to solve this is to use “watchdog timer
timeout”.
z
ESD Events - The mouse sensor and the mouse controller might get out of synchronization due to ESD
events. An easy way to solve this is to use “watchdog timer timeout”.
6.3 Collision Detection on SDIO
The only time that the mouse sensor drives the SDIO line is during a READ operation. To avoid data collisions,
the mouse controller should release SDIO before the falling edge of SCLK after the last address bit. The mouse
sensor begins to drive SDIO after the next falling edge of SCLK. The mouse sensor releases SDIO of the rising
SCLK edge after the last data bit. The mouse controller can begin driving SDIO any time after that. In order to
maintain low power consumption in normal operation, the mouse controller should not leave SDIO floating until
the next transmission (although that will not cause any communication difficulties).
6.4 Power Down Mode
The mouse sensor can be placed in a power-down mode by setting PD_enh bit in the Operation_Mode register
via a serial port write operation. After setting the Operation_Mode register, wait at most 2 frames times. To get
the chip out of the power down mode, clear PD_enh bit in the Operation_Mode register via a serial port write
operation. In the power down mode, the serial interface watchdog timer (see Section 6.2) is not available. But,
the serial interface still can read/write normally. For an accurate report after leave the power down mode, wait
about 3ms before the mouse controller is able to issue any write/read operation to the mouse sensor.
SCLK
1
2
3
4
5
6
7
8
9
1
0
0
0
1
Address = 0x00
1
0
0
0
0
0
0
1
1
1
2
1
3
1
4
1
5
1
6
2 frames, max
Data = 0x40
0
0
0
0
0
0
SDIO
IDD
tPDR
Figure 11. Power-down Configuration Register Writing Operation
6.5 Error Detection
1. The mouse controller can verify success of write operations by issuing a read command to the same address
and comparing written data to read data.
2. The mouse controller can verify the synchronization of the serial port by periodically reading the product ID
register
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
17
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
7. Referencing Application Circuit
7.1 Recommended Typical Application using External LED Control
VCC_5V
11
1
* X1
open 2
VCC
C4
P0.6
0.1uF
P0.7
16
3
15
4
OSC_RES
NC
SDIO
SCK
CON1
1
8
R3
1.3K
12
2
13
3
6
4
7
VDD
VSS
LED
PAW3102DB
C1
R4
1uF
R1
100K
7
C2
6
+
0.1uF
C3
D1
LED
10uF
5
R4
1K
Q1
2N3906
VREG
D-/SDATA
P0.5
D+/SCLK
P0.4
VSS
P0.0
17
BR SW1
R
18
BL
SW2
L
1
BM SW3
M
ENSW1
VPP
P0.1
P0.2
9
VREF
8
+
U1
*R2 open
U2
XTALIN
XTALOUT
2
1
3
2
10
Z2
COM
3
Z1
ENCODER
CYPRESS CY7C63723
Note:
1. *R2 is left for future use
2. *X1 is left for PAN3101DB
Figure 12. Application Circuit Using External LED
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
18
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
7.2 Recommended Typical Application using Internal LED Control
VCC_5V
11
1
* X1
open 2
VCC
C4
P0.6
0.1uF
P0.7
16
3
15
4
OSC_RES
NC
SDIO
SCK
CON1
8
1
R3
1.3K
12
2
13
3
6
4
7
VDD
VSS
LED
8
C1
1uF
R1
7
C2
6
0.1uF
+
C3
D1
LED
10uF
5
PAW3102DB
VREG
D-/SDATA
P0.5
D+/SCLK
P0.4
VSS
P0.0
17
BR SW1
R
18
BL
SW2
L
1
BM SW3
M
ENSW1
VPP
P0.1
P0.2
9
VREF
+
U1
*R2 open
U2
XTALIN
XTALOUT
2
1
3
2
10
Z2
COM
3
Z1
ENCODER
CYPRESS CY7C63723
Note:
1. *R2 is left for future use
2. *X1 is left for PAN3101DB
Figure 13. Application Circuit Using Internal LED
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
19
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
7.3 PCB Layout Consideration
z
Caps for pins 7, 8 must have trace lengths less than 5 mm.
z
The trace lengths of OSC_RES, NC must less than 6 mm.
7.4 Recommended Value for R1
z
Radiometric intensity of LED
Bin limits (mW/Sr at 20 mA)
LED Bin Grade
Min.
Typ.
Max.
N
14.7
17.7
P
17.7
21.2
Q
21.2
25.4
Note: Tolerance for each bin will be ± 15%
z
z
R1 value (ohm) for external LED control, VDD = 5.0V (refer to Figure 12)
LED Bin Grade
Min.
Typ.
N
27
36
P
27
36
Q
27
36
Max.
R1 value (ohm) for internal LED control, VDD = 5.0V (refer to Figure 13)
LED Bin Grade
Min.
Typ.
N
47
100
P
47
100
Q
47
100
Max.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
20
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
8. Package Information
8.1 Package Outline Drawing
7
8
6
5
PAW3102 DB
xxxxxxx
1
2
3
4
9.9
0.390
3.18
0.125
1.0
0.039
9.1
0.358
5.15
0.203
1.42
0.056
0.25
0.010
Max. 0.1
Max. 0.004
0.46
0.018
Max. 12
12.60 +/-0.2
0.496
2.0
0.078
1.01
0.040
1.0
0.039
1
2
3
4
4.55
0.179
8
7
6
5.0
0.196
5
4.45
0.175
0.80
0.031
NOTES:
1.
2.
3.
4.
All dimensions in MM/INCH.
All dimensions tolerance: +/- 0.10mm
Maxmumflash: +0.2mm
Angular tolerance: +/- 3.0degress
2.0
0.078
Figure 14. Package Outline Drawing
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
21
V1.2, April. 2008
PixArt Imaging Inc.
PAW3102DB
CMOS Optical Mouse Sensor
8.2 Recommended PCB Mechanical Cutouts and Spacing
27.153
1.069
2.997
0.118
6.172
0.243
11.05
0.435
4.242
0.167
26.010
1.024
0 ref.
16.95
0.667
8
7
6
7.544
0.297
5
0.711
0.028
1.194
0.047
Optical Center
0 ref.
1.194
0.047
1
4.242
0.167
2
3
6.172
0.243
4
0.711
0.028
3.251
0.128
7.544
0.297
All Dimensions : mm / inch
Figure 15. Recommended PCB Mechanical Cutouts and Spacing
9. Update History
Version
V1.0
V1.1
V1.2
Update
Creation, Preliminary 1st version
3.2 Register Descriptions.
4.3 AC Operating Condition
5 Z and 2D/3D Assembly
6.4 Power Down Mode
7.3 PCB Layout Consideration
7.4 Recommended Value for R1
Content revise
Date
09/12/2006
07/27/2007
04/18/2008
Note: The Part No. of the Mouse Product with Prefix "PAN" shall NOT be made, sold, offered to sell, imported
or used in or into USA, Canada, Japan and EU. For "PAN", PixArt has only gained territory-limited patent
license from Avago. Avago reserve right to take legal action against our customers who fails to comply the
above term. PLEASE NOTE THAT PixArt will NOT defend, indemnify, or provide any assistance to our
customers who fail to comply the term. IF YOU DO NOT AGREE THE TERM, PIXART WILL NOT
DELIVER "PAN" PRODUCTS TO YOU.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: [email protected]
22
V1.2, April. 2008