diff options
author | Teo Perisanu <Teo.Perisanu@analog.com> | 2020-03-17 12:18:08 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-04-10 17:10:42 +0200 |
commit | 34ecf301e7ed74c5ab530a01c867d04c8fb52b7d (patch) | |
tree | a42cee576e0158b60ded007f2ff296144af9a54f /spi/adxl345 | |
parent | 487d38ef2af1188f2b51bf815b39ab1c0058beae (diff) | |
download | sigrok-dumps-34ecf301e7ed74c5ab530a01c867d04c8fb52b7d.tar.gz sigrok-dumps-34ecf301e7ed74c5ab530a01c867d04c8fb52b7d.zip |
Add dumps for ADXL345.
Signed-off-by: Teo Perisanu <Teo.Perisanu@analog.com>
Diffstat (limited to 'spi/adxl345')
-rw-r--r-- | spi/adxl345/README | 41 | ||||
-rw-r--r-- | spi/adxl345/adxl345_axis.sr | bin | 0 -> 1083 bytes | |||
-rw-r--r-- | spi/adxl345/adxl345_registers.sr | bin | 0 -> 2503 bytes |
3 files changed, 41 insertions, 0 deletions
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 <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 Binary files differnew file mode 100644 index 0000000..25ef9a5 --- /dev/null +++ b/spi/adxl345/adxl345_axis.sr diff --git a/spi/adxl345/adxl345_registers.sr b/spi/adxl345/adxl345_registers.sr Binary files differnew file mode 100644 index 0000000..690724c --- /dev/null +++ b/spi/adxl345/adxl345_registers.sr |