]>
Commit | Line | Data |
---|---|---|
2c954388 UH |
1 | ------------------------------------------------------------------------------- |
2 | Dummy I2C writes | |
3 | ------------------------------------------------------------------------------- | |
5f09f8b6 | 4 | |
ad011ff3 | 5 | This is an example capture of some dummy I2C traffic, where the master writes |
47cd3c8f UH |
6 | to a slave (an RTC) at address 0x51 (or 0x2a, if the read/write bit is |
7 | included) in an infinite loop. The slave does not respond. | |
2c954388 UH |
8 | |
9 | ||
10 | Logic analyzer setup | |
11 | -------------------- | |
12 | ||
47cd3c8f | 13 | The logic analyzer used was a ChronoVu LA8 (at 1MHz): |
2c954388 UH |
14 | |
15 | Probe RTC chip pin | |
16 | ------------------------ | |
17 | 0 (green) SCL | |
18 | 1 (orange) SDA | |
2c954388 UH |
19 | |
20 | ||
21 | Data | |
22 | ---- | |
23 | ||
24 | This is what the decoded data should look like: | |
25 | ||
26 | - S Wr:0xa2 A 0x55 A 0x66 A P | |
27 | ||
28 | - The abbreviations used above: S = Start, Wr = Write, A = ACK, P = Stop | |
29 | ||
30 | The sigrok command line used was: | |
31 | ||
32 | sigrok-cli -d 0:samplerate=1mhz --samples 8388608 \ | |
33 | -p '1=SCL,2=SDA' -o a2_dummy_write.sr | |
095af1a5 | 34 |