PAW3204LU-TJDU
PAW3204LU-TJDU
SMD-TYPED ULTRA LOW POWER WIRELESS MOUSE SENSOR
General Description
The PAW3204LU-TJDU is a SMD-typed high performance and ultra low power CMOS process optical mousesensor with DSP integration chip that serves as a non-mechanical motion estimation engine for implementing acomputer wireless mouse. With adaptive frame rate control, AKA AFC, this optical mouse sensor gains extra
power saving during mouse moving.

Key Specification

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 30
inches/sec

High resolution up to 1500 CPI

Operating voltage
Power Supply

1.73V ~ 1.98V (VDD and VDDA short)
2.1V ~ 3.6V (VDD)

Optical Lens

1:0.8

Speed

Up to 30 inches/sec

Acceleration

Up to 10 G

Power saving mode during times of no
movement

Resolution

500/ 650/ 750(Default)/ 1000/ 1300
/1500 CPI



Serial interface for programming anddata transfer

Frame Rate

Up to 2400 frames/sec



Built-in low power Timer (LPT) for
sleep1/sleep2 mode

TypicalOperatingCurrent

1.6 mA @ Mouse moving (Normal1)
1.2 mA @ Mouse moving (Normal2)
1.0 mA @ Mouse moving (Normal3)
70 uA @ Mouse not moving (Sleep1)
10 uA @ Mouse not moving (Sleep2)
9 uA @ Power down mode

MOTSWK pin to wake up mouse
controllerWide operation range from 2.1V to 3.6V



Low power operation under 1.98V



Adaptive frame rate control for extra
power saving during moving(without I/O
toggling)*including LED, typical value
Package

SMD, 8 balls

LED drive mode configuration

Ordering Information
Order Number
PAW3204LU-TJDU

Bundle Part Number
PAW3204LU-TJDU
PNSR-015-RB1

Part Description
SMD CMOS Optical Mouse Sensor
Bundle Lens for Infrared LED

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

1V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

1. Pin Configuration
1.1 Pin Description
Pin

Name

Type

Definition

A1

VDDA

PWR

Analog/Digital supply voltage (1.9V)
Power supply (1.73V~1.98V) for low power operation voltage

C1

VSS

GND

Chip ground

E1

LED

OUT

LED control

B2

VDD

PWR

Power supply (2.1V~3.6V) for internal power regulator, VDDA
(1.9V) is the power regulator output.
Power supply (1.73V~1.98V) for low power operation voltage

D2

SDIO

I/O

Serial interface bi-direction data *Initial with input floating

A3

ATPG_EN

IN

Reserved. Connect to ground

C3

MOTSWK

OUT

Motion detect (active low, see Section7) *Initial with output high

E3

SCLK

IN

Serial interface clock *Initial with input floating

1.2 Pin Assignment
1

2

3

LB

RB

A
1

B
+Y

C
D
E

2

3

A
B
C
D
E

+X

Figure 1. Top View Pinout

Figure 2. Top View of Mouse

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

2
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

2. Block Diagram and Operation
LED DRIVE
MODE CONFIGURATIONPOWER ONRESETCMOS IMAGESENSOR

ADAPTIVE
FRAMERATECONTROL

MOTSWKSERIAL
INTERFACE

SCLK
SDIO

MOTION/
WAKE UPDIGITAL
SIGNALPROCESSORSERIAL
INTERFACE

VOLTAGE REGULATOR
AND POWER CONTROL

LED

VDD
2.1V ~ 3.6V
POWER
VSS
1.73V ~ 1.98V
POWER
VDDA

CONTROLREGISTER

Figure 3. Block Diagram
The PAW3204LU-TJDU is a SMD-typed high performance and ultra low power CMOS-process optical mousesensor with DSP integration chip that serves as a non-mechanical motion estimation engine for implementing awireless 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 andmagnitude of movement. The mouse sensor is in an 8-ball SMD package. The current X and Y information areavailable in registers accessed via a serial port. The word "mouse sensor", instead of PAW3204LU-TJDU, isused in the document.
With LED control technology, adaptive frame rate control (also known as AFC), the mouse sensor gain extra
power saving during mouse moving. The AFC servers position/speed detection and then mapping to different
frame rate. With lower frame rate, it leads to lower power consumption of the mouse sensor and LED. The
mouse sensor is featured with THREE-level AFC which is 2400/1200/800 frame per second.
A brand-new configurable LED drive mode switch function provides flexible choice for the user to achievedifferent LED application. The mouse sensor provides TWO choices with Current DAC mode, and Current
Switch modes. Note that default drive is Current DAC mode.

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

3
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

3. Registers and Operation
The mouse sensor can be programmed through registers via the serial port. Also, the DSP configuration andmotion data can be read from these registers. All registers not listed are reserved, and should never be written by
firmware.

3.1 Registers
AddressName

R/W

Default

Data Type

0x00

Product_ID1

R

0x30

Eight bits[11:4] number with the product identifier

0x01

Product_ID2

R

0xFX

Upper Four bits[3:0] number with the product identifier
Lower Four bits[3:0] number with the product version(VID)

0x02

Motion_StatusR-

Bit field

0x03

Delta_XR-

Eight bits 2’s complement number

0x04

Delta_YR-

Eight bits 2’s complement number

