From bc89175243861e14e21faa5d57f9986baf4019d8 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 11 Apr 2020 00:24:01 +0200 Subject: ad5626: Move into the "dac" subdirectory. This is not technically SPI as such (just a sync/clocked protocol). It's a custom DAC protocol with SCLK, SDIN, CS#, CLR#, and LDAC# pins. --- dac/ad5626/README | 34 ++++++++++++++++++++++++++++++++++ dac/ad5626/ad5626_write_dac.sr | Bin 0 -> 11379 bytes 2 files changed, 34 insertions(+) create mode 100644 dac/ad5626/README create mode 100644 dac/ad5626/ad5626_write_dac.sr (limited to 'dac') diff --git a/dac/ad5626/README b/dac/ad5626/README new file mode 100644 index 0000000..32d18da --- /dev/null +++ b/dac/ad5626/README @@ -0,0 +1,34 @@ +------------------------------------------------------------------------------- +Analog Devices AD5626 +------------------------------------------------------------------------------- + +This is a set of example captures of an Analog Devices AD5626 12-bit nanoDAC. + +Details: +https://www.analog.com/media/en/technical-documentation/data-sheets/AD5626.pdf + + +Logic analyzer setup +-------------------- + +The logic analyzer used was ADALM2000 (at 5MHz): + + Probe AD5626 + ------------------ + 0 SCLK + 1 SDIN + 2 CS# + + +Probing +------- + +The sigrok command line used was: + + sigrok-cli -i - -I binary:numchannels=16:samplerate=5mhz -C 0-2 -o + + +ad5626_write_dac.sr +------------------- + +m2kcli digital auto -c buffer_size=10000 nb_samples=5000000 format=binary | sigrok-cli -i - -I binary:numchannels=16:samplerate=5mhz -o ad5626_write_dac.sr -C 0-2 diff --git a/dac/ad5626/ad5626_write_dac.sr b/dac/ad5626/ad5626_write_dac.sr new file mode 100644 index 0000000..dd8a8b5 Binary files /dev/null and b/dac/ad5626/ad5626_write_dac.sr differ -- cgit v1.2.3-54-g00ecf