diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-10-23 21:25:48 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-10-23 21:25:48 +0200 |
commit | 349d754f287085aa4dd748c7b00581ca1a0a6203 (patch) | |
tree | 54df0e5b3fc094b5cc2975282e352e96b0002453 /decoder/test/spi/test.conf | |
parent | 1269e32cdf5b07fef25d2e28c1a97eafbd270d21 (diff) | |
download | sigrok-test-349d754f287085aa4dd748c7b00581ca1a0a6203.tar.gz sigrok-test-349d754f287085aa4dd748c7b00581ca1a0a6203.zip |
spi: Add some test-cases for wordsize != 8.
Diffstat (limited to 'decoder/test/spi/test.conf')
-rw-r--r-- | decoder/test/spi/test.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/decoder/test/spi/test.conf b/decoder/test/spi/test.conf index fcceea8..8e7b669 100644 --- a/decoder/test/spi/test.conf +++ b/decoder/test/spi/test.conf @@ -44,6 +44,37 @@ test count_miso_lsb output spi python match spi_count_miso_lsb.python output spi binary class miso match spi_count_miso_lsb.bin_miso +test 9bit_spi + protocol-decoder spi channel cs=4 channel clk=2 channel mosi=5 option wordsize=9 + input spi/wordwidths/9bit_spi.sr + output spi annotation match 9bit_spi.output + output spi python match 9bit_spi.python + output spi binary class mosi match 9bit_spi.bin_mosi + +test 16bit_spi + protocol-decoder spi channel cs=12 channel clk=7 channel miso=9 channel mosi=8 option wordsize=16 + input spi/wordwidths/16bit_spi.sr + output spi annotation match 16bit_spi.output + output spi python match 16bit_spi.python + output spi binary class miso match 16bit_spi.bin_miso + output spi binary class mosi match 16bit_spi.bin_mosi + +test 40bit_spi + protocol-decoder spi channel cs=12 channel clk=7 channel miso=8 channel mosi=9 option wordsize=40 + input spi/wordwidths/40bit_spi.sr + output spi annotation match 40bit_spi.output + output spi python match 40bit_spi.python + output spi binary class miso match 40bit_spi.bin_miso + output spi binary class mosi match 40bit_spi.bin_mosi + +test 152bit_spi + protocol-decoder spi channel cs=12 channel clk=7 channel miso=9 channel mosi=8 option wordsize=152 + input spi/wordwidths/152bit_spi.sr + output spi annotation match 152bit_spi.output + output spi python match 152bit_spi.python + output spi binary class miso match 152bit_spi.bin_miso + output spi binary class mosi match 152bit_spi.bin_mosi + test exception_samplerate protocol-decoder spi input misc/no-samplerate.sr |