0x05

Operation_Mode

R/W

0xB8

Bit field

0x06

Configuration

R/W

0x02

Bit field

0x07

Image_Quality

R-

Eight bits unsigned integer

0x08

Operation_StateR-

Bit field

0x09

Write_Protect

R/W

0x00

Bit field

0x0A

Sleep1_Setting

R/W

0x70

Bit field

0x0BEnter_Time

R/W

0x10

Bit field

0x0C

Sleep2_Setting

R/W

0x70

Bit field

0x0D

Image_ Threshold

R/W

0x14

Eight bits unsigned integer

0x0E

Image_ Recognition

R/W

0xE5

Bit field

0x31

AE_State_Index

R-

Lower Six bits[5:0] unsigned integer

0x37

Frameavg

R-

Eight bits unsigned integer

0x41

LED_DriveStrength

R/W

0xE8

LED drive strength selection

0x43

LED_DriveMode

R/W

0xA9

LED drive mode selection

3.2 Register Descriptions
0x00
Bit

Product_ID1
7

6

5

4

3

2

1

0

Field

PID[11:4]

Usage

The value in this register can’t be changed. 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.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

4
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x01
Bit

Product_ID2
7

6

Field

5

4

3

2

PID[3:0]1

0VID[3:0]Usage

The value in this register can’t be changed. PID[3:0] can be used to verify that the serial
communications link is OK.
VID[3:0] is a value between 0x0 and 0xF, it represents the chip version.

0x02

Motion_Status

Bit

7

6

5

Field

Motion

Usage

Motion_Status register allows the user to determine if motion has occurred since the last time it wasread. If so, then the user should read Delta_X and Delta_Y registers to get the accumulated motion. It
also reveals if the motion buffers have overflowed since the last reading. The current resolution is
also shown.

Reserved[1:0]

4

3

DYOVF

DXOVF

2

1

0

RES[2:0]

Reading this register freezes the Delta_X and Delta_Y register values. Read this register before
reading the Delta_X and Delta_Y registers. If Delta_X and Delta_Y are not read before the motion
register is read a second time, the data in Delta_X and Delta_Y will be lost.
Notes

Field Name

Description

MotionMotion since last report
0 = No motion (Default)
1 = Motion occurred, freeze motion data in Delta_X and Delta_Y registers

Reserved[1:0]Reserved for future use

DYOVF

Motion Delta Y overflow, ΔY buffer overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred

DXOVF

Motion Delta X overflow, ΔX buffer overflowed since last report
0 = No overflow (Default)
1 = Overflow has occurred

RES[2:0]

Resolution in counts per inch
000 = 500001 = 650
010 = 750 (Default)
011 = 1000
100 = 1300
101 = 1500
110 – 111: reserved

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

5
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x03

Delta_X

Bit

7

6

5

4

3

2

1

0

Field

X7

X6

X5

X4

X3

X2

X1

X0

Usage

X movement since last data frozen by reading Motion_Status register. Absolute value is determinedby resolution. A reading clears the register. Report range –128 ~ +127.
The MSB bit represents as sign bit.

0x04

Delta_Y

Bit

7

6

5

4

3

2

1

0

Field

Y7

Y6

Y5

Y4

Y3

Y2

Y1

Y0

Usage

Y movement since last data frozen by reading Motion_Status register. Absolute value is determinedby resolution. A reading clears the register. Report range –128 ~ +127.
The MSB bit represents as sign bit.

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

6
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x05

Operation_Mode

Bit

7

6

5

4

3

2

1

0

Field

LEDsht_enh

01

Slp_enhSlp2_enh

Slp2For

Slp1ForWakeup

Usage

Operation_Mode register allows the user to change the mouse sensor operation modes. Shown below
are the bits, their default values, and optional values.
Operation_Mode[4:0]“0xxxx” = Disable sleep mode
“10xxx” = Enable sleep1 mode1“11xxx” = Enable sleep2 mode2“11100” = Force entering sleep23“1x010” = Force entering sleep13“1x001” = Force wakeup from sleep mode3
Notes:
1. Enable sleep mode, but disable automatic entering sleep2 mode. In this case, only 2 modes areavailable, normal mode and sleep1 mode. After 256 ms (typical) not moving during normal mode,the mouse sensor will enter sleep1 mode, and keep on sleep1 mode until motion detected or
wakeup bit asserted. Note that the entering time depends on the setting of Enter_Time register.
2. Enable sleep mode full function. In this case, 3 modes are available, normal mode, sleep1 mode andsleep2 mode. After 256 ms (typical) not moving during normal mode, the mouse sensor will enter
sleep1 mode, and keep on sleep1 mode until motion detected or wakeup bit asserted.
After 20 sec (typical) not moving during sleep1 mode, the mouse sensor will enter sleep2 mode, andkeep on sleep2 mode until motion detected 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/wakeup, can be set to 1 at a single register
write, others MUST be 0. After function works, the asserted bit will be reset to 0 by internal signal.
4. To force entering normal mode, clear Slp_enh/Slp2_enh bit when the mouse sensor is in normal
mode; otherwise, in sleep mode, clear Slp_enh/Slp2_enh bit, and then assert Wakeup bit.

Notes

Field Name

Description

LEDsht_enh

