您好,欢迎来到华佗健康网。
搜索
您的当前位置:首页PAN3204DB_SPEC_V30

PAN3204DB_SPEC_V30

来源:华佗健康网


PAN3204DB

PAN3204 LOW COST WIRELESS MOUSE SENSOR

General Description The PAN3204DB 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 󰂉 󰂉 Key Specification Power SupplyOperating voltage 1.73V ~ 1.87V (VDD and VDDA short) 2.5V ~ 2.9V (VDD) 1:1 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 Optical Lens 󰂉 󰂉 Speed 28 inches/sec Resolution Frame Rate Typical Operating Current 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 󰂉 󰂉 󰂉 󰂉 󰂉 󰂉 Package Staggered DIP8 Ordering Information Order Number PAN3204DB 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

1. Pin Configuration 1.1 Pin Description Pin Name 1 OSC_RES 2 3 4 MOTSWK SDIO SCLK Type Definition IN OUT I/O IN 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 5 LED 6 VSS 7 VDD OUT LED control GND Chip ground Power supply (2.5V~2.9V) for internal power regulator, VDDA (1.8V) is the power regulator output. PWR Power supply (1.73V~1.87V) for low power operation voltage Analog/Digital supply voltage (1.8V) PWR Power supply (1.73V~1.87V) for low power operation voltage 8 VDDA 1.2 Pin Assignment LB817263RB+ Y81234765+ XFigure 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

2. Block Diagram and Operation

LEDLEDDRIVEMOTION/WAKE UPPOWER ONRESETVOLTAGE REGULATORAND POWER CONTROLCMOS IMAGESENSORMOTSWKVDD2.5V ~ 2.9 V POWERVSS1.73V ~ 1.87V POWERVDDASERIALINTERFACESCLKSDIOSERIALINTERFACEDIGITAL SIGNALPROCESSORCONTROL REGISTEROSCILLATOROSC_RES Figure 3. Block Diagram The PAN3204DB 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 PAN3204DB, 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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 Name R/W Default0x00 Product_ID1 R R R R R 0x30 Data Type Eight bits[11:4] number with the product identifier 0x01 Product_ID2 0x02 Motion_Status 0x03 0x04 Delta_X Delta_Y Four bits[3:0] number with the product identifier 0x5X Reserved[3:0] number is reserved for future use - Bit field - - Eight bits 2’s complement number Eight bits 2’s complement number 0x05 Operation_Mode R/W 0x06 Configuration 0x07 Image_Quality R/W R R R/W 0xB8 Bit field 0x04 Bit field - Eight bits unsigned integer 0x08 Operation_State0x09 Write_Protect - Bit field 0x00 Bit field 0x72 Bit field 0x12 Bit field 0x92 Bit field 0x0A Eight bits unsigned integer 0x0A Sleep1_Setting R/W 0x0B Enter_Time R/W 0x0C Sleep2_Setting R/W 0x0D 0x0E Image_ Threshold Image_ Recognition R/W R/W 0xE5 Bit field 3.2 Register Descriptions 0x00 Product_ID1 Bit 7 6 5 4 3 2 1 0 Field PID[11:4] Usage The value in this register can’t change. It can be used to verify the serial communications link is OK.All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 4

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x01 Product_ID2 Bit 7 6 5 4 3 2 1 0 Field PID[3:0] Usage 0x02 Reserved[3:0] 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 Bit 7 6 5 4 3 2 1 0 Field Motion Usage Reserved[1:0] DYOVFDXOVF RES[2: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 Description Motion since last report 0 = No motion (Default) 1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers Reserved[1:0] Reserved for future use DYOVF 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x03 Delta_X Bit 7 6 5 4 Field X7 Usage X6 X5 X4 3 X3 2 1 0 X2 X1 X0 X movement is counted since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128 ~ +127. 0x04 Delta_Y Bit 7 6 5 4 Field Y7 Usage Y6 Y5 Y4 3 Y3 2 1 0 Y2 Y1 Y0 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x05 Operation_Mode Bit 7 Field LEDsht_enh Usage 6 5 4 3 2 1 0 Slp_enh Slp2_enh0 1 Slp2mu Slp1mu WakeupOperation_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) Slp2_enh All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 7PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

