]>
Commit | Line | Data |
---|---|---|
3ccaa316 MB |
1 | ------------------------------------------------------------------------------- |
2 | Maxim DS2408 1-Wire 8-Channel Addressable Switch | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a set of example captures of the 1-Wire traffic from a Maxim Integrated | |
6 | (previously Dallas Semiconductor) DS2408 1-Wire Addressable Switch. | |
7 | ||
8 | Details: | |
9 | https://datasheets.maximintegrated.com/en/ds/DS2408.pdf | |
10 | ||
11 | ||
12 | Logic analyzer setup | |
13 | -------------------- | |
14 | ||
15 | The waveform data was acquired using Rigol DS1074Z oscilloscope. | |
16 | ||
17 | Because of the currently unresolved libsigrok bug #1364 it can't be acquired | |
18 | directly using rigol-ds, so it was obtained using external tool and then | |
19 | loaded into PulseView with "Import Raw analog data without header". | |
20 | ||
21 | This method is described here: | |
22 | https://skyboo.net/2019/03/using-rigol-ds1074z-oscilloscope-under-linux-and-pulseview/ | |
23 | ||
24 | ||
25 | disable-test-mode.sr | |
26 | -------------------- | |
27 | ||
28 | This is the special "Disable Test Mode" command which should be issued on the | |
29 | power-on, for reference read "Power-up timing", page 38 of the datasheet. | |
30 | ||
31 | ||
32 | channel-access-write.sr | |
33 | ----------------------- | |
34 | ||
35 | A successful command for setting PIO outputs (channel access write). | |
36 | ||
37 | ||
38 | channel-access-write-fail.sr | |
39 | ---------------------------- | |
40 | ||
41 | Same command as above but the device is responding with 'Fail New State' (0xff) | |
42 | which informs about the error. | |
43 | ||
44 | ||
45 | read-pio-registers.sr | |
46 | --------------------- | |
47 | ||
48 | A function for reading device registers (where a target address is given). | |
49 | In this example the address 0x89 is read (PIO output-latch state register). |