LED shutter enable/disable
0 = Disable
1 = Enable (Default)

Bit [6:5]

MUST always be 01

Slp_enhSleep mode enable/disable
0 = Disable
1 = Enable (Default)*Note that disable sleep mode will also disable AFC function

Slp2_enh

Automatic enter sleep2 mode enable/disable
0 = Disable
1 = Enable (Default)

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

7
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Slp2ForForce entering sleep2 mode. Set “1” to enter sleep2, and then it will be reset to “0”

Slp1ForForce entering sleep1 mode. Set “1” to enter sleep1, and then it will be reset to “0”WakeupManual wake up from sleep mode, set “1” to wakeup and then it will be reset to “0”0x06

Configuration

Bit

7

6

5

4

3

Field

Reset

Mot0Swk1

0

0

PD_enh

Usage

2

1

0

CPI [2:0]

The Configuration register allows the user to change the configuration of the mouse sensor. Shown
below are the bits, their default values, and optional values.
With Mot0Swk1 bit is clear, the MOTSWK pin is “level-sensitive”. The pin level remains low whenmotion has occurred; The mouse controller can read Motion_Status register, Delta_X register, thenDelta_Y register sequentially to acquire motion data. After the mouse controller reads all data,
Delta_X and Delta_Y are both zero, the pin level will be high (see Section7).
With Mot0Swk1 bit is set, the MOTSWK pin is “edge-sensitive”. The pin will send a low pulse to
trigger the mouse controller when the mouse sensor entering normal mode from sleep mode. The
mouse controller can read Motion_Status register, Delta_X register, then Delta_Y register sequentiallyto acquire motion data (see Section7).

Notes

Field Name

Description

Reset

Full chip reset
0 = Normal operation mode (Default)
1 = Full chip reset

Mot0Swk1

MOTSWK pin output selection (see Section 7)
0 = Motion function output (Default)
1 = SWKINT function output

Bit [5:4]

MUST always be 00

PD_enhPower down mode
0 = Normal operation (Default)
1 = Power down mode

CPI[2:0]

Output resolution setting, setting with CPI mode select bit
000 = 500001 = 650
010 = 750 (Default)
011 = 1000
100 = 1300
101 = 1500
110 – 111: reserved

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

8
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x07
Bit

Image_Quality
7

6

5

4

3

2

1

0

Field

Imgqa[7:0]Usage

Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. The
minimum required level is to be larger than the value of Image_ Threshold register. otherwise, theDSP would not process the motion data.

Notes

Field Name

Description

Imgqa[7:0]

Image quality report range: 0(worst) ~ 255(best).

0x08
Bit

Operation_State
7

Field

6

5

4

Reserved[3:0]32

Slp_state

1
Op_state[2:0]

Usage

Operation_State register allows the user to read the operation state of the sensor.

Notes

Field Name

Description

Reserved[3:0]

Reserved for future use

Slp_stateSleep state (If Op_state[2:0] is 110, the Slp_state bit is effective.)
0 = LPT sleep1
1 = LPT sleep2

Op_state[2:0]000 = Normal state, 2400 FPS (with sleep function disable)
001 = Normal state, 2400 FPS (with sleep function enable)
011 = Normal state, 1200 FPS (with sleep function enable)
101 = Normal state, 800 FPS (with sleep function enable)
110 = Sleep mode (see Slp_state bit to get sleep state.)
Other values as transition state.

0x09
Bit

0

Write_Protect
7

6

5

Field

4

3

2

1

0

WP[7:0]

Usage

Write protect for the register 0x0A ~ 0x7F.

Notes

Field Name

Description

WP[7:0]

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.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

9V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x0A
Bit

Sleep1_Setting
7

Field

6

5

4

Slp1_freq[3:0]

3

2

1

0

0

0

0

0

Usage

Sleep1_Setting register allows the user to set frequency time for the sleep1 mode.

Notes

Field Name

Description

Slp1_freq[3:0]

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)

Bit [3:0]

MUST always be 0000

0x0B
Bit

Enter_Time
7

Field

6

5

4

3

Slp1_etm[3:0]

2

1

0

Slp2_etm[3:0]UsageEnter_Time register allows the user to set enter time for the sleep1 and sleep2 mode.

Notes

Field Name

Description

Slp1_etm[3:0]

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)

Slp2_etm[3:0]

Setting sleep2 enter time.
A scale is 20480ms. Relative to its value 0 ~ 15, the frequency time is 20480ms ~327680ms. Default is 20480ms (about 20 sec). (slp2_etm[3:0] = 0000)

0x0C
Bit

Sleep2_Setting
7

Field

6

5

Slp2_freq[3:0]

4

3

2

1

0

0

0

0

0

Usage

Sleep2_Setting register allows the user to set frequency time for the sleep2 mode.

Notes

Field Name

Description

Slp2_freq[3:0]

Setting frequency time for the sleep2 mode.
A scale is 64ms. Relative to its value 0 ~ 15, the frequency time is 64ms ~ 1024ms.
Default is 512ms. (slp2_freq[3:0] = 0111)

Bit [3:0]

MUST always be 0000

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

10
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x0D
Bit

Image_ Threshold
7

6

5

4

3

2

1

0

Field

Imgqa_th[7:0]Usage

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.

Notes

Field Name

Description

Imgqa_th[7:0]

