summaryrefslogtreecommitdiff
path: root/decoder/test/spi/test.conf
blob: 8e7b66936aec432eb9e5d1408c8bca3b9dac4aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
test atmega32_00
	protocol-decoder spi channel cs=0 channel mosi=1 channel clk=2
	input spi/spi_atmega32/spi_atmega32_00.sr
	output spi annotation class mosi-data match atmega32_00_mosi.output
	output spi annotation class miso-data match atmega32_00_miso.output
	output spi python match atmega32_00.python
	output spi binary class mosi match atmega32_00.bin_mosi

test mx25l1605d_probe
	protocol-decoder spi channel cs=0 channel miso=1 channel clk=2 channel mosi=3
	input spi/mx25l1605d/mx25l1605d_probe.sr
	output spi annotation class mosi-data match mx25l1605d_probe_mosi.output
	output spi annotation class miso-data match mx25l1605d_probe_miso.output
	output spi annotation match mx25l1605d_probe.output
	output spi python match mx25l1605d_probe.python
	output spi binary class miso match mx25l1605d_probe.bin_miso
	output spi binary class mosi match mx25l1605d_probe.bin_mosi

test count_mosi_msb
	protocol-decoder spi channel cs=1 channel clk=0 channel mosi=2
	input spi/spi-count-msb.sr
	output spi annotation class mosi-data match spi_count_mosi_msb.output
	output spi python match spi_count_mosi_msb.python
	output spi binary class mosi match spi_count_mosi_msb.bin_mosi

test count_miso_msb
	protocol-decoder spi channel cs=1 channel clk=0 channel miso=2
	input spi/spi-count-msb.sr
	output spi annotation class miso-data match spi_count_miso_msb.output
	output spi python match spi_count_miso_msb.python
	output spi binary class miso match spi_count_miso_msb.bin_miso

test count_mosi_lsb
	protocol-decoder spi channel cs=1 channel clk=0 channel mosi=2 option bitorder=lsb-first
	input spi/spi-count-lsb.sr
	output spi annotation class mosi-data match spi_count_mosi_lsb.output
	output spi python match spi_count_mosi_lsb.python
	output spi binary class mosi match spi_count_mosi_lsb.bin_mosi

test count_miso_lsb
	protocol-decoder spi channel cs=1 channel clk=0 channel miso=2 option bitorder=lsb-first
	input spi/spi-count-lsb.sr
	output spi annotation class mosi-data match spi_count_miso_lsb.output
	output spi python match spi_count_miso_lsb.python
	output spi binary class miso match spi_count_miso_lsb.bin_miso

test 9bit_spi
	protocol-decoder spi channel cs=4 channel clk=2 channel mosi=5 option wordsize=9
	input spi/wordwidths/9bit_spi.sr
	output spi annotation match 9bit_spi.output
	output spi python match 9bit_spi.python
	output spi binary class mosi match 9bit_spi.bin_mosi

test 16bit_spi
	protocol-decoder spi channel cs=12 channel clk=7 channel miso=9 channel mosi=8 option wordsize=16
	input spi/wordwidths/16bit_spi.sr
	output spi annotation match 16bit_spi.output
	output spi python match 16bit_spi.python
	output spi binary class miso match 16bit_spi.bin_miso
	output spi binary class mosi match 16bit_spi.bin_mosi

test 40bit_spi
	protocol-decoder spi channel cs=12 channel clk=7 channel miso=8 channel mosi=9 option wordsize=40
	input spi/wordwidths/40bit_spi.sr
	output spi annotation match 40bit_spi.output
	output spi python match 40bit_spi.python
	output spi binary class miso match 40bit_spi.bin_miso
	output spi binary class mosi match 40bit_spi.bin_mosi

test 152bit_spi
	protocol-decoder spi channel cs=12 channel clk=7 channel miso=9 channel mosi=8 option wordsize=152
	input spi/wordwidths/152bit_spi.sr
	output spi annotation match 152bit_spi.output
	output spi python match 152bit_spi.python
	output spi binary class miso match 152bit_spi.bin_miso
	output spi binary class mosi match 152bit_spi.bin_mosi

test exception_samplerate
	protocol-decoder spi
	input misc/no-samplerate.sr
	output spi exception match SamplerateError

test exception_channel
	protocol-decoder spi channel cs=1 channel clk=0
	input spi/spi-count-msb.sr
	output spi exception match ChannelError