]> sigrok.org Git - sigrok-dumps.git/commitdiff
Add dumps for ADXL345.
authorTeo Perisanu <redacted>
Tue, 17 Mar 2020 10:18:08 +0000 (12:18 +0200)
committerUwe Hermann <redacted>
Fri, 10 Apr 2020 15:10:42 +0000 (17:10 +0200)
Signed-off-by: Teo Perisanu <redacted>
spi/adxl345/README [new file with mode: 0644]
spi/adxl345/adxl345_axis.sr [new file with mode: 0644]
spi/adxl345/adxl345_registers.sr [new file with mode: 0644]

diff --git a/spi/adxl345/README b/spi/adxl345/README
new file mode 100644 (file)
index 0000000..b3cdc4f
--- /dev/null
@@ -0,0 +1,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
diff --git a/spi/adxl345/adxl345_axis.sr b/spi/adxl345/adxl345_axis.sr
new file mode 100644 (file)
index 0000000..25ef9a5
Binary files /dev/null and b/spi/adxl345/adxl345_axis.sr differ
diff --git a/spi/adxl345/adxl345_registers.sr b/spi/adxl345/adxl345_registers.sr
new file mode 100644 (file)
index 0000000..690724c
Binary files /dev/null and b/spi/adxl345/adxl345_registers.sr differ