Image threshold: 0 (High recognition rate) ~ 255 (Low recognition rate). The
minimum level for normally working is 20. Default is 00010100.

0x0E
Bit

Image_Recognition
7

Field

6

5

pk_wt[2:0]

4

3

0

2

1

0

Imgqa_df[3:0]Usage

Image_Recognition register allows the user to set recognition rate.

Notes

Field Name

Description

pk_wt[2:0]

Peak threshold weighting: 0 (Low recognition rate) ~ 7 (High recognition rate).
Default is 111.

Bit 4

MUST always be 0

Imgqa_df[3:0]Image qualification threshold difference: 0 (High recognition rate) ~ 15 (Lowrecognition rate). Default is 0101.

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

11
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

0x41

LED_DriveStrength

Bit

7

6

Field

1

1

5

4

3

LED_Strength[2:0]

2

1

0

0

0

0

Usage

Frameave register allows the user to read average intensity of all frame pixels.

Notes

Field Name

Description

Bit 7:6

Must be 11

LED_
Strength[2:0]

The value is to adjust LED current DAC strength. The driving ability isapproximately: 2.5mA*Strehgth[2:0]*The value works only at Reg0x43[6:5]=1, meaning LED drive mode is at LED
Current DAC mode.

Bit 2:0Must be 000

0x43

LED_DriveMode

Bit

7

6

5

4

3

2

1

0

Field

0

LED_Mode[1:0]

0

1

0

0

1

Usage

Frameave register allows the user to read average intensity of all frame pixels.

Notes

Field Name

Description

Bit 7

Must be 0

LED_Mode[1:0]

The value is to select LED drive mode
00: Current Switch mode with external resistor to control LED strength
01: Current DAC mode to control LED strength (Default)
10 – 11: reserved

Bit 4:0Must be 01001

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

12V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

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 thoseindicated in the operational sections of this specification is not implied and exposure to absolute maximum
rating conditions for extended periods may affect device reliability.
SymbolParameter

Min

Max

Unit

TSTG

Storage Temperature

-40

85

°C

TA

Operating Temperature

-15

55

°C

VDC

DC Supply Voltage-0.2

Vdd1 + 0.2

V

-0.3

Vdd2 + 0.3

V

VIN

DC Input Voltage

-0.3

VDC

V

All I/O pin

Lead Solder Temp

-

260

°C

For 10 seconds, 1.6mm below seating plane.

-

2

kV

All pins, human body model MIL 883 Method
3015

Min.

Typ.

Max.

Unit

0

-

40

°C

1.73

1.9

1.98

2.1

2.7

3.6

ESD

Notes

4.2 Recommend Operating Condition
Symbol Parameter
TA
Vdd1
Vdd2

Operating TemperaturePower Supply Voltage

V

Notes

VDDA, VDD short
VDD

VNpp

Supply Noise

-

-

150

mV

Peak to peak within 10K - 80 MHz

Z

Distance From lens Reference
Plane to Surface

2.3

2.4

2.5

mm

Refer to Figure 4.

Y1

Distance from PCB surface toobject surface

5.75

5.85

5.95

mm

PCB to Lens housing surface must
be contact.

Y2

PCB THICKNESSmm

1.6mm is the recommended PCB
thickness.

R

Resolution

500

750

1500

CPI

SCLK

Serial Port Clock Frequency

0.08

-

1

MHz

FR

Frame Rate

800

1200

2400

frames/s @ Normal mode, +/- 5% tolerance

S

Speed

0

-

30

inches/s

A

Acceleration

0

-

10

g

1.6

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

13
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

