0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
PAW3204

PAW3204

  • 厂商:

    PIXART

  • 封装:

  • 描述:

    PAW3204 - LOW COST WIRELESS MOUSE SENSOR - Pixart Imaging Inc.

  • 数据手册
  • 价格&库存
PAW3204 数据手册
PAW3204DB PAW3204 LOW COST WIRELESS MOUSE SENSOR General Description The PAW3204DB is a high performance, low power and low cost CMOS process optical mouse sensor with DSP integration chip that serves as a non-mechanical motion estimation engine for implementing a computer wireless mouse. Features Single power supply Precise optical motion estimation technology Complete 2-D motion sensor Accurate motion estimation over a wide range of surfaces High speed motion detection up to 28 inches/sec High resolution up to 1600 CPI Power saving mode during times of no movement Serial interface for programming and data transfer Built-in Low Power Timer (LPT) for sleep1/sleep2 mode MOTSWK pin to wake up mouse controller when sensor wakes up from sleep mode Key Specification Power Supply Operating voltage 1.73V ~ 1.87V (VDD and VDDA short) 2.5V ~ 2.9V (VDD) 1:1 28 inches/sec 400/ 500/ 600/ 800/ 1000(Default)/ 1200 / 1600 CPI 3000 frames/sec 3mA @ Mouse moving (Normal) 300uA @ Mouse not moving (Sleep1) 60uA @ Mouse not moving (Sleep2) 7uA @ Power down mode Staggered DIP8 Optical Lens Speed Resolution Frame Rate Typical Operating Current Package Ordering Information Order Number PAW3204DB 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. 1 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 1. Pin Configuration 1.1 Pin Description Pin 1 2 3 4 5 6 7 Name OSC_RES MOTSWK SDIO SCLK LED VSS VDD Type IN OUT I/O IN OUT GND PWR Definition Internal RC oscillator for system clock with external resistor (34.8KΩ for 2.7V application, 36KΩ for 1.8V application) Motion detect (active low output, see Section 7 MOTSWK function) Serial interface bi-direction data Serial interface clock LED control Chip ground Power supply (2.5V~2.9V) for internal power regulator, VDDA (1.8V) is the power regulator output. Power supply (1.73V~1.87V) for low power operation voltage Analog/Digital supply voltage (1.8V) Power supply (1.73V~1.87V) for low power operation voltage 8 VDDA PWR 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.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 2. Block Diagram and Operation LED LED DRIVE MOTION/ WAKE UP POWER ON RESET VOLTAGE REGULATOR AND POWER CONTROL CMOS IMAGE SENSOR MOTSWK VDD 2.5V ~ 2.9 V POWER VSS 1.73V ~ 1.87V POWER VDDA SERIAL INTERFACE SCLK SDIO SERIAL INTERFACE DIGITAL SIGNAL PROCESSOR CONTROL REGISTER OSCILLATOR OSC_RES Figure 3. Block Diagram The PAW3204DB is a high performance, low power and low cost CMOS-process optical mouse sensor with DSP integration chip that serves as a non-mechanical motion estimation engine for implementing a wireless 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 PAW3204DB, 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.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless 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 firmware. 3.1 Registers Address 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E Name Product_ID1 Product_ID2 Motion_Status Delta_X Delta_Y Operation_Mode Configuration Image_Quality Operation_State Write_Protect Sleep1_Setting Enter_Time Sleep2_Setting Image_ Threshold Image_ Recognition R/W R R R R R R/W R/W R R R/W R/W R/W R/W R/W R/W Default 0x30 0x5X 0xB8 0x04 0x00 0x72 0x12 0x92 0x0A 0xE5 Data Type 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 Bit field Bit field Eight bits unsigned integer Bit field Bit field Bit field Bit field Bit field Eight bits unsigned integer Bit field 3.2 Register Descriptions 0x00 Bit Field Usage 7 6 5 Product_ID1 4 PID[11:4] The value in this register can’t change. It can be used to verify the serial communications link is OK. 3 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. 4 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB 0x01 Bit Field Usage 0x02 Bit Field Usage 7 Motion 6 5 7 6 PID[3:0] 5 Product_ID2 4 3 2 1 0 Reserved[3:0] Wireless Optical Mouse Sensor The value in this register can’t change. PID[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. Motion_Status 4 DYOVF 3 DXOVF 2 1 RES[2:0] 0 Reserved[1:0] Motion_Status register allows the user to determine if motion has occurred since the last time it was read. If so, then the user should read Delta_X and Delta_Y registers 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[1:0] DYOVF Description Motion since last report 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 Resolution in counts per inch 000 = 400 001 = 500 010 = 600 011 = 800 100 = 1000 (Default) 101 = 1200 110 = 1600 DXOVF RES[2:0] All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 5 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 0x03 Bit Field Usage 0x04 Bit Field Usage 7 Y7 6 Y6 5 Y5 4 7 X7 6 X6 5 X5 4 Delta_X 3 X3 2 X2 1 X1 0 X0 X4 X movement is counted since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. Delta_Y 3 Y3 2 Y2 1 Y1 0 Y0 Y4 Y movement is counted 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. 6 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 0x05 Bit Field Usage 7 LEDsht_enh 6 0 5 1 Operation_Mode 4 Slp_enh 3 Slp2_enh 2 Slp2mu 1 Slp1mu 0 Wakeup Operation_Mode register allows the user to change the operation of the mouse sensor. Shown below are the bits, their default values, and optional values. Operation_Mode[4:0] “0xxxx” = Disable sleep mode “10xxx” = Enable sleep mode1 “11xxx” = Enable sleep mode2 “11100” = Force enter sleep23 “1x010” = Force enter sleep13 (If Slp2_enh is set, the mouse sensor still enter the sleep2 automatically.) “1x001” = Force wakeup from sleep mode3 Notes: 1. Enable sleep mode, but disable automatic entering sleep2 mode, that is, only 2 modes will be used, normal mode and sleep1 mode. After 256 ms (±20%) not moving during normal mode, the mouse sensor will enter sleep1 mode, and keep on sleep1 mode until moving is detected or wakeup is asserted. Note that the entering time depends on the setting of Enter_Time register. 2. Enable sleep mode full function, which is 3 modes will be used, normal mode, sleep1 mode and sleep2 mode. After 256 ms (±20%) not moving during normal mode, the mouse sensor will enter sleep1 mode, and keep on sleep1 mode until moving is detected or wakeup is asserted. And after 61 sec (±20%) not moving during sleep1 mode, the mouse sensor will enter sleep2 mode, and keep on sleep2 mode until detect moving or force wakeup to normal mode. Note that the entering time depends on the setting of Enter_Time register. 3. Only one of these three bits slp2mu_enh, slp1mu_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. 4. The user can clear Slp_enh/Slp2_enh bit to make the mouse sensor enter normal mode. If the user clears Slp_enh/Slp2_enh bit during normal mode, the mouse sensor will keep its status. If the user clears Slp_enh/Slp2_enh bit during sleep mode, the mouse sensor will enter normal mode after it detect any movement or the user sets Wakeup bit. Notes Field Name LEDsht_enh Bit [6:5] Slp_enh Description LED shutter enable/disable 0 = Disable 1 = Enable (Default) MUST always be 01 Sleep mode enable/disable 0 = Disable 1 = Enable (Default) Automatic enter sleep2 mode enable/disable 0 = Disable 1 = Enable (Default) 7 V3.0, Apr. 2008 Slp2_enh 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. PAW3204DB Slp2mu Slp1mu Wakeup 0x06 Bit Field Usage 7 Reset 6 MotSwk 5 0 Wireless Optical Mouse Sensor Manual enter sleep2 mode, set “1” will enter sleep2 and this bit will be reset to “0” Manual enter sleep1 mode, set “1” will enter sleep1 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” Configuration 4 0 3 PD_enh 2 1 CPI [2:0] 0 The Configuration register allows the user to change the configuration of the sensor. Shown below are the bits, their default values, and optional values. If MotSwk bit is clear, the MOTSWK pin is level-sensitive. The pin level remains low when motion has occurred; in other words, Delta_X and Delta_Y registers has data. The mouse controller can read Motion_Status register, Delta_X register, then Delta_Y register sequentially. After the mouse controller reads all data, Delta_X and Delta_Y are both zero, the pin level will be high (see Section 7). If MotSwk bit is set, the MOTSWK pin is edge-sensitive. The pin will send a pulse and trigger the mouse controller when motion has occurred during the sleep mode. The mouse controller can read Motion_Status register, Delta_X register, then Delta_Y register sequentially (see Section 7). Notes Field Name Reset Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset MOTSWK pin output selection (see Section 7) 0 = Motion function output (Default) 1 = SWKINT function output Note that MOTSWK is chip pin, MotSwk is Configuration register bit MUST always be 00 Power down mode 0 = Normal operation (Default) 1 = Power down mode Output resolution setting, setting with CPI mode select bit 000 = 400 001 = 500 010 = 600 011 = 800 100 = 1000 (Default) 101 = 1200 110 = 1600 MotSwk Bit [5:4] PD_enh CPI[2:0] All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 8 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB 0x07 Bit Field Usage Notes 7 6 5 Image_Quality 4 Imgqa[7:0] Image Quality is a quality level of the sensor in the current frame. Report range 0 ~ 255. The default minimum level for normally working is 10. (please see Image_ Threshold register) Field Name Imgqa[7:0] 0x08 Bit Field Usage Notes 7 6 5 Reserved[3:0] Description Image quality report range: 0(worst) ~ 255(best). Operation_State 4 3 Slp_state 2 1 Op_state[2:0] 0 3 2 1 0 Wireless Optical Mouse Sensor Operation_State register allows the user to read the operation state of the sensor. Field Name Reserved[3:0] Slp_state Description Reserved for future use Sleep state (If Op_state[2:0] is 100, the Slp_state bit is effective.) 0 = LPT sleep1 1 = LPT sleep2 000 = Normal state 001 = Entry sleep1 processing 010 = Entry sleep2 processing 011 = Reserved for future use 100 = Sleep mode (see Slp_state bit to get sleep state.) Write_Protect 7 6 5 4 WP[7:0] Write protect for the register 0x0A ~ 0x7F. Field Name WP[7:0] Description Write protect enable/disable for the address after 0x09 0x00 = Enable (Default), register 0x0A ~ 0x7F are read only 0x5A = Disable, register 0x0A ~ 0x7F can be read/written 3 2 1 0 Op_state[2:0] 0x09 Bit Field Usage Notes All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 9 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB 0x0A Bit Field Usage Notes 7 6 5 Slp1_freq[3:0] Sleep1_Setting 4 3 0 2 0 1 1 0 0 Wireless Optical Mouse Sensor Sleep1_Setting register allows the user to set frequency time for the sleep1 mode. Field Name Slp1_freq[3:0] Bit [3:0] Description Setting frequency time for the sleep1 mode. A scale is 4ms. Relative to its value 0 ~ 15, the frequency time is 4ms ~ 64ms. Default is 32ms. (slp1_freq[3:0] = 0111) MUST always be 0010 Enter_Time 7 6 5 4 3 2 1 0 Slp1_etm[3:0] Slp2_etm[3:0] 0x0B Bit Field Usage Notes Enter_Time register allows the user to set enter time for the sleep1 and sleep2 mode. Field Name Slp1_etm[3:0] Description Setting sleep1 enter time. A scale is 128ms. Relative to its value 0 ~ 15, the frequency time is 128ms ~ 2048ms. Default is 256ms. (slp1_etm[3:0] = 0001) Setting sleep2 enter time. A scale is 20480ms. Relative to its value 0 ~ 15, the frequency time is 20480ms ~ 327680ms. Default is 61440ms (about 61 sec). (slp2_etm[3:0] = 0010) Sleep2_Setting 7 6 5 4 3 0 2 0 1 1 0 0 Slp2_freq[3:0] Slp2_etm[3:0] 0x0C Bit Field Usage Notes Sleep2_Setting register allows the user to set frequency time for the sleep2 mode. Field Name Slp2_freq[3:0] Bit [3:0] Description Setting frequency time for the sleep2 mode. A scale is 32ms. Relative to its value 0 ~ 15, the frequency time is 32ms ~ 512ms. Default is 320ms. (slp2_freq[3:0] = 1001) MUST always be 0010 All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 10 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB 0x0D Bit Field Usage Notes 7 6 5 Image_ Threshold 4 3 2 1 0 Imgqa_th[7:0] Image_ Threshold register allows the user to set image threshold. The mouse sensor calculates data to Delta_X and Delta_Y registers when image quality (please see Image_Quality register) is larger than image threshold. Field Name Imgqa_th[7:0] 0x0E Bit Field Usage Notes 7 6 pk_wt[2:0] 5 Description Image threshold: 0 (High recognition rate) ~ 255 (Low recognition rate). The minimum level for normally working is 10. Default is 00001010. Image_Recognition 4 0 3 2 1 0 Imgqa_df[3:0] Wireless Optical Mouse Sensor Image_Recognition register allows the user to set recognition rate. Field Name pk_wt[2:0] Bit 4 Imgqa_df[3:0] Description Peak threshold weighting: 0 (Low recognition rate) ~ 7 (High recognition rate). Default is 111. MUST always be 0 Image qualification threshold difference: 0 (High recognition rate) ~ 15 (Low recognition rate). Default is 1001. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 11 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless 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 TSTG TA VDC VIN Parameter Storage Temperature Operating Temperature DC Supply Voltage DC Input Voltage Lead Solder Temp ESD Min -40 -15 -0.2 -0.3 -0.3 Max 85 55 Vdd1 + 0.2 Vdd2 + 0.3 VDC 260 2 Unit °C °C V V V °C kV All I/O pin For 10 seconds, 1.6mm below seating plane. All pins, human body model MIL 883 Method 3015 Notes 4.2 Recommend Operating Condition Symbol Parameter TA Vdd1 Vdd2 VN Z R SCLK FR S Operating Temperature Power Supply Voltage Supply Noise Distance From lens Reference Plane to Surface Resolution Serial Port Clock Frequency Frame Rate Speed Min. 0 1.73 2.5 2.3 400 0 Typ. 1.8 2.7 2.4 1000 3000 Max. 40 1.87 2.9 100 2.5 1600 10 28 Unit °C V mV mm CPI MHz frames/s inches/s VDDA, VDD short VDD Peak to peak within 0 - 80 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. 12 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 4.3 AC Operating Condition (1.8V / 2.7V) Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 2.7 V for 2.7V application and VDD = VDDA = 1.8 V for 1.8V application. Symbol Parameter tPDR PD Pulse Register Min. Typ. Max. Unit 666 us Notes Two frames time maximum after setting PD_enh bit in the Configuration register @3000frame/sec (refer to Figure 11). From VDD↑ to valid motion signals. 500usec +90 frames. Minimum hold time for valid data (refer to Figure 9). @3000 frame/sec (refer to Figure 10) tPU tHOLD Power Up from VDD↑ SDIO Read Hold Time 10 1 3 - 30.5 - ms us us tRESYNC Serial Interface RESYNC. tSIWTT Serial Interface Watchdog Timer Timeout 1.7 32 320 - - @3000 frame/sec (refer to Figure 10) 1.7ms for normal mode, 32ms (±20%) for sleep1 mode, ms 320ms (±20%) for sleep2 mode. Note that the value depends on the setting of Sleep1_Setting register and Sleep2_Setting register. us ns ns CL = 30 pF tSWKINT tr,tf tr,tf Sensor Wakeup Interrupt Time Rise and Fall Times: SDIO Rise and Fall Times: ILED - 160 25, 20 30, 10 - All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 13 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 4.4 DC Electrical Characteristics (1.8V) Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = VDDA = 1.8 V Symbol Parameter Min. Typ. Max. Unit Type: Power Supply Current IDDN Mouse Moving (Normal) Supply Current IDDS1 Mouse Not Moving (Sleep1) Supply Current IDDS2 Mouse Not Moving (Sleep2) Supply Current IDDPD (Power Down) Type: SCLK, SDIO VIH VIL VOH VOL VOL Input Voltage HIGH Input Voltage LOW Output Voltage HIGH Output Voltage LOW Output Voltage LOW - 3 300 60 7 - mA uA uA uA 1.45 1.4 - - 0.4 0.4 380 V V V V @I OH = 2mA @I OL = 2mA Type: LED mV @I OL = 25mA 4.5 DC Electrical Characteristics (2.7V) Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 2.7 V Symbol Parameter Min. Typ. Max. Unit Type: Power Supply Current IDDN Mouse Moving (Normal) Supply Current IDDS1 Mouse Not Moving (Sleep1) Supply Current IDDS2 Mouse Not Moving (Sleep2) Supply Current IDDPD (Power Down) Type: SCLK, SDIO VIH VIL VOH VOL VOL Input Voltage HIGH Input Voltage LOW Output Voltage HIGH Output Voltage LOW Output Voltage LOW - 3 300 60 7 - mA uA uA uA 2.0 2.3 - - 0.9 0.4 380 V V V V @I OH = 2mA @I OL = 2mA 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. 14 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 5. Z and 2D/3D Assembly Package Lid Lens Z OBJECT SURFACE Figure 4. Distance from Lens Reference Plane to Surface +X +Y ESD LENS RING CLIP PLASTIC SPRING LED BASE PLATE 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. 15 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 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. 16 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless 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 micro-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 bit 7 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 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. 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 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. 17 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless 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 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 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 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. 18 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless 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 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 or when the PD pin is pulled high, 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 Configuration register via a serial port write operation. After setting the Configuration register, wait at most 2 frames times. To get the chip out of the power down mode, clear PD_enh bit in the Configuration 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 1 1 1 2 1 3 1 4 1 5 1 6 Address = 0x06 1 0 0 0 0 1 1 0 0 Data = 0x0C 0 0 0 1 1 0 0 2 frames, max 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. 19 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 7. MOTSWK function 7.1 Motion function To use Motion function, the MotSwk bit in the Configuration register must be set to zero. Motion is used to monitor if the mouse sensor has finished sending X-Y movement data to the mouse controller. If all movement data are not read, MOTSWK pin level will remain low. After the mouse controller reads all movement data from the mouse sensor, the mouse sensor will set MOTSWK pin level to high. Note “A” Motion Note “A” Note “B” Note “A”: Delta_X / Delta_Y are equal to 0. Note “B”: Delta_X / Delta_Y are not equal to 0. Figure 12. Motion function 7.2 SWKINT function To use SWKINT function, the MotSwk bit in the Configuration register must be set to one. SWKINT works when the mouse sensor is in the sleep mode and the mouse controller is also in the sleep mode. If the mouse sensor detects any motion occurrence at this moment, the mouse sensor will wake the mouse controller up promptly via MOTSWK pin. The mouse sensor will trigger the mouse controller at the rising/falling edge of MOTSWK pin. SWKINT tSWKINT Figure 13. SWKINT function All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 20 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 8. Referencing Application Circuit 8.1 Power Supply at 2.7V Application Circuit (with Red LED, 2.4GHz Transceiver) #1. Battery Power Circuit DC/DC Converter BAT_1.5V L1 220uH U1 C1 47uF SW VOUT VCC_2.7V D1 1N5819 LED_2.7V VCC_2.7V ENSW1 Z2 COM Z1 Z2 Z1 ENCODER C2 47uF ELM9327 SW1 SW2 SW3 RKEY MKEY LKEY #2. MCU Circuit U3 1 PB5 PB4 PA3 PA2 PA1 PA0 PB3 PB2 PB1 PB0 VSS PC1 PC2 PC3 PB6 PB7 PA4 PA5 PA6 PA7 OSC2 OSC1 VDD RESET PC7 PC6 PC5 PC4 28 27 26 25 24 23 22 21 20 19 18 17 16 15 VCC_2.7V EPSD 1 GND 2 3 C18 0.1uF MKEY RKEY LKEY MOSI SCK SDIO SCLK MOTSWK Z1 Z2 4 5 6 7 8 9 10 11 12 13 14 1 2 3 4 U2 A0 VCC A1 WP A2 SCL GND SDA EEPROM C3 IDSYNC 15PF 8 7 6 5 SCK EPSD 2 X1 6MHZ C4 15PF R5 270K R6 4.7k C5 1uF RESET CE CS MISO IRQ VCC_2.7V MCU PAW3204 external resistor notes *Note that 2.7V application, R4 use 34.8K ohm +/- 1% *Note that 1.8V application, R4 use 36K ohm +/- 1% #3. Sensor Circuit VCC_2.7V VCC_2.7V R7 20K 1uF MOTSWK SDIO SCLK 2 MOTSWK VDD 7 U4 R4 C6 1 OSC_RES VDDA 8 IDSYNC C8 0.1uF + 3 SDIO VSS 6 C7 10uF S1 4 SCLK LED 5 D2 LED R1 LED_2.7V PAW3204DB #4. RF TX Circuit nRF24L01 notes *X2 for +/-60ppm, CL = 12pF *C16 and C17 must have values that match the crystals load capacitance CL R8 22K 2 1 1 C9 2 1 VCC_2.7V 1 33nF C10 10nF 2 2 C11 1nF U5 VSS DVDD VDD VSS IREF 20 19 18 17 16 (Reference only) 15 14 13 12 11 CE CS SCK MOSI MISO 1 2 3 4 5 CE VDD CSN VSS SCK nRF24L01 ANT2 MOSI ANT1 MISO VDD_PA IRQ VDD VSS XC2 XC1 L2 1 1 2 C12 1 2 1 Antenna L3 8.2nH 1 2 3.9nH L4 2.7nH 1 1 1.5pF 2 IRQ C16* 2 2 1 2 6 7 8 9 10 R9 C17* 2 1 1 1M X2* 16MHz Figure 14. Application Circuit for 2.7V (with Red LED) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 2 C14 2.2nF C15 4.7pF 2 C13 1pF 21 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 8.2 Reference Application for RF Receiver Using 2.4GHz Transceiver nRF24L01 notes *Y1 for +/-60ppm, CL = 12pF *C15 and C16 must have values that match the crystals load capacitance CL VCC 1 2 3 4 U1 A0 VCC WP A1 A2 SCL GND SDA EEPROM 8 7 6 5 1 SCK EPSD C1 0.1uF C2 2 1 1 R1 22K 2 1 VCC_3.3V 1 2 33nF U2 VIN PAD VOUT AIC1734-33 2 GND 2 VSS DVDD VDD VSS IREF VIN 20 19 18 17 16 C3 10nF C4 1nF U3 (Reference only) 15 14 13 12 11 L1 1 1 3.9nh L2 8.2nH L3 1 2.7nH 2 2 2 1.5pF 2 1 C5 2 1 C6 1pF VCC 1 VCC_3.3V 1 CE CS SCK MOSI MISO 1 2 3 4 5 C7 1uF CE VDD CSN VSS SCK nRF24L01 ANT2 MOSI ANT1 MISO VDD_PA IRQ VDD VSS XC2 XC1 1 2 3 Antenna C8 1uF VCC IRQ 2 2 JP1 1 2 3 4 R3 R4 12 12 C11 C13 22PF C14 22PF 1uF + C12 10uF R2 12 6 7 8 9 10 1 DD+ Y 1* S1 1 2 C17 1 R6 4.7K 2 20 19 18 17 16 15 14 13 12 11 R12 5PF 1 16MHz 1 R5 1M C15* 2 1 C16* 2 C9 2.2nF 2 2 1 C10 4.7pF HEADER 4 R7 C18 C19 R10 4.7K VCC 0.1uF 1UF 1.5K CE CS ALED D+ D- 1 2 3 4 5 6 7 8 9 10 U4 PA4 PA3 PA5 PA2 PA6/TMR0 PA1 PA7/TMR1 PA0 OSC1 PC0 OSC2 PD4 RES VDD V33O VSS USBD+/CLK PB7 USBD-/DATA PB6 Y3 12MHz 2 IRQ MISO MOSI IDSYNC R8 10K 4 C20 C21 5PF ALED 1UF R9 270 D1 1 LED 2 EPSD SCK 4.7K 3 R11 100K VCC MCU Figure 15. Application Circuit for RF Receive Using 2.4GHz Transceiver All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 22 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 8.3 Power Supply at 1.8V Application Circuit (with IR LED, 27MHz Transceiver) #1. Battery Power Circuit Optional power source: A or B B. Regulator IR_1.8V VCC_1.8V U2 VIN PAD VOUT GND VIN A. DC/DC Converter BAT_1.5V L1 220uH U3 C4 47uF C5 GND SW VOUT VCC_1.8V ENSW1 ELM9818 IR_1.8V VCC_1.8V C8 22uF Z2 COM Z1 Z2 Z1 D1 1N5819 BAT_3.0V ENCODER SW1 SW2 SW3 RKEY MKEY LKEY 1 2 100uF ELM9318 C7 22uF #2. MCU Circuit VCC_1.8V R2 30K RESET Z1 Z2 RKEY MKEY IDSYNC MOTSWK 1 2 3 4 5 U1 P52 P53 TCC /RESET VSS P60./INT P61 P62 P63 P51 P50 OSCI OSCO VDD P67 P66 P65 P64 18 17 16 15 14 13 12 11 10 3 C1 15pF RFEN RFDATA X1 6MHz VCC_1.8V C6 LKEY 0.1uF C2 15pF C3 0.1uF 6 7 8 9 SCLK SDIO MCU #3. Sensor Circuit PAW3204 external resistor notes *Note that 2.7V application, R7 use 34.8K ohm +/- 1% *Note that 1.8V application, R7 use 36K ohm +/- 1% U4 R7 1 OSC_RES VDDA 8 VCC_1.8V VCC_1.8V R4 20K IDSYNC MOTSWK SDIO SCLK 2 MOTSWK VDD 7 3 SDIO VSS 6 C17 0.1uF R1 + C16 10uF S1 4 SCLK LED 5 IR_1.8V D2 LED PAW3204DB #4. RF TX Circuit RFEN C12 0.1uF GND R9 10K R6 27K 3904 R5 X2 13.5225MHz 36K Q1 3904 C18 C20 27pF R10 C21 33pF R11 2K C19 100pF C13 0.1uF R8 56K Q3 3904 100pF C14 100pF C15 R3 10R VCC_1.8V C9 1uF C10 0.1uF C11 1uF Antenna RFDATA Q2 10pF 100K Figure 16. Application Circuit for 1.8V (with IR LED) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 23 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 8.4 Reference Application for RF Receiver Using 27MHz Transceiver C1 20pF C2 2.2uF + C4 10nF V CC_RF 1 2 3 4 5 OSC_IN 6 OSC_OUT 7 8 B3 9 10 C3 U1 68pF C6 20 19 18 17 16 15 14 13 12 11 C5 2.2uF + C8 10uF + C9 0.1uF ANT_IN1 ANT_IN2 AGND VNEG VPOS MDR VCC LF VDIG AGND XTAL_IN VPOS_LO XTAL_OUT VNEG_LO VNEG_DIG B1 B3 OUT B2 CLK 10nF C7 2.2uF B1 RF_DATA C11 C10 10nF 2.2uF + TI TRF7903-PW20 C12 2.2uF + C13 10nF OSC_IN OSC_OUT VCC_RF C14 R2 47pF X1 12MHz C15 47pF VCC_RF 8 7 6 5 VCC_5V VCC_RF R1 B1 OPEN B3 Q1 2N3906 R3 10K R6 PWR_Ctrl 10K 0R 1 2 3 4 U2 A0 VCC A1 WP A2 SCL GND SDA R4 0R R5 OPEN SCL SDA C16 0.1uF 2402 U3 RF_DATA VCC_RF R8 470 D1 S1 LED ID_SYNC PWR_Ctrl 1 2 3 4 5 P0.0 P0.1 P0.2 P0.3 P1.0 VREG D-/SDATA D+/SCLK VCC 11 15 16 14 R7 1.3K JP1 1 VCC_5V C17 + 2 3 4 C18 10uF VPP VSS P0.5 P0.6 12 XTALIN XTALOUT 10 9 23 22 13 0.1uF USB SCL SDA CYPRESS CY7C63723 Figure 17. Application Circuit for RF Receive Using 27MHz Transceiver All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 24 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 8.5 PCB Layout Consideration Caps for pins7, 8 must have trace lengths less than 5mm. 8.6 Recommended Value for R1 8.6.1 Using Red LED for 2.7V Radiometric intensity of red LED Bin limits (mW/Sr at 20mA) LED Bin Grade P Q Note: Tolerance for each bin will be ± 15% Suggested R1(ohm): Red LED Bin Grade P Q Min. 6.8 6.8 Typ. 22 22 Max. Min. 17.7 21.2 Typ. Max. 21.2 25.4 8.6.2 Using IR LED for 1.8V Suggested R1(ohm): IR LED Bin Grade TBD Min. 3.3 Typ. 22 Max. - It is not guaranteed that the performance of the mouse sensor with IR LED is as good as the mouse sensor with red LED. The mouse sensor is designed to a very good match with red LED, and this combination has the best performance. 8.6.3 Summary Light Source Red LED IR LED LED Bin Grade P, Q TBD VLED 2.7 1.8 R1 Min. 6.8 3.3 Typ. 22 22 Max. - All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 25 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 9. Package Information 9.1 Package Outline Drawing 8 7 6 5 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 17. 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. 26 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw PixArt Imaging Inc. PAW3204DB Wireless Optical Mouse Sensor 9.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 18. Recommended PCB Mechanical Cutouts and Spacing 10. Update History Version V1.0 V3.0 Update Creation, Preliminary 1st version Content revise, Ch8.1, Ch8.2, Ch8.3, and Ch8.4 Date 09/05/2007 04/22/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. 27 V3.0, Apr. 2008 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw
PAW3204 价格&库存

很抱歉,暂时无法提供与“PAW3204”相匹配的价格&库存,您可以联系我们找货

免费人工找货