]> sigrok.org Git - sigrok-test.git/blame_incremental - decoder/test/uart/test.conf
uart: Add Grbl test-cases.
[sigrok-test.git] / decoder / test / uart / test.conf
... / ...
CommitLineData
1test 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
12test hello_world_7o1_115200
13 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option 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.
20test hello_world_7o1_115200_parity_err
21 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option 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
27test hello_world_7o1_115200_parity_ignore
28 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=ignore option data_bits=7 option format=ascii
29 input uart/hello_world/7o1/hello_world_7o1_115200.sr
30 output uart annotation match hello_world_7o1_115200_parity_ignore.output
31 output uart python match hello_world_7o1_115200_parity_ignore.python
32 output uart binary class tx match hello_world_7o1_115200_parity_ignore.bin_tx
33
34test hello_world_7e1_115200
35 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option data_bits=7 option format=ascii
36 input uart/hello_world/7e1/hello_world_7e1_115200.sr
37 output uart annotation match hello_world_7e1_115200.output
38 output uart python match hello_world_7e1_115200.python
39 output uart binary class tx match hello_world_7e1_115200.bin_tx
40
41test hello_world_8e1_115200
42 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option format=ascii
43 input uart/hello_world/8e1/hello_world_8e1_115200.sr
44 output uart annotation match hello_world_8e1_115200.output
45 output uart python match hello_world_8e1_115200.python
46 output uart binary class tx match hello_world_8e1_115200.bin_tx
47
48test hello_world_8n1_1200
49 protocol-decoder uart channel tx=0 option baudrate=1200 option format=ascii
50 input uart/hello_world/8n1/hello_world_8n1_1200.sr
51 output uart annotation match hello_world_8n1_1200.output
52 output uart python match hello_world_8n1_1200.python
53 output uart binary class tx match hello_world_8n1_1200.bin_tx
54
55test hello_world_8n1_2400
56 protocol-decoder uart channel tx=0 option baudrate=2400 option format=ascii
57 input uart/hello_world/8n1/hello_world_8n1_2400.sr
58 output uart annotation match hello_world_8n1_2400.output
59 output uart python match hello_world_8n1_2400.python
60 output uart binary class tx match hello_world_8n1_2400.bin_tx
61
62test hello_world_8n1_4800
63 protocol-decoder uart channel tx=0 option baudrate=4800 option format=ascii
64 input uart/hello_world/8n1/hello_world_8n1_4800.sr
65 output uart annotation match hello_world_8n1_4800.output
66 output uart python match hello_world_8n1_4800.python
67 output uart binary class tx match hello_world_8n1_4800.bin_tx
68
69test hello_world_8n1_9600
70 protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii
71 input uart/hello_world/8n1/hello_world_8n1_9600.sr
72 output uart annotation match hello_world_8n1_9600.output
73 output uart python match hello_world_8n1_9600.python
74 output uart binary class tx match hello_world_8n1_9600.bin_tx
75
76test hello_world_8n1_19200
77 protocol-decoder uart channel tx=0 option baudrate=19200 option format=ascii
78 input uart/hello_world/8n1/hello_world_8n1_19200.sr
79 output uart annotation match hello_world_8n1_19200.output
80 output uart python match hello_world_8n1_19200.python
81 output uart binary class tx match hello_world_8n1_19200.bin_tx
82
83test hello_world_8n1_38400
84 protocol-decoder uart channel tx=0 option baudrate=38400 option format=ascii
85 input uart/hello_world/8n1/hello_world_8n1_38400.sr
86 output uart annotation match hello_world_8n1_38400.output
87 output uart python match hello_world_8n1_38400.python
88 output uart binary class tx match hello_world_8n1_38400.bin_tx
89
90test hello_world_8n1_57600
91 protocol-decoder uart channel tx=0 option baudrate=57600 option format=ascii
92 input uart/hello_world/8n1/hello_world_8n1_57600.sr
93 output uart annotation match hello_world_8n1_57600.output
94 output uart python match hello_world_8n1_57600.python
95 output uart binary class tx match hello_world_8n1_57600.bin_tx
96
97test hello_world_8n1_115200
98 protocol-decoder uart channel tx=0 option baudrate=115200 option format=ascii
99 input uart/hello_world/8n1/hello_world_8n1_115200.sr
100 output uart annotation match hello_world_8n1_115200.output
101 output uart python match hello_world_8n1_115200.python
102 output uart binary class tx match hello_world_8n1_115200.bin_tx
103
104test hello_world_8n1_230400
105 protocol-decoder uart channel tx=0 option baudrate=230400 option format=ascii
106 input uart/hello_world/8n1/hello_world_8n1_230400.sr
107 output uart annotation match hello_world_8n1_230400.output
108 output uart python match hello_world_8n1_230400.python
109 output uart binary class tx match hello_world_8n1_230400.bin_tx
110
111test hello_world_8n1_460800
112 protocol-decoder uart channel tx=0 option baudrate=460800 option format=ascii
113 input uart/hello_world/8n1/hello_world_8n1_460800.sr
114 output uart annotation match hello_world_8n1_460800.output
115 output uart python match hello_world_8n1_460800.python
116 output uart binary class tx match hello_world_8n1_460800.bin_tx
117
118test hello_world_8n1_921600
119 protocol-decoder uart channel tx=0 option baudrate=921600 option format=ascii
120 input uart/hello_world/8n1/hello_world_8n1_921600.sr
121 output uart annotation match hello_world_8n1_921600.output
122 output uart python match hello_world_8n1_921600.python
123 output uart binary class tx match hello_world_8n1_921600.bin_tx
124
125test hello_world_8o1_115200
126 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option format=ascii
127 input uart/hello_world/8o1/hello_world_8o1_115200.sr
128 output uart annotation match hello_world_8o1_115200.output
129 output uart python match hello_world_8o1_115200.python
130 output uart binary class tx match hello_world_8o1_115200.bin_tx
131
132test rxtx_overlapped
133 protocol-decoder uart channel rx=3 channel tx=4 option format=hex option tx_packet_len=2 option rx_packet_len=5
134 input uart/rxtx_overlapped/rxtx_overlapped.sr
135 output uart annotation match rxtx_overlapped.output
136 output uart python match rxtx_overlapped.python
137 output uart binary class rx match rxtx_overlapped.bin_rx
138 output uart binary class tx match rxtx_overlapped.bin_tx
139
140test uart_count_19200_5n1_hex
141 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=hex option tx_packet_len=16
142 input uart/counter/uart_count_19200_5n1.sr
143 output uart annotation match uart_count_19200_5n1_hex.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
147test uart_count_19200_5n1_ascii
148 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=ascii
149 input uart/counter/uart_count_19200_5n1.sr
150 output uart annotation match uart_count_19200_5n1_ascii.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
154test uart_count_19200_5n1_dec
155 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=dec option tx_packet_len=16
156 input uart/counter/uart_count_19200_5n1.sr
157 output uart annotation match uart_count_19200_5n1_dec.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
161test uart_count_19200_5n1_oct
162 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=oct
163 input uart/counter/uart_count_19200_5n1.sr
164 output uart annotation match uart_count_19200_5n1_oct.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
168test uart_count_19200_5n1_bin
169 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=bin
170 input uart/counter/uart_count_19200_5n1.sr
171 output uart annotation match uart_count_19200_5n1_bin.output
172 output uart python match uart_count_19200_5n1.python
173 output uart binary class tx match uart_count_19200_5n1.bin_tx
174
175test uart_count_19200_6n1
176 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=hex option tx_packet_len=16
177 input uart/counter/uart_count_19200_6n1.sr
178 output uart annotation match uart_count_19200_6n1_hex.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
182test uart_count_19200_6n1
183 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=ascii
184 input uart/counter/uart_count_19200_6n1.sr
185 output uart annotation match uart_count_19200_6n1_ascii.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
189test uart_count_19200_6n1
190 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=dec option tx_packet_len=16
191 input uart/counter/uart_count_19200_6n1.sr
192 output uart annotation match uart_count_19200_6n1_dec.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
196test uart_count_19200_6n1
197 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=oct
198 input uart/counter/uart_count_19200_6n1.sr
199 output uart annotation match uart_count_19200_6n1_oct.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
203test uart_count_19200_6n1
204 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=bin
205 input uart/counter/uart_count_19200_6n1.sr
206 output uart annotation match uart_count_19200_6n1_bin.output
207 output uart python match uart_count_19200_6n1.python
208 output uart binary class tx match uart_count_19200_6n1.bin_tx
209
210test uart_count_19200_7n1
211 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=hex option tx_packet_len=16
212 input uart/counter/uart_count_19200_7n1.sr
213 output uart annotation match uart_count_19200_7n1_hex.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
217test uart_count_19200_7n1
218 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=ascii
219 input uart/counter/uart_count_19200_7n1.sr
220 output uart annotation match uart_count_19200_7n1_ascii.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
224test uart_count_19200_7n1
225 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=dec option tx_packet_len=16
226 input uart/counter/uart_count_19200_7n1.sr
227 output uart annotation match uart_count_19200_7n1_dec.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
231test uart_count_19200_7n1
232 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=oct
233 input uart/counter/uart_count_19200_7n1.sr
234 output uart annotation match uart_count_19200_7n1_oct.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
238test uart_count_19200_7n1
239 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=bin
240 input uart/counter/uart_count_19200_7n1.sr
241 output uart annotation match uart_count_19200_7n1_bin.output
242 output uart python match uart_count_19200_7n1.python
243 output uart binary class tx match uart_count_19200_7n1.bin_tx
244
245test uart_count_19200_8n1
246 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=hex option tx_packet_len=16
247 input uart/counter/uart_count_19200_8n1.sr
248 output uart annotation match uart_count_19200_8n1_hex.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
252test uart_count_19200_8n1
253 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=ascii option tx_packet_len=16
254 input uart/counter/uart_count_19200_8n1.sr
255 output uart annotation match uart_count_19200_8n1_ascii.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
259test uart_count_19200_8n1
260 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=dec option tx_packet_len=16
261 input uart/counter/uart_count_19200_8n1.sr
262 output uart annotation match uart_count_19200_8n1_dec.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
266test uart_count_19200_8n1
267 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=oct option tx_packet_len=16
268 input uart/counter/uart_count_19200_8n1.sr
269 output uart annotation match uart_count_19200_8n1_oct.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
273test uart_count_19200_8n1
274 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=bin option tx_packet_len=16
275 input uart/counter/uart_count_19200_8n1.sr
276 output uart annotation match uart_count_19200_8n1_bin.output
277 output uart python match uart_count_19200_8n1.python
278 output uart binary class tx match uart_count_19200_8n1.bin_tx
279
280test uart_count_19200_9n1
281 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=hex option tx_packet_len=16
282 input uart/counter/uart_count_19200_9n1.sr
283 output uart annotation match uart_count_19200_9n1_hex.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
287test uart_count_19200_9n1
288 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=ascii
289 input uart/counter/uart_count_19200_9n1.sr
290 output uart annotation match uart_count_19200_9n1_ascii.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
294test uart_count_19200_9n1
295 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=dec option tx_packet_len=16
296 input uart/counter/uart_count_19200_9n1.sr
297 output uart annotation match uart_count_19200_9n1_dec.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
301test uart_count_19200_9n1
302 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=oct
303 input uart/counter/uart_count_19200_9n1.sr
304 output uart annotation match uart_count_19200_9n1_oct.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
308test uart_count_19200_9n1
309 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=bin
310 input uart/counter/uart_count_19200_9n1.sr
311 output uart annotation match uart_count_19200_9n1_bin.output
312 output uart python match uart_count_19200_9n1.python
313 output uart binary class tx match uart_count_19200_9n1.bin_tx
314
315test cyrustek_es51978
316 protocol-decoder uart channel rx=0 option baudrate=2400 option data_bits=7 option parity=odd option format=ascii option rx_packet_delim=10
317 input uart/cyrustek_es51978/es51978.sr
318 output uart annotation match cyrustek_es51978.output
319 output uart python match cyrustek_es51978.python
320 output uart binary class rx match cyrustek_es51978.bin_rx
321
322test mtk3339_8n1_9600
323 protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii option tx_packet_delim=10
324 input uart/gps/mtk3339/mtk3339_8n1_9600.sr
325 output uart annotation match mtk3339_8n1_9600.output
326 output uart python match mtk3339_8n1_9600.python
327 output uart binary class tx match mtk3339_8n1_9600.bin_tx
328
329test kern_ew_6200-2nm_tare
330 protocol-decoder uart channel rx=0 option baudrate=1200 option format=ascii option rx_packet_delim=10
331 input uart/kern_ew_6200-2nm/kern_ew_6200-2nm_tare.sr
332 output uart annotation match kern_ew_6200-2nm_tare.output
333 output uart python match kern_ew_6200-2nm_tare.python
334 output uart binary class rx match kern_ew_6200-2nm_tare.bin_rx
335
336test max3232e_hello_world_57600_8n1
337 protocol-decoder uart channel rx=1 channel tx=2 option baudrate=57600 option format=ascii option invert_rx=yes option rx_packet_delim=10 option tx_packet_delim=10
338 input uart/maxim_max3232e/max3232e_hello_world_57600_8n1.sr
339 output uart annotation match max3232e_hello_world_57600_8n1.output
340 output uart python match max3232e_hello_world_57600_8n1.python
341 output uart binary class rx match max3232e_hello_world_57600_8n1.bin_rx
342 output uart binary class tx match max3232e_hello_world_57600_8n1.bin_tx
343
344test grbl_cnc_1
345 protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
346 input stepper_motor/grbl_cnc/grbl_cnc_1.sr
347 output uart annotation class tx-packet match grbl_cnc_1_tx_packet.output
348 output uart annotation class rx-packet match grbl_cnc_1_rx_packet.output
349
350test grbl_cnc_2
351 protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
352 input stepper_motor/grbl_cnc/grbl_cnc_2.sr
353 output uart annotation class tx-packet match grbl_cnc_2_tx_packet.output
354 output uart annotation class rx-packet match grbl_cnc_2_rx_packet.output
355
356test exception_samplerate
357 protocol-decoder uart
358 input misc/no-samplerate.sr
359 output uart exception match SamplerateError