PAN101BOI-204 [PIXART]
CMOS OPTICAL NAVIGATION SENSOR; CMOS光学导航传感器型号: | PAN101BOI-204 |
厂家: | PIXART IMAGING INC. |
描述: | CMOS OPTICAL NAVIGATION SENSOR |
文件: | 总24页 (文件大小:286K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PAN101B
PAN101B CMOS OPTICAL NAVIGATION SENSOR
General Description
The PAN101B is a low cost CMOS process optical navigation sensor with DSP integration chip that serves as a
non-mechanical motion estimation engine for implementing a computer mouse.
Features
Key Specification
ꢀ
ꢀ
ꢀ
ꢀ
ꢀ
Single 3.0 volt power supply
Wide operating supply range
2.7V~3.6V
Optical motion estimation technology
Complete 2-D motion sensor
No mechanical parts
Power Supply
Optical Lens
System Clock
Speed
1:1
Accurate motion estimation over a wide
range of surfaces
18.432 MHz
16+ inches/sec
400/800 cpi
ꢀ
High speed motion detection up to 16+
inches/sec
Resolution
Frame Rate
ꢀ
ꢀ
ꢀ
High resolution up to 800cpi
Shutdown pin for low power dissipation.
3000 frames/sec
Power saving mode during times of no
movement
<15mA @Mouse moving (Normal)
< 5mA @Mouse not moving (sleep1)
< 2mA @Mouse not moving (sleep2)
< 100uA @Shutdown mode
ꢀ
ꢀ
Serial Interface for programming and data Operating
transfer
Current
I/O pin 5.0 volt tolerance
Package
Shrunk DIP20
Ordering Information
Order number
PAN101BOI-204
PAN101BOI-208
PAN101BSI-204
PAN101BSI-208
I/O
Resolution
Open-drain output
Open-drain output
CMOS output
400 cpi
800 cpi
400 cpi
800 cpi
CMOS output
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.
1
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
1. Pin Description
Pin No. Name
Type
Definition
VSS_LED
LED
1
2
GND
I/O
LED ground
LED control
OSCOUT
OSCIN
VSSD
VSSA
VDDD
VDDA
VRB
3
4
5
6
7
8
9
10
11
OUT
IN
GND
GND
PWR
PWR
BYPASS
BYPASS
Resonator output
Resonator input
Chip digital ground
Chip analog ground
Chip digital power VDD, 3.0V
Chip analog power VDD, 3.0V
Analog voltage reference
Analog voltage reference
Analog voltage reference
VRT
VAY
BYPASS
Open-drain OUT (PAN101BOI)
CMOS OUT (PAN101BSI)
-
Open-drain OUT (PAN101BOI)
CMOS OUT (PAN101BSI)
Open-drain OUT (PAN101BOI)
CMOS OUT (PAN101BSI)
-
Open-drain OUT (PAN101BOI)
CMOS OUT (PAN101BSI)
IN
Open-drain I/O (PAN101BOI)
CMOS I/O (PAN101BSI)
IN
XA
NC
XB
12
13
14
XA quadrature output
No connection
XB quadrature output
YA
15
16
17
18
19
20
YA quadrature output
No connection
NC
YB
YB quadrature output
Serial interface clock
SCLK
SDIO
PD
Serial interface bi-direction data
Power down pin, active high
20
1
LB
RB
+ Y
1
20
11
10
11
10
+ X
Figure 1. Top View Pinout
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.
Figure 2. Top View of Mouse
2
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
2. Block Diagram and Operation
LED
VSS_LED
LED
DRIVE
POWER ON
RESET
VDDD
3V
POWER
VDDA
VSSD
VSSA
CMOS
IMAGE
SENSOR
PD
XA
XB
YA
YB
QUADRATURE
OUTPUTS
VRB
VRT
VAY
DIGITAL
SIGNAL
VOLTAGE
REFERENCE
PROCESSOR
OSCIN
OSCOUT
SERIAL
SCLK
SDIO
SERIAL
OSCILLATOR
CONTROL REGISTER
RESONATOR
INTERFACE
INTERFACE
Figure 3. Block Diagram
The PAN101B is a low cost CMOS-process optical navigation sensor with DSP integration chip that
serves as a non-mechanical motion estimation engine for implementing a computer mouse. It is based on
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
sensor is in a 20 pin optical package. The output format is two-channel quadrature (X and Y direction),
which emulates encoder phototransistors. The current X and Y information are also available in registers
accessed via a serial port.
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.
3
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
3. Registers and Operation
The PAN101B 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
R
Default
Data Type
0x00 Product_ID
0x02 Eight bits number with the product identifier.
0x01 Reserved
-
-
-
-
-
-
Reserved for future.
Bit field
0x02 Motion_Status
0x03 Delta_X
R
R
Eight bits 2’s complement number.
Eight bits 2’s complement number.
Bit field
0x04 Delta_Y
R
0x05 Operation_Mode
R/W
3.2 Register descriptions
0x00
Product_ID
Bit
7
6
5
4
3
2
1
0
Field
Usage
PID7
PID6
PID5
PID4
PID3
PID2
PID1
PID0
The value in this register can not change, it can be used to verify that the serial communications link
is OK.
0x01
Reserved
Bit
7
6
5
4
3
2
1
0
Field
Reserved
Usage
Reserved 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.
4
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
0x02
Motion_Status
Bit
7
6
5
4
3
2
1
0
Field
Usage
Motion
Reserved Reserved
DYOVF
DXOVF
Reserved Reserved
RES
Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If
so, then the user should read registers 0x03 and 0x04 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 Description
Motion since last report or PD
0 = No motion (Default)
Motion
1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers
Reserved
Reserved
Reserved for future
Reserved for future
Motion Delta Y overflow, ∆Y buffer has overflowed since last report
0 = no overflow (Default)
DYOVF
DXOVF
1 = Overflow has occurred
Motion Delta X overflow, ∆X buffer has overflowed since last report
0 = no overflow (Default)
1 = Overflow has occurred
Reserved
Reserved
Reserved for future
Reserved for future
Resolution in counts per inch
RES
0 = 800 (Default @ PAN101BXX-208)
1 = 400 (Default @ PAN101BXX-204)
0x03
Bit
Delta_X
7
6
5
4
3
2
1
0
Field
Usage
X7
X6
X5
X4
X3
X2
X1
X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128~+127.
0x04
Bit
Delta_Y
7
6
5
4
3
2
1
0
Field
Usage
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears
the register. Report range –128~+127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
5
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
0x05
Operation_Mode
Bit
7
6
5
4
3
2
1
0
Field
Reserved
XY_enh
RES
Slp_enh
Slp2au
Slp2mu
Slp1mu
Wakeup
Usage
Register 0x05 allows the user to change the operation of the 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
“1x100”=Force enter sleep23
“1x010”=Force enter sleep13
“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 1 sec not moving during normal mode, the chip will
enter sleep1 mode, and keep on sleep1 mode until moving is detected or wakeup is asserted.
2. Enable sleep mode full function, that is 3 modes will be used, normal mode, sleep1 mode and
sleep2 mode. After 1 sec not moving during normal mode, chip will enter sleep1 mode, and keep
on sleep1 mode until moving is detected or wakeup is asserted.
And after 90 sec not moving during sleep1 mode, the chip will enter sleep2 mode, and keep on
sleep2 mode until detect moving or force wakeup to normal mode.
Mode
Sleep1
Sleep2
Sampling rate @3000frame/sec
30/sec
3/sec
Active duty cycle @3000frame/sec
20%
2%
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 bits, which was set to 1, will be reset
to 0 by internal signal.
Notes
Field Name Description
Reserved
XY_enh
Reserved for future, Please set Reserved= “0” (Default)
XY quadrature output enable/disable
0=disable
1= enable (Default)
Resolution in counts per inch
0 = 800 (Default @ PAN101BXX-208)
1 = 400 (Default @ PAN101BXX-204)
Sleep mode enable/disable
0 = Disable
RES
Slp_enh
Slp2au
1 = Enable (Default)
Automatic enter sleep2 mode enable/disable
0 = Disable
1 = Enable (Default)
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 sleep2 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”
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.
6
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
4. Specifications
Absolute Maximum Ratings
Symbol
TSTG
Parameter
Min
-40
Max
85
Unit
Notes
℃
Storage temperature
TA
Operating Temperature
-15
55
°C
For 10 seconds, 1.6mm below
seating plane.
Lead Solder Temp
DC supply voltage
260
4.0
2
°C
V
VDD
ESD
VIN
-0.5
-0.5
All pins, human body model MIL
883 Method 3015
PD, SDIO, SCLK, XA, XB, YA, YB
kV
V
DC input voltage
5.5
Recommend Operating Condition
Symbol Parameter
Operating
Min.
Typ.
Max.
Unit
Notes
TA
Temperature
0
40
°C
VDD
VN
Power supply voltage 2.7
Supply noise
3.0
3.6
100
V
mV
Peak to peak within 0-100 MHz
FCLK
FR
Clock Frequency
Frame Rate
18.432 24.576
MHz Set by ceramic resonator
Frames/s 4000Frames/s @ FCLK=24.567MHz
3000
4000
Serial Port Clock
Frequency
SCLK
FCLK /4
MHz
Distance from lens
Z
reference plane to
surface
2.1
0
2.2
16
2.3
mm
Refer to Figure 4.
S
A
R
Speed
Acceleration
Resolution
in/sec
g
cpi
3.9
400
800
Package Lid
Lens
Z
OBJECT SURFACE
Figure 4. Distance from Lens Reference Plane to Surface
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.
7
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
AC Operating Condition
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD =3.0 V
Symbol
Parameter
Min. Typ.
Max. Unit
Notes
tPD
Power Down
0.5
us From PD↑. (Refer to Figure 5.)
Pulse width to reset the serial interface.
tPDW
tPUPD
tPU
PD Pulse Width
1
us
(Refer to Figure 5.)
From PD↓ to valid quad signals
Power Up from PD↓
42.8
41.7
ms
200usec + 128frames. (Refer to Figure 5.)
From VDD↑ to valid quad signals.
Power Up from VDD
↑
ms
400usec + 124frames.
Minimum hold time for valid data. (Refer to
tHOLD
SDIO read hold time
3
us
Figure 14.)
After tCOMPUTE, all registers contain valid
data from first image after PD↓. Note that
an additional 128 frames for Auto-Exposure
tCOMPUTE Data delay after PD↓
4
ms
(AE) stabilization may be required if mouse
movement occurred while PD was high.
(Refer to Figure 8.)
500, 5
25, 20
500, 5
25, 20
ns Pull-up 10Kohm (PAN101BOI)
Rise and Fall Times:
t r , t f
SDIO
ns CL = 30pf
ns Pull-up 10Kohm (PAN101BOI)
ns CL = 30pf (PAN101BSI)
ns LED bin:N ; R1=100ohm
(PAN101BSI)
Rise and Fall Times:
t r , t f
XA, XB, YA, YB
Rise and Fall Times:
t r , t f
ILED
10, 10
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.
8
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
DC Electrical Characteristics
Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, V DD =3.0 V
Symbol
Parameter
Min. Typ. Max. Unit
Type: PWR
Supply Current
IDD
IDD
15
5
mA XA, XB, YA, YB, SCLK, SDIO = no load
Mouse moving (Normal)
Supply Current
mA
Mouse not moving (sleep1)
Supply Current
IDD
2
mA
Mouse not moving (sleep2)
Supply Current
IDDPD
100
uA PD, SCLK, SDIO = high
(Power Down)
Type: SCLK, SDIO, PD
VIH Input voltage HIGH
VIL Input voltage LOW
VOH Output voltage HIGH
VOL Output voltage LOW
Type: OSCIN
2
0.8
V
V
V
0.8 VDD
@I OH = 3mA (SDIO only)
@I OL = 3mA (SDIO only)
0.2VDD
VIH Input voltage HIGH
VIL Input voltage LOW
Type: LED
2
V
V
When driving from an external source
When driving from an external source
0.8
VOL Output voltage LOW
Type: XA, XB, YA, YB
VOH Output voltage HIGH
VOL Output voltage LOW
150
mV @I OL = 25mA
0.8 VDD
V
V
@I OH = 3mA
@I OL = 3mA
0.2VDD
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.
9
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
5. PD Pin Timing
PD
tPDW
1us,min
IDD
200us
128frames
tPD
0.5us
tCOMPUTE
4ms,min
tPUPD
42.8ms
Figure 5. PD minimum pulse width
PD
tPDW
1us,min
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
2
3
4
5
6
7
8 9
SCLK
SDIO
Hi-Z
ADDRESS(R/W)
DATA
Figure 6. Forcing PAN101B SDIO line to the Hi-Z state
tPDW
1us,min
PD
1
0
1
1
2
1
3
1
4
1
5
1
6
1
2
3
4
5
6
7
8
9
SCLK
SDIO
1
Hi-Z
ADDRESS(R/W)
DATA
Figure 7. Forcing PAN101B full chip reset and SDIO line to the Hi-Z state
PD
tPDW
1us,min
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
SCLK
Address=0x02 Data=0x80
Address=0x04 Data=0xFF
SDIO
tCOMPUTE
4ms,min
Figure 8. Read the motion data from PAN101B
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.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
6. Quadrature Mode
The quadrature state of the PAN101B tells mouse controller which direction the mouse is moving in. The
output format is two channels quadrature (X and Y direction), which emulates encoder phototransistors.
The DSP generates the ꢀx and ꢀy relative displacement values that are converted into two channel
quadrature signals. PAN101B support 400cpi, 800cpi, two types of resolution. The following diagrams
show the timing for positive X motion, to the right or positive Y motion, up.
6.1 Quadrature Output Timing
X motion to the right
Y motion up
XA/YA
83.3us
83.3us
83.3us
83.3us
83.3us
83.3us
FOUR
THREE
TWO
XB/YB
XA/YA
83.3us
166.7us
XB/YB
XA/YA
250us
XB/YB
XA/YA
333.3us
ONE
XB/YB
333.3us @ 3000frames/second
Figure 9. Quadrature Output Timing
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.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
6.2 Quadrature Output State Machine
The following state machine shows the states of the quadrature output pins. The three things to note are
that state 0 is entered after a power on reset. While the PD pin is asserted, the state machine is halted.
Once PD is de-asserted, the state machine picks up from where it left off. During times of mouse no
movement will entry power saving mode, until mouse was moved.
PD
POWER ON RESET
STATE 0
( 0 , 0 )
X/Y output
STATE
XA/YA XB/YB
0
1
2
3
0
0
1
1
0
1
1
0
STATE 1
( 0 , 1 )
STATE 3
( 1 , 0 )
PD
PD
STATE 2
( 1 , 1 )
PD
Figure 10. State Machine
6.3 Quadrature Output Waveform
The following diagrams show the waveform of the two channel quadrature outputs. If the X, Y is
motionless, the (XA, XB), (YA, YB) will keep in final state. Each state change (ex. STATE2 → STATE3)
is one count.
X MOTION TO THE RIGHT
Y MOTION UP
( + DIRECTION )
XA/YA
XB/YB
STATE3
( 1 , 0 )
STATE0
( 0 , 0 )
STATE1
( 0 , 1 )
STATE2
( 1 , 1 )
STATE3
( 1 , 0 )
STATE0
( 0 , 0 )
+
1
+
1
+
1
+
1
+
1
MOTION COUNT
X MOTION TO THE LEFT
Y MOTION DOWN
( - DIRECTION )
XA/YA
XB/YB
STATE1
( 0 , 1 )
STATE0
( 0 , 0 )
STATE3
( 1 , 0 )
STATE2
( 1 , 1 )
STATE1
( 0 , 1 )
STATE0
( 0 , 0 )
-
1
-
1
-
1
-
1
-
1
MOTION COUNT
Figure 11. Quadrature Output Waveform
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
12
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
7. Serial Interface
The synchronous serial port is used to set and read parameters in the PAN101B, and can be used to read
out the motion information instead of the quadrature data pins.
SCLK: The serial clock line. It is always generated by the host micro-controller.
SDIO: The serial data line used for write and read data.
PD:
A third line is sometimes involved. PD (Power Down pin) is usually used to place the PAN101B
in a low power mode to meet USB suspend specification. PD can also be used to force re-
synchronization between the micro-controller and the PAN101B in case of an error.
7.1 Transmission Protocol
The transmission protocol is a two-wire link, half duplex protocol between the micro-controller and
PAN101B. All data changes on SDIO are initiated by the falling edge on SCLK. The host micro-
controller always initiates communication; the PAN101B 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 bit7 as its MSB to indicate data direction. The second byte contains the data.
SECOND BYTE
FIRST BYTE
R /W
(1 BIT)
ADDRESS (7 BIT)
DATA (8 BIT)
LSB
MSB
LSB MSB
Figure 12. Transmission Protocol
7.1.1 Write Operation
A write operation, which means that data is going from the micro-controller to the PAN101B, is always
initiated by the micro-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 micro-controller changes SDIO on falling edges of SCLK. The PAN101B
reads SDIO on rising edges of SCLK.
SCLK
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
DON'T
CARE
DON'T
CARE
SDIO
1
A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0
SDIO driven by Micro-controller
Figure 13. Write Operation
7.1.2 Read Operation
A read operation, which means that data is going from the PAN101B to the micro-controller, is always
initiated by the micro-controller and consists of two bytes. The first byte contains the address, is written
by the micro-controller, and has a “0” as its MSB to indicate data direction. The second byte contains the
data and is driven by the PAN101B. The transfer is synchronized by SCLK. SDIO is changed on falling
edges of SCLK and read on every rising edge of SCLK. The micro-controller must go to a high Z state
after the last address data bit. The PAN101B will go to the high Z state after the last data bit.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
13
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
SCLK
SDIO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Hi-z
Hi-z
DON'T
CARE
R/W bit of next address
0
A6 A5 A4 A3 A2 A1 A0
D7 D6 D5 D4 D3 D2 D1 D0
SDIO driven by Micro-controller
SDIO driven by PAN101B
Note "A"
Note "B"
1. Micro-controller send address to PAN101B.
2. Micro-controller release and set SDIO to Hi-Z after the last address bit.
Note "A"
SCLK
SDIO
8
9
7
A1
Hi-Z
A0
D7
tHOLD
3us,min
1. PAN101B send data to Micro-controller .
2. PAN101B release and set SDIO to Hi-Z after the last data bit.
Note "B"
SCLK
SDIO
16
1
Hi-Z
R/W bit of next address
D0
SDIO driven by micro-controller
Figure 14. Read Operation
7.2 Re-Synchronous Serial Interface
There are times when the SDIO line from the PAN101B should be in the Hi-Z state. If the microprocessor
has completed a write to the PAN101B, the SDIO line is Hi-Z, since the SDIO pin is still configured as an
input. However, if the last operation from the microprocessor was a read, the PAN101B will hold the D0
state on SDIO until a rising edge of SCLK. To place the SDIO pin into the Hi-Z state, first raise the PD
pin, and then toggle the SCLK line from high to low to high. The SDIO line will now be in the Hi-Z state.
The PAN101B and the micro-controller might get out of synchronization due to following condition.
7.2.1 USB suspend
Termination of a transmission by the micro-controller may sometimes be required (for example, due to a
USB suspend interrupt during a read operation). To accomplish this the micro-controller should raise PD.
The PAN101B will not write to any register and will reset the serial port (but nothing else) and be
prepared for the beginning of future transmissions after PD goes low.
7.2.2 Firmware flaws error, or others error
The PAN101B and the micro-controller might get out of synchronization due to micro-controller
firmware flaws. The PD pin can stay high, with the PAN101B in the shutdown state, or the PD pin can be
lowered, returning the PAN101B to normal operation.
If the microprocessor and the PAN101B get out of sync, then the data either written or read from the
registers will be incorrect. In such a case, an easy way to solve this is to raise PD to re-sync the parts after
an incorrect read. The PAN101B will reset the serial port but will not reset the registers and be prepared
for the beginning of a new transmission
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
14
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
7.2.3 Power on problem
The problem occurs if the PAN101B powers up before the microprocessor sets the SCLK and SDIO lines
to be output.
7.2.4 ESD events
The PAN101B and the micro-controller might get out of synchronization due to ESD events.
If the PAN101B and the micro-controller might get out of synchronization due to power on problem or
ESD events. An easy way to solve this is to reset PAN101B.
Power on reset to resync PAN101B
=> Reset full chip and SDIO line set to Hi-Z state)
VDD
1us,min
PD
SCLK
SDIO
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
Hi-Z
ADDRESS(R/W)
DATA
Figure 15. Power on reset to resync. PAN101B
7.3 Collision detection on SDIO
The only time that the PAN101B drives the SDIO line is during a READ operation. To avoid data
collisions, the micro-controller should release SDIO before the falling edge of SCLK after the last address
bit. The PAN101B begins to drive SDIO after the next falling edge of SCLK. The PAN101B release
SDIO of the rising SCLK edge after the last data bit. The micro-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 micro-controller should not leave SDIO floating until the next transmission (although that
will not cause any communication difficulties).
7.4 Error detection and recovery
1.The micro-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 micro-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.
15
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
8. Referencing application circuit
8.1 Recommended typical application using serial interface
T U V O
T U V O
G N
N V I
D
G N
D
N V I
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.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
Figure 18. Example printed circuit board layout. (PAN101BOI V.S CY7C63723-PC)
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
17
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
8.2 Application circuit using quadrature output pins
T U V O
T U V O
D
G N
D
G N
N V I
N V I
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.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
Figure 21. Example printed circuit board layout. (PAN101BOI V.S CY7C63723-PC)
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
19
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
8.3 Typical application for PS/2 interface
T U V O
T U V O
D
G N
D
G N
N V I
N V I
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.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
Figure 24. Example printed circuit board layout. (PAN101BOI V.S EM84510FP)
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
21
V1.4, FEB. 2003
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
8.4 PCB layout consideration
1. Caps for pins 9, 10 MUST have trace lengths LESS than 5mm.
2. The ground wires of pin1(VSS_LED), pin5(VSSD), pin6(VSSA) must be separated from PS2/USB
connector ground node in PCB layout.
3. VSS_LED and VSSD must have trace lengths less than 100mm, VSSA must have trace lengths less
than 80mm, and typical trace width is 30mil.
4. The trace lengths of OSCOUT, OSCIN must less than 6mm.
PS2/USB onnector
D+/SCLK
PIN1
(VSS_LED)
D-/SDATA
DGND
VCC
PIN5
(VSSD)
GND
DGND
PIN6
(VSSA)
AGND
Figure 25. PCB layout consideration
8.5 Recommended value for R1
Radiometric intensity of LED
Bin limits (mW/Sr at 20mA)
Bin
N
P
Min
14.7
17.7
21.2
25.4
30.5
36.6
Max
17.7
21.2
25.4
30.5
36.6
43.9
Q
R
S
T
Note: Tolerance for each bin will be ± 15%
@5V:
LED bin
N
P
Q
R
S
T
R1 value (ohm)
100
100
100
120
120
120
Figure 26. Recommended value for R1
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
22
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
9. Package Information
9.1 Package Outline Drawing
20 19 18 17 16 15 14 13 12 11
1
2
3
4
5
6
7
8
9
10
19.30
0.760
9.98
0.393
1.02
0.040
3.20
0.126
5.08
0.200
0.254
0.010
1.46
1.778
0.070
0.457
0.018
0.0575
5 - 12
14.22
0.560
5.715
0.225
13.589
0.535
11.938
4.064
0.470
0.160
1
2
3
4
5
6
7
8
9
10
5.080
0.200
4.55
0.179
NOTES:
1. All dimensions in MM/INCH.
20 19 18 17 16 15 14 13 12 11
2. All dimensions tolerance: +/- 0.10mm
3. Maxmumflash: +0.2mm
0.800
0.031
5.56
0.2189
Figure 27. 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
23
V1.4, FEB. 2003
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
9.2 Recommended PCB Mechanical Cutouts and Spacing
4.064
0.160
27.153
1.069
2.286
0.090
7.544
0.297
26.010
1.024
10.998
0.433
6.985
0.275
0 ref.
16.942
0.667
4.445
0.175
1.194
0.047
0.711
0.028
Optical Center
0 ref.
1.194
0.047
4.445
0.175
6.985
0.275
0.711
0.028
7.544
0.297
3.251
0.128
All Dimensions : mm / inch
Figure 28. Recommended PCB Mechanical Cutouts and Spacing
10. Update history
Version Update
Date
07/02/2002
V1.0
Creation, 1st version
8.4 PCB layout consideration
V1.1
08/29/2002
Figure 27. Package Outline Drawing
4. Specifications - DC Electrical Characteristics
Figure 27. Package Outline Drawing
3.2 Register descriptions
V1.2
V1.3
V1.4
10/02/2002
10/14/2002
02/10/2003
8.4 PCB layout consideration
Figure 25. PCB layout consideration
Figure 27. 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
24
V1.4, FEB. 2003
相关型号:
©2020 ICPDF网 联系我们和版权申明