X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoder%2Ftest%2Fspi%2Ftest.conf;h=e604708e995d82e0106c5f5c26c7e64916920fe4;hb=e56d386c6187319c9d68496b71ff3338c9428d25;hp=fcceea8f14884f9d935dc2e07db6ff4c7f4fbaef;hpb=7974d8f42cc1629aa852b9c535b718d4fc8773e0;p=sigrok-test.git diff --git a/decoder/test/spi/test.conf b/decoder/test/spi/test.conf index fcceea8..e604708 100644 --- a/decoder/test/spi/test.conf +++ b/decoder/test/spi/test.conf @@ -44,10 +44,36 @@ 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 exception_channel protocol-decoder spi channel cs=1 channel clk=0