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 Single 5.0/3.3 volt power supply Precise optical motion estimation technology Complete 2-D motion sensor No mechanical parts Key Specification Wide operating supply range Power Supply 3.0V ~ 3.6V (VDD, VREF) 4.25V ~ 5.5V (VDD) Optical Lens 1:1 18.432 MHz 21 inches/sec 400/800 CPI 3000 frames/sec 10mA @Mouse moving (Normal) 5mA @Mouse not moving (Sleep) 100uA @Power down mode Staggered DIP8
Accurate motion estimation over a wide range of System Clock surfaces High speed motion detection up to 21 inches/sec High resolution up to 800 CPI Register setting for low power dissipation Power saving mode during times of no movement Resolution Frame Rate Speed
Serial Interface for programming and data Operating transfer Current I/O pin 5.0 volt tolerance Package
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.
1 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
1. Pin Configuration 1. Pin Description
Pin No. 1 2 3 4 5 6 7 8 Name OSCIN OSCOUT SDIO SCLK LED VSS VDD VREF Type IN OUT I/O IN OUT GND PWR BYPASS Definition 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
1.2 Pin Assignment
LB
8 1 7 2 6 3 5 4 2 6 3 5 4
RB
+Y
8 1 7
+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.
2 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
2. Block Diagram and Operation
POWER ON RESET AND POWER CONTROL VOLTAGE REGULATOR LED LED DRIVER
VDD VSS
5V POWER
CMOS IMAGE SENSOR
SERIAL INTERFACE
SCLK SDIO
SERIAL INTERFACE
DIGITAL SIGNAL PROCESSOR
VREF
VOLTAGE REFERENCE
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.
3 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C | 0x3F 0x40 0x41 0x42 0x43 0x44 Name R/W Reset Value Operation_Mode1 R/W 0x00 Product_ID1 R 0x01 Delta_Y R Delta_X R Image_Quality R Product_ID2 Product_ID3 R R 0x10 0x1X 0x20 0x41 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 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 Bit field Bit field Eight bits 2’s complement number Eight bits 2’s complement number Eight bits unsigned integer
Motion_Status R Delta_X R Delta_Y R Image_Quality R Operation_Mode2 R/W Configuration R/W -
Operation_Mode3 R/W Product_ID4 R Delta_Y R Delta_X R Image_Quality R
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
4 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
3.2 Register Descriptions
0x00 Bit Field Usage 7 Reset 6 PD_enh 5 0 Operation_Mode1 4 0 3 0 2 0 1 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 Reset
Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode MUST always be 00000 Sleep mode enable/disable 0 = Enable (Default) 1 = Disable Product_ID1
PD_enh Bit [5:1] Slp_enl 0x01 Bit Field Usage Notes 7
6 PID1[2:0]
5
4
3
2
1
0 Opstate
Reserved[3:0]
Product ID of the mouse sensor and operation state of the mouse sensor. Field Name PID1[2:0] Reserved[3:0] Opstate Description The product ID is 000 Reserved for future use Operation state 0 = Sleep state 1 = Normal state Delta_Y 7 Y7 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
0x02 Bit Field 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.
5 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
0x03 Bit Field Usage 0x04 Bit Field Usage Notes 7 6 5 7 X7 6 X6 5 X5 4 X4
Delta_X 3 X3 2 X2 1 X1 0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. Image_Quality 4 3 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). Product_ID2 7 6 5 4 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. Product_ID3 7 6 PID2[3:0] 5 4 3 2 1 0 Reserved[3:0] 3 2 1 0 2 1 0
0x14 Bit Field Usage 0x15 Bit Field Usage
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.
6 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
0x16 Bit Field Usage 7 Motion 6 5 Reserved[3:2]
Motion_Status 4 DYOVF 3 DXOVF 2 Reserved[1:0] 1 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 Motion Reserved[3:2] DYOVF
Description 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 for future use Motion Delta Y overflow, ΔY buffer has overflowed since last report 0 = No overflow (Default) 1 = Overflow has occurred Motion Delta X overflow, ΔX buffer has overflowed since last report 0 = No overflow (Default) 1 = Overflow has occurred Reserved for future use Resolution in counts per inch 0 = 800 (Default) 1 = 400 Delta_X
DXOVF Reserved[1:0] RES 0x17 Bit Field Usage 0x18 Bit Field Usage 7 Y7 7 X7
6 X6
5 X5
4 X4
3 X3
2 X2
1 X1
0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. Delta_Y 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
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.
7 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
0x19 Bit Field Usage Notes 7 6 5
Image_Quality 4 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). Operation_Mode2 7 Reset 6 PD_enh 5 0 4 0 3 LEDsht_enh 2 Slp_enh 1 Slpmu_enh 0 Wakeup 3 2 1 0
0x1A Bit Field Usage
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 Reset Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode Must always be 00 LED shutter enable/disable 0 = Disable 1 = Enable (Default) Sleep mode enable/disable 0 = Disable 1 = Enable (Default) Manual enter sleep mode, set “1” will enter sleep and this bit will be reset to “0” Manual wake up from sleep mode, set “1” will enter wakeup and this bit will be reset to “0”
Notes
PD_enh Bit [5:4] LEDsht_enh
Slp_enh Slpmu_enh Wakeup
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
8 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
0x1B Bit Field Usage Notes 7 RES 6 0 5 1
Configuration 4 0 3 0 2 1 1 0 0 0
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. Field Name RES Bit [6:0] Description Output resolution setting 0 = 800 (Default) 1 = 400 Must always be 0100100 Operation_Mode3 7 Reset 6 PD_enh 5 LEDsht_enh 4
0
0x40 Bit Field Usage
3
0
2
0
1
0
0 Slp_enl
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 Reset Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode LED shutter enable/disable 0 = Disable 1 = Enable (Default) Must always be 0000 Sleep mode enable/disable 0 = Enable (Default) 1 = Disable
Notes
PD_enh
LEDsht_enh Bit [4:1] Slp_enl
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
9 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
0x41 Bit Field Usage Notes 7 6 PID3[3:0] 5
Product_ID4 4 3 2 1 0 Opstate Reserved[3:0]
Product ID of the mouse sensor and operation state of the mouse. Field Name PID3[3:0] Reserved[3:0] Opstate Description The product ID is 010 Reserved for future use Operation state 0 = Sleep state 1 = Normal state Delta_Y 7 Y7 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
0x42 Bit Field Usage 0x43 Bit Field Usage 0x44 Bit Field Usage Notes 7 6 5 7 X7 6 X6 5 X5 4 X4
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. Delta_X 3 X3 2 X2 1 X1 0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. Image_Quality 4 3 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). 2 1 0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
10 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
4. Specifications 4.1 Absolute Maximum Ratings
Symbol TSTG TA Parameter Storage Temperature Operating Temperature Lead Solder Temp VDC ESD VIN DC Input Voltage -0.5 DC Supply Voltage -0.5 Min -40 -15 Max 85 55 260 5.5 2 5.5 Unit °C °C °C V kV V All pins, human body model MIL 883 Method 3015 SDIO, SCLK, VDD For 10 seconds, 1.6mm below seating plane. Notes
4.2 Recommend Operating Condition
Symbol TA Vdd1 Vdd2 VN Z R A SCLK FCLK FR S Parameter Operating Temperature Power Supply Voltage Supply Noise Distance From Lens Reference Plane to Surface Resolution Acceleration Serial Port Clock Frequency Clock Frequency Frame Rate Speed 0 18.432 3000 0.1 2.3 2.4 Min. 0 3.0 4.25 3.3 5.0 Typ. Max. 40 3.6 5.5 100 2.5 800 20 10 24.576 4000 21 28 Unit °C V mV mm CPI g MHz MHz frames/s inches/s Set by ceramic resonator 3000 frames/s @ FCLK = 18.432 MHz 4000 frames/s @ FCLK=24.567 MHz 21 inches/s @ FCLK = 18.432 MHz 28 inches/s @ FCLK = 24.567 MHz VDD, VREF short VDD Peak to peak within 0 - 100 MHz Refer to Figure 4. Notes
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
11 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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 SDIO Read Hold Time 1 1.7 333 Min. Typ. Max. Unit 3 us us Notes Minimum hold time for valid data (refer to Figure 8) @3000 frame/sec (refer to Figure 9)
tRESYNC Serial Interface RESYNC. tSIWTT tPDR Serial Interface Watchdog Timer Timeout PD Pulse Register
ms @3000 frame/sec (refer to Figure 9) us One frame time maximum after setting PD_enh bit in the Operation_Mode register @3000 frame/sec (refer to Figure 10).
tPUPD tPU tr,tf tr,tf
Power Up from Deactivate the Power Down Mode Power Up from VDD↑ Rise and Fall Times: SDIO Rise and Fall Times: ILED
3
30.5
After tPUPD, all registers contain valid data from first image after deactivate power down ms mode. @3000 frame/sec ms @3000 frame/sec ns ns CL = 30 pF LED bin grade: R; R1 = 100 ohm
3 25, 20 10, 10
30.5
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
12 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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 Type: PWR IDD IDD IDDPD Supply Current Mouse Moving (Normal) Supply Current Mouse Not Moving (Sleep1) Supply Current (Power Down) Input Voltage HIGH Input Voltage LOW Output Voltage HIGH Output Voltage LOW Input Voltage HIGH Input Voltage LOW Output Voltage LOW 2.0 0.7 150 2.4 0.6 2.0 0.7 V V V V V @I OH = 2mA (SDIO only) @I OL = 2mA (SDIO only) When driving from an external source When driving from an external source 10 5 100 mA SCLK, SDIO = no load mA uA SCLK, SDIO = high Parameter Min. Typ. Max. Unit
Type: SCLK, SDIO VIH VIL VOH VOL VIH VIL VOL
Type: OSCIN
Type: LED 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.
13 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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
BASE PLATE
PLASTIC SPRING
CLIP
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.
14 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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.
F IR S T B Y T E R /W ( 1 B IT ) A D D R E S S ( 7 B IT ) SECOND BYTE D A T A ( 8 B IT )
MSB
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.
SCLK SDIO
DON'T CARE
1 1
2
3
4
5
6 A2
7
8
9
10
11
12
13
14
15
16
DON'T CARE
A6 A5
A4 A3
A1 A0
D7 D6
D5 D4 D3 D2 D1 D0
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.
15 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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 S D IO
D O N 'T CARE
1 0
2 A6
3 A5
4 A4
5 A3
6 A2
7 A1
8
H i-Z
9 D7
10 D6
11 D5
12 D4
13 D3
14 D2
15 D1
16 D0
H i-Z _ R /W b it o f n ex t ad d ress
A0
S D IO d riven b y th e m ou se con troller N o te "A "
S D IO d riv en b y th e m ou se senso r 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 S D IO 7 A1 A0 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 S D IO 16 H i-Z D0 8 H i-Z D7 9
_
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 tR E S Y N C 1 u s , m in S D IO
1 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. 16 V3.1 May. 2008
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: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
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”. 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 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6
Address = 0x00
1 0 0 0 0 0 0 0 0 1
Data = 0x40
0 0 0 0 0 0
1 frame, max
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.
17 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
7. Referencing Application Circuit 7.1 5V Application Circuit with External LED Control
U1
11 VCC
C3 0.1uF
P0.6 16 15 9 10 17 18 1 7 6
1 2 3 4
VREF OSCIN VDD OSCOUT VSS SDIO LED SCK
+
X1 18.432MHz
U2
8 7 6 5
C1
1uF C4 0.1uF
R5 10
+
R3 100K
R1 D1 LED
C5
JP1
1 2 3 4
R2
10uF Q1 2N3906
1.3K
8 12 13
P0.7 VREG XTALIN DXTALOUT D+ P0.5 P0.4
PAW3101DB SW3 SW2 SW1 R M L R4 1K
USB
Z1 3 COM Z2
2 1
2 3
P0.0 P0.1 VPP P0.2 VSS
ENSW1 ENCODER
CY7C63231
Figure 11. 5V Application Circuit with External LED Control
7.2 5V Application Circuit with Internal LED Control
U1
11 VCC
C3 0.1uF
P0.6 16 15 9 10 17 18 1 7 6
1 2 3 4
VREF OSCIN VDD OSCOUT VSS SDIO LED SCK
7 6 5
+
X1 18.432MHz
U2
8
C1
1uF C4 0.1uF
R3 10
+
R1 D1 LED
C5
JP1
1 2 3 4
R2
10uF
1.3K
8 12 13
P0.7 VREG XTALIN DXTALOUT D+ P0.5 P0.4
PAW3101DB SW3 SW2 SW1 R M L
USB
Z1 3 COM Z2
2 1
2 3
P0.0 P0.1 VPP P0.2 VSS
ENSW1 ENCODER
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.
18 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
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
8
1
VREF OSCIN
X1 18.432MHz
2 VDD OSCOUT + 6 7
R1
C1 10uF
C2 0.1uF
D1 LED
To MCU's SDIO
3
VSS SDIO
To MCU's SCLK
4
LED SCLK
5
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.
19 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
7.4 PCB Layout Consideration
Caps for pins 7, 8 must have trace lengths less than 5 mm. The trace lengths of OSCOUT, OSCIN must less than 6 mm.
7.5 Recommended Value for R1
Radiometric intensity of LED Bin limits (mW/Sr at 20 mA) LED Bin Grade N P Q Min. 14.7 17.7 21.2 Typ. Max. 17.7 21.2 25.4
Note: Tolerance for each bin will be ± 15%
7.5.1 5V Application
R1 value (ohm) for external LED control, VDD = 5.0V (refer to Figure 11) LED Bin Grade N P Q Min. 27 27 27 Typ. 47 47 47 Max.
R1 value (ohm) for internal LED control, VDD = 5.0V (refer to Figure 12) LED Bin Grade N P Q Min. 47 47 47 Typ. 100 100 100 Max.
7.5.2 3.3V Application
R1 value (ohm) for internal LED control, VDD = VREF = VDD_LED = 3.3V (refer to Figure 13) LED Bin Grade N P Q Min. 22 22 22 Typ. 100 100 100 Max.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
20 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
8. Package Information 8.1 Package Outline Drawing
8 7 6 5
PAW3101
xxxxxxx
1 2 3 4
9.9 0.390
3.18 0.125
9.1 0.358
1.0 0.039
5.15 0.203 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 0.25 0.010
1.42 0.056
8 4.45 0.175
7
6
5
5.0 0.196
NOTES: 1. 2. 3. 4. All dimensions in MM/INCH. All dimensions tolerance: +/- 0.10mm Maxmumflash: +0.2mm Angular tolerance: +/- 3.0degress
0.80 0.031 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.
21 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc. PAW3101DB CMOS Optical Mouse Sensor
8.2 Recommended PCB Mechanical Cutouts and Spacing
2.997 0.118 11.05 0.435 27.153 1.069
0 ref. 16.95 0.667 8 7 6 5
6.172 0.243 4.242 0.167
26.010 1.024
7.544 0.297
0.711 0.028 Optical Center
1.194 0.047
0 ref.
1.194 0.047 4.242 0.167 6.172 0.243 1 2 3 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 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.
22 V3.1 May. 2008
PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw