PIXART PAW3101DB

PAW3101DB
PAW3101DB CMOS OPTICAL MOUSE SENSOR
General Description
The PAW3101DB is a CMOS process optical mouse sensor with DSP integration chip that serves as a nonmechanical motion estimation engine for implementing a computer mouse.
Features
Key Specification
‰
Single 5.0/3.3 volt power supply
‰
Precise optical motion estimation technology
‰
Complete 2-D motion sensor
‰
No mechanical parts
‰
Accurate motion estimation over a wide range of
System Clock
surfaces
18.432 MHz
‰
High speed motion detection up to 21 inches/sec
Speed
21 inches/sec
‰
High resolution up to 800 CPI
‰
Register setting for low power dissipation
Resolution
400/800 CPI
‰
Power saving mode during times of no movement
Frame Rate
3000 frames/sec
‰
Serial Interface for programming and data
Operating
transfer
Current
I/O pin 5.0 volt tolerance
‰
Wide operating supply range
Power Supply 3.0V ~ 3.6V (VDD, VREF)
4.25V ~ 5.5V (VDD)
Optical Lens
Package
1:1
10mA @Mouse moving (Normal)
5mA @Mouse not moving (Sleep)
100uA @Power down mode
Staggered DIP8
Ordering Information
Order Number
PAW3101DB
I/O
CMOS output
Resolution
800 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
1. Pin Configuration
1. Pin Description
Pin No.
Name
Type
Definition
1
2
3
OSCIN
OSCOUT
SDIO
IN
OUT
4
SCLK
5
6
7
8
LED
VSS
VDD
VREF
Resonator input
Resonator output
Serial interface bi-direction data
(5.0 volt tolerance and 3.3V output)
Serial interface clock
(5.0 volt tolerance)
LED control
Chip ground
Chip power, 3.0V ~ 3.6V(Vdd1) or 4.25V ~ 5.5(Vdd2)
Voltage reference, 3.3V
I/O
IN
OUT
GND
PWR
BYPASS
1.2 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
2. Block Diagram and Operation
POWER ON
RESET
SERIAL
INTERFACE
SERIAL
INTERFACE
VDD
VOLTAGE REGULATOR
SCLK
LED
DRIVER
CMOS
IMAGE
SENSOR
DIGITAL
SIGNAL
PROCESSOR
AND POWER CONTROL
LED
5V POWER
VSS
VREF
VOLTAGE
REFERENCE
SDIO
CONTROL REGISTER
OSCILLATOR
OSCIN
OSCOUT
RESONATOR
Figure 3. Block Diagram
The PAW3101DB is a CMOS-process optical mouse sensor with DSP integration chip that serves as a nonmechanical 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 a 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 PAW3101DB, 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
3. Registers and Operation
The released registers of the mouse sensor can be programmed via a serial port interface. The user can modify
released DSP configuration and read motion data from these registers. Some registers not being listed are
reserved not allowed to be modified.
3.1 Registers
Address
0x00
0x01
0x02
0x03
0x04
0x05
|
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
Product_ID2
R
0x10
0x15
Product_ID3
R
0x1X
0x16
0x17
0x18
0x19
0x1A
0x1B
0x1C
|
0x3F
0x40
0x41
0x42
0x43
0x44
Motion_Status
R
Delta_X
R
Delta_Y
R
Image_Quality
R
Operation_Mode2 R/W
Configuration
R/W
-
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 use
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
-
Operation_Mode3 R/W
Product_ID4
R
Delta_Y
R
Delta_X
R
Image_Quality
R
0x20
0x41
-
Bit field
Bit field
Eight bits 2’s complement number
Eight bits 2’s complement number
Eight bits unsigned integer
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
3.2 Register Descriptions
0x00
Operation_Mode1
Bit
7
6
5
4
3
2
1
0
Field
Usage
Reset
PD_enh
0
0
0
0
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
Bit [5:1]
MUST always be 00000
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
Reserved[3:0]
Usage
Product ID of the 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
0
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
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
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).
0x14
Bit
Product_ID2
7
6
5
4
Field
Usage
Field
Usage
2
1
0
PID2[11:4]
The value in this register is fixed. It can be used to verify if the status of the serial communications
link is OK.
0x15
Bit
3
Product_ID3
7
6
5
PID2[3:0]
4
3
2
1
0
Reserved[3:0]
The value in this register is fixed. PID2[3:0] can be used to verify if the status of the serial
communications link is OK. Reserved[3:0] is a value between 0x0 and 0xF, but it can’t be used to
verify the status of 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
0x16
Motion_Status
Bit
7
Field
Motion
Usage
6
5
Reserved[3:2]
4
3
DYOVF
DXOVF
2
1
Reserved[1:0]
0
RES
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[3:2]
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[1:0]
Reserved for future use
RES
Resolution in counts per inch
0 = 800 (Default)
1 = 400
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
0x19
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).
0x1A
Operation_Mode2
Bit
7
6
5
4
3
2
1
0
Field
Usage
Reset
PD_enh
0
0
LEDsht_enh
Slp_enh
Slpmu_enh
Wakeup
Notes
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 one time, and the other
one has to be set to 0. Note that these bits are self-clear.
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
Bit [5:4]
Must always be 00
LEDsht_enh
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
0x1B
Configuration
Bit
7
6
5
4
3
2
1
0
Field
RES
0
1
0
0
1
0
0
Usage
The Configuration register allows the user to change the configuration of the moue sensor. Shown
below are the bits, their default values, and optional values.
Notes
Field Name
Description
RES
Output resolution setting
0 = 800 (Default)
1 = 400
Bit [6:0]
Must always be 0100100
0x40
Operation_Mode3
Bit
7
6
5
4
3
2
1
0
Field
Usage
Reset
PD_enh
LEDsht_enh
0
0
0
0
Slp_enl
Notes
Register 0x40 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.
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
LEDsht_enh
LED shutter enable/disable
0 = Disable
1 = Enable (Default)
Bit [4:1]
Must always be 0000
Slp_enl
Sleep mode enable/disable
0 = Enable (Default)
1 = Disable
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
0x41
Bit
Product_ID4
7
Field
6
5
4
3
PID3[3:0]
2
1
Reserved[3:0]
Usage
Product ID of the mouse sensor and operation state of the mouse.
Notes
Field Name
Description
PID3[3:0]
The product ID is 010
Reserved[3:0]
Reserved for future use
Opstate
Operation state
0 = Sleep state
1 = Normal state
0x42
0
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.
0x43
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.
0x44
Bit
Image_Quality
7
6
Field
5
4
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).
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
4. Specifications
4.1 Absolute Maximum Ratings
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
5.5
V
SDIO, SCLK, VDD
Max.
Unit
40
°C
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
TA
Vdd1
Vdd2
Parameter
Operating Temperature
Power Supply Voltage
VN
Supply Noise
Z
Distance From Lens
Reference Plane to
Surface
R
Resolution
A
Acceleration
SCLK
Serial Port Clock
Frequency
FCLK
Clock Frequency
FR
Frame Rate
S
Speed
Min.
Typ.
0
3.0
3.3
3.6
4.25
5.0
5.5
2.3
VDD, VREF short
VDD
100
mV
Peak to peak within 0 - 100 MHz
2.5
mm
Refer to Figure 4.
800
CPI
20
g
10
MHz
18.432
24.576
MHz
3000
4000
frames/s
3000 frames/s @ FCLK = 18.432 MHz
4000 frames/s @ FCLK=24.567 MHz
21
28
inches/s
21 inches/s @ FCLK = 18.432 MHz
28 inches/s @ FCLK = 24.567 MHz
2.4
0.1
0
V
Notes
Set by ceramic resonator
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
4.3 AC Operating Condition
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 5.0 V, FCLK =
18.432 MHz
Symbol
tHOLD
Parameter
Min. Typ. Max. Unit
SDIO Read Hold Time
tRESYNC Serial Interface RESYNC.
3
1
Notes
us
Minimum hold time for valid data (refer to
Figure 8)
us
@3000 frame/sec (refer to Figure 9)
tSIWTT
Serial Interface Watchdog
Timer Timeout
tPDR
PD Pulse Register
tPUPD
Power Up from Deactivate
the Power Down Mode
tPU
Power Up from VDD↑
tr,tf
Rise and Fall Times: SDIO
25,
20
ns
CL = 30 pF
tr,tf
Rise and Fall Times: ILED
10,
10
ns
LED bin grade: R; R1 = 100 ohm
1.7
ms @3000 frame/sec (refer to Figure 9)
One frame time maximum after setting
PD_enh bit in the Operation_Mode register
@3000 frame/sec (refer to Figure 10).
333
us
3
30.5
After tPUPD, all registers contain valid data
from first image after deactivate power down
ms mode.
@3000 frame/sec
3
30.5
ms @3000 frame/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]
12
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
4.4 DC Electrical Characteristics
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 5.0 V, FCLK =
18.432 MHz
Symbol
Parameter
Min. Typ. Max. Unit
Type: PWR
IDD
Supply Current
Mouse Moving (Normal)
10
mA SCLK, SDIO = no load
IDD
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)
V
When driving from an external source
V
When driving from an external source
Type: OSCIN
VIH
Input Voltage HIGH
VIL
Input Voltage LOW
2.0
0.7
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]
13
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
5. Z and 2D Assembly
Package Lid
Lens
Z
OBJECT SURFACE
Figure 4. Distance from Lens Reference Plane to Surface
+X
+Y
ESD LENS RING
CLIP
PLASTIC SPRING
BASE PLATE
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]
14
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
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 instead of the
mouse sensor has the ability to initiates communication.
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 )
LSB M SB
LSB
Figure 6. 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 7. 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
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
7
S D IO
A1
8
9
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 8. 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 to high and wait at least tSIWTT to re-synchronous the parts after an incorrect read. This method is
called by “watchdog timer timeout”. The mouse sensor will reset the serial port but will not reset 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
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
H i-Z
A D D R E S S (R /W )
DATA
Figure 9. 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
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 release 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 least 1frame 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 5.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
1
0
3
4
5
6
7
8
9
1
0
1
1
0
1
0
Address = 0x00
0
0
0
0
0
0
1
2
1
3
1
4
1
5
1
6
1 frame, max
Data = 0x40
0
0
0
0
0
SDIO
IDD
t PDR
Figure 10. 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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
7. Referencing Application Circuit
7.1 5V Application Circuit with External LED Control
11
VCC
1
C3
2
0.1uF
P0.6
JP1
R2
1.3K
1
8
12
2
13
3
P0.7
VREG
XTALIN
DXTALOUT
D+
P0.5
4
P0.4
USB
Z1
3
2
2
1
3
P0.0
P0.1
VPP
COM
Z2
P0.2
ENSW1
ENCODER
U2
X1
18.432MHz
VSS
16
3
15
4
VREF
OSCIN
VDD
OSCOUT
VSS
SDIO
LED
8
C1
+
U1
1uF
7
6
C4
5
0.1uF
R5
R3
10
100K
+
C5
10uF
Q1
2N3906
PAW3101DB
17
18
1
D1
LED
SCK
9
10
R1
SW3
R
SW2
M
SW1
L
R4
1K
7
6
CY7C63231
Figure 11. 5V Application Circuit with External LED Control
7.2 5V Application Circuit with Internal LED Control
11
VCC
1
C3
2
0.1uF
P0.6
JP1
R2
1
1.3K
8
12
2
13
3
P0.7
VREG
XTALIN
DXTALOUT
D+
P0.5
4
P0.4
USB
Z1
3
2
2
1
3
P0.0
P0.1
VPP
COM
Z2
P0.2
ENSW1
ENCODER
U2
X1
18.432MHz
VSS
16
3
15
4
VREF
OSCIN
VDD
OSCOUT
VSS
SDIO
LED
8
C1
+
U1
R3
1uF
10
R1
7
6
C4
5
0.1uF
+
C5
D1
LED
10uF
SCK
9
PAW3101DB
10
17
18
1
SW3
R
SW2
M
SW1
L
7
6
CY7C63231
Figure 12. 5V Application Circuit with Internal LED Control
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
7.3 3.3V Application Circuit with Internal LED Control
VDD_3.3V
VDD_3.3V
U1
1
VREF
8
OSCIN
R1
X1
18.432MHz
2
VDD
7
OSCOUT
+
To MCU's SDIO
3
To MCU's SCLK
4
VSS
6
C1
C2
10uF
0.1uF
D1
LED
SDIO
LED
5
SCLK
PAW3101DB
Figure 13. 3.3V Application Circuit with Internal LED Control
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
7.4 PCB Layout Consideration
z
Caps for pins 7, 8 must have trace lengths less than 5 mm.
z
The trace lengths of OSCOUT, OSCIN must less than 6 mm.
7.5 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%
7.5.1 5V Application
z
z
R1 value (ohm) for external LED control, VDD = 5.0V (refer to Figure 11)
LED Bin Grade
Min.
Typ.
N
27
47
P
27
47
Q
27
47
Max.
R1 value (ohm) for internal LED control, VDD = 5.0V (refer to Figure 12)
LED Bin Grade
Min.
Typ.
N
47
100
P
47
100
Q
47
100
Max.
7.5.2 3.3V Application
z
R1 value (ohm) for internal LED control, VDD = VREF = VDD_LED = 3.3V (refer to Figure 13)
LED Bin Grade
Min.
Typ.
N
22
100
P
22
100
Q
22
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
CMOS Optical Mouse Sensor
8. Package Information
8.1 Package Outline Drawing
7
8
6
5
PAW3101
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
V3.1 May. 2008
PixArt Imaging Inc.
PAW3101DB
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
4
6.172
0.243
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
V2.0
V2.1
V2.2
V3.0
V3.1
Update
Creation, Preliminary 1st version
Re-typesetting
Revise words
Add an application for 3.3V operation voltage.
Content revise
Date
08/11/2006
09/08/2006
12/04/2006
05/09/2008
05/26/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
V3.1 May. 2008