diff options
-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 |