English
Language : 

PAN3101 Datasheet, PDF (16/22 Pages) Pixart Imaging Inc. – LOW COST CMOS OPTICAL MOUSE SENSOR
PixArt Imaging Inc.
PAN3101
CMOS Optical Mouse Sensor
SCLK
SDIO
DON'T
CARE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0
A6
A5
A4
A3
A2
A1 A0 Hi-z D7
D6
D5
D4
D3
D2
D1
D0 Hi-z
R/W bit of next address
SDIO driven by Micro-controller
SDIO driven by PAN3101
Note "A"
Note "A" 1. Micro-controller send address to PAN3101.
2. Micro-controller release and set SDIO to Hi-Z after the last address bit.
SCLK
7
SDIO
A1
8
A0
Hi-Z
tHOLD
3us,min
Note "B"
9
D7
Note "B" 1. PAN3101 send data to Micro-controller .
2. PAN3101 release and set SDIO to Hi-Z after the last data bit.
SCLK
16
SDIO
D0
1
Hi-Z
R/W bit of next address
SDIO driven by micro-controller
Figure 8. Read operation
5.2 Re-Synchronous Serial Interface
5.2.1 Power On Problem
The problem occurs if the PAN3101 powers up before the microprocessor sets the SCLK and SDIO lines
to be output.
5.2.2 ESD Events
The PAN3101 and the micro-controller might get out of synchronization due to ESD events.
If the PAN3101 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 waiting for watchdog timer timeout
5.3 Collision Detection on SDIO
The only time that the PAN3101 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 PAN3101 begins to drive SDIO after the next falling edge of SCLK. The PAN3101 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, the micro-controller should
not leave SDIO floating until the next transmission (although that will not cause any communication
difficulties).
5.4 Serial Interface Watchdog Timer Timeout
When there are only two pins to read register from PAN3101, and PD pin can’t be used to re-synchronous
function. If the microprocessor and the PAN3101 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 condition is to toggle the SCLK
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
V1.0 MAR. 2005