Slp2mu Slp1mu Wakeup 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” 0x06 Configuration Bit 7 6 5 4 3 2 1 0 0 PD_enhCPI [2:0] Field Reset MotSwk 0 Usage 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x07 Image_Quality Bit 7 6 5 4 3 2 1 0 Field Imgqa[7:0] Usage Notes 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] Description Image quality report range: 0(worst) ~ 255(best). 0x08 Operation_State Bit 7 6 5 4 3 2 1 0 Field Reserved[3:0] Slp_stateUsage Notes Op_state[2:0] 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.) Op_state[2:0] 0x09 Write_Protect Bit 7 6 5 4 3 2 1 0 Field WP[7:0] Usage Notes 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 All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 9

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x0A Sleep1_Setting Bit 7 6 5 4 3 2 1 0 Field Slp1_freq[3:0] Usage Notes 0 0 1 0 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 ~ ms. Default is 32ms. (slp1_freq[3:0] = 0111) MUST always be 0010 0x0B Enter_Time Bit 7 6 5 4 3 2 1 0 Field Slp1_etm[3:0] Usage Notes Slp2_etm[3:0] 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) Slp2_etm[3:0] 0x0C Sleep2_Setting Bit 7 6 5 4 3 2 1 0 Field Slp2_freq[3:0] Usage Notes 0 0 1 0 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

0x0D Image_ Threshold Bit 7 6 5 4 3 2 1 0 Field Imgqa_th[7:0] Usage Notes 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] Description Image threshold: 0 (High recognition rate) ~ 255 (Low recognition rate). The minimum level for normally working is 10. Default is 00001010. 0x0E Image_Recognition Bit 7 6 5 4 0 3 2 1 0 Field pk_wt[2:0] Usage Notes Imgqa_df[3:0] 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

4. Specifications

