summaryrefslogtreecommitdiff
path: root/decoder/test/sdcard_spi/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-15 18:29:39 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-15 20:17:10 +0200
commit9b2756b0bb19887f5e9ffdd2d73a939d94ffadf8 (patch)
tree60510f3130227b10f29ffd8856e912ccd95f1007 /decoder/test/sdcard_spi/test.conf
parent83311ee75859e51d3925597e8db5742eff72a775 (diff)
downloadsigrok-test-9b2756b0bb19887f5e9ffdd2d73a939d94ffadf8.tar.gz
sigrok-test-9b2756b0bb19887f5e9ffdd2d73a939d94ffadf8.zip
sdcard_spi: Add CMD24 test-cases.
Diffstat (limited to 'decoder/test/sdcard_spi/test.conf')
-rw-r--r--decoder/test/sdcard_spi/test.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/test/sdcard_spi/test.conf b/decoder/test/sdcard_spi/test.conf
index 7b82558..1c3996b 100644
--- a/decoder/test/sdcard_spi/test.conf
+++ b/decoder/test/sdcard_spi/test.conf
@@ -4,3 +4,17 @@ test xmore_512mb_get_csd
stack spi sdcard_spi
input sdcard/spi_mode/xmore_512mb/xmore_512mb_get_csd.sr
output sdcard_spi annotation match xmore_512mb_get_csd.output
+
+test data_transfer_start_snippet
+ protocol-decoder spi channel cs=0 channel mosi=1 channel clk=3 channel miso=2
+ protocol-decoder sdcard_spi
+ stack spi sdcard_spi
+ input sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr
+ output sdcard_spi annotation match data_transfer_start_snippet.output
+
+test data-transfer-complete-simulated
+ protocol-decoder spi channel cs=0 channel mosi=1 channel clk=3 channel miso=2
+ protocol-decoder sdcard_spi
+ stack spi sdcard_spi
+ input sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr
+ output sdcard_spi annotation match data_transfer_complete_simulated.output