blob: d7fe4e76bd7bd5bc83796b2b1c63e5b42259ce4e (
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
|
-------------------------------------------------------------------------------
Dummy I2C writes
-------------------------------------------------------------------------------
This an example capture of some dummy I2C traffic, where the master writes
to a slave at address 0x51 (or 0x2a, if the read/write bit is included)
in an infinite loop. The slave does not respond.
Logic analyzer setup
--------------------
The logic analyzer used for capturing was a ChronoVu LA8 at a sample rate
of 1MHz. The logic analyzer probes were connected to the I2C pins like this:
Probe RTC chip pin
------------------------
0 (green) SCL
1 (orange) SDA
GND GND
Data
----
This is what the decoded data should look like:
- S Wr:0xa2 A 0x55 A 0x66 A P
- The abbreviations used above: S = Start, Wr = Write, A = ACK, P = Stop
The sigrok command line used was:
sigrok-cli -d 0:samplerate=1mhz --samples 8388608 \
-p '1=SCL,2=SDA' -o a2_dummy_write.sr
|