4.1 Absolute Maximum Ratings Stresses above those listed under \"Absolute Maximum Rating\" may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied and exposure to absolute maximum rating conditions for extended periods may affect device reliability. Symbol Parameter Min Max UnitNotes TSTG Storage Temperature -40 85 °C TA Operating Temperature -15 55 °C VDC DC Supply Voltage -0.2 Vdd1 + 0.2-0.3 Vdd2 + 0.3-0.3 VDC - - 260 V V V All I/O pin VIN DC Input Voltage Lead Solder Temp °C For 10 seconds, 1.6mm below seating plane. All pins, human body model MIL 883 Method 3015 ESD 2 kV4.2 Recommend Operating Condition Symbol Parameter TA Operating Temperature Vdd1 Vdd2 VN Z Power Supply Voltage Supply Noise Distance From lens Reference Plane to Surface Min.Typ.Max.Unit Notes 0 - 40 °C 1.73- 2.3 1.8 - 2.4 1.87100 2.5 160010 28 2.5 2.7 2.9 V mV mm VDDA, VDD short VDD Peak to peak within 0 - 80 MHz Refer to Figure 4. R Resolution SCLK Serial Port Clock Frequency FR Frame Rate S Speed 400 1000- 0 - - - 3000CPI MHz inches/s - frames/s All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 12

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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- - 666usNotes 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↑ 10 - 30.5msSDIO Read Hold Time - 1 3 - - - usustRESYNC 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, - - ms320ms (±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 t r , t f t r , t f Sensor Wakeup Interrupt Time Rise and Fall Times: SDIO Rise and Fall Times: ILED - 160- - 25, 2030, 10 All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 13

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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 Input Voltage HIGH VIL Input Voltage LOW VOH Output Voltage HIGH VOL Output Voltage LOW Type: LED VOL Output Voltage LOW - - 380mV@I OL = 25mA 1.45- 1.4- - - - - V V V @I OH = 2mA V @I OL = 2mA - 0.4- 0.4- 3 - mA - 300- uA - 60 - uA - 7 - uA 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 Input Voltage HIGH VIL Input Voltage LOW VOH Output Voltage HIGH VOL Output Voltage LOW Type: LED VOL Output Voltage LOW - - 380mV@I OL = 25mA 2.0- 2.3- - - - - V V V @I OH = 2mA V @I OL = 2mA - 0.9- 0.4- 3 - mA - 300- uA - 60 - uA - 7 - uA All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 14

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

5. Z and 2D/3D Assembly Package LidLensZOBJECT SURFACEFigure 4. Distance from Lens Reference Plane to Surface +X+YESD LENS RINGCLIPPLASTIC SPRINGLEDBASE PLATESURFACE IS 0 REF.PCBSENSORBASE PLATE ALIGNMENT POSTUnit: 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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. FIRST BYTER/W(1 BIT)ADDRESS (7 BIT)SECOND BYTEDATA (8 BIT)MSBLSBMSBLSB 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. SCLKSDIODON'TCARE1123456A2710111213141516DON'TCAREA6A5A4A3A1A0D7D6D5D4D3D2D1D0SDIO driven by the mouse controller Figure 8. Write OperationAll rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 17

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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. SCLKSDIODON'TCARE102A63AA45A36A27A18Hi-Z9D710D611D512D413D314D215D116D0Hi-Z_R/W bit of next addressA0SDIO driven by the mouse controllerNote \"A\"SDIO driven by the mouse sensorNote \"B\"Note \"A\"1. The mouse controller sends address to the mouse sensor.2. The mouse controller releases and set SDIO to Hi-Z after the last address bit.SCLKSDIO7A1A0tHOLD3us,minNote \"B\"1. The mouse sensor sends data to the mouse controller .2. The mouse sensor releases and set SDIO to Hi-Z after the last data bit.SCLKSDIO16Hi-ZD08Hi-ZD79_1R/W bit of next addressSDIO driven by the mouse controller 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 re-synchronous 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. tSIWTTSCLKtRESYNC1u s, minSDIO123456710111213141516Hi-ZADDRESS (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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

z

Power On Problem - The problem occurs if the mouse sensor powers up before the mouse controller sets the SCLK and SDIO lines to be output. The mouse sensor and the mouse controller might get out of synchronization due to power on problem. An easy way to solve this is to use “watchdog timer timeout”. 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”. z

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. SCLK123456710111213141516Address = 0x06100001100Data = 0x0C00011002 frames, maxSDIOIDD

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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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”MotionNote “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. SWKINTtSWKINT 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

8. Referencing Application Circuit

8.1 Power Supply at 2.7V Application Circuit (with Red LED, 2.4GHz Transceiver) #1. Battery Power CircuitDC/DC ConverterBAT_1.5VL1220uHU1C147uFSWVOUTVCC_2.7VD11N5819LED_2.7VVCC_2.7VENSW1Z2COMZ1Z2Z1ENCODERC247uFELM9327SW1SW2SW3RKEYMKEYLKEY#2. MCU CircuitU31VCC_2.7VEPSD1GNDPB5PB4PA3PA2PA1PA0PB3PB2PB1PB0VSSPC1PC2PC3PB6PB7PA4PA5PA6PA7OSC2OSC1VDDRESETPC7PC6PC5PC4282726252423222120191817161523C180.1uFMKEYRKEYLKEYMOSISCKSDIOSCLKMOTSWKZ1Z2456710111213141234U2A0VCCA1WPA2SCLGNDSDAEEPROMC3IDSYNC15PF8765SCKEPSD2X16MHZC415PFRESETCECSMISOIRQR.7kR5270KC51uFVCC_2.7VMCUPAN3204 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 CircuitVCC_2.7VVCC_2.7VR720KIDSYNCC80.1uFD2LEDR1+U4R4MOTSWKSDIOSCLK1OSC_RESVDDA8C61uF2MOTSWKVDD73SDIOVSS6C710uFS14SCLKLED5LED_2.7VPAN3204DB#4. RF TX CircuitnRF24L01 notes*X2 for +/-60ppm, CL = 12pF*C16 and C17 must have values that match thecrystals load capacitance CLR822K211C921VCC_2.7V133nFC1010nF22C111nFU5VSSDVDDVDDVSSIREF2019181716(Reference only)1514131211CECSSCKMOSIMISO12345CEVDDCSNVSSSCKnRF24L01ANT2MOSIANT1MISOVDD_PAIRQVDDVSSXC2XC1L2112C12121AntennaL38.2nH123.9nHL42.7nH111.5pF2IRQC16*22167102R9C17*2111MX2*16MHz2C142.2nFC1.7pF2C131pFFigure 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. 21

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

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 thecrystals load capacitance CLVCC1234U1A0VCCWPA1A2SCLGNDSDAEEPROM87651SCKEPSDC10.1uFC2211VCC_3.3V11R122K2233nFU2VIN PADVOUTAIC1734-332GND2VSSDVDDVDDVSSIREF2019181716C310nFC41nFU3VIN(Reference only)1514131211L1113.9nhL28.2nHL312.7nH2221.5pF21C521C61pFVCC1VCC_3.3V1C71uFCECSSCKMOSIMISO12345CEVDDCSNVSSSCKnRF24L01ANT2MOSIANT1MISOVDD_PAIRQVDDVSSXC2XC1123AntennaC81uFVCCIRQR21222JP11234R3R41212C1322PF67101D-D+C11C1422PF1uF+C1210uF1S12C171R.7K5PF116MHz1R51MC15*21C16*2Y1*C92.2nF221C104.7pFHEADER 4R7C18C19R104.7K0.1uF1UF1.5KVCCCECSALEDD+D-123456710U4PA4PA3PA5PA2PA6/TMR0PA1PA7/TMR1PA0OSC1PC0OSC2PD4RESVDDV33OVSSUSBD+/CLKPB7USBD-/DATAPB620191817161514131211R12IRQMISOMOSIIDSYNCR810K24Y312MHz2C20C21R115PF1UFALEDVCCR9270D11LED2EPSDSCK4.7K3MCU100KFigure 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

8.3 Power Supply at 1.8V Application Circuit (with IR LED, 27MHz Transceiver)

#1. Battery Power CircuitOptional power source: A or BB. RegulatorIR_1.8VVCC_1.8VU2VIN PADVOUTGNDVINA. DC/DC ConverterBAT_1.5VL1220uHU3C447uFC5GNDSWVOUTVCC_1.8VENSW1ELM9818IR_1.8VVCC_1.8VC822uFZ2COMZ1Z2Z1D11N5819BAT_3.0VENCODERSW1SW2SW3RKEYMKEYLKEY12100uFELM9318C722uF#2. MCU CircuitVCC_1.8VR230KRESETZ1Z2RKEYMKEYIDSYNCMOTSWK12345U1P52P53TCC/RESETVSSP60./INTP61P62P63P51P50OSCIOSCOVDDP67P66P65P1817161514131211103C115pFRFENRFDATAX16MHzSCLKSDIOC6LKEY0.1uFVCC_1.8VC215pFC30.1uF67MCU#3. Sensor CircuitPAN3204 external resistor notes*Note that 2.7V application, R7 use 34.8K ohm +/- 1%*Note that 1.8V application, R7 use 36K ohm +/- 1%U4R7MOTSWKSDIOSCLK1OSC_RESVDDA8VCC_1.8VVCC_1.8VR420KIDSYNC2MOTSWKVDD73SDIOVSS6C170.1uFR1+C1610uFS14SCLKLED5IR_1.8VD2LEDPAN3204DB#4. RF TX CircuitRFENC120.1uFGNDRFDATAR910KR627K3904R5X213.5225MHz36KQ13904C18C2027pFR10C2133pFR112KC19100pFC130.1uFR856KQ33904100pFC14100pFC15R310RVCC_1.8VC91uFC100.1uFC111uFAntennaQ210pF100KFigure 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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

8.4 Reference Application for RF Receiver Using 27MHz Transceiver

C120pFC22.2uF+C410nFVCC_RF12345OSC_IN6OSC_OUT78B3910C3U168pFC620191817161514131211C52.2uF+C810uF+C90.1uFANT_IN1ANT_IN2AGNDVNEGVPOSMDRVCCLFVDIGAGNDXTAL_INVPOS_LOXTAL_OUTVNEG_LOVNEG_DIGB1B3OUTB2CLK10nFC72.2uFB1RF_DATAC11C1010nF2.2uF+TI TRF7903-PW20C122.2uF+C1310nFOSC_INOSC_OUTVCC_RFC14R247pFX112MHzC17pFVCC_RF8765VCC_5VVCC_RFR1B1OPENB3Q12N3906R310KR6PWR_Ctrl10K0R1234U2A0VCCA1WPA2SCLGNDSDAR40RR5OPENSCLSDAC160.1uF2402U3RF_DATAVCC_RFR8470D1S1LEDID_SYNCPWR_Ctrl12345P0.0P0.1P0.2P0.3P1.0VREGD-/SDATAD+/SCLKVCC11151614R71.3KJP11VCC_5VC17+234C1810uFVPPVSSP0.5P0.612XTALINXTALOUT1092322130.1uFUSBSCLSDACYPRESS CY7C63723Figure 17. Application Circuit for RF Receive Using 27MHz TransceiverAll rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 24

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

8.5 PCB Layout Consideration

z

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 z

Radiometric intensity of red LED Bin limits (mW/Sr at 20mA) LED Bin Grade Min. Typ. Max. P 17.7 - 21.2 Q 21.2 - 25.4 Note: Tolerance for each bin will be ± 15% Suggested R1(ohm): Red LED Bin GradeMin. Typ. Max. P 6.8 22 - Q 6.8 22 - 8.6.2 Using IR LED for 1.8V Suggested R1(ohm): IR LED Bin GradeMin. Typ. Max. TBD 3.3 22 - 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 LED Bin GradeRed LED IR LED P, Q TBD VLED 2.7 1.8 R1 Min. Typ. Max. 6.8 3.3 22 22 - - All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 25

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

9. Package Information 9.1 Package Outline Drawing 876512349.90.3903.180.1259.1 0.3581.0 0.0395.150.203Max. 0.1Max. 0.0040.460.018Max. 1212.60 +/-0.20.4962.00.0781.010.0401.00.03912344.550.1790.250.0101.420.05684.450.1757655.00.196NOTES:1. All dimensions in MM/INCH.2. All dimensions tolerance: +/- 0.10mm3. Maxmumflash: +0.2mm4. Angular tolerance: +/- 3.0degress0.800.0312.00.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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

9.2 Recommended PCB Mechanical Cutouts and Spacing

2.9970.11811.050.43527.1531.0696.1720.2434.2420.1670 ref.16.950.667876526.0101.0247.40.2970.7110.028Optical Center1.1940.0470 ref.1.1940.0474.2420.16716.1720.2432340.7110.0283.2510.1287.40.297All Dimensions : mm / inch Figure 18. Recommended PCB Mechanical Cutouts and Spacing 10. Update History Version Update Date st V1.0 Creation, Preliminary 1version 09/05/2007 V3.0 Content revise, Ch8.1, Ch8.2, Ch8.3, and Ch8.4 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\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

PixArt Imaging Inc.

E-mail: fae_service@pixart.com.tw V3.0, Apr. 2008

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo0.com 版权所有 湘ICP备2023021991号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务