From: Teo Perisanu Date: Tue, 17 Mar 2020 10:18:08 +0000 (+0200) Subject: Add dumps for ADXL345. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=34ecf301e7ed74c5ab530a01c867d04c8fb52b7d;p=sigrok-dumps.git Add dumps for ADXL345. Signed-off-by: Teo Perisanu --- diff --git a/spi/adxl345/README b/spi/adxl345/README new file mode 100644 index 0000000..b3cdc4f --- /dev/null +++ b/spi/adxl345/README @@ -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 + + +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 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 index 0000000..690724c Binary files /dev/null and b/spi/adxl345/adxl345_registers.sr differ