PAW3212DB-TJDT PIXART | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 31
Technical content
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 PAW3212DB-TJDT ULTRA LOW POWER WIRELESS MOUSE SENSOR General Description The PixArt PAW3212DB-TJDT is optimized for red LED based wire less mouse applications. It has low power architecture, hi gh precision surface tracking ability, automatic power management modes, flex ible programmable resolutions, configurable sleep and wake-up t ime which make it suitable for power-sensitive wireless mouse applic ation. The PAW3212DB-TJDT is capable of high-speed motion detec tion up to the velocity of 30 inches/sec and acceleration of 10g. General Features z Single power with wide voltage range Low Voltage Segment : 1.7V to 2.1V (VDD, VDDA short) High Voltage Segment : 2.1V to 3.6V (VDDA should connect a capacitor to GND) z Selectable 3-wired (default) or 2-wired SPI serial interface z Selectable 8-bit (default) or 12-bit motion data length for Delta_X and Delta_Y z Selectable resolution up to 2400cpi with 38 cpi/ step (based on x1 lens magnification) z Motion detection interrupt output z Tracking speed up to 30ips (inches/sec) and 10g acceleration z Built-in Low Power Timer (LPT) for Sleep1/ Sleep2/ Sleep3(1) mode z Adaptive frame rate control for extra power saving during moving at different speeds Key Specifications Supply Voltage 1.7V ~ 2.1V (VDD,VDDA short) 2.1V ~ 3.6V (VDDA should connect a capacitor to GND) Interface 3-wired or 2-wired SPI Max clock speed : 2 MHz Tracking Speed Up to 30ips Acceleration Up to 10g CPI Resolution Up to 2400cpi with 38 cpi/step Frame Rate Adaptive frame rate Max : 4000 fps (frames per sec) Operating Current VDD=2.7V Run Avg : 0.25mA(2) Sleep1 : 16uA Sleep2 : 7uA Sleep3 : 4uA Power down : 3uA * Not including LED current Package iDIP 8 Note : 1. In default, Sleep3 is not enabled and it can be enabled by changing the setting in register 0x06 through SPI interface 2. An average current based on 85% weighting for sensor moving at speed ≦5ips and 15% weighting for speed >5ips
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
- Functional Block Diagram and Operation
Figure 1. Function Block Diagram
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
- Pin Descriptions and Sensor Orientation
1 NCS IN Chip select for 3-wire SPI (active low).
2 MOTION OUT Motion detection output (active low output)
3 SDIO I/O Bi-directional I/O for SPI
4 SCLK IN Clock input for SPI
5 LED OUT LED control
6 VSS GND Chip ground
7 VDD PWR VDD is the power supply input
should connect a 4.7uF capacitor to GND. Low Voltage Segment (VDD : 1.7V ~ 2.1V) : VDDA should connect to VDD directly.
8 VDDA PWR
Figure 2. Orientation Relationship between Sensor and Mouse
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. Figure 5. 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.
- All dimensions in MM/INCH.
- All dimensions tolerance: +/- 0.10mm
- Angular tolerance: +/- 3.0degress
Figure 6. 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. Figure 7. Recommended PCB Mechanical Cutouts and Spacing
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
- Reference Circuit Schematics
16 MHz Cry stal
Figure 8. One Battery Application with DC/DC Output at 2.7V
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 6. Specifications Absolute Maximum Ratings Stresses greater than those listed under “Absolute Maximum Rati ngs” may cause permanent damage to the device. These are the str ess ratings only and functional operation of the device at these or any other condition beyond those indicated for extended period of time may affect device reliability. Symbol Parameter Min Max Unit Notes TSTG Storage Temperature -40 85 °C TA Operating Temperature -15 55 °C VDC DC Supply Voltage -0.2 2.3 V For Low Voltage Segment -0.3 3.9 V For High Voltage Segment VIN DC Input Voltage -0.3 V DC V All I/O pin Lead Solder Temp - 260 °C For 10 seconds, 1.6mm below seating plane. ESD - 2.0 kV All pins, human body model MIL 883 Method 3015 Recommended Operating Conditions Symbol Parameter Min Typ Max Unit Notes TA Operating Temperature 0 - 40 °C VDD Power Supply Voltage 1.7 1.8 2.1 V Low Voltage Segment 2.1 2.7 3.6 High Voltage Segment VNPP Supply Noise - - 100 mV Peak to peak voltage within 10kHz - 80 MHz SCLK SPI Clock Frequency - - 2 MHz FR Frame Rate - 4000 - frames/s @ Run mode, +/- 5% tolerance SP Tracking speed 0 - 30 inches/s AC Tracking acceleration 0 - 10 g
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 AC Operating Conditions Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 2.7 V. Symbol Parameter Min. Typ. Max. Unit Notes FSCLK SCLK frequency - - 2 MHz SPI max. operation frequency tNCSPU NCS Low Time After Power-up 1 - - ms NCS min. low time after power-up tSCLK-HI SCLK High Time 250 - - ns SCLK min. high time tSCLK-LO SCLK Low Time 250 - - ns SCLK min. low time tNCS-LEAD NCS Enable Lead Time 1 - - us From NCS falling to first SCLK falling tNCS-LAG NCS Enable Lag Time 1 - - us From Last SCLK rising to NCS rising tNCS-HI NCS min. High Time 2 - - us From previous NCS rising to next NCS falling tSETUP-WR SDIO Write Setup Time 250 - - ns SDIO data valid before SCLK rising tHOLD-WR SDIO Write Hold Time 250 - - ns SDIO data valid after SCLK rising tDLY-RD SDIO delay after SCLK - - 50 ns From SCLK fa lling to SDIO data valid, no load conditions tHOLD-RD SDIO Read Hold Time 250 - - ns SDIO data valid after SCLK rising tSDIO-R SDIO Rise Time - 30 - ns @C L = 30 pF tSDIO-F SDIO Fall Time - 30 - ns @C L = 30 pF tRESYNC SPI Re-Sync pulse width 1.0 - - us Only for 2-wired SPI tWDT SPI Watch Dog Timer 1.7 - - ms Only for 2-wired SPI tQB Quick Burst Pulse Width 2 - 100 us Only for 2-wired SPI
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 2.7 V (Not including LED current) Symbol Parameter Min. Typ. Max. Unit Operation current of VDD pin IDDNM Run mode Current - 250 - uA 85% weighting for speed ≦5ips and 15% weighting on speed >5ips IDDS1 Sleep1 Current - 16 - uA Based on the setting in register 0x0A Slp1_Freq[3:0] =7 (32ms) IDDS2 Sleep2 Current - 7 - uA Based on the setting in register 0x0B Slp2_Freq[3:0] = 1 (128ms) IDDS3 Sleep3 Current - 4 - uA Based on the setting in register 0x0C Slp3_Freq[3:0] = 7 (512ms) IDDPD Power Down Current - 3 - uA NCS, SCLK, SDIO, MOTION pins VIH Input Voltage High VDD*0.7 - - V VIL Input Voltage Low - - VDD*0.3 V VOH Output Voltage High VDD-0.4 - - V @I OH = 2mA VOL Output Voltage Low - - 0.4 V @I OL = 2mA LED pin VOL Output Voltage Low - - 100 mV @I OL = 10mA ILEDS LED Sink Current - - 50 mA
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
- 2-wired SPI Serial Interface
transmission protocols are exactly the same as 3-wired SPI except the NCS pin is ignored in 2-wired SPI mode. registers below to switch to 2-wired SPI mode. Without writing the registers below, the re-synchronization mechanism will be invalid. correctly access the registers of the sensor.
- Wrong system power-up sequence – The host controller begins to toggl e the SPI while the sensor has not finished the power-up sequence.
- Unexpected ESD event – When ESD event happens , the SCLK signal might be destroyed by electric surge and causes the SPI being out of synchronization. Since there is no NCS function to reset the SPI bus when SPI co mmunication is being out of synchronization, a special mechanism is needed to reset the SPI. To recover the correct communication of SPI, the host controller can de-assert the SCLK for at least t RESYNC (1us min), and then keep SCLK asserted for a certain time interval tWDT (1.7ms, min) as shown in Figure 17. to force the SPI control circuits of the sensor to reset. This method of re-synchronization is called “watchdog timer timeout”. The re-synchronization will only reset the SPI circuits of the sensor, and the existing sensor r egister values will keep unchanged. Be noticed that this re-synchronization is NOT vali d when the sensor is at power down mode. If users perform re-synchronizati on during power down mode, the SPI will be out of synchronizatio n. To make sure if the 2-wired SPI interface is back to synchronization, the host controller could read register address 0x00 to check if the value is 0x30. If the value is not correct, please perform re-synchronization again until the correct value (0x30) has been read.
Figure 18. Re-synchronization the SPI Using Watchdog Timer
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
- Pin1 Functions in 2-wired SPI Mode
Function. After the reset, all the recommended register settings must be reloaded to ensure the sensor works properly. doesn’t need to specify the sensor address through SPI interface to get sensor motion data. Figure 19. Reading motion data via Quick Burst function and traditional function
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 13. Software Power-Down Function The sensor can be placed in an extremely low power state (power- down mode) by setting PD_enh bit (bit 3) in the register Config uration (address 0x06) through SPI interface. In pow er-down mode, all the sensor register settings are retained and can be accessed thr ough SPI interface as well. To get the sensor out of the power-down mode, please just reset the PD_enh bit. To get more accurate motion reports, it is recommended that the host controller should wait at least 3ms before reading the motion reports after resetting the PD_enh bit. 14. Software Reset Function During power-up, the sensor does not need an external power-on reset as there is an internal circuitry that performs power-on reset function in the sensor. However the sensor can also be reset by setting the Reset bit (bit 7) of register Configuration (address 0x06). A full chip reset will thus be executed and all the registers will be reset to power-on default values. After the reset, all the recommended regi ster settings must be reloaded to ensure the sensor works properly.
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. Recommend using Chang-Yu LED goniophotometer V110 to measure the LED viewing angle. Figure 22. Radiation Characteristics continuous mode is as followed. LED Viewing Angle Min. Typ. Max.
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 16. Register Summary and Descriptions The sensor internal registers are accessible through SPI serial interface. T he registers not listed in the table below and the registers which are marked as RSVD are NOT allowed to perform write operation in any case. Register Summary Address Name R/W PWR On Default Brief description 0x00 Product_ID1 R 0x30 Product Identifier [11:4] 0x01 Product_ID2 R 0x02 Upper 4 bits for Product Identifier, PID [3:0] Lower 4 bits for Product Version, VID [3:0] 0x02 Motion_Status R - Motion Status information 0x03 Delta_X R - Eight bits 2’s complement number for X-axis motion data 0x04 Delta_Y R - Eight bits 2’s complement number for Y-axis motion data 0x05 Operation_Mode R/W 0xB8 Operation mode selection 0x06 Configuration R/W 0x11 Software power down and reset 0x09 Write_Protect R/W 0x00 Write Prot ect to avoid mis-writing registers 0x0A Sleep1 R/W 0x77 Sleep1 configuration 0x0B Sleep2 R/W 0x10 Sleep2 configuration 0x0C Sleep3 R/W 0x70 Sleep3 configuration 0x0D CPI_X R/W 0x1B CPI setting for X axis 0x0E CPI_Y R/W 0x1B CPI setting for Y axis 0x12 Delta_XY_Hi R - Upper 4 bits of Delta_X and Delta_Y for 12-bit data format 0x13 IQC R - Image Quality Complement 0x14 Shutter R - Index of LED shutter time 0x17 Frame_Avg R - Average brightness of a frame 0x19 Mouse_Option R/W 0x00 Mouse orientation selection 0x26 SPI_Mode R/W 0xB4 3-wired or 2-wired SPI interface
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Detailed Register Descriptions Product_ID1 Address: 0x00 Access: Read Only Default Value: 0x30 Bit 7 6 5 4 3 2 1 0 Field PID11 PID 10 PID 9 PID 8 PID 7 PID 6 PID 5 PID 4 Data Type: Eight-bit number. Usage: It can be used to check if the communication of the SPI link is valid. PID[11:4] = Product Identifier[11:4]. Product_ID2 Address: 0x01 Access: Read Only Default Value: 0x02 Bit 7 6 5 4 3 2 1 0 Field PID3 PID 2 PID 1 PID 0 VID 3 VID 2 VID 1 VID 0 Data Type: Four-bit number. Usage: It can be used to check if the communication of the SPI link is valid. Field Name Description PID [3:0] Product Identifier[3:0] VID [3:0] Product Version[3:0] Motion_Status Address: 0x02 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field Motion Reserved Reserved DYOVF DXOVF Reserved Reserved Reserved Data Type: Bit field. Usage: Typically in the motion detection routine, the host cont roller will poll the sensor for valid motion data by checking the Motion bit. If the Motion bit is set, the motion data in Delta_X and Delta_Y registers are valid and ready to be read. Be sure to read Motion bit first before reading out Delta_X and Delta_Y registers. DXOVF bit and DYOVF bit show whether if the motion report buffers have overflowed since last read out. Field Name Description Motion Motion detected since last report 0 = No motion (Default) 1 = Motion detected, data in Delta_X and Delta_Y registers are valid and ready to be read out DYOVF Delta_Y overflowed since last read out 0 = No overflow (Default) 1 = Overflow occurred DXOVF Delta_X overflowed since last read out 0 = No overflow (Default) 1 = Overflow occurred
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Delta_X Address: 0x03 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field X7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 Data Type: Eight-bit 2’s complement number. Usage: Delta_X register is the X-axis motion in counts after reading Motion_Status register. Absolute value is determined by th e resolution setting CPI_X. Reading this r egister clears the content of this regi ster. Report range –128 ~ +127. The MSB bit represents the sign bit. Delta_Y Address: 0x04 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field Y7 Y 6 Y 5 Y 4 Y 3 Y 2 Y 1 Y 0 Data Type: Eight-bit 2’s complement number. Usage: Delta_Y register is the Y-axis motion in counts after reading Motion_Status register. Absolute value is determined by resolution setting CPI_Y. Reading this register clears the content of this register. Report range –128 ~ + 127. The MSB bit represents the sign bit.
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Operation_Mode Address: 0x05 Access: Read/Write Default Value: 0xB8 Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Reserved Slp_Enh Slp2_Enh Slp1mu_Enh Slp1mu_Enh Wakeup Data Type: Bit field. Usage: Operation_Mode register allows users to change the sensor operation modes. The various combinations of bit4~bit0 are lis ted below. “0xxxx” = Sleep1 and Sleep2 mode are all disabled “10xxx” = Sleep1 mode is enabled but Sleep2 mode is disable “11xxx” = Sleep1 and Sleep2 modes are all enabled “11100” = Force sensor to enter Sleep2 mode “1x010” = Force sensor to enter Sleep1 mode “1x001” = Make sensor wake up from Sleep mode to Run mode For Slp2mu_Enh / Slp1mu_Enh / Wakeup bit, only one of them can be set to 1 at the same time and the bit which is set will be reset automatically. To force sensor always stay at Run mode, please set Slp_Enh=0, Slp2_Enh=0 and Wakeup=1 simultaneously. Field Name Description Slp_Enh Enable/Disable Sleep mode (including Sleep1 and Sleep2) 0 = Disable 1 = Enable (Default) Slp2_Enh Enable/Disable Sleep2 mode 0 = Disable 1 = Enable (Default) Slp2mu_Enh Force to enter Sleep2 mode. Set “1” to enter Sleep2, and then it will be reset to “0” automatically Slp1mu_Enh Force to enter Sleep1 mode. Set “1” to enter Sleep1, and then it will be reset to “0” automatically Wakeup Wakeup sensor from Sleep mode. Set “1” to wake up and then it will be reset to “0” automatically
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Configuration Address: 0x06 Access: Read/Write Default Value: 0x11 Bit 7 6 5 4 3 2 1 0 Field Reset Reserved Slp3_Enh Reserved PD_Enh Reserved Reserved Reserved Data Type: Bit field. Usage: Configuration register allows users to change the configuration of the sensor. Field Name Description Reset Full chip reset. This bit will be de-asserted automatically. 0 = Normal operation mode (Default) 1 = Full chip reset (to reset all the sensor’s internal registers and states) Slp3_Enh Enable/Disable Sleep3 mode 0 = Disable (Default) 1 = Enable PD_Enh Power down mode for lowest power consumption 0 = Normal operation (Default) 1 = Power down mode (but retain the sensor register settings) Write_Protect Address: 0x09 Access: Read/Write Default Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field WP7 WP 6 WP 5 WP 4 WP 3 WP 2 WP 1 WP 0 Data Type: Eight-bit number. Usage: Write Protect register is used to avoid host c ontroller mis-writing the registers after address 0x09. 0x00 = Enable (Default), registers after address 0x09 are read only 0x5A = Disable, registers after address 0x09 can be read/write Sleep1 Address: 0x0A Access: Read/Write Default Value: 0x77 Bit 7 6 5 4 3 2 1 0 Field Slp1_Freq3 Slp1_Freq 2 Slp1_Freq 1 Slp1_Freq0 Slp1_Etm3 Slp1_Etm 2 Slp1_Etm 1 Slp1_Etm 0 Data Type: Four-bit number. Usage: Sleep1 register allows users to set the sampling frequen cy time during Sleep1 mode and the entering time from Run mode t o Sleep1 mode. Field Name Description Slp1_Freq[3:0] Each step is equivalent to 4ms. Relative to its value 0 ~ 15, the samplin g frequency time is 4ms ~ 64ms. Default Slp1_Freq[3:0] =7 (32ms) Slp1_Etm[3:0] Each step is equivalent to 32ms. Relative to its value 0 ~ 15, the entering time is 32ms ~ 512ms. Default Slp1_Etm[3:0] = 7 (256ms)
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Sleep2 Address: 0x0B Access: Read/Write Default Value: 0x10 Bit 7 6 5 4 3 2 1 0 Field Slp2_Freq3 Slp2_Freq 2 Slp2_Freq 1 Slp2_Freq0 Slp2_Etm3 Slp2_Etm 2 Slp2_Etm 1 Slp2_Etm 0 Data Type: Four-bit number. Usage: Sleep2 register allows users to set the sampling frequen cy time during Sleep2 mode and the entering time from Run mode t o Sleep2 mode. Field Name Description Slp2_Freq[3:0] Each step change is equivalent to 64ms. Relative to its value 0 ~ 15, the samplin g frequency time is 64ms ~ 1024ms. Default Slp2_Freq[3:0] = 1 (128ms) Slp2_Etm[3:0] Each step is equivalent to 20.48sec. Relative to its value 0 ~ 15, the entering time is 20.48sec ~ 327.68sec. Default Slp2_Etm[3:0] = 0 (20.48sec) Sleep3 Address: 0x0C Access: Read/Write Default Value: 0x70 Bit 7 6 5 4 3 2 1 0 Field Slp3_Freq3 Slp3_Freq 2 Slp3_Freq 1 Slp3_Freq0 Slp3_Etm3 Slp3_Etm 2 Slp3_Etm 1 Slp3_Etm 0 Data Type: Four-bit number. Usage: Sleep3 register allows users to set the sampling frequen cy time during Sleep3 mode and the entering time from Run mode t o Sleep3 mode. Field Name Description Slp3_Freq[3:0] Each step is equivalent to 64ms. Relative to its value 0 ~ 15, the sampling frequency time is 64ms ~ 1024ms. Default Slp3_Freq[3:0] = 7 (512ms) Slp3_Etm[3:0] Each step change is equivalent to 20.48sec. Relative to its value 0 ~ 15, the entering time is 20.48sec ~ 327.68sec. Default Slp3_Etm[3:0] = 0 (20.48sec) CPI_X Address: 0x0D Access: Read/Write Default Value: 0x1B Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved CPI_X 5 CPI_X 4 CPI_X 3 CPI_X 2 CPI_X 1 CPI_X 0 Data Type: Six-bit number. Usage: This register is the CPI resolution of sensor for X ax is. Each step is equivalent to 38 counts based on x1 lens magnific ation. Default value is 27 (CPI = 1026). Target CPI = 38 * CPI_X. Recommended range : 16 ~ 63 (CPI = 608 ~ 2394)
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 CPI_Y Address: 0x0E Access: Read/Write Default Value: 0x1B Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved CPI_Y 5 CPI_Y 4 CPI_Y 3 CPI_Y 2 CPI_Y 1 CPI_Y 0 Data Type: Six-bit number. Usage: This register is the CPI resolution of sensor for Y ax is. Each step is equivalent to 38 counts based on x1 lens magnific ation. Default value is 27 (CPI = 1026). Target CPI = 38 * CPI_Y. Recommended range : 16 ~ 63 (CPI = 608 ~ 2394). Delta_XY_Hi Address: 0x12 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field X11 X 10 X 9 X 8 Y 11 Y 10 Y 9 Y 8 Data Type: Four-bit number. Usage: The upper 4 bits of Delta_X[11:0] and Delta_Y[11:0] for 12-bit data format. Field Name Description X[11:8] the upper 4 bits of Delta_X[11:0] for 12-bit data format Y[11:8] the upper 4 bits of Delta_Y[11:0] for 12-bit data format IQC Address: 0x13 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field IQC7 IQC 6 IQC 5 IQC 4 IQC 3 IQC 2 IQC 1 IQC 0 Data Type: Eight-bit number. Usage: IQC means Image Quality Compliment. This register represent s the fuzziness of a surface viewed by the sensor. The smalle r the index is, the easier for the sensor to have a good tracking on the surface. IQC ranges from 0 ~ 255. IQC = 20 IQC = 50 IQC = 150
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 Shutter Address: 0x14 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Reserved Shutter 4 Shutter 3 Shutter 2 Shutter 1 Shutter 0 Data Type: Five-bit number. Usage: Shutter register is an index of LED shutter time. It is automatically controlled by the sensor’s internal auto-exposure algorithm. Value ranges from 0 ~ 28. Shutter time is approximately to (Shutter + 1) x 7.1us Frame_Avg Address: 0x17 Access: Read Only Default Value: NA Bit 7 6 5 4 3 2 1 0 Field FA7 FA 6 FA 5 FA 4 FA 3 FA 2 FA 1 FA 0 Data Type: Eight-bit number. Usage: Frame_Avg register represent s the av erage brightness of all pixels within a fr ame (324 pixels). This value ranges from 0 to 255. Mouse_Option Address: 0x19 Access: Read/Write Default Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Movxy_SW Movy_Inv Movx_Inv XY12bit_Enh Reserved Reserved Data Type: Bit field. Usage: To select the mouse X/Y direction and Delta_X, Delta_Y motion data length (8-bit or 12-bit). LB RB LB RB LB RB LB RB Field Name Description Movxy_Sw To swap the XY direction. Default is 0. Movy_Inv To invert the Y direction. Default is 0. Movx_Inv To invert the X direction. Default is 0. XY12bit_Enh To select 8-bit or 12-bit motion data length. Default is 0 (8-bit mode)
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 SPI_Mode Address: 0x26 Access: Read/Write Default Value: 0xB4 Bit 7 6 5 4 3 2 1 0 Field SPI_Sel Reserved Pin1_Sel 1 Pin1_Sel 0 Reserved Reserved Reserved Reserved Data Type: One-bit and Two-bit numbers. Usage: To select 3-wired or 2-wired SPI interface, and to se lect the Pin1 function when the 2-wired SPI mode has been chosen. Field Name Description SPI_Sel To select 3-wired or 2-wired SPI interface. 0 = 2-wired SPI mode. 1 = 3-wired SPI mode (default). Pin1_Sel[1:0] To select Pin1 function when SPI is in 2-wired SPI mode 0 = Hardware Reset function. 1 = Quick Burst (QB) function. 2 = Hardware Power-Down function. 3 = No function (default).
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 17. Sensor Registers Initialization Sequence z High Voltage Segment with 3-wired SPI No sensor settings are required z High Voltage Segment and 2-wired SPI Write address 0x09 = 0x5A; to disable Write Protect Write address 0x26 = 0x34; to switch to 2-wired SPI Write address 0x09 = 0x00; to enable Write Protect z Low Voltage Segment with 3-wired SPI Write address 0x09 = 0x5A; to disable Write Protect Write address 0x4B = 0x04; to turn off internal regulator for Low Voltage Segment Write address 0x09 = 0x00; to enable Write Protect z Low Voltage Segment with 2-wired SPI Write address 0x09 = 0x5A; to disable Write Protect Write address 0x26 = 0x34; to switch to 2-wired SPI Write address 0x4B = 0x04; to turn off internal regulator for Low Voltage Segment Write address 0x09 = 0x00; to enable Write Protect
All rights strictly reserved, any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. E-mail: fae_service@pixart.com PixArt Imaging Confidential PAW3212DB-TJDT-DS-R1.2-19112014 18. Revision History Revision No. Date Notes R1.0 22.07.2014 New creation R1.1 15.08.2014 1. Added chapter 10 to introduce the Pin1 Function in 2-wired SPI Mode, including Quick Burst read function 2. Added register SPI_Mode (address 0x26) in register table 3. Added tQB specification in AC Operation Conditions table R1.2 19.11.2014 Added “NCS Low at Power-up Stage” section in chapter 8.