4.3 AC Operating Condition (1.9V / 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.9 V for 1.9V application.
Symbol ParametertPDRPD Pulse Register

Min. Typ. Max. Unit
-

-

836

Notes
Two frames time maximum after setting PD_enh bit

us in the Configuration register @2400frame/sec (refer
to Figure 15).
From VDD↑ to valid motion signals. And also fortPU

Power Up from VDD↑

10

-

38

ms valid register read/write after HW/SW reset.
500usec + 90 frames.

tHOLDSDIO Read Hold TimetRESYNC Serial Interface RESYNC.

Minimum hold time for valid data (refer to Figure

3

3

-

us 10).

1--

us @2400 frame/sec (refer to Figure 14)

Serial Interface Watchdog
Timer Timeout

1.7
32
512

-

-

@2400 frame/sec (refer to Figure 14)
1.7ms for normal mode,
32ms (typical) for sleep1 mode,ms
512ms (typical) for sleep2 mode.
Note that the value depends on the setting ofSleep1_Setting register and Sleep2_Setting register.

tForSlp-EN Force Entering Sleep Mode

-

-

2

ms setting (refer to Register 0x05)

Force Waking from Sleep
Mode

-

-

38

ms setting (refer to Register 0x05)

SDIO delay after SCLK

-

-

120

ns conditions

tSWW

SPI Time between two Write
Commands

25--

us Commands to rising SCLK for last bit of the second

tSWR

SPI Time between Write
and Read Commands

15

-

-

us to rising SCLK for last bit of the second address byte

tSRW
tSRR

SPI Time between Read andSubsequent Commands

500

-

-

ns falling SCLK for the first bit of the next addresstSRAD

SPI Read AddressData Delay

3

-

-

us falling SCLK for first bit of data being read (refer totSWKINT Wakeup Interrupt Time

-

418

-

us

tr,tf

-

30, 30-ns CL = 30 pF

tSIWTTtForSlp-DIS
tDLYSDIO

Rise and Fall Times: SDIO

From Normal mode to target Sleep mode by bits
From Sleep mode to Normal mode by Wakeup bit
From SCLK falling edge to SDIO data valid, no load
From rising SCLK for last bit of the first data byte,
data byte (refer to Figure 11)

From rising SCLK f or last bit of the first data byte,(refer to Figure 12)

From rising SCLK for last bit of the first data byte, to(refer to Figure 13)

From rising SCLK for last bit of the address byte, toFigure 13)

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

14
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

4.4 DC Electrical Characteristics (1.9V)
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = VDDA = 1.9 V
SymbolParameter

Type: Power (Including LED current)
Supply Current
IDDN1
Mouse Moving (Normal1)
Supply Current
IDDN2
Mouse Moving (Normal2)
Supply Current
IDDN3
Mouse Moving (Normal3)
Supply Current
IDDS1
Mouse Not Moving (Sleep1)
Supply Current
IDDS2
Mouse Not Moving (Sleep2)
Supply Current
IDDPD(Power Down)

Min.

Typ.

Max.

Unit

-

1.6

-

mA

@ 2400 FPS

-

1.2

-

mA

@ 1200 FPS

-

1.0

-

mA

@ 800 FPS

-

70

-

uA

-

10

-

uA

-

9

-

uA

Type: SCLK, SDIO, PD, MOTSWK
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

-

-

100

mV

@I OL = 10mA

-

-

50

mA

Type: LED
VOL

Output Voltage LOWILEDS LED Sink Current

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

15
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

4.5 DC Electrical Characteristics (2.7V)
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 2.7 V
SymbolParameter

Type: Power (Including LED current)
Supply Current
IDDN1
Mouse Moving (Normal1)
Supply Current
IDDN2
Mouse Moving (Normal2)
Supply Current
IDDN3
Mouse Moving (Normal3)
Supply Current
IDDS1
Mouse Not Moving (Sleep1)
Supply Current
IDDS2
Mouse Not Moving (Sleep2)
Supply Current
IDDPD(Power Down)

Min.

Typ.

Max.

Unit

-

1.6

-

mA

@ 2400 FPS

-

1.2

-

mA

@ 1200 FPS

-

1.0

-

mA

@ 800 FPS

-

70

-

uA

-

10

-

uA

-

9

-

uA

Type: SCLK, SDIO, PD, MOTSWK
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

-

-

100

mV

@IOL = 10mA

-

-

50

mA

Type: LED
VOL

Output Voltage LOWILEDS LED Sink Current

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

16
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

5. Z, 2D/3D Assembly, PCB Position

Figure 4. Distance from Lens Reference Plane to Surface

PARAMETERSSYMBOL

Distance from center of IC tocenter of Aperture stop

X

Distance from PCB surface
to object surface

Y1

PCB THICKNESSY2Distance from object surface
to lens reference plane

Z

MIN

5.72

TYP

5.85

MAX

UNIT

CONDITIONS

0.076

mm

Center of Aperture stop is close
to center of IC by self-alignhousing.

5.98mm

PCB to Lens housing surface
must be contact.

mm

1.6mm is the recommended
PCB thickness.

(1.6)
2.3

2.4

2.5

mm

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

17
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Figure 6. PCB Position for Layout/Mounting Instructions

Figure 7. 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.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

18
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

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 mousesensor. 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.
SECOND BYTEF IR S T B Y T E
R /W( 1 B IT )A D D R E S S ( 7 B IT )MSBD A T A ( 8 B IT )LSB M SB

LSB

Figure 8. 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) andhas 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

1

2

3

SDIO DON'T
CARE

1

A6 A5

4

5

6

7

8

A4 A3

A2

A1 A0

9

10

D7 D6

11

12

13

14

15

16

D5 D4 D3 D2 D1 D0

DON'T
CARE

SDIO driven by the mouse controller

Figure 9. Write Operation

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

19
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

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 themouse controller, and has a “0” as its MSB to indicate data direction. The second byte contains the data and isdriven 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 databit. The mouse sensor will go to the high Z state after the last data bit.
SCLK

1

2

3

4

5

6

7

9

10

11

12

13

14

15

16

D7

D6

D5

D4

D3

D2

D1

D0

8
H i-Z

S D IOD O N 'T
CARE

0

A6

A5

A4

A3

A2

A1

A0

S D IO d riven b y th e m ou se con troller

H i-Z_
R /W b it o f n ex t
ad d ress

S D IO d riv en b y th e m ou se senso r
N o te "A "N o te "B "N o te "A " 1. T he m ou se co ntroller send s add ress to the m o use sen so r.
2. T he m ou se co ntroller releases an d set S D IO to H i-Z after th e last ad dress bit.
SCLK

A1

S D IO

9

8

7

H i-Z

A0

D7

tH O L D
3u s,m in
N o te "B "1. T he m o use sen so r sen ds data to th e m ou se con tro ller .
2. T he m o use sen so r releases and set S D IO to H i-Z after th e last data bit.
SCLK

