blob: 23925f1f65f824b680f7c6c5bcde624e7eae5052 (
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
39
40
41
42
43
44
45
46
47
48
49
|
-------------------------------------------------------------------------------
Avago ADNS-5020
-------------------------------------------------------------------------------
This directory contains a capture of the communication between a Cypress
CY7C63813 and an Avago ADNS-5020 optical mouse sensor.
This is the internals of a fairly generic Dell optical mouse.
It is not nearly a complete sample of what types of traffic are possible,
specifically, it doesn't include a capture of "Burst Mode" traffic, which the
mouse firmware doesn't appear to use, even though Avago "highly recommends"
that burst mode be used for all devices.
adns5020-cy7c63813_init.sr
--------------------------
Captures the traffic from power on of the device (USB plug in) for 1 second.
Traces the initialization and reset pins as well as some general traffic.
Logic analyzer setup
--------------------
The logic analyzer used was a generic Saleae Logic clone (at 6MHz).
Avago documents max speed as 1MHz. 6MHz is used to try and avoid catching
any glitches on CS.
Probe Pin Description
--------------------------
0 VDD Used to trigger sampling
3 SDIO Bidir, but we use the MOSI stack from SPI
4 SCK SPI clock
5 NCS Chip select
6 NRESET Chip reset
7 XY_LED Chip LED control, not used by this configuration
Data
----
The sigrok command line used was:
sigrok-cli -d fx2lafw --config samplerate=6M --time 1s \
-o adns5020-cy7c63813_init.sr -t VDD=r \
--channels 3=SDIO,5=NCS,4=SCK,6=NRESET,7=XY_LED,0=VDD
|