]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/cc1101/test.conf
cc1101: Add a few test-cases.
[sigrok-test.git] / decoder / test / cc1101 / test.conf
diff --git a/decoder/test/cc1101/test.conf b/decoder/test/cc1101/test.conf
new file mode 100644 (file)
index 0000000..db46b38
--- /dev/null
@@ -0,0 +1,27 @@
+test cc1101-burst-read
+       protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5
+       protocol-decoder cc1101
+       stack spi cc1101
+       input spi/cc1101/cc1101-burst-read.sr
+       output cc1101 annotation match cc1101-burst-read.output
+
+test cc1101-burst-write
+       protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5
+       protocol-decoder cc1101
+       stack spi cc1101
+       input spi/cc1101/cc1101-burst-write.sr
+       output cc1101 annotation match cc1101-burst-write.output
+
+test cc1101-command-strobe
+       protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5
+       protocol-decoder cc1101
+       stack spi cc1101
+       input spi/cc1101/cc1101-command-strobe.sr
+       output cc1101 annotation match cc1101-command-strobe.output
+
+test cc1101-read-write
+       protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5
+       protocol-decoder cc1101
+       stack spi cc1101
+       input spi/cc1101/cc1101-read-write.sr
+       output cc1101 annotation match cc1101-read-write.output