16
H i-Z

S D IO

D0_

1

R /W b it of n ex t ad dress
S D IO driven b y the m ou se co ntroller

Figure 10. Read Operation

6.1.3 Required timing between Read and Write Commands
There are minimum timing requirements between read and write commands on the serial port.

Figure 11. Timing between two write commands

Figure 12. Timing between write and read commands

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

20
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Figure 13. Timing between read and either write or subsequent read commands

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 fromthe registers will be incorrect. In such a case, an easy way to solve this condition is to toggle the SCLK line fromhigh 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 theserial port without resetting the registers and be prepared for the beginning of a new transmission.
t S IW T T
SCLK

1tR E S Y N C
1 u s , m in
S D IO

H i-Z

2

3

4

5

6

7

8

_

9

A D D R E S S (R /W )

1
0

1
1

1
2

1
3

1
4

1
5

1
6

DATA

Figure 14. 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 thisfunction 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.
zPower 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 outof synchronization due to power on problem. An easy way to solve this is to use “watchdog timer
timeout”.

z

ESD Events - The mouse sensor and the mouse controller might get out of synchronization due to ESD
events. An easy way to solve this is to use “watchdog timer timeout”.

6.3 Collision Detection on SDIOThe 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 mousesensor 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 tomaintain 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 communicationdifficulties).

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 thechip 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.
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

21
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU
SCLK

Wireless Optical Mouse Sensor
1

2

3

4

5

6

7

8

9

1
0

0

0

0

Address = 0x06
1

0

0

0

0

1

1

1
1

1
2

1
3

1
4

1
5

1
6

2 frames, max

Data = 0x0B
0

0

1

0

1

1

SDIO
IDD
tPDR
Figure 15. 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 addressand comparing written data to read data.
2. The mouse controller can verify the synchronization of the serial port by periodically reading the product ID
registerAll 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

22
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

7. MOTSWK function
7.1 Motion function
To use Motion function, the Mot0Swk1 bit in the Configuration register must be set to zero. Motion is used tomonitor if the mouse sensor data is clear. If motion data are not clear, MOTSWK pin level will remain low.
After the mouse controller reads all motion data from the mouse sensor, the mouse sensor will set MOTSWK pin
level to high.
Note “A”

Note “A”

MotionNote “B”
Note “A”: Motion data is clear.
Note “B”: Motion data is not clear. Detected motion data x, y

Figure 16. Motion function

7.2 SWKINT function
To use SWKINT function, the Mot0Swk1 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 mousesensor 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 17. SWKINT function

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

23
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

8. LED Drive Mode Selection
8.1 Current DAC Mode
To use Current DAC function, the LED_Mode in the LED_DriveMode register must be set to 1. The driving
strength can be adjusted by modify the LED_Strength in the LED_DriveStrength register.
*This function works ONLY at VDD from 2.1V to 3.6V. It does NOT support 1.9V application.

8.2 Current Switch Mode (with external resistor)
To use Current Switch with external resistor function, the LED_Mode in the LED_DriveMode register must be
set to 0. The driving strength can be adjusted by decided by the resistor value.

Current DAC Mode

VLED

Support ONLY at
VDD=2.1V~3.6V

Current Switch Modew/ External Resistor

VLED

R1
(eye-safety)
R1
Strength is decided by
R1
Strength is adjustable
Auto switch

Figure 18. LED drive mode

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

24
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

9. Referencing Application Circuit
9.1 Power 2.7V Application Circuit, no DC/DC (with Infrared LED, 2.4GHz Transceiver)Power

Sensor - PAW3204LU

Buttons
ENSW
VCC_DC

Z_CM

VCC_BAT

3

Z2
Z1

2

+
BAT

1uF

VCC_DC

1

A1

C2

C3

U2
VDDA

ATPGENVCC_DC
1M

R0_Z1

1M

10uF

0.1uF

A3

(same as VDD ball)
SW1
VCC_BATC1VCC_DC

Short for direct battery

3
2
1

VSS

MOTSWK

C3

S-MOTSWK

E3

S-SCLK

R0

CPI_SW
1
2

BL

B4
1

BL

B5
1

CPI_SW

R0

BM
1

2

BM

R0

BR
1

2

BR

R0

BL
1

2

BL

R1
E1

SDIO

BAT

R0_Z2

C1

1
BAT-1

1

B2

1

Z1

+

VDD

BAT+

Z2

2

ENCODER

1
BAT+1

1

COM

LED

IR LED D1

SCLK

2

B4

3204LU, 8 Balls

S-SDIO

D2

33

2

B5

RF - Nordic nRF24LE1Power Tree
C12 22pF2
1

XC2

Battery * 2(series,
2.1V~3.2V)

X1
VCC_DC

3
2

GND OUT
IN
GND

1

4
1

Sensor, LED,
RF
(2.1V~3.2V)

C11

C13 22pF
2
1

XC1

S-SDIO2

16 MHz Cry stal

C5

24
23
22
21
20
19
18
17

L3

VDD
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2

Epad
33

VCC_DC

2

1

2

/

C10

1
2

L2
1

C6
1.0pF

1

2

6.8nH

C20
1.8pF

2
6.8nH

1

R8

1
1.5pF

L1
RESET
S-SCLK
BM

2

1

