blob: b3cdc4f9362ff424adeba800715b801ad12484ff (
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
|
-------------------------------------------------------------------------------
Analog Devices ADXL345
-------------------------------------------------------------------------------
This is a set of example captures of an Analog Devices ADXL345 accelerometer.
Details:
https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf
Logic analyzer setup
--------------------
The logic analyzer used was ADALM2000 (at 2MHz):
Probe ADXL345
-------------------
0 CLK (Pin 4)
1 MOSI (Pin 2)
2 MISO (Pin 3)
3 CS# (Pin 1)
Probing
-------
The sigrok command line used was:
sigrok-cli -i - -I binary:numchannels=16:samplerate=2mhz -C 0-3 -o <file>
adxl345_registers.sr
--------------------
m2kcli digital auto -c buffer_size=10000 nb_samples=640000 format=binary | sigrok-cli -i - -I binary:numchannels=16:samplerate=2mhz -C 0-3 -o adxl345_registers.sr
adxl345_axis.sr
---------------
m2kcli digital auto -c buffer_size=10000 nb_samples=200000 format=binary | sigrok-cli -i - -I binary:numchannels=16:samplerate=2mhz -C 0-3 -o adxl345_axis.sr
|