X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decoder%2Ftest%2Fspi%2Ftest.conf;h=f720a4539f0f373a0f3c291df97395b8f1c898c8;hb=97b2e74f29fa79c15ece5844fd99aa2dd0f6d0b0;hp=fcceea8f14884f9d935dc2e07db6ff4c7f4fbaef;hpb=7974d8f42cc1629aa852b9c535b718d4fc8773e0;p=sigrok-test.git diff --git a/decoder/test/spi/test.conf b/decoder/test/spi/test.conf index fcceea8..f720a45 100644 --- a/decoder/test/spi/test.conf +++ b/decoder/test/spi/test.conf @@ -44,10 +44,52 @@ 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 exception_samplerate - protocol-decoder spi - input misc/no-samplerate.sr - output spi exception match SamplerateError +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 cc1101-burst-read + protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5 + input spi/cc1101/cc1101-burst-read.sr + output spi annotation match cc1101-burst-read.output + output spi python match cc1101-burst-read.python + output spi binary class miso match cc1101-burst-read.bin_miso + output spi binary class mosi match cc1101-burst-read.bin_mosi + +test adf4351-set-4000mhz + protocol-decoder spi channel cs=0 channel mosi=1 channel clk=2 + input spi/adf4351/set-4000mhz.sr + output spi annotation match adf4351-set-4000mhz.output + output spi python match adf4351-set-4000mhz.python + output spi binary class miso match adf4351-set-4000mhz.bin_miso + output spi binary class mosi match adf4351-set-4000mhz.bin_mosi test exception_channel protocol-decoder spi channel cs=1 channel clk=0