summaryrefslogtreecommitdiff
path: root/decoder/test/cc1101/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-17 22:38:35 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-19 00:35:15 +0200
commita487901a9965921dc9118e60e4cfcc68fff2ff3f (patch)
tree38810ae3eb5d3772f9ea9840843dc38129a51377 /decoder/test/cc1101/test.conf
parentc68e96bc26222b03395853a2a5eda3e5949eb0c9 (diff)
downloadsigrok-test-a487901a9965921dc9118e60e4cfcc68fff2ff3f.tar.gz
sigrok-test-a487901a9965921dc9118e60e4cfcc68fff2ff3f.zip
cc1101: Add a few test-cases.
Diffstat (limited to 'decoder/test/cc1101/test.conf')
-rw-r--r--decoder/test/cc1101/test.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/decoder/test/cc1101/test.conf b/decoder/test/cc1101/test.conf
new file mode 100644
index 0000000..db46b38
--- /dev/null
+++ b/decoder/test/cc1101/test.conf
@@ -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