summaryrefslogtreecommitdiff
path: root/decoder/test/parallel/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-11-08 13:46:36 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-11-11 20:46:54 +0100
commitf47a7a3b76716f1b83fe3d06ae27e8032736eb5c (patch)
treee26aac3e409aa019378927cfabd5961c5f23b200 /decoder/test/parallel/test.conf
parent2971659ed08058d9bcabbf724a97921cad986d41 (diff)
downloadsigrok-test-f47a7a3b76716f1b83fe3d06ae27e8032736eb5c.tar.gz
sigrok-test-f47a7a3b76716f1b83fe3d06ae27e8032736eb5c.zip
parallel: add test case for parallel PD on SQI traffic
The parallel decoder can also be used to interpret SQI communication. Using the chip select as the reset/enable signal increases robustness. Implement a test case to cover this recently added decoder feature.
Diffstat (limited to 'decoder/test/parallel/test.conf')
-rw-r--r--decoder/test/parallel/test.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/decoder/test/parallel/test.conf b/decoder/test/parallel/test.conf
index 1c650bb..1e751a4 100644
--- a/decoder/test/parallel/test.conf
+++ b/decoder/test/parallel/test.conf
@@ -26,3 +26,9 @@ test hd44780_word_demux
protocol-decoder parallel channel clk=3 channel d0=4 channel d1=5 channel d2=6 channel d3=7 option clock_edge=falling option wordsize=2 option endianness=big
input display/hd44780/hd44780-reset-init-hello.sr
output parallel annotation match hd44780_word_demux.output
+
+test spi_sqi_four_lines_one_xfer
+ protocol-decoder parallel channel clk=2 channel d0=4 channel d1=5 channel d2=6 channel d3=7 channel rst=3 option clock_edge=rising option reset_polarity=high-active option wordsize=2 option endianness=big
+ input spi/sqi/sqi-four-data-lines-one-transfer.sr
+ output parallel annotation match spi_sqi_four_lines_three_transfers.output
+ output parallel python match spi_sqi_four_lines_one_xfer.python