summaryrefslogtreecommitdiff
path: root/decoder/test/spi/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-24 21:43:34 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-24 21:54:17 +0200
commit340e18788ab2ec290ae26b3da31fb5ea81e0b7c5 (patch)
tree419b37ebb746be6818bcc4d37e4a0cb0302beea7 /decoder/test/spi/test.conf
parenta487901a9965921dc9118e60e4cfcc68fff2ff3f (diff)
downloadsigrok-test-340e18788ab2ec290ae26b3da31fb5ea81e0b7c5.tar.gz
sigrok-test-340e18788ab2ec290ae26b3da31fb5ea81e0b7c5.zip
spi: Add two more test-cases.
Diffstat (limited to 'decoder/test/spi/test.conf')
-rw-r--r--decoder/test/spi/test.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/decoder/test/spi/test.conf b/decoder/test/spi/test.conf
index e604708..f720a45 100644
--- a/decoder/test/spi/test.conf
+++ b/decoder/test/spi/test.conf
@@ -75,6 +75,22 @@ test 152bit_spi
output spi binary class miso match 152bit_spi.bin_miso
output spi binary class mosi match 152bit_spi.bin_mosi
+test cc1101-burst-read
+ protocol-decoder spi channel mosi=0 channel miso=2 channel clk=1 channel cs=5
+ input spi/cc1101/cc1101-burst-read.sr
+ output spi annotation match cc1101-burst-read.output
+ output spi python match cc1101-burst-read.python
+ output spi binary class miso match cc1101-burst-read.bin_miso
+ output spi binary class mosi match cc1101-burst-read.bin_mosi
+
+test adf4351-set-4000mhz
+ protocol-decoder spi channel cs=0 channel mosi=1 channel clk=2
+ input spi/adf4351/set-4000mhz.sr
+ output spi annotation match adf4351-set-4000mhz.output
+ output spi python match adf4351-set-4000mhz.python
+ output spi binary class miso match adf4351-set-4000mhz.bin_miso
+ output spi binary class mosi match adf4351-set-4000mhz.bin_mosi
+
test exception_channel
protocol-decoder spi channel cs=1 channel clk=0
input spi/spi-count-msb.sr