ADNS-4000 Avago Technologies US Inc., ADNS-4000 Datasheet - Page 13

no-image

ADNS-4000

Manufacturer Part Number
ADNS-4000
Description
SENSOR OPTICAL MOUSE LP 8DIP
Manufacturer
Avago Technologies US Inc.
Datasheet

Specifications of ADNS-4000

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MOTION Function
MOTION output signal (pin 3) can be used as interrupt input to the microcontroller of the mouse to trigger the controller
to read the motion data from the sensor whenever there is motion detected by the sensor. The MOTION signal can be
confi gured to be level or edge triggered, active high or low by setting the bits in MOTION_CTRL register.
For active high level-triggered confi guration, the MOTION pin level will be driven high as long the MOTION bit in register
0x02 is set and there is motion data in DELTA_X and DELTA_Y registers ready to be read by the microcontroller. Once all
the motion data has been read, DELTA_X and DELTA_Y values become zero, MOTION bit is reset and the MOTION pin
level is driven low.
For active high edge-triggered confi guration, a pulse of 230us will be sent through the MOTION pin when there is mo-
tion detected by the sensor during rest modes. The pulse can be used as interrupt input to activate the microcontroller
from its sleep mode to enter into run mode to start polling the sensor for motion data by monitoring MOTION_ST bit
(set whenever there is valid motion data) in MOTION register (0x02) and reading DELTA_X and DELTA_Y registers until
MOTION_ST bit is reset.
Write Operation
Write operation, defi ned as data going from the micro-controller to the ADNS-4000, is always initiated by the micro-
controller and consists of two bytes. The fi rst byte contains the address (seven bits) and has a “1” as its MSB to indicate
write sequence. The second byte contains the data. The ADNS-4000 reads MOSI on rising edges of SCLK.
Figure 12. Write Operation
MOSI setup and hold time during write operation
Figure 13. MOSI setup
13
NCS
SCLK
MOSI
MISO
SCLK
MOSI
t
setup, MOSI
1
1
2
A 6
t
hold, MOSI
3
A 5
4
A 4
5
A 3
6
A 2
7
A 1
MOSI DRIVEN BY MICRO-CONTROLLER
8
A 0
9
D 7
10
D 6
11
D 5
12
D 4
13
D 3
14
D 2
15
D 1
16
D 0
1
1
2
A 6

Related parts for ADNS-4000