summaryrefslogtreecommitdiff
path: root/decoder/test/spi/test.conf
blob: 657ea46ec62292c3131ebfc3d8bebf70ebdff387 (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
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

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

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

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

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

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

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