]> sigrok.org Git - sigrok-test.git/blame - decoder/test/uart/test.conf
uart: Add more UART test-cases.
[sigrok-test.git] / decoder / test / uart / test.conf
CommitLineData
dd37a782
UH
1test trekstor_ebr30_a
2 protocol-decoder uart channel rx=1
3 input uart/trekstor_ebr30_a/trekstor_ebr30_a_uart.sr
4 output uart annotation class rx-data match trekstor_rx.output
5 output uart annotation class tx-data match trekstor_tx.output
6 output uart annotation match trekstor.output
7 output uart binary class rx match trekstor_bin_rx.output
8 output uart binary class tx match trekstor_bin_tx.output
9 output uart binary class rxtx match trekstor_bin_rx.output
10
dd9648d4
UH
11test hello_world_7o1_115200
12 protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd option num_data_bits=7
13 input uart/hello_world/7o1/hello_world_7o1_115200.sr
14 output uart annotation match hello_world_7o1_115200.output
15 output uart binary class tx match hello_world_7o1_115200.bin_tx
16
17test hello_world_7e1_115200
18 protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even option num_data_bits=7
19 input uart/hello_world/7e1/hello_world_7e1_115200.sr
20 output uart annotation match hello_world_7e1_115200.output
21 output uart binary class tx match hello_world_7e1_115200.bin_tx
22
23test hello_world_8e1_115200
24 protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even
25 input uart/hello_world/8e1/hello_world_8e1_115200.sr
26 output uart annotation match hello_world_8e1_115200.output
27 output uart binary class tx match hello_world_8e1_115200.bin_tx
28
29test hello_world_8n1_1200
30 protocol-decoder uart channel tx=0 option baudrate=1200
31 input uart/hello_world/8n1/hello_world_8n1_1200.sr
32 output uart annotation match hello_world_8n1_1200.output
33 output uart binary class tx match hello_world_8n1_1200.bin_tx
34
35test hello_world_8n1_2400
36 protocol-decoder uart channel tx=0 option baudrate=2400
37 input uart/hello_world/8n1/hello_world_8n1_2400.sr
38 output uart annotation match hello_world_8n1_2400.output
39 output uart binary class tx match hello_world_8n1_2400.bin_tx
40
41test hello_world_8n1_4800
42 protocol-decoder uart channel tx=0 option baudrate=4800
43 input uart/hello_world/8n1/hello_world_8n1_4800.sr
44 output uart annotation match hello_world_8n1_4800.output
45 output uart binary class tx match hello_world_8n1_4800.bin_tx
46
47test hello_world_8n1_9600
48 protocol-decoder uart channel tx=0 option baudrate=9600
49 input uart/hello_world/8n1/hello_world_8n1_9600.sr
50 output uart annotation match hello_world_8n1_9600.output
51 output uart binary class tx match hello_world_8n1_9600.bin_tx
52
53test hello_world_8n1_19200
54 protocol-decoder uart channel tx=0 option baudrate=19200
55 input uart/hello_world/8n1/hello_world_8n1_19200.sr
56 output uart annotation match hello_world_8n1_19200.output
57 output uart binary class tx match hello_world_8n1_19200.bin_tx
58
59test hello_world_8n1_38400
60 protocol-decoder uart channel tx=0 option baudrate=38400
61 input uart/hello_world/8n1/hello_world_8n1_38400.sr
62 output uart annotation match hello_world_8n1_38400.output
63 output uart binary class tx match hello_world_8n1_38400.bin_tx
64
65test hello_world_8n1_57600
66 protocol-decoder uart channel tx=0 option baudrate=57600
67 input uart/hello_world/8n1/hello_world_8n1_57600.sr
68 output uart annotation match hello_world_8n1_57600.output
69 output uart binary class tx match hello_world_8n1_57600.bin_tx
70
71test hello_world_8n1_115200
72 protocol-decoder uart channel tx=0 option baudrate=115200
73 input uart/hello_world/8n1/hello_world_8n1_115200.sr
74 output uart annotation match hello_world_8n1_115200.output
75 output uart binary class tx match hello_world_8n1_115200.bin_tx
76
77test hello_world_8n1_230400
78 protocol-decoder uart channel tx=0 option baudrate=230400
79 input uart/hello_world/8n1/hello_world_8n1_230400.sr
80 output uart annotation match hello_world_8n1_230400.output
81 output uart binary class tx match hello_world_8n1_230400.bin_tx
82
83test hello_world_8n1_460800
84 protocol-decoder uart channel tx=0 option baudrate=460800
85 input uart/hello_world/8n1/hello_world_8n1_460800.sr
86 output uart annotation match hello_world_8n1_460800.output
87 output uart binary class tx match hello_world_8n1_460800.bin_tx
88
89test hello_world_8n1_921600
90 protocol-decoder uart channel tx=0 option baudrate=921600
91 input uart/hello_world/8n1/hello_world_8n1_921600.sr
92 output uart annotation match hello_world_8n1_921600.output
93 output uart binary class tx match hello_world_8n1_921600.bin_tx
94
95test hello_world_8o1_115200
96 protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd
97 input uart/hello_world/8o1/hello_world_8o1_115200.sr
98 output uart annotation match hello_world_8o1_115200.output
99 output uart binary class tx match hello_world_8o1_115200.bin_tx
100
dd37a782
UH
101test exception_samplerate
102 protocol-decoder uart
103 input misc/no-samplerate.sr
104 output uart exception match SamplerateError