summaryrefslogtreecommitdiff
path: root/mouse_sensors/avago_adns_2051/README
blob: a5f2c87ad410de07afc74ef03993896d445fa1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-------------------------------------------------------------------------------
Avago ADNS-2051
-------------------------------------------------------------------------------

This is set of examples of the communication of the Avago ADNS-2051 optical
mouse sensor.

Details:
http://www.avagotech.com/docs/AV02-1364EN (PDF)
http://www.avagotech.com/pages/en/navigation_interface_devices/navigation_sensors/led-based_sensors/adns-2051/


Logic analyzer setup
--------------------

The logic analyzer used was a Saleae Logic (at 1MHz):

  Probe       Avago ADNS-2051 pin
  -------------------------------
  0 (black)   SCLK
  1 (brown)   XA
  2 (red)     XB
  3 (orange)  YB
  4 (yellow)  YA
  5 (green)   XY_LED
  6 (blue)    PD
  7 (purple)  SDIO


Data
----

The sigrok command line used was:

  sigrok-cli --driver fx2lafw --config samplerate=1mhz \
             -p 0=SCLK,1=XA,2=XB,3=YB,4=YA,5=XY_LED,6=PD,7=SDIO \
             --time <time> -o <file>