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