9
10
11
12
13
14
15
16

33nF

Z_CM
B5
S-MOTSWK
B4
BL
CPI_SW
BR

0.1uF

2

2

2

0.1uF

2
4.7nH

2

1

1

nRF24LE1

VDD
VSS
ANT2
ANT1
VDD_PA
RESET
P1.4
P1.3

1

P0.1
VDD
DEC1
DEC2
P0.2
PROG
P0.3
VSS

C4
2.2nF

2

Z2
PROG
R0
C8

1
2
3
4
5
6
7
8

2

C7

1

1

Z1

1

50 ohm point

P0.0
XC1
XC2
P1.6
P1.5
VDD
VSS
IREF

VCC_DC

C9

2

32
31
30
29
28
27
26
25

U3

0.1uF

R2 22K
1

C19
/

33nF

ISSP Program - Nordic
J1
VCC_DC
PROG
B4
BL

1

2

3

4

5

6

7

8

9

10

CPI_SWRESET
B5HEADER 5X2

ISSP

Figure 19. Application Circuit for 2.7V, no DC/DC (with Infrared LED)

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

25
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

9.2 Power 1.9V Application Circuit, one DC/DC (with Infrared LED, 2.4GHz
Transceiver)Power

Sensor - PAW3204LU

BAT

Buttons
ENSW

L4

22uH

VCC_DC
Z_CM

VCC_BATVCC_DC

3

Z2

1

Z1

C14
47uF

7
2
4

VCC_BAT

8
5
3
1

OUT
/SHDN
/LBO
FB

LBI
REF

TBD

SW1
BAT

LX

91K

2

TBD

C3

10uF

0.1uF

R0_Z2

VCC_DC
1M

R0_Z1

1M

ENCODERA1

VCC_DC

C1

200K

3
2
1

U2
VDDA

ATPGEN

A3

R_FB2

6

R6

B2

LX

TBD

1

R_FB1

C16

VSS

MOTSWK

C3

S-MOTSWK

E3

S-SCLK

R0

CPI_SW
1
2

CPI_SW

R0

BM
1

2

BM

BL

B4
1

2

B4

R0

BR
1

2

BR

BL

B5
1

2

B5

R0

BL
1

2

BL

R1
E1

0.1uF/

SDIO

1

R5

VDD

U1 HT77S10

BAT-1
1

C2

Z1

R4

GND

1

Z2

2

+

BAT+1
BAT+

1

COM

BAT

LED

IR LED D1

D23003204LU, 8 Balls

S-SDIOVCC_DC = Vref * (1 + R_FB1/R_FB2)
Vref, typ = 1.3V

SCLK

R4~R6 for low power detection

RF - Nordic nRF24LE1Power Tree
C12 22pF2
1

XC2

Battery * 1(0.9V~1.6V)

X1
VCC_DC

3
2

GND OUT
IN
GND

1

4
1

DC/DC
(1.9V)

Sensor, LED,
RF (1.9V)

C11

C13 22pF
2
1

XC1

S-SDIO2

16 MHz Cry stalR2 22K
1

24
23
22
21
20
19
18
17

C5
L3

VDD
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2

Epad
33

VCC_DC

2

1

2

/

C10

1

1.5pF

2

L2
1

C6
1.0pF

1

2

6.8nH

C20
1.8pF

2
6.8nH

1

R8

1

4.7nH
L1

RESET
S-SCLK
BM

2

1

9
10
11
12
13
14
15
16

33nF

Z_CM
B5
S-MOTSWK
B4
BL
CPI_SW
BR

0.1uF

2

2

2

0.1uF

2

2

1

1

nRF24LE1

VDD
VSS
ANT2
ANT1
VDD_PA
RESET
P1.4
P1.3

1

P0.1
VDD
DEC1
DEC2
P0.2
PROG
P0.3
VSS

C4
2.2nF

2

Z2
PROG
R0
C8

1
2
3
4
5
6
7
8

2

C7

1

1

Z1

1

50 ohm point

P0.0
XC1
XC2
P1.6
P1.5
VDD
VSS
IREF

VCC_DC

C9

2

32
31
30
29
28
27
26
25

U3

0.1uF

C19
/

33nF

ISSP Program - Nordic
J1
VCC_DC
PROG
B4
BL

1

2

3

4

5

6

7

8

9

10

CPI_SWRESET
B5HEADER 5X2

ISSP

Figure 20. Application Circuit for 1.9V, one DC/DC (with Infrared LED)

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

26
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

9.3 PCB Layout Considerationz

Caps for balls A1, B2 must have trace lengths less than 5mm.

9.4 Recommended Value for R1

Light Source

Infrared LED

R1

VLED
Min.

Typ.

Max.

2.1~3.6-

33-

1.73~1.98

-

300

-

* Recommended using LTE-C216-P-W LED.
** Recommends using internal current DAC for 2.1V~3.6V, and R1 is unnecessary.

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

27
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

10. Optical Criterion
10.1 Recommended Infrared LED Angle Criterion

Figure 21. Radiation Characteristicsz

LED Viewing Angle

Min.

Typ.

Max.

2θ1/2

-

100

-

Recommended using Chang-Yu LED goniophotometer V110 to measure the LED viewing angle.

10.2 Recommended Value for Optical Powerz

