sdcard_spi: Add a CMD17 test-case.
[sigrok-test.git] / decoder / test / sdcard_spi / test.conf
1 test xmore_512mb_get_csd
2         protocol-decoder spi channel cs=0 channel mosi=1 channel clk=2 channel miso=3
3         protocol-decoder sdcard_spi
4         stack spi sdcard_spi
5         input sdcard/spi_mode/xmore_512mb/xmore_512mb_get_csd.sr
6         output sdcard_spi annotation match xmore_512mb_get_csd.output
7
8 test data_transfer_start_snippet
9         protocol-decoder spi channel cs=0 channel mosi=1 channel clk=3 channel miso=2
10         protocol-decoder sdcard_spi
11         stack spi sdcard_spi
12         input sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr
13         output sdcard_spi annotation match data_transfer_start_snippet.output
14
15 test data_transfer_complete_simulated
16         protocol-decoder spi channel cs=0 channel mosi=1 channel clk=3 channel miso=2
17         protocol-decoder sdcard_spi
18         stack spi sdcard_spi
19         input sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr
20         output sdcard_spi annotation match data_transfer_complete_simulated.output
21
22 test data_transfer_complete_real
23         protocol-decoder spi channel cs=3 channel mosi=0 channel clk=2 channel miso=1
24         protocol-decoder sdcard_spi
25         stack spi sdcard_spi
26         input sdcard/spi_mode/write_single_block/data_transfer_complete_real.sr
27         output sdcard_spi annotation match data_transfer_complete_real.output
28
29 test cmd17
30         protocol-decoder spi channel cs=3 channel mosi=0 channel clk=2 channel miso=1
31         protocol-decoder sdcard_spi
32         stack spi sdcard_spi
33         input sdcard/spi_mode/cmds/cmd17.sr
34         output sdcard_spi annotation match cmd17.output