]> sigrok.org Git - sigrok-test.git/blob - decoder/test/uart/test.conf
uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1.
[sigrok-test.git] / decoder / test / uart / test.conf
1 test 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 python match trekstor.python
8         output uart binary class rx match trekstor_bin_rx.output
9         output uart binary class tx match trekstor_bin_tx.output
10         output uart binary class rxtx match trekstor_bin_rx.output
11
12 test hello_world_7o1_115200
13         protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd option num_data_bits=7
14         input uart/hello_world/7o1/hello_world_7o1_115200.sr
15         output uart annotation match hello_world_7o1_115200.output
16         output uart python match hello_world_7o1_115200.python
17         output uart binary class tx match hello_world_7o1_115200.bin_tx
18
19 test hello_world_7e1_115200
20         protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even option num_data_bits=7
21         input uart/hello_world/7e1/hello_world_7e1_115200.sr
22         output uart annotation match hello_world_7e1_115200.output
23         output uart python match hello_world_7e1_115200.python
24         output uart binary class tx match hello_world_7e1_115200.bin_tx
25
26 test hello_world_8e1_115200
27         protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even
28         input uart/hello_world/8e1/hello_world_8e1_115200.sr
29         output uart annotation match hello_world_8e1_115200.output
30         output uart python match hello_world_8e1_115200.python
31         output uart binary class tx match hello_world_8e1_115200.bin_tx
32
33 test hello_world_8n1_1200
34         protocol-decoder uart channel tx=0 option baudrate=1200
35         input uart/hello_world/8n1/hello_world_8n1_1200.sr
36         output uart annotation match hello_world_8n1_1200.output
37         output uart python match hello_world_8n1_1200.python
38         output uart binary class tx match hello_world_8n1_1200.bin_tx
39
40 test hello_world_8n1_2400
41         protocol-decoder uart channel tx=0 option baudrate=2400
42         input uart/hello_world/8n1/hello_world_8n1_2400.sr
43         output uart annotation match hello_world_8n1_2400.output
44         output uart python match hello_world_8n1_2400.python
45         output uart binary class tx match hello_world_8n1_2400.bin_tx
46
47 test hello_world_8n1_4800
48         protocol-decoder uart channel tx=0 option baudrate=4800
49         input uart/hello_world/8n1/hello_world_8n1_4800.sr
50         output uart annotation match hello_world_8n1_4800.output
51         output uart python match hello_world_8n1_4800.python
52         output uart binary class tx match hello_world_8n1_4800.bin_tx
53
54 test hello_world_8n1_9600
55         protocol-decoder uart channel tx=0 option baudrate=9600
56         input uart/hello_world/8n1/hello_world_8n1_9600.sr
57         output uart annotation match hello_world_8n1_9600.output
58         output uart python match hello_world_8n1_9600.python
59         output uart binary class tx match hello_world_8n1_9600.bin_tx
60
61 test hello_world_8n1_19200
62         protocol-decoder uart channel tx=0 option baudrate=19200
63         input uart/hello_world/8n1/hello_world_8n1_19200.sr
64         output uart annotation match hello_world_8n1_19200.output
65         output uart python match hello_world_8n1_19200.python
66         output uart binary class tx match hello_world_8n1_19200.bin_tx
67
68 test hello_world_8n1_38400
69         protocol-decoder uart channel tx=0 option baudrate=38400
70         input uart/hello_world/8n1/hello_world_8n1_38400.sr
71         output uart annotation match hello_world_8n1_38400.output
72         output uart python match hello_world_8n1_38400.python
73         output uart binary class tx match hello_world_8n1_38400.bin_tx
74
75 test hello_world_8n1_57600
76         protocol-decoder uart channel tx=0 option baudrate=57600
77         input uart/hello_world/8n1/hello_world_8n1_57600.sr
78         output uart annotation match hello_world_8n1_57600.output
79         output uart python match hello_world_8n1_57600.python
80         output uart binary class tx match hello_world_8n1_57600.bin_tx
81
82 test hello_world_8n1_115200
83         protocol-decoder uart channel tx=0 option baudrate=115200
84         input uart/hello_world/8n1/hello_world_8n1_115200.sr
85         output uart annotation match hello_world_8n1_115200.output
86         output uart python match hello_world_8n1_115200.python
87         output uart binary class tx match hello_world_8n1_115200.bin_tx
88
89 test hello_world_8n1_230400
90         protocol-decoder uart channel tx=0 option baudrate=230400
91         input uart/hello_world/8n1/hello_world_8n1_230400.sr
92         output uart annotation match hello_world_8n1_230400.output
93         output uart python match hello_world_8n1_230400.python
94         output uart binary class tx match hello_world_8n1_230400.bin_tx
95
96 test hello_world_8n1_460800
97         protocol-decoder uart channel tx=0 option baudrate=460800
98         input uart/hello_world/8n1/hello_world_8n1_460800.sr
99         output uart annotation match hello_world_8n1_460800.output
100         output uart python match hello_world_8n1_460800.python
101         output uart binary class tx match hello_world_8n1_460800.bin_tx
102
103 test hello_world_8n1_921600
104         protocol-decoder uart channel tx=0 option baudrate=921600
105         input uart/hello_world/8n1/hello_world_8n1_921600.sr
106         output uart annotation match hello_world_8n1_921600.output
107         output uart python match hello_world_8n1_921600.python
108         output uart binary class tx match hello_world_8n1_921600.bin_tx
109
110 test hello_world_8o1_115200
111         protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd
112         input uart/hello_world/8o1/hello_world_8o1_115200.sr
113         output uart annotation match hello_world_8o1_115200.output
114         output uart python match hello_world_8o1_115200.python
115         output uart binary class tx match hello_world_8o1_115200.bin_tx
116
117 test rxtx_overlapped
118         protocol-decoder uart channel rx=3 channel tx=4
119         input uart/rxtx_overlapped/rxtx_overlapped.sr
120         output uart annotation match rxtx_overlapped.output
121         output uart python match rxtx_overlapped.python
122         output uart binary class rx match rxtx_overlapped.bin_rx
123         output uart binary class tx match rxtx_overlapped.bin_tx
124
125 test uart_count_19200_5n1_hex
126         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=hex
127         input uart/counter/uart_count_19200_5n1.sr
128         output uart annotation match uart_count_19200_5n1_hex.output
129         output uart python match uart_count_19200_5n1.python
130         output uart binary class tx match uart_count_19200_5n1.bin_tx
131
132 test uart_count_19200_5n1_ascii
133         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=ascii
134         input uart/counter/uart_count_19200_5n1.sr
135         output uart annotation match uart_count_19200_5n1_ascii.output
136         output uart python match uart_count_19200_5n1.python
137         output uart binary class tx match uart_count_19200_5n1.bin_tx
138
139 test uart_count_19200_5n1_dec
140         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=dec
141         input uart/counter/uart_count_19200_5n1.sr
142         output uart annotation match uart_count_19200_5n1_dec.output
143         output uart python match uart_count_19200_5n1.python
144         output uart binary class tx match uart_count_19200_5n1.bin_tx
145
146 test uart_count_19200_5n1_oct
147         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=oct
148         input uart/counter/uart_count_19200_5n1.sr
149         output uart annotation match uart_count_19200_5n1_oct.output
150         output uart python match uart_count_19200_5n1.python
151         output uart binary class tx match uart_count_19200_5n1.bin_tx
152
153 test uart_count_19200_5n1_bin
154         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=bin
155         input uart/counter/uart_count_19200_5n1.sr
156         output uart annotation match uart_count_19200_5n1_bin.output
157         output uart python match uart_count_19200_5n1.python
158         output uart binary class tx match uart_count_19200_5n1.bin_tx
159
160 test uart_count_19200_6n1
161         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=hex
162         input uart/counter/uart_count_19200_6n1.sr
163         output uart annotation match uart_count_19200_6n1_hex.output
164         output uart python match uart_count_19200_6n1.python
165         output uart binary class tx match uart_count_19200_6n1.bin_tx
166
167 test uart_count_19200_6n1
168         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=ascii
169         input uart/counter/uart_count_19200_6n1.sr
170         output uart annotation match uart_count_19200_6n1_ascii.output
171         output uart python match uart_count_19200_6n1.python
172         output uart binary class tx match uart_count_19200_6n1.bin_tx
173
174 test uart_count_19200_6n1
175         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=dec
176         input uart/counter/uart_count_19200_6n1.sr
177         output uart annotation match uart_count_19200_6n1_dec.output
178         output uart python match uart_count_19200_6n1.python
179         output uart binary class tx match uart_count_19200_6n1.bin_tx
180
181 test uart_count_19200_6n1
182         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=oct
183         input uart/counter/uart_count_19200_6n1.sr
184         output uart annotation match uart_count_19200_6n1_oct.output
185         output uart python match uart_count_19200_6n1.python
186         output uart binary class tx match uart_count_19200_6n1.bin_tx
187
188 test uart_count_19200_6n1
189         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=bin
190         input uart/counter/uart_count_19200_6n1.sr
191         output uart annotation match uart_count_19200_6n1_bin.output
192         output uart python match uart_count_19200_6n1.python
193         output uart binary class tx match uart_count_19200_6n1.bin_tx
194
195 test uart_count_19200_7n1
196         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=hex
197         input uart/counter/uart_count_19200_7n1.sr
198         output uart annotation match uart_count_19200_7n1_hex.output
199         output uart python match uart_count_19200_7n1.python
200         output uart binary class tx match uart_count_19200_7n1.bin_tx
201
202 test uart_count_19200_7n1
203         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=ascii
204         input uart/counter/uart_count_19200_7n1.sr
205         output uart annotation match uart_count_19200_7n1_ascii.output
206         output uart python match uart_count_19200_7n1.python
207         output uart binary class tx match uart_count_19200_7n1.bin_tx
208
209 test uart_count_19200_7n1
210         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=dec
211         input uart/counter/uart_count_19200_7n1.sr
212         output uart annotation match uart_count_19200_7n1_dec.output
213         output uart python match uart_count_19200_7n1.python
214         output uart binary class tx match uart_count_19200_7n1.bin_tx
215
216 test uart_count_19200_7n1
217         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=oct
218         input uart/counter/uart_count_19200_7n1.sr
219         output uart annotation match uart_count_19200_7n1_oct.output
220         output uart python match uart_count_19200_7n1.python
221         output uart binary class tx match uart_count_19200_7n1.bin_tx
222
223 test uart_count_19200_7n1
224         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=bin
225         input uart/counter/uart_count_19200_7n1.sr
226         output uart annotation match uart_count_19200_7n1_bin.output
227         output uart python match uart_count_19200_7n1.python
228         output uart binary class tx match uart_count_19200_7n1.bin_tx
229
230 test uart_count_19200_8n1
231         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=hex
232         input uart/counter/uart_count_19200_8n1.sr
233         output uart annotation match uart_count_19200_8n1_hex.output
234         output uart python match uart_count_19200_8n1.python
235         output uart binary class tx match uart_count_19200_8n1.bin_tx
236
237 test uart_count_19200_8n1
238         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=ascii
239         input uart/counter/uart_count_19200_8n1.sr
240         output uart annotation match uart_count_19200_8n1_ascii.output
241         output uart python match uart_count_19200_8n1.python
242         output uart binary class tx match uart_count_19200_8n1.bin_tx
243
244 test uart_count_19200_8n1
245         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=dec
246         input uart/counter/uart_count_19200_8n1.sr
247         output uart annotation match uart_count_19200_8n1_dec.output
248         output uart python match uart_count_19200_8n1.python
249         output uart binary class tx match uart_count_19200_8n1.bin_tx
250
251 test uart_count_19200_8n1
252         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=oct
253         input uart/counter/uart_count_19200_8n1.sr
254         output uart annotation match uart_count_19200_8n1_oct.output
255         output uart python match uart_count_19200_8n1.python
256         output uart binary class tx match uart_count_19200_8n1.bin_tx
257
258 test uart_count_19200_8n1
259         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=bin
260         input uart/counter/uart_count_19200_8n1.sr
261         output uart annotation match uart_count_19200_8n1_bin.output
262         output uart python match uart_count_19200_8n1.python
263         output uart binary class tx match uart_count_19200_8n1.bin_tx
264
265 test uart_count_19200_9n1
266         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=hex
267         input uart/counter/uart_count_19200_9n1.sr
268         output uart annotation match uart_count_19200_9n1_hex.output
269         output uart python match uart_count_19200_9n1.python
270         output uart binary class tx match uart_count_19200_9n1.bin_tx
271
272 test uart_count_19200_9n1
273         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=ascii
274         input uart/counter/uart_count_19200_9n1.sr
275         output uart annotation match uart_count_19200_9n1_ascii.output
276         output uart python match uart_count_19200_9n1.python
277         output uart binary class tx match uart_count_19200_9n1.bin_tx
278
279 test uart_count_19200_9n1
280         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=dec
281         input uart/counter/uart_count_19200_9n1.sr
282         output uart annotation match uart_count_19200_9n1_dec.output
283         output uart python match uart_count_19200_9n1.python
284         output uart binary class tx match uart_count_19200_9n1.bin_tx
285
286 test uart_count_19200_9n1
287         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=oct
288         input uart/counter/uart_count_19200_9n1.sr
289         output uart annotation match uart_count_19200_9n1_oct.output
290         output uart python match uart_count_19200_9n1.python
291         output uart binary class tx match uart_count_19200_9n1.bin_tx
292
293 test uart_count_19200_9n1
294         protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=bin
295         input uart/counter/uart_count_19200_9n1.sr
296         output uart annotation match uart_count_19200_9n1_bin.output
297         output uart python match uart_count_19200_9n1.python
298         output uart binary class tx match uart_count_19200_9n1.bin_tx
299
300 test exception_samplerate
301         protocol-decoder uart
302         input misc/no-samplerate.sr
303         output uart exception match SamplerateError