In order to balance tracking performance of PAW3204LU-TJDU and lower power consumption of LED,
PixArt recommended a value for optical power. The power MUST fit in the following table by adjustingR1 value when LED source is not recommended one. Optical power is measured from base plate
rectangle hole with LED in DC mode. (Please see optical power measurement method AP note).
Recommended using ADCMT power meter 8230E to measure the optical power.
Parameter

Min.

Typ.

Max.

Unit

Optical Power

200

-

1000

uW

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

28
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

11. Package Information
11.1 Package Outline Drawing

Figure 22. Package Outline Drawing

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw

29
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

12. AFC Configuration
12.1 To Force AFC Stay at Specific Frame Rate
Below is common register setting for specific frame rate:
Function1: To stay at 2400 frame rate
Register : At initial setting, and then write 0 to Register 0x05[4] (disable sleep mode function)
Function 2: To stay at 1200 frame rate
Register : At initial setting, and then (1)write 0 to Register 0x05[5],(2)write 0x5A to Register 0x09,(3)write 1 to Register 0x17[6]Function3: To stay at 800 frame rate
Register : At initial setting, and then (1)write 0 to Register 0x05[5],(2)write 0x5A to Register 0x09,(3)write 1 to Register 0x17[7]12.2 To Disable AFC Function
Register : At initial setting, and then (1)write 0x5A to Register 0x09,(2)write 1 to Register 0x7A[7]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

30
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Update History
VersionUpdate

Date
st

V0.1

Creation, Preliminary 1 version

Aug/01/2012

V0.2

Content Revised

Oct/15/2012

V0.3

Content Revised

Mar/06/2013

V0.4

Content Revised

Jun/20/2013

V1.0

First public version

Mar/25/2015

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 theabove term. PLEASE NOTE THAT PixArt will NOT defend, indemnify, or provide any assistance to ourcustomers 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.
31
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Appendix A: Performance Optimization
Prerequisite
To get the best sensor performance, please make sure firmware behavior as following:
1. Regular polling time, ex: 4ms per poll
2. SPI clock MUST faster than 80KHz

A-1. Register Setting (for initialization)
The following recommended setting is for even better performance on PAW3204LU-TJDU.
*Setting is for 2.7v application. When apply 1.73v~1.98v, please use current switch mode to drive LED.

Register
Address
0x09
0x06
0x13
0x1D
0x21
0x25
0x2A
0x2B
0x2C
0x2D
0x41
0x43
0x47
0x4E
0x50
0x56
0x65
0x70
0x75
0x76
0x78
0x79
0x7C
0x7D
0x05
0x20

VID=0 Value(Default)
0x00
0x02
0x0B
0xE3
0x23
0x0D
0x96
0x8C
0x5A
0x50
0xE8
0xA9
0xE8
0xA3
0xF2
0x63
0x4C
0xE0
0xC4
0xC6
0x05
0x05
0x94
0xD9

Opt. Value(Modify)
0x5A
0x03
0x09
0x23
0x1F
0x0F
0x78
0x6E
0x50
0x46
0xC8
0x29
0x88
0x9F
0x72
0x60
0x8C
0x60
0x52
0x42
0x23
0x46
0xD2
0x55
0xA9
0x2E

Delay 50ms
0x20
0x05
0x7F
0x14
0x19
0x1A
0x26
0x7F
0x09

0x00
0x14
0xA6
0x89
0x0C
0x00
0x00

0x2F
0xB8
0x01
0x28
0x99
0x09
0x10
0x00
0x00

Note
(Disable write protect)Must-be process! To adjust sensor exposure
timing.
(Switch to Bank1)(Switch to Bank0)(Enable write protect)*Please reserve memory space for future.
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

32
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Appendix B: Algorithm Enhancement
Applies: PAW3204LU-TJDU
The following algorithm is for performance enhancement. PixArt provides these algorithms for the user toimplement in firmware.
Algorithm

ReferenceCPI Scaling

Appendix C*Recommends follow the flow chart to apply CPI Scaling Algorithm.

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

33
V1.0, Mar. 2015

PixArt Imaging Inc.
PAW3204LU-TJDU

Wireless Optical Mouse Sensor

Appendix C: CPI Scaling Algorithm
Summary:
For critical count per inch, known as CPI, requirement, PixArt provides this algorithm to scale CPI.

Here is the reference code:(parameters definition)
INT iMCU_SumX = 0;
INT iMCU_SumY = 0;
INT iMCU_RX = 0;
INT iMCU_RY = 0;
INT iScalingDivX = 128;
INT iScalingDivY = 128;
extern void CPI_Scaling(INT, INT);(CPI scaling algorithm code)
void CPI_Scaling(INT iScalingMulX, INT iScalingMulY){
iMCU_SumX = iMCU_RX + x_postion*iScalingMulX;
iMCU_SumY = iMCU_RY + y_postion*iScalingMulY;

x_postion = iMCU_SumX/iScalingDivX;
y_postion = iMCU_SumY/iScalingDivY;iMCU_RX = iMCU_SumX - x_postion*iScalingDivX;iMCU_RY = iMCU_SumY - y_postion*iScalingDivY;}(Call CPI scaling algorithm)
CPI_Scaling(120, 128);//adjustable

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

34
V1.0, Mar. 2015