]> sigrok.org Git - sigrok-test.git/blame - decoder/test/uart/test.conf
uart: Add another Grbl test-case.
[sigrok-test.git] / decoder / test / uart / test.conf
CommitLineData
dd37a782 1test trekstor_ebr30_a
72d2c7e9 2 protocol-decoder uart channel rx=1 option format=ascii
dd37a782
UH
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
7974d8f4 7 output uart python match trekstor.python
dd37a782
UH
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
dd9648d4 12test hello_world_7o1_115200
9623f312 13 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option data_bits=7 option format=ascii
dd9648d4
UH
14 input uart/hello_world/7o1/hello_world_7o1_115200.sr
15 output uart annotation match hello_world_7o1_115200.output
7974d8f4 16 output uart python match hello_world_7o1_115200.python
dd9648d4
UH
17 output uart binary class tx match hello_world_7o1_115200.bin_tx
18
df94d61a
UH
19# Intentionally cause parity errors.
20test hello_world_7o1_115200_parity_err
9623f312 21 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option data_bits=7 option format=ascii
df94d61a
UH
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
65a99472 27test hello_world_7o1_115200_parity_ignore
9623f312 28 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=ignore option data_bits=7 option format=ascii
65a99472
UH
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
dd9648d4 34test hello_world_7e1_115200
9623f312 35 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option data_bits=7 option format=ascii
dd9648d4
UH
36 input uart/hello_world/7e1/hello_world_7e1_115200.sr
37 output uart annotation match hello_world_7e1_115200.output
7974d8f4 38 output uart python match hello_world_7e1_115200.python
dd9648d4
UH
39 output uart binary class tx match hello_world_7e1_115200.bin_tx
40
41test hello_world_8e1_115200
9623f312 42 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=even option format=ascii
dd9648d4
UH
43 input uart/hello_world/8e1/hello_world_8e1_115200.sr
44 output uart annotation match hello_world_8e1_115200.output
7974d8f4 45 output uart python match hello_world_8e1_115200.python
dd9648d4
UH
46 output uart binary class tx match hello_world_8e1_115200.bin_tx
47
48test hello_world_8n1_1200
72d2c7e9 49 protocol-decoder uart channel tx=0 option baudrate=1200 option format=ascii
dd9648d4
UH
50 input uart/hello_world/8n1/hello_world_8n1_1200.sr
51 output uart annotation match hello_world_8n1_1200.output
7974d8f4 52 output uart python match hello_world_8n1_1200.python
dd9648d4
UH
53 output uart binary class tx match hello_world_8n1_1200.bin_tx
54
55test hello_world_8n1_2400
72d2c7e9 56 protocol-decoder uart channel tx=0 option baudrate=2400 option format=ascii
dd9648d4
UH
57 input uart/hello_world/8n1/hello_world_8n1_2400.sr
58 output uart annotation match hello_world_8n1_2400.output
7974d8f4 59 output uart python match hello_world_8n1_2400.python
dd9648d4
UH
60 output uart binary class tx match hello_world_8n1_2400.bin_tx
61
62test hello_world_8n1_4800
72d2c7e9 63 protocol-decoder uart channel tx=0 option baudrate=4800 option format=ascii
dd9648d4
UH
64 input uart/hello_world/8n1/hello_world_8n1_4800.sr
65 output uart annotation match hello_world_8n1_4800.output
7974d8f4 66 output uart python match hello_world_8n1_4800.python
dd9648d4
UH
67 output uart binary class tx match hello_world_8n1_4800.bin_tx
68
69test hello_world_8n1_9600
72d2c7e9 70 protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii
dd9648d4
UH
71 input uart/hello_world/8n1/hello_world_8n1_9600.sr
72 output uart annotation match hello_world_8n1_9600.output
7974d8f4 73 output uart python match hello_world_8n1_9600.python
dd9648d4
UH
74 output uart binary class tx match hello_world_8n1_9600.bin_tx
75
76test hello_world_8n1_19200
72d2c7e9 77 protocol-decoder uart channel tx=0 option baudrate=19200 option format=ascii
dd9648d4
UH
78 input uart/hello_world/8n1/hello_world_8n1_19200.sr
79 output uart annotation match hello_world_8n1_19200.output
7974d8f4 80 output uart python match hello_world_8n1_19200.python
dd9648d4
UH
81 output uart binary class tx match hello_world_8n1_19200.bin_tx
82
83test hello_world_8n1_38400
72d2c7e9 84 protocol-decoder uart channel tx=0 option baudrate=38400 option format=ascii
dd9648d4
UH
85 input uart/hello_world/8n1/hello_world_8n1_38400.sr
86 output uart annotation match hello_world_8n1_38400.output
7974d8f4 87 output uart python match hello_world_8n1_38400.python
dd9648d4
UH
88 output uart binary class tx match hello_world_8n1_38400.bin_tx
89
90test hello_world_8n1_57600
72d2c7e9 91 protocol-decoder uart channel tx=0 option baudrate=57600 option format=ascii
dd9648d4
UH
92 input uart/hello_world/8n1/hello_world_8n1_57600.sr
93 output uart annotation match hello_world_8n1_57600.output
7974d8f4 94 output uart python match hello_world_8n1_57600.python
dd9648d4
UH
95 output uart binary class tx match hello_world_8n1_57600.bin_tx
96
97test hello_world_8n1_115200
72d2c7e9 98 protocol-decoder uart channel tx=0 option baudrate=115200 option format=ascii
dd9648d4
UH
99 input uart/hello_world/8n1/hello_world_8n1_115200.sr
100 output uart annotation match hello_world_8n1_115200.output
7974d8f4 101 output uart python match hello_world_8n1_115200.python
dd9648d4
UH
102 output uart binary class tx match hello_world_8n1_115200.bin_tx
103
104test hello_world_8n1_230400
72d2c7e9 105 protocol-decoder uart channel tx=0 option baudrate=230400 option format=ascii
dd9648d4
UH
106 input uart/hello_world/8n1/hello_world_8n1_230400.sr
107 output uart annotation match hello_world_8n1_230400.output
7974d8f4 108 output uart python match hello_world_8n1_230400.python
dd9648d4
UH
109 output uart binary class tx match hello_world_8n1_230400.bin_tx
110
111test hello_world_8n1_460800
72d2c7e9 112 protocol-decoder uart channel tx=0 option baudrate=460800 option format=ascii
dd9648d4
UH
113 input uart/hello_world/8n1/hello_world_8n1_460800.sr
114 output uart annotation match hello_world_8n1_460800.output
7974d8f4 115 output uart python match hello_world_8n1_460800.python
dd9648d4
UH
116 output uart binary class tx match hello_world_8n1_460800.bin_tx
117
118test hello_world_8n1_921600
72d2c7e9 119 protocol-decoder uart channel tx=0 option baudrate=921600 option format=ascii
dd9648d4
UH
120 input uart/hello_world/8n1/hello_world_8n1_921600.sr
121 output uart annotation match hello_world_8n1_921600.output
7974d8f4 122 output uart python match hello_world_8n1_921600.python
dd9648d4
UH
123 output uart binary class tx match hello_world_8n1_921600.bin_tx
124
125test hello_world_8o1_115200
9623f312 126 protocol-decoder uart channel tx=0 option baudrate=115200 option parity=odd option format=ascii
dd9648d4
UH
127 input uart/hello_world/8o1/hello_world_8o1_115200.sr
128 output uart annotation match hello_world_8o1_115200.output
7974d8f4 129 output uart python match hello_world_8o1_115200.python
dd9648d4
UH
130 output uart binary class tx match hello_world_8o1_115200.bin_tx
131
50fd1925 132test rxtx_overlapped
1d7399ac 133 protocol-decoder uart channel rx=3 channel tx=4 option format=hex option tx_packet_len=2 option rx_packet_len=5
50fd1925
UH
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
0169b559 140test uart_count_19200_5n1_hex
9623f312 141 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=hex option tx_packet_len=16
0169b559
UH
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
9623f312 148 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=ascii
0169b559
UH
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
9623f312 155 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=dec option tx_packet_len=16
0169b559
UH
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
9623f312 162 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=oct
0169b559
UH
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
9623f312 169 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=5 option format=bin
0169b559
UH
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
9623f312 176 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=hex option tx_packet_len=16
0169b559
UH
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
9623f312 183 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=ascii
0169b559
UH
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
9623f312 190 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=dec option tx_packet_len=16
0169b559
UH
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
9623f312 197 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=oct
0169b559
UH
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
9623f312 204 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=6 option format=bin
0169b559
UH
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
9623f312 211 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=hex option tx_packet_len=16
0169b559
UH
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
9623f312 218 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=ascii
0169b559
UH
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
9623f312 225 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=dec option tx_packet_len=16
0169b559
UH
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
9623f312 232 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=oct
0169b559
UH
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
9623f312 239 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=7 option format=bin
0169b559
UH
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
9623f312 246 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=hex option tx_packet_len=16
0169b559
UH
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
9623f312 253 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=ascii option tx_packet_len=16
0169b559
UH
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
9623f312 260 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=dec option tx_packet_len=16
0169b559
UH
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
9623f312 267 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=oct option tx_packet_len=16
0169b559
UH
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
9623f312 274 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=8 option format=bin option tx_packet_len=16
0169b559
UH
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
9623f312 281 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=hex option tx_packet_len=16
0169b559
UH
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
9623f312 288 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=ascii
0169b559
UH
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
9623f312 295 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=dec option tx_packet_len=16
0169b559
UH
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
9623f312 302 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=oct
0169b559
UH
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
9623f312 309 protocol-decoder uart channel tx=0 option baudrate=19200 option data_bits=9 option format=bin
0169b559
UH
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
1d7399ac 315test cyrustek_es51978
9623f312 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
1d7399ac
UH
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
9623f312 323 protocol-decoder uart channel tx=0 option baudrate=9600 option format=ascii option tx_packet_delim=10
1d7399ac
UH
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
9623f312 330 protocol-decoder uart channel rx=0 option baudrate=1200 option format=ascii option rx_packet_delim=10
1d7399ac
UH
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
9623f312 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
1d7399ac
UH
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
09544d5f
UH
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
b5a39370
UH
356test grbl_cnc_3
357 protocol-decoder uart channel tx=2 option format=ascii option tx_packet_delim=10
358 input stepper_motor/grbl_cnc/grbl_cnc_3.sr
359 output uart annotation class tx-packet match grbl_cnc_3_tx_packet.output
360
dd37a782
UH
361test exception_samplerate
362 protocol-decoder uart
363 input misc/no-samplerate.sr
364 output uart exception match SamplerateError