Debian Codegraph @

debian/patches/fix-man-font

raw
1 From: A. Maitland Bottoms <[email protected]>
2 Subject: fix man font
3
4 s/f[C]/f[CR]/g
5
6 --- a/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.man.in
7 +++ b/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.man.in
8 @@ -2,7 +2,7 @@
9 [INTERACTIVE COMMANDS]
10 .SS calibrate
11 .PP
12 -Usage: \f[C]calibrate\ <operation>\ [options]\f[]
13 +Usage: \f[CR]calibrate\ <operation>\ [options]\f[]
14 .PP
15 Perform the specified transceiver calibration operation.
16 .PP
17 @@ -11,46 +11,46 @@
18 LMS internal DC offset auto\-calibrations
19 .RS 2
20 .IP \[bu] 2
21 -\f[C]calibrate\ lms\ [show]\f[]
22 +\f[CR]calibrate\ lms\ [show]\f[]
23 .IP \[bu] 2
24 -\f[C]calibrate\ lms\ tuning\ [value]\f[]
25 +\f[CR]calibrate\ lms\ tuning\ [value]\f[]
26 .IP \[bu] 2
27 -\f[C]calibrate\ lms\ txlpf\ [<I\ filter>\ <Q\ filter>]\f[]
28 +\f[CR]calibrate\ lms\ txlpf\ [<I\ filter>\ <Q\ filter>]\f[]
29 .IP \[bu] 2
30 -\f[C]calibrate\ lms\ rxlpf\ [<I\ filter>\ <Q\ filter>]\f[]
31 +\f[CR]calibrate\ lms\ rxlpf\ [<I\ filter>\ <Q\ filter>]\f[]
32 .IP \[bu] 2
33 -\f[C]calibrate\ lms\ rxvga2\ [<DC\ ref>\ <I1>\ <Q1>\ <I2>\ <Q2>]\f[]
34 +\f[CR]calibrate\ lms\ rxvga2\ [<DC\ ref>\ <I1>\ <Q1>\ <I2>\ <Q2>]\f[]
35 .PP
36 Perform the specified auto\-calibration, or all of them if none are
37 provided.
38 When values are provided, these are used instead of the results of the
39 auto\-calibration procedure.
40 -Use \f[C]lms\ show\f[] to read and print the current LMS calibration
41 +Use \f[CR]lms\ show\f[] to read and print the current LMS calibration
42 values.
43 .PP
44 -For \f[C]rxvga2\f[], \f[C]I1\f[] and \f[C]Q1\f[] are the Stage 1 I and Q
45 -components respectively, and \f[C]I2\f[] and \f[C]Q2\f[] are the Stage 2
46 +For \f[CR]rxvga2\f[], \f[CR]I1\f[] and \f[CR]Q1\f[] are the Stage 1 I and Q
47 +components respectively, and \f[CR]I2\f[] and \f[CR]Q2\f[] are the Stage 2
48 I and Q components.
49 .RE
50 .IP \[bu] 2
51 RX and TX I/Q DC offset correction parameter calibration
52 .RS 2
53 .IP \[bu] 2
54 -\f[C]calibrate\ dc\ <rx|tx>\ [<I>\ <Q>]\f[]
55 +\f[CR]calibrate\ dc\ <rx|tx>\ [<I>\ <Q>]\f[]
56 .IP \[bu] 2
57 -\f[C]calibrate\ dc\ <rxtx>\f[]
58 +\f[CR]calibrate\ dc\ <rxtx>\f[]
59 .PP
60 Calibrate the DC offset correction parameters for the current frequency
61 and gain settings.
62 If a I/Q values are provided, they are applied directly.
63 -\f[C]cal\ rxtx\f[] is shorthand for \f[C]cal\ rx\f[] followed by
64 -\f[C]cal\ tx\f[].
65 +\f[CR]cal\ rxtx\f[] is shorthand for \f[CR]cal\ rx\f[] followed by
66 +\f[CR]cal\ tx\f[].
67 .RE
68 .IP \[bu] 2
69 RX and TX I/Q balance correction parameter calibration
70 .RS 2
71 .IP \[bu] 2
72 -\f[C]calibrate\ iq\ <rx|tx>\ <gain|phase>\ <value>\f[]
73 +\f[CR]calibrate\ iq\ <rx|tx>\ <gain|phase>\ <value>\f[]
74 .PP
75 Set the specified IQ gain or phase balance parameters.
76 .RE
77 @@ -58,13 +58,13 @@
78 Generate RX or TX I/Q DC correction parameter tables
79 .RS 2
80 .IP \[bu] 2
81 -\f[C]calibrate\ table\ dc\ <rx|tx>\ [<f_min>\ <f_max>\ [f_inc]]\f[]
82 +\f[CR]calibrate\ table\ dc\ <rx|tx>\ [<f_min>\ <f_max>\ [f_inc]]\f[]
83 .PP
84 Generate and write an I/Q correction parameter table to the current
85 -working directory, in a file named \f[C]<serial>_dc_<rx|tx>.tbl\f[].
86 -\f[C]f_min\f[] and \f[C]f_max\f[] are min and max frequencies to include
87 +working directory, in a file named \f[CR]<serial>_dc_<rx|tx>.tbl\f[].
88 +\f[CR]f_min\f[] and \f[CR]f_max\f[] are min and max frequencies to include
89 in the table.
90 -\f[C]f_inc\f[] is the frequency increment.
91 +\f[CR]f_inc\f[] is the frequency increment.
92 .PP
93 By default, tables are generated over the entire frequency range, in 10
94 MHz steps.
95 @@ -74,34 +74,34 @@
96 Table
97 .RS 2
98 .IP \[bu] 2
99 -\f[C]calibrate\ table\ agc\ <rx|tx>\ [<f_min>\ <f_max>\ [f_inc]]\f[]
100 +\f[CR]calibrate\ table\ agc\ <rx|tx>\ [<f_min>\ <f_max>\ [f_inc]]\f[]
101 .PP
102 -Similar usage as \f[C]calibrate\ table\ dc\f[] except the call will set
103 +Similar usage as \f[CR]calibrate\ table\ dc\f[] except the call will set
104 gains to the AGC\[aq]s base gain value before running
105 -\f[C]calibrate\ table\ dc\f[].
106 +\f[CR]calibrate\ table\ dc\f[].
107 .RE
108 .SS clear
109 .PP
110 -Usage: \f[C]clear\f[]
111 +Usage: \f[CR]clear\f[]
112 .PP
113 Clears the screen.
114 .SS echo
115 .PP
116 -Usage: \f[C]echo\ [arg\ 1]\ [arg\ 2]\ ...\ [arg\ n]\f[]
117 +Usage: \f[CR]echo\ [arg\ 1]\ [arg\ 2]\ ...\ [arg\ n]\f[]
118 .PP
119 Echo each argument on a new line.
120 .SS erase
121 .PP
122 -Usage: \f[C]erase\ <offset>\ <count>\f[]
123 +Usage: \f[CR]erase\ <offset>\ <count>\f[]
124 .PP
125 Erase specified erase blocks SPI flash.
126 .IP \[bu] 2
127 -\f[C]<offset>\f[] \- Erase block offset
128 +\f[CR]<offset>\f[] \- Erase block offset
129 .IP \[bu] 2
130 -\f[C]<count>\f[] \- Number of erase blocks to erase
131 +\f[CR]<count>\f[] \- Number of erase blocks to erase
132 .SS flash_backup
133 .PP
134 -Usage: \f[C]flash_backup\ <file>\ (<type>\ |\ <address>\ <length>)\f[]
135 +Usage: \f[CR]flash_backup\ <file>\ (<type>\ |\ <address>\ <length>)\f[]
136 .PP
137 Back up flash data to the specified file.
138 This command takes either two or four arguments.
139 @@ -110,7 +110,7 @@
140 .PP
141 Parameters:
142 .IP \[bu] 2
143 -\f[C]<type>\f[] \- Type of backup.
144 +\f[CR]<type>\f[] \- Type of backup.
145 .RS 2
146 .PP
147 This selects the appropriate address and length values based upon the
148 @@ -118,6 +118,7 @@
149 .PP
150 Valid options are:
151 .PP
152 +.nr TW 1
153 .TS
154 tab(@);
155 rw(11.7n) lw(52.5n).
156 @@ -128,68 +129,68 @@
157 T}
158 _
159 T{
160 -\f[C]cal\f[]
161 +\f[CR]cal\f[]
162 T}@T{
163 Calibration data
164 T}
165 T{
166 -\f[C]fw\f[]
167 +\f[CR]fw\f[]
168 T}@T{
169 Firmware
170 T}
171 T{
172 -\f[C]fpga40\f[]
173 +\f[CR]fpga40\f[]
174 T}@T{
175 Metadata and bitstream for 40 kLE FPGA
176 T}
177 T{
178 -\f[C]fpga115\f[]
179 +\f[CR]fpga115\f[]
180 T}@T{
181 Metadata and bitstream for 115 kLE FPGA
182 T}
183 T{
184 -\f[C]fpgaA4\f[]
185 +\f[CR]fpgaA4\f[]
186 T}@T{
187 Metadata and bitstream for 49 kLE (A4) FPGA
188 T}
189 T{
190 -\f[C]fpgaA5\f[]
191 +\f[CR]fpgaA5\f[]
192 T}@T{
193 Metadata and bitstream for 77 kLE (A5) FPGA
194 T}
195 T{
196 -\f[C]fpgaA9\f[]
197 +\f[CR]fpgaA9\f[]
198 T}@T{
199 Metadata and bitstream for 301 kLE (A9) FPGA
200 T}
201 .TE
202 .RE
203 .IP \[bu] 2
204 -\f[C]<address>\f[] \- Address of data to back up.
205 +\f[CR]<address>\f[] \- Address of data to back up.
206 Must be erase block\-aligned.
207 .IP \[bu] 2
208 -\f[C]<len>\f[] \- Length of region to back up.
209 +\f[CR]<len>\f[] \- Length of region to back up.
210 Must be erase block\-aligned.
211 .PP
212 Note: When an address and length are provided, the image type will
213 -default to \f[C]raw\f[].
214 +default to \f[CR]raw\f[].
215 .PP
216 Examples:
217 .IP \[bu] 2
218 -\f[C]flash_backup\ cal.bin\ cal\f[]
219 +\f[CR]flash_backup\ cal.bin\ cal\f[]
220 .RS 2
221 .PP
222 Backs up the calibration data region.
223 .RE
224 .IP \[bu] 2
225 -\f[C]flash_backup\ cal_raw.bin\ 0x30000\ 0x10000\f[]
226 +\f[CR]flash_backup\ cal_raw.bin\ 0x30000\ 0x10000\f[]
227 .RS 2
228 .PP
229 Backs up the calibration region as a raw data image.
230 .RE
231 .SS flash_image
232 .PP
233 -Usage: \f[C]flash_image\ <image>\ [output\ options]\f[]
234 +Usage: \f[CR]flash_image\ <image>\ [output\ options]\f[]
235 .PP
236 Print a flash image\[aq]s metadata or create a new flash image.
237 When provided with the name of a flash image file as the only argument,
238 @@ -197,24 +198,24 @@
239 .PP
240 The following options may be used to create a new flash image.
241 .IP \[bu] 2
242 -\f[C]data=<file>\f[]
243 +\f[CR]data=<file>\f[]
244 .RS 2
245 .PP
246 File to containing data to store in the image.
247 .RE
248 .IP \[bu] 2
249 -\f[C]address=<addr>\f[]
250 +\f[CR]address=<addr>\f[]
251 .RS 2
252 .PP
253 Flash address.
254 -The default depends upon \f[C]type\f[] parameter.
255 +The default depends upon \f[CR]type\f[] parameter.
256 .RE
257 .IP \[bu] 2
258 -\f[C]type=<type>\f[]
259 +\f[CR]type=<type>\f[]
260 .RS 2
261 .PP
262 Type of flash image.
263 -Defaults to \f[C]raw\f[].
264 +Defaults to \f[CR]raw\f[].
265 .PP
266 Valid options are:
267 .PP
268 @@ -228,42 +229,42 @@
269 T}
270 _
271 T{
272 -\f[C]cal\f[]
273 +\f[CR]cal\f[]
274 T}@T{
275 Calibration data
276 T}
277 T{
278 -\f[C]fw\f[]
279 +\f[CR]fw\f[]
280 T}@T{
281 Firmware
282 T}
283 T{
284 -\f[C]fpga40\f[]
285 +\f[CR]fpga40\f[]
286 T}@T{
287 Metadata and bitstream for 40 kLE FPGA
288 T}
289 T{
290 -\f[C]fpga115\f[]
291 +\f[CR]fpga115\f[]
292 T}@T{
293 Metadata and bitstream for 115 kLE FPGA
294 T}
295 T{
296 -\f[C]fpgaA4\f[]
297 +\f[CR]fpgaA4\f[]
298 T}@T{
299 Metadata and bitstream for 49 kLE (A4) FPGA
300 T}
301 T{
302 -\f[C]fpgaA5\f[]
303 +\f[CR]fpgaA5\f[]
304 T}@T{
305 Metadata and bitstream for 77 kLE (A5) FPGA
306 T}
307 T{
308 -\f[C]fpgaA9\f[]
309 +\f[CR]fpgaA9\f[]
310 T}@T{
311 Metadata and bitstream for 301 kLE (A9) FPGA
312 T}
313 T{
314 -\f[C]raw\f[]
315 +\f[CR]raw\f[]
316 T}@T{
317 Raw data.
318 The address and length parameters must be provided if this type is
319 @@ -272,7 +273,7 @@
320 .TE
321 .RE
322 .IP \[bu] 2
323 -\f[C]serial=<serial>\f[]
324 +\f[CR]serial=<serial>\f[]
325 .RS 2
326 .PP
327 Serial # to store in image.
328 @@ -281,26 +282,26 @@
329 .SS flash_init_cal
330 .PP
331 Usage:
332 -\f[C]flash_init_cal\ <fpga_size>\ <vctcxo_trim>\ [<output_file>]\f[]
333 +\f[CR]flash_init_cal\ <fpga_size>\ <vctcxo_trim>\ [<output_file>]\f[]
334 .PP
335 Create and write a new calibration data region to the currently opened
336 device, or to a file.
337 Be sure to back up calibration data prior to running this command.
338 -(See the \f[C]flash_backup\f[] command.)
339 +(See the \f[CR]flash_backup\f[] command.)
340 .IP \[bu] 2
341 -\f[C]<fpga_size>\f[]
342 +\f[CR]<fpga_size>\f[]
343 .RS 2
344 .PP
345 Either 40 or 115, depending on the device model.
346 .RE
347 .IP \[bu] 2
348 -\f[C]<vctcxo_trim>\f[]
349 +\f[CR]<vctcxo_trim>\f[]
350 .RS 2
351 .PP
352 -VCTCXO/DAC trim value (\f[C]0x0\f[]\-\f[C]0xffff\f[])
353 +VCTCXO/DAC trim value (\f[CR]0x0\f[]\-\f[CR]0xffff\f[])
354 .RE
355 .IP \[bu] 2
356 -\f[C]<output_file>\f[]
357 +\f[CR]<output_file>\f[]
358 .RS 2
359 .PP
360 File to write calibration data to.
361 @@ -309,37 +310,37 @@
362 .RE
363 .SS flash_restore
364 .PP
365 -Usage: \f[C]flash_restore\ <file>\ [<address>\ <length>]\f[]
366 +Usage: \f[CR]flash_restore\ <file>\ [<address>\ <length>]\f[]
367 .PP
368 Restore flash data from a file, optionally overriding values in the
369 image metadata.
370 .IP \[bu] 2
371 -\f[C]<address>\f[]
372 +\f[CR]<address>\f[]
373 .RS 2
374 .PP
375 Defaults to the address specified in the provided flash image file.
376 .RE
377 .IP \[bu] 2
378 -\f[C]<length>\f[]
379 +\f[CR]<length>\f[]
380 .RS 2
381 .PP
382 Defaults to length of the data in the provided image file.
383 .RE
384 .SS fw_log
385 .PP
386 -Usage: \f[C]fw_log\f[] [filename]
387 +Usage: \f[CR]fw_log\f[] [filename]
388 .PP
389 Read the contents of the device\[aq]s firmware log and write it to the
390 specified file.
391 If no filename is specified, the log content is written to stdout.
392 .SS help
393 .PP
394 -Usage: \f[C]help\ [<command>]\f[]
395 +Usage: \f[CR]help\ [<command>]\f[]
396 .PP
397 Provides extended help, like this, on any command.
398 .SS info
399 .PP
400 -Usage: \f[C]info\f[]
401 +Usage: \f[CR]info\f[]
402 .PP
403 Prints the following information about an opened device:
404 .IP \[bu] 2
405 @@ -358,7 +359,7 @@
406 Instance number
407 .SS jump_to_boot
408 .PP
409 -Usage: \f[C]jump_to_boot\f[]
410 +Usage: \f[CR]jump_to_boot\f[]
411 .PP
412 Clear out a FW signature word in flash and jump to FX3 bootloader.
413 .PP
414 @@ -366,30 +367,30 @@
415 cycles until new firmware is written to the device.
416 .SS load
417 .PP
418 -Usage: \f[C]load\ <fpga|fx3>\ <filename>\f[]
419 +Usage: \f[CR]load\ <fpga|fx3>\ <filename>\f[]
420 .PP
421 Load an FPGA bitstream or program the FX3\[aq]s SPI flash.
422 .SS xb
423 .PP
424 -Usage: \f[C]xb\ <board_model>\ <subcommand>\ [parameters]\f[]
425 +Usage: \f[CR]xb\ <board_model>\ <subcommand>\ [parameters]\f[]
426 .PP
427 Enable or configure an expansion board.
428 .PP
429 -Valid values for \f[C]board_model\f[]:
430 +Valid values for \f[CR]board_model\f[]:
431 .IP \[bu] 2
432 -\f[C]100\f[]
433 +\f[CR]100\f[]
434 .RS 2
435 .PP
436 XB\-100 GPIO expansion board
437 .RE
438 .IP \[bu] 2
439 -\f[C]200\f[]
440 +\f[CR]200\f[]
441 .RS 2
442 .PP
443 XB\-200 LF/MF/HF/VHF transverter expansion board
444 .RE
445 .IP \[bu] 2
446 -\f[C]300\f[]
447 +\f[CR]300\f[]
448 .RS 2
449 .PP
450 XB\-300 amplifier board
451 @@ -397,7 +398,7 @@
452 .PP
453 Common subcommands:
454 .IP \[bu] 2
455 -\f[C]enable\f[]
456 +\f[CR]enable\f[]
457 .RS 2
458 .PP
459 Enable the XB\-100, XB\-200, or XB\-300 expansion board.
460 @@ -405,7 +406,7 @@
461 .PP
462 XB\-200 subcommands:
463 .IP \[bu] 2
464 -\f[C]filter\ [rx|tx]\ [50|144|222|custom|auto_1db|auto_3db]\f[]
465 +\f[CR]filter\ [rx|tx]\ [50|144|222|custom|auto_1db|auto_3db]\f[]
466 .RS 2
467 .PP
468 Selects the specified RX or TX filter on the XB\-200 board.
469 @@ -415,7 +416,7 @@
470 .RS 2
471 .IP
472 .nf
473 -\f[C]
474 +\f[CR]
475 Select\ the\ 50\-54\ MHz\ (6\ meter\ band)\ filter.
476 \f[]
477 .fi
478 @@ -425,7 +426,7 @@
479 .RS 2
480 .IP
481 .nf
482 -\f[C]
483 +\f[CR]
484 Select\ the\ 144\-148\ MHz\ (2\ meter\ band)\ filter.
485 \f[]
486 .fi
487 @@ -435,7 +436,7 @@
488 .RS 2
489 .IP
490 .nf
491 -\f[C]
492 +\f[CR]
493 Select\ the\ 222\-225\ MHz\ (1.25\ meter\ band)\ filter.\ Realistically,
494 this\ filter\ option\ is\ actually\ slightly\ wider,\ covering
495 206\ MHz\ \-\ 235\ MHz.
496 @@ -447,7 +448,7 @@
497 .RS 2
498 .IP
499 .nf
500 -\f[C]
501 +\f[CR]
502 Selects\ the\ custom\ filter\ path.\ The\ user\ should\ connect\ a\ filter
503 along\ the\ corresponding\ FILT\ and\ FILT\-ANT\ connections\ when\ using
504 this\ option.\ \ Alternatively\ one\ may\ jumper\ the\ FILT\ and\ FILT\-ANT
505 @@ -461,7 +462,7 @@
506 .RS 2
507 .IP
508 .nf
509 -\f[C]
510 +\f[CR]
511 Automatically\ selects\ one\ of\ the\ above\ choices\ based\ upon\ frequency
512 and\ the\ filters\[aq]\ 1dB\ points.\ The\ custom\ path\ is\ used\ for\ cases
513 that\ are\ not\ associated\ with\ the\ on\-board\ filters.
514 @@ -473,7 +474,7 @@
515 .RS 2
516 .IP
517 .nf
518 -\f[C]
519 +\f[CR]
520 Automatically\ selects\ one\ of\ the\ above\ choices\ based\ upon\ frequency
521 and\ the\ filters\[aq]\ 3dB\ points.\ The\ custom\ path\ is\ used\ for\ cases
522 that\ are\ not\ associated\ with\ the\ on\-board\ filters.
523 @@ -484,7 +485,7 @@
524 .PP
525 XB\-300 subcommands:
526 .IP \[bu] 2
527 -\f[C]<pa|lna|aux>\ [on|off]\f[]
528 +\f[CR]<pa|lna|aux>\ [on|off]\f[]
529 .RS 2
530 .PP
531 Enable or disable the power amplifier (PA), low\-noise amplifier (lna)
532 @@ -493,20 +494,20 @@
533 specified.
534 .PP
535 Note: The auxiliary path on the XB\-300 is not populated with components
536 -by default; the \f[C]aux\f[] control will have no effect upon the RX
537 +by default; the \f[CR]aux\f[] control will have no effect upon the RX
538 signal.
539 This option is available for users to modify their board with custom
540 hardware.
541 .RE
542 .IP \[bu] 2
543 -\f[C]<pwr>\f[]
544 +\f[CR]<pwr>\f[]
545 .RS 2
546 .PP
547 Read the current Power Detect (PDET) voltage and compute the output
548 power.
549 .RE
550 .IP \[bu] 2
551 -\f[C]trx\ <rx|tx>\f[]
552 +\f[CR]trx\ <rx|tx>\f[]
553 .RS 2
554 .PP
555 The default XB\-300 hardware configuration includes separate RX and TX
556 @@ -519,27 +520,27 @@
557 .PP
558 Examples:
559 .IP \[bu] 2
560 -\f[C]xb\ 200\ enable\f[]
561 +\f[CR]xb\ 200\ enable\f[]
562 .RS 2
563 .PP
564 Enables and configures the XB\-200 transverter expansion board.
565 .RE
566 .IP \[bu] 2
567 -\f[C]xb\ 200\ filter\ rx\ 144\f[]
568 +\f[CR]xb\ 200\ filter\ rx\ 144\f[]
569 .RS 2
570 .PP
571 Selects the 144\-148 MHz receive filter on the XB\-200 transverter
572 expansion board.
573 .RE
574 .IP \[bu] 2
575 -\f[C]xb\ 300\ enable\f[]
576 +\f[CR]xb\ 300\ enable\f[]
577 .RS 2
578 .PP
579 Enables and configures the use of GPIOs to interact with the XB\-300.
580 The PA and LNA will disabled by default.
581 .RE
582 .IP \[bu] 2
583 -\f[C]xb\ 300\ lna\ on\f[]
584 +\f[CR]xb\ 300\ lna\ on\f[]
585 .RS 2
586 .PP
587 Enables the RX LNA on the XB\-300.
588 @@ -547,7 +548,7 @@
589 is disabled.
590 .RE
591 .IP \[bu] 2
592 -\f[C]xb\ 300\ pa\ off\f[]
593 +\f[CR]xb\ 300\ pa\ off\f[]
594 .RS 2
595 .PP
596 Disables the TX PA on the XB\-300.
597 @@ -556,29 +557,29 @@
598 .RE
599 .SS mimo
600 .PP
601 -Usage: \f[C]mimo\ [master\ |\ slave]\f[]
602 +Usage: \f[CR]mimo\ [master\ |\ slave]\f[]
603 .PP
604 Modify device MIMO operation.
605 .PP
606 IMPORTANT: This command is deprecated and has been superseded by
607 -\f[C]"print/set\ smb_mode"\f[].
608 -For usage text, run: "\f[C]set\ smb_mode\f[]"
609 +\f[CR]"print/set\ smb_mode"\f[].
610 +For usage text, run: "\f[CR]set\ smb_mode\f[]"
611 .SS open
612 .PP
613 -Usage: \f[C]open\ [device\ identifiers]\f[]
614 +Usage: \f[CR]open\ [device\ identifiers]\f[]
615 .PP
616 Open the specified device for use with successive commands.
617 Any previously opened device will be closed.
618 .PP
619 The general form of the device identifier string is:
620 .PP
621 -\f[C]<backend>:[device=<bus>:<addr>]\ [instance=<n>]\ [serial=<serial>]\f[]
622 +\f[CR]<backend>:[device=<bus>:<addr>]\ [instance=<n>]\ [serial=<serial>]\f[]
623 .PP
624 -See the \f[C]bladerf_open()\f[] documentation in libbladeRF for the
625 +See the \f[CR]bladerf_open()\f[] documentation in libbladeRF for the
626 complete device specifier format.
627 .SS peek
628 .PP
629 -Usage: \f[C]peek\ <rfic|pll|dac|lms|si>\ <address>\ [num_addresses]\f[]
630 +Usage: \f[CR]peek\ <rfic|pll|dac|lms|si>\ <address>\ [num_addresses]\f[]
631 .PP
632 The peek command can read any of the devices hanging off the FPGA.
633 This includes the:
634 @@ -588,7 +589,7 @@
635 bladeRF 2: AD9361 transceiver, VCTCXO trim DAC, ADF4002 frequency
636 synthesizer
637 .PP
638 -If \f[C]num_addresses\f[] is supplied, the address is incremented by 1
639 +If \f[CR]num_addresses\f[] is supplied, the address is incremented by 1
640 and another peek is performed for that many addresses.
641 .PP
642 Valid Address Ranges:
643 @@ -603,27 +604,27 @@
644 T}
645 _
646 T{
647 -\f[C]rfic\f[]
648 +\f[CR]rfic\f[]
649 T}@T{
650 0 to 0x3F7 (1015)
651 T}
652 T{
653 -\f[C]pll\f[]
654 +\f[CR]pll\f[]
655 T}@T{
656 0 to 3
657 T}
658 T{
659 -\f[C]dac\f[]
660 +\f[CR]dac\f[]
661 T}@T{
662 0 to 255
663 T}
664 T{
665 -\f[C]lms\f[]
666 +\f[CR]lms\f[]
667 T}@T{
668 0 to 127
669 T}
670 T{
671 -\f[C]si\f[]
672 +\f[CR]si\f[]
673 T}@T{
674 0 to 255
675 T}
676 @@ -631,10 +632,10 @@
677 .PP
678 Example:
679 .IP \[bu] 2
680 -\f[C]peek\ si\ ...\f[]
681 +\f[CR]peek\ si\ ...\f[]
682 .SS poke
683 .PP
684 -Usage: \f[C]poke\ <rfic|pll|dac|lms|si>\ <address>\ <data>\f[]
685 +Usage: \f[CR]poke\ <rfic|pll|dac|lms|si>\ <address>\ <data>\f[]
686 .PP
687 The poke command can write any of the devices hanging off the FPGA.
688 This includes the:
689 @@ -656,27 +657,27 @@
690 T}
691 _
692 T{
693 -\f[C]rfic\f[]
694 +\f[CR]rfic\f[]
695 T}@T{
696 0 to 0x3F7 (1015)
697 T}
698 T{
699 -\f[C]pll\f[]
700 +\f[CR]pll\f[]
701 T}@T{
702 0 to 3
703 T}
704 T{
705 -\f[C]dac\f[]
706 +\f[CR]dac\f[]
707 T}@T{
708 0 to 255
709 T}
710 T{
711 -\f[C]lms\f[]
712 +\f[CR]lms\f[]
713 T}@T{
714 0 to 127
715 T}
716 T{
717 -\f[C]si\f[]
718 +\f[CR]si\f[]
719 T}@T{
720 0 to 255
721 T}
722 @@ -684,12 +685,12 @@
723 .PP
724 Example:
725 .IP \[bu] 2
726 -\f[C]poke\ lms\ ...\f[]
727 +\f[CR]poke\ lms\ ...\f[]
728 .SS print
729 .PP
730 -Usage: \f[C]print\ [parameter]\f[]
731 +Usage: \f[CR]print\ [parameter]\f[]
732 .PP
733 -The \f[C]print\f[] command takes a parameter to print.
734 +The \f[CR]print\f[] command takes a parameter to print.
735 Available parameters are listed below.
736 If no parameter is specified, all parameters are printed.
737 .PP
738 @@ -705,52 +706,52 @@
739 T}
740 _
741 T{
742 -\f[C]bandwidth\f[]
743 +\f[CR]bandwidth\f[]
744 T}@T{
745 Bandwidth settings
746 T}
747 T{
748 -\f[C]frequency\f[]
749 +\f[CR]frequency\f[]
750 T}@T{
751 Frequency settings
752 T}
753 T{
754 -\f[C]agc\f[]
755 +\f[CR]agc\f[]
756 T}@T{
757 Automatic gain control
758 T}
759 T{
760 -\f[C]loopback\f[]
761 +\f[CR]loopback\f[]
762 T}@T{
763 Loopback settings
764 T}
765 T{
766 -\f[C]rx_mux\f[]
767 +\f[CR]rx_mux\f[]
768 T}@T{
769 FPGA RX FIFO input mux setting
770 T}
771 T{
772 -\f[C]gain\f[]
773 +\f[CR]gain\f[]
774 T}@T{
775 Gain settings
776 T}
777 T{
778 -\f[C]samplerate\f[]
779 +\f[CR]samplerate\f[]
780 T}@T{
781 Samplerate settings
782 T}
783 T{
784 -\f[C]trimdac\f[]
785 +\f[CR]trimdac\f[]
786 T}@T{
787 VCTCXO Trim DAC settings
788 T}
789 T{
790 -\f[C]tuning_mode\f[]
791 +\f[CR]tuning_mode\f[]
792 T}@T{
793 Tuning mode settings
794 T}
795 T{
796 -\f[C]hardware\f[]
797 +\f[CR]hardware\f[]
798 T}@T{
799 Low\-level hardware status
800 T}
801 @@ -768,57 +769,57 @@
802 T}
803 _
804 T{
805 -\f[C]gpio\f[]
806 +\f[CR]gpio\f[]
807 T}@T{
808 FX3 <\-> FPGA GPIO state
809 T}
810 T{
811 -\f[C]lnagain\f[]
812 +\f[CR]lnagain\f[]
813 T}@T{
814 RX LNA gain, in dB (deprecated)
815 T}
816 T{
817 -\f[C]rxvga1\f[]
818 +\f[CR]rxvga1\f[]
819 T}@T{
820 RXVGA1 gain, in dB (deprecated)
821 T}
822 T{
823 -\f[C]rxvga2\f[]
824 +\f[CR]rxvga2\f[]
825 T}@T{
826 RXVGA2 gain, in dB (deprecated)
827 T}
828 T{
829 -\f[C]txvga1\f[]
830 +\f[CR]txvga1\f[]
831 T}@T{
832 TXVGA1 gain, in dB (deprecated)
833 T}
834 T{
835 -\f[C]txvga2\f[]
836 +\f[CR]txvga2\f[]
837 T}@T{
838 TXVGA2 gain, in dB (deprecated)
839 T}
840 T{
841 -\f[C]sampling\f[]
842 +\f[CR]sampling\f[]
843 T}@T{
844 External or internal sampling mode
845 T}
846 T{
847 -\f[C]smb_mode\f[]
848 +\f[CR]smb_mode\f[]
849 T}@T{
850 SMB clock port mode of operation
851 T}
852 T{
853 -\f[C]vctcxo_tamer\f[]
854 +\f[CR]vctcxo_tamer\f[]
855 T}@T{
856 Current VCTCXO tamer mode
857 T}
858 T{
859 -\f[C]xb_gpio\f[]
860 +\f[CR]xb_gpio\f[]
861 T}@T{
862 Expansion board GPIO values
863 T}
864 T{
865 -\f[C]xb_gpio_dir\f[]
866 +\f[CR]xb_gpio_dir\f[]
867 T}@T{
868 Expansion board GPIO direction (1=output, 0=input)
869 T}
870 @@ -836,62 +837,62 @@
871 T}
872 _
873 T{
874 -\f[C]clock_sel\f[]
875 +\f[CR]clock_sel\f[]
876 T}@T{
877 System clock selection
878 T}
879 T{
880 -\f[C]clock_out\f[]
881 +\f[CR]clock_out\f[]
882 T}@T{
883 Clock output selection
884 T}
885 T{
886 -\f[C]rssi\f[]
887 +\f[CR]rssi\f[]
888 T}@T{
889 Received signal strength indication
890 T}
891 T{
892 -\f[C]clock_ref\f[]
893 +\f[CR]clock_ref\f[]
894 T}@T{
895 ADF4002 chip status
896 T}
897 T{
898 -\f[C]refin_freq\f[]
899 +\f[CR]refin_freq\f[]
900 T}@T{
901 ADF4002 reference clock frequency
902 T}
903 T{
904 -\f[C]biastee\f[]
905 +\f[CR]biastee\f[]
906 T}@T{
907 Current bias\-tee status
908 T}
909 T{
910 -\f[C]filter\f[]
911 +\f[CR]filter\f[]
912 T}@T{
913 RFIC FIR filter selection
914 T}
915 .TE
916 .SS probe
917 .PP
918 -Usage: \f[C]probe\ [strict]\f[]
919 +Usage: \f[CR]probe\ [strict]\f[]
920 .PP
921 Search for attached bladeRF device and print a list of results.
922 .PP
923 -Without specifying \f[C]strict\f[], the lack of any available devices is
924 +Without specifying \f[CR]strict\f[], the lack of any available devices is
925 not considered an error.
926 .PP
927 -When provided the optional \f[C]strict\f[] argument, this command will
928 +When provided the optional \f[CR]strict\f[] argument, this command will
929 treat the situation where no devices are found as an error, causing
930 -scripts or lists of commands provided via the \f[C]\-e\f[] command line
931 +scripts or lists of commands provided via the \f[CR]\-e\f[] command line
932 argument to terminate immediately.
933 .SS quit
934 .PP
935 -Usage: \f[C]quit\f[]
936 +Usage: \f[CR]quit\f[]
937 .PP
938 Exit the CLI.
939 .SS recover
940 .PP
941 -Usage: \f[C]recover\ [<bus>\ <address>\ <firmware\ file>]\f[]
942 +Usage: \f[CR]recover\ [<bus>\ <address>\ <firmware\ file>]\f[]
943 .PP
944 Load firmware onto a device running in bootloader mode, or list all
945 devices currently in bootloader mode.
946 @@ -903,17 +904,17 @@
947 device will be loaded with and begin executing the provided firmware.
948 .PP
949 In most cases, after successfully loading firmware into the device\[aq]s
950 -RAM, users should open the device with the "\f[C]open\f[]" command, and
951 -write the firmware to flash via "\f[C]load\ fx3\ <firmware\ file>\f[]"
952 +RAM, users should open the device with the "\f[CR]open\f[]" command, and
953 +write the firmware to flash via "\f[CR]load\ fx3\ <firmware\ file>\f[]"
954 .SS run
955 .PP
956 -Usage: \f[C]run\ <script>\f[]
957 +Usage: \f[CR]run\ <script>\f[]
958 .PP
959 Run the provided script.
960 .SS rx
961 .PP
962 Usage:
963 -\f[C]rx\ <start\ |\ stop\ |\ wait\ |\ config\ [param=val\ [param=val\ [...]]>\f[]
964 +\f[CR]rx\ <start\ |\ stop\ |\ wait\ |\ config\ [param=val\ [param=val\ [...]]>\f[]
965 .PP
966 Receive IQ samples and write them to the specified file.
967 Reception is controlled and configured by one of the following:
968 @@ -928,41 +929,41 @@
969 T}
970 _
971 T{
972 -\f[C]start\f[]
973 +\f[CR]start\f[]
974 T}@T{
975 Start receiving samples
976 T}
977 T{
978 -\f[C]stop\f[]
979 +\f[CR]stop\f[]
980 T}@T{
981 Stop receiving samples
982 T}
983 T{
984 -\f[C]wait\f[]
985 +\f[CR]wait\f[]
986 T}@T{
987 Wait for sample transmission to complete, or until a specified amount of
988 time elapses
989 T}
990 T{
991 -\f[C]config\f[]
992 +\f[CR]config\f[]
993 T}@T{
994 Configure sample reception.
995 If no parameters are provided, the current parameters are printed.
996 T}
997 .TE
998 .PP
999 -Running \f[C]rx\f[] without any additional commands is valid shorthand
1000 -for \f[C]rx\ config\f[].
1001 +Running \f[CR]rx\f[] without any additional commands is valid shorthand
1002 +for \f[CR]rx\ config\f[].
1003 .PP
1004 -The \f[C]wait\f[] command takes an optional \f[C]timeout\f[] parameter.
1005 -This parameter defaults to units of milliseconds (\f[C]ms\f[]).
1006 -The timeout unit may be specified using the \f[C]ms\f[] or \f[C]s\f[]
1007 +The \f[CR]wait\f[] command takes an optional \f[CR]timeout\f[] parameter.
1008 +This parameter defaults to units of milliseconds (\f[CR]ms\f[]).
1009 +The timeout unit may be specified using the \f[CR]ms\f[] or \f[CR]s\f[]
1010 suffixes.
1011 If this parameter is not provided, the command will wait until the
1012 -reception completes or \f[C]Ctrl\-C\f[] is pressed.
1013 +reception completes or \f[CR]Ctrl\-C\f[] is pressed.
1014 .PP
1015 -Configuration parameters take the form \f[C]param=value\f[], and may be
1016 -specified in a single or multiple \f[C]rx\ config\f[] invocations.
1017 +Configuration parameters take the form \f[CR]param=value\f[], and may be
1018 +specified in a single or multiple \f[CR]rx\ config\f[] invocations.
1019 Below is a list of available parameters.
1020 .PP
1021 .TS
1022 @@ -975,59 +976,59 @@
1023 T}
1024 _
1025 T{
1026 -\f[C]n\f[]
1027 +\f[CR]n\f[]
1028 T}@T{
1029 Number of samples to receive.
1030 0 = inf.
1031 T}
1032 T{
1033 -\f[C]file\f[]
1034 +\f[CR]file\f[]
1035 T}@T{
1036 Filename to write received samples to
1037 T}
1038 T{
1039 -\f[C]format\f[]
1040 +\f[CR]format\f[]
1041 T}@T{
1042 Output file format.
1043 One of the following:
1044 T}
1045 T{
1046 T}@T{
1047 -\f[C]csv\f[]: CSV of SC16 Q11 samples
1048 +\f[CR]csv\f[]: CSV of SC16 Q11 samples
1049 T}
1050 T{
1051 T}@T{
1052 -\f[C]bin\f[]: Raw SC16 Q11 DAC samples
1053 +\f[CR]bin\f[]: Raw SC16 Q11 DAC samples
1054 T}
1055 T{
1056 -\f[C]samples\f[]
1057 +\f[CR]samples\f[]
1058 T}@T{
1059 Number of samples per buffer to use in the asynchronous stream.
1060 Must be divisible by 1024 and >= 1024.
1061 T}
1062 T{
1063 -\f[C]buffers\f[]
1064 +\f[CR]buffers\f[]
1065 T}@T{
1066 Number of sample buffers to use in the asynchronous stream.
1067 The min value is 4.
1068 T}
1069 T{
1070 -\f[C]xfers\f[]
1071 +\f[CR]xfers\f[]
1072 T}@T{
1073 Number of simultaneous transfers to allow the asynchronous stream to
1074 use.
1075 -This should be less than the \f[C]buffers\f[] parameter.
1076 +This should be less than the \f[CR]buffers\f[] parameter.
1077 T}
1078 T{
1079 -\f[C]timeout\f[]
1080 +\f[CR]timeout\f[]
1081 T}@T{
1082 Data stream timeout.
1083 -With no suffix, the default unit is \f[C]ms\f[].
1084 +With no suffix, the default unit is \f[CR]ms\f[].
1085 The default value is 1000 ms (1 s).
1086 -Valid suffixes are \f[C]ms\f[] and \f[C]s\f[].
1087 +Valid suffixes are \f[CR]ms\f[] and \f[CR]s\f[].
1088 T}
1089 T{
1090 -\f[C]channel\f[]
1091 +\f[CR]channel\f[]
1092 T}@T{
1093 Comma\-delimited list of physical RF channels to use
1094 T}
1095 @@ -1035,45 +1036,45 @@
1096 .PP
1097 Example:
1098 .IP \[bu] 2
1099 -\f[C]rx\ config\ file=/tmp/data.bin\ format=bin\ n=10K\f[]
1100 +\f[CR]rx\ config\ file=/tmp/data.bin\ format=bin\ n=10K\f[]
1101 .RS 2
1102 .PP
1103 Receive (10240 = 10 * 1024) samples, writing them to
1104 -\f[C]/tmp/data.bin\f[] in the binary DAC format.
1105 +\f[CR]/tmp/data.bin\f[] in the binary DAC format.
1106 .RE
1107 .IP \[bu] 2
1108 -\f[C]rx\ config\ file=mimo.csv\ format=csv\ n=32768\ channel=1,2\f[]
1109 +\f[CR]rx\ config\ file=mimo.csv\ format=csv\ n=32768\ channel=1,2\f[]
1110 .RS 2
1111 .PP
1112 Receive 32768 samples from RX1 and RX2, outputting them to a file named
1113 -\f[C]mimo.csv\f[], with four columns (RX1 I, RX1 Q, RX2 I, RX2 Q).
1114 +\f[CR]mimo.csv\f[], with four columns (RX1 I, RX1 Q, RX2 I, RX2 Q).
1115 .RE
1116 .PP
1117 Notes:
1118 .IP \[bu] 2
1119 -The \f[C]n\f[], \f[C]samples\f[], \f[C]buffers\f[], and \f[C]xfers\f[]
1120 -parameters support the suffixes \f[C]K\f[], \f[C]M\f[], and \f[C]G\f[],
1121 +The \f[CR]n\f[], \f[CR]samples\f[], \f[CR]buffers\f[], and \f[CR]xfers\f[]
1122 +parameters support the suffixes \f[CR]K\f[], \f[CR]M\f[], and \f[CR]G\f[],
1123 which are multiples of 1024.
1124 .IP \[bu] 2
1125 -An \f[C]rx\ stop\f[] followed by an \f[C]rx\ start\f[] will result in
1126 +An \f[CR]rx\ stop\f[] followed by an \f[CR]rx\ start\f[] will result in
1127 the samples file being truncated.
1128 -If this is not desired, be sure to run \f[C]rx\ config\f[] to set
1129 +If this is not desired, be sure to run \f[CR]rx\ config\f[] to set
1130 another file before restarting the rx stream.
1131 .IP \[bu] 2
1132 -For higher sample rates, it is advised that the \f[C]bin\f[]ary output
1133 +For higher sample rates, it is advised that the \f[CR]bin\f[]ary output
1134 format be used, and the output file be written to RAM (e.g.
1135 -\f[C]/tmp\f[], \f[C]/dev/shm\f[]), if space allows.
1136 +\f[CR]/tmp\f[], \f[CR]/dev/shm\f[]), if space allows.
1137 For larger captures at higher sample rates, consider using an SSD
1138 instead of a HDD.
1139 .IP \[bu] 2
1140 The CSV format produces two columns per channel, with the first two
1141 columns corresponding to the I,Q pair for the first channel configured
1142 -with the \f[C]channel\f[] parameter; the next two columns corresponding
1143 +with the \f[CR]channel\f[] parameter; the next two columns corresponding
1144 to the I,Q of the second channel, and so on.
1145 .SS trigger
1146 .PP
1147 Usage:
1148 -\f[C]trigger\ [<trigger>\ <tx\ |\ rx>\ [<off\ slave\ master\ fire>]]\f[]
1149 +\f[CR]trigger\ [<trigger>\ <tx\ |\ rx>\ [<off\ slave\ master\ fire>]]\f[]
1150 .PP
1151 If used without parameters, this command prints the state of all
1152 triggers.
1153 @@ -1091,24 +1092,24 @@
1154 T}
1155 _
1156 T{
1157 -\f[C]J71\-4\f[]
1158 +\f[CR]J71\-4\f[]
1159 T}@T{
1160 -Trigger signal is on \f[C]mini_exp1\f[] (bladeRF x40/x115, J71, pin 4).
1161 +Trigger signal is on \f[CR]mini_exp1\f[] (bladeRF x40/x115, J71, pin 4).
1162 T}
1163 T{
1164 -\f[C]J51\-1\f[]
1165 +\f[CR]J51\-1\f[]
1166 T}@T{
1167 -Trigger signal is on \f[C]mini_exp1\f[] (bladeRF xA4/xA5/xA9, J51, pin 1).
1168 +Trigger signal is on \f[CR]mini_exp1\f[] (bladeRF xA4/xA5/xA9, J51, pin 1).
1169 T}
1170 T{
1171 -\f[C]Miniexp\-1\f[]
1172 +\f[CR]Miniexp\-1\f[]
1173 T}@T{
1174 -Trigger signal is on \f[C]mini_exp1\f[], hardware\-independent
1175 +Trigger signal is on \f[CR]mini_exp1\f[], hardware\-independent
1176 T}
1177 .TE
1178 .PP
1179 Note that all three of the above options map to the same logical port on
1180 -all devices (\f[C]mini_exp[1]\f[]).
1181 +all devices (\f[CR]mini_exp[1]\f[]).
1182 Multiple options are provided for reverse compatibility and clarity.
1183 .PP
1184 The trigger is controlled and configured by providing the last argument,
1185 @@ -1124,22 +1125,22 @@
1186 T}
1187 _
1188 T{
1189 -\f[C]off\f[]
1190 +\f[CR]off\f[]
1191 T}@T{
1192 Clears fire request and disables trigger functionality.
1193 T}
1194 T{
1195 -\f[C]slave\f[]
1196 +\f[CR]slave\f[]
1197 T}@T{
1198 Configures trigger as slave, clears fire request, and arms the device.
1199 T}
1200 T{
1201 -\f[C]master\f[]
1202 +\f[CR]master\f[]
1203 T}@T{
1204 Configures trigger as master, clears fire request, and arms the device.
1205 T}
1206 T{
1207 -\f[C]fire\f[]
1208 +\f[CR]fire\f[]
1209 T}@T{
1210 Sets fire request.
1211 Only applicable to the master.
1212 @@ -1161,7 +1162,7 @@
1213 \f[B]IMPORTANT\f[]
1214 .IP
1215 .nf
1216 -\f[C]
1217 +\f[CR]
1218 Never\ configure\ two\ devices\ as\ trigger\ masters\ on\ a\ single\ chain.
1219 Contention\ on\ the\ same\ signal\ could\ damage\ the\ devices.
1220 \f[]
1221 @@ -1174,7 +1175,7 @@
1222 .RS 4
1223 .IP
1224 .nf
1225 -\f[C]
1226 +\f[CR]
1227 The\ operation\ will\ stall\ until\ the\ triggers\ fire.\ As\ such,\ sufficiently
1228 large\ timeouts\ should\ be\ used\ to\ allow\ the\ trigger\ signal\ to\ be\ emitted
1229 by\ the\ master\ and\ received\ by\ the\ slaves\ prior\ to\ libbladeRF\ returning
1230 @@ -1187,7 +1188,7 @@
1231 .RS 4
1232 .IP
1233 .nf
1234 -\f[C]
1235 +\f[CR]
1236 All\ devices\ will\ synchronously\ start\ transmitting\ or\ receiving\ data.
1237 \f[]
1238 .fi
1239 @@ -1199,7 +1200,7 @@
1240 .RS 4
1241 .IP
1242 .nf
1243 -\f[C]
1244 +\f[CR]
1245 Steps\ 1\ through\ 5\ may\ be\ repeated\ as\ necessary.
1246 \f[]
1247 .fi
1248 @@ -1218,7 +1219,7 @@
1249 This value might change if the FPGA code is updated in the future.
1250 .SS tx
1251 .PP
1252 -Usage: \f[C]tx\ <start\ |\ stop\ |\ wait\ |\ config\ [parameters]>\f[]
1253 +Usage: \f[CR]tx\ <start\ |\ stop\ |\ wait\ |\ config\ [parameters]>\f[]
1254 .PP
1255 Read IQ samples from the specified file and transmit them.
1256 Transmission is controlled and configured by one of the following:
1257 @@ -1233,41 +1234,41 @@
1258 T}
1259 _
1260 T{
1261 -\f[C]start\f[]
1262 +\f[CR]start\f[]
1263 T}@T{
1264 Start transmitting samples
1265 T}
1266 T{
1267 -\f[C]stop\f[]
1268 +\f[CR]stop\f[]
1269 T}@T{
1270 Stop transmitting samples
1271 T}
1272 T{
1273 -\f[C]wait\f[]
1274 +\f[CR]wait\f[]
1275 T}@T{
1276 Wait for sample transmission to complete, or until a specified amount of
1277 time elapses
1278 T}
1279 T{
1280 -\f[C]config\f[]
1281 +\f[CR]config\f[]
1282 T}@T{
1283 Configure sample transmission.
1284 If no parameters are provided, the current parameters are printed.
1285 T}
1286 .TE
1287 .PP
1288 -Running \f[C]tx\f[] without any additional commands is valid shorthand
1289 -for \f[C]tx\ config\f[].
1290 +Running \f[CR]tx\f[] without any additional commands is valid shorthand
1291 +for \f[CR]tx\ config\f[].
1292 .PP
1293 -The \f[C]wait\f[] command takes an optional \f[C]timeout\f[] parameter.
1294 -This parameter defaults to units of milliseconds (\f[C]ms\f[]).
1295 -The timeout unit may be specified using the \f[C]ms\f[] or \f[C]s\f[]
1296 +The \f[CR]wait\f[] command takes an optional \f[CR]timeout\f[] parameter.
1297 +This parameter defaults to units of milliseconds (\f[CR]ms\f[]).
1298 +The timeout unit may be specified using the \f[CR]ms\f[] or \f[CR]s\f[]
1299 suffixes.
1300 If this parameter is not provided, the command will wait until the
1301 -transmission completes or \f[C]Ctrl\-C\f[] is pressed.
1302 +transmission completes or \f[CR]Ctrl\-C\f[] is pressed.
1303 .PP
1304 -Configuration parameters take the form \f[C]param=value\f[], and may be
1305 -specified in a single or multiple \f[C]tx\ config\f[] invocations.
1306 +Configuration parameters take the form \f[CR]param=value\f[], and may be
1307 +specified in a single or multiple \f[CR]tx\ config\f[] invocations.
1308 Below is a list of available parameters.
1309 .PP
1310 .TS
1311 @@ -1280,58 +1281,58 @@
1312 T}
1313 _
1314 T{
1315 -\f[C]file\f[]
1316 +\f[CR]file\f[]
1317 T}@T{
1318 Filename to read samples from
1319 T}
1320 T{
1321 -\f[C]format\f[]
1322 +\f[CR]format\f[]
1323 T}@T{
1324 Input file format.
1325 One of the following:
1326 T}
1327 T{
1328 T}@T{
1329 -\f[C]csv\f[]: CSV of SC16 Q11 samples ([\-2048, 2047])
1330 +\f[CR]csv\f[]: CSV of SC16 Q11 samples ([\-2048, 2047])
1331 T}
1332 T{
1333 T}@T{
1334 -\f[C]bin\f[]: Raw SC16 Q11 DAC samples ([\-2048, 2047])
1335 +\f[CR]bin\f[]: Raw SC16 Q11 DAC samples ([\-2048, 2047])
1336 T}
1337 T{
1338 -\f[C]repeat\f[]
1339 +\f[CR]repeat\f[]
1340 T}@T{
1341 The number of times the file contents should be transmitted.
1342 0 implies repeat until stopped.
1343 T}
1344 T{
1345 -\f[C]delay\f[]
1346 +\f[CR]delay\f[]
1347 T}@T{
1348 The number of microseconds to delay between retransmitting file
1349 contents.
1350 0 implies no delay.
1351 T}
1352 T{
1353 -\f[C]samples\f[]
1354 +\f[CR]samples\f[]
1355 T}@T{
1356 Number of samples per buffer to use in the asynchronous stream.
1357 Must be divisible by 1024 and >= 1024.
1358 T}
1359 T{
1360 -\f[C]buffers\f[]
1361 +\f[CR]buffers\f[]
1362 T}@T{
1363 Number of sample buffers to use in the asynchronous stream.
1364 The min value is 4.
1365 T}
1366 T{
1367 -\f[C]xfers\f[]
1368 +\f[CR]xfers\f[]
1369 T}@T{
1370 Number of simultaneous transfers to allow the asynchronous stream to
1371 use.
1372 -This should be < the \f[C]buffers\f[] parameter.
1373 +This should be < the \f[CR]buffers\f[] parameter.
1374 T}
1375 T{
1376 -\f[C]timeout\f[]
1377 +\f[CR]timeout\f[]
1378 T}@T{
1379 Data stream timeout.
1380 With no suffix, the default unit is ms.
1381 @@ -1339,7 +1340,7 @@
1382 Valid suffixes are \[aq]ms\[aq] and \[aq]s\[aq].
1383 T}
1384 T{
1385 -\f[C]channel\f[]
1386 +\f[CR]channel\f[]
1387 T}@T{
1388 Comma\-delimited list of physical RF channels to use
1389 T}
1390 @@ -1347,36 +1348,36 @@
1391 .PP
1392 Example:
1393 .IP \[bu] 2
1394 -\f[C]tx\ config\ file=data.bin\ format=bin\ repeat=2\ delay=250000\f[]
1395 +\f[CR]tx\ config\ file=data.bin\ format=bin\ repeat=2\ delay=250000\f[]
1396 .RS 2
1397 .PP
1398 -Transmitting the contents of \f[C]data.bin\f[] two times, with a ~250ms
1399 +Transmitting the contents of \f[CR]data.bin\f[] two times, with a ~250ms
1400 delay between transmissions.
1401 .RE
1402 .IP \[bu] 2
1403 -\f[C]tx\ config\ file=mimo.csv\ format=csv\ repeat=0\ channel=1,2\f[]
1404 +\f[CR]tx\ config\ file=mimo.csv\ format=csv\ repeat=0\ channel=1,2\f[]
1405 .RS 2
1406 .PP
1407 -Transmitting the contents of \f[C]mimo.csv\f[] repeatedly, with the
1408 +Transmitting the contents of \f[CR]mimo.csv\f[] repeatedly, with the
1409 first channel in the file mapped to channel TX1 and the second channel
1410 mapped to TX2.
1411 .RE
1412 .PP
1413 Notes:
1414 .IP \[bu] 2
1415 -The \f[C]n\f[], \f[C]samples\f[], \f[C]buffers\f[], and \f[C]xfers\f[]
1416 -parameters support the suffixes \f[C]K\f[], \f[C]M\f[], and \f[C]G\f[],
1417 +The \f[CR]n\f[], \f[CR]samples\f[], \f[CR]buffers\f[], and \f[CR]xfers\f[]
1418 +parameters support the suffixes \f[CR]K\f[], \f[CR]M\f[], and \f[CR]G\f[],
1419 which are multiples of 1024.
1420 .IP \[bu] 2
1421 For higher sample rates, it is advised that the input file be stored in
1422 RAM (e.g.
1423 -\f[C]/tmp\f[], \f[C]/dev/shm\f[]) or on an SSD, rather than a HDD.
1424 +\f[CR]/tmp\f[], \f[CR]/dev/shm\f[]) or on an SSD, rather than a HDD.
1425 .IP \[bu] 2
1426 The CSV format expects two columns per channel, with the first two
1427 columns corresponding to the I,Q pair for the first channel configured
1428 -with the \f[C]channel\f[] parameter; the next two columns corresponding
1429 +with the \f[CR]channel\f[] parameter; the next two columns corresponding
1430 to the I,Q of the second channel, and so on.
1431 -For example, in the mimo.csv example above, \f[C]\-128,128,\-256,256\f[]
1432 +For example, in the mimo.csv example above, \f[CR]\-128,128,\-256,256\f[]
1433 would transmit (\-128,128) on TX1 and (\-256,256) on TX2.
1434 .IP \[bu] 2
1435 When providing CSV data, this command will first convert it to a binary
1436 @@ -1389,11 +1390,11 @@
1437 checks in time\-sensitive callbacks.
1438 .SS set
1439 .PP
1440 -Usage: \f[C]set\ <parameter>\ <arguments>\f[]
1441 +Usage: \f[CR]set\ <parameter>\ <arguments>\f[]
1442 .PP
1443 -The \f[C]set\f[] command takes a parameter and an arbitrary number of
1444 +The \f[CR]set\f[] command takes a parameter and an arbitrary number of
1445 arguments for that particular parameter.
1446 -In general, \f[C]set\ <parameter>\f[] will display more help for that
1447 +In general, \f[CR]set\ <parameter>\f[] will display more help for that
1448 parameter.
1449 .PP
1450 Common parameters:
1451 @@ -1408,47 +1409,47 @@
1452 T}
1453 _
1454 T{
1455 -\f[C]bandwidth\f[]
1456 +\f[CR]bandwidth\f[]
1457 T}@T{
1458 Bandwidth settings
1459 T}
1460 T{
1461 -\f[C]frequency\f[]
1462 +\f[CR]frequency\f[]
1463 T}@T{
1464 Frequency settings
1465 T}
1466 T{
1467 -\f[C]agc\f[]
1468 +\f[CR]agc\f[]
1469 T}@T{
1470 Automatic gain control
1471 T}
1472 T{
1473 -\f[C]loopback\f[]
1474 +\f[CR]loopback\f[]
1475 T}@T{
1476 Loopback settings
1477 T}
1478 T{
1479 -\f[C]rx_mux\f[]
1480 +\f[CR]rx_mux\f[]
1481 T}@T{
1482 FPGA RX FIFO input mux mode
1483 T}
1484 T{
1485 -\f[C]gain\f[]
1486 +\f[CR]gain\f[]
1487 T}@T{
1488 Gain settings
1489 T}
1490 T{
1491 -\f[C]samplerate\f[]
1492 +\f[CR]samplerate\f[]
1493 T}@T{
1494 Samplerate settings
1495 T}
1496 T{
1497 -\f[C]trimdac\f[]
1498 +\f[CR]trimdac\f[]
1499 T}@T{
1500 VCTCXO Trim DAC settings
1501 T}
1502 T{
1503 -\f[C]tuning_mode\f[]
1504 +\f[CR]tuning_mode\f[]
1505 T}@T{
1506 Tuning mode settings
1507 T}
1508 @@ -1466,63 +1467,63 @@
1509 T}
1510 _
1511 T{
1512 -\f[C]gpio\f[]
1513 +\f[CR]gpio\f[]
1514 T}@T{
1515 FX3 <\-> FPGA GPIO state
1516 T}
1517 T{
1518 -\f[C]lnagain\f[]
1519 +\f[CR]lnagain\f[]
1520 T}@T{
1521 RX LNA gain, in dB.
1522 Values: 0, 3, 6 (deprecated)
1523 T}
1524 T{
1525 -\f[C]rxvga1\f[]
1526 +\f[CR]rxvga1\f[]
1527 T}@T{
1528 RXVGA1 gain, in dB.
1529 Range: [5, 30] (deprecated)
1530 T}
1531 T{
1532 -\f[C]rxvga2\f[]
1533 +\f[CR]rxvga2\f[]
1534 T}@T{
1535 RXVGA2 gain, in dB.
1536 Range: [0, 30] (deprecated)
1537 T}
1538 T{
1539 -\f[C]txvga1\f[]
1540 +\f[CR]txvga1\f[]
1541 T}@T{
1542 TXVGA1 gain, in dB.
1543 Range: [\-35, \-4] (deprecated)
1544 T}
1545 T{
1546 -\f[C]txvga2\f[]
1547 +\f[CR]txvga2\f[]
1548 T}@T{
1549 TXVGA2 gain, in dB.
1550 Range: [0, 25] (deprecated)
1551 T}
1552 T{
1553 -\f[C]sampling\f[]
1554 +\f[CR]sampling\f[]
1555 T}@T{
1556 External or internal sampling mode
1557 T}
1558 T{
1559 -\f[C]smb_mode\f[]
1560 +\f[CR]smb_mode\f[]
1561 T}@T{
1562 SMB clock port mode of operation
1563 T}
1564 T{
1565 -\f[C]vctcxo_tamer\f[]
1566 +\f[CR]vctcxo_tamer\f[]
1567 T}@T{
1568 VCTCXO tamer mode.
1569 Options: Disabled, 1PPS, 10MHz
1570 T}
1571 T{
1572 -\f[C]xb_gpio\f[]
1573 +\f[CR]xb_gpio\f[]
1574 T}@T{
1575 Expansion board GPIO values
1576 T}
1577 T{
1578 -\f[C]xb_gpio_dir\f[]
1579 +\f[CR]xb_gpio_dir\f[]
1580 T}@T{
1581 Expansion board GPIO direction (1=output, 0=input)
1582 T}
1583 @@ -1540,43 +1541,43 @@
1584 T}
1585 _
1586 T{
1587 -\f[C]clock_sel\f[]
1588 +\f[CR]clock_sel\f[]
1589 T}@T{
1590 System clock selection
1591 T}
1592 T{
1593 -\f[C]clock_out\f[]
1594 +\f[CR]clock_out\f[]
1595 T}@T{
1596 Clock output selection
1597 T}
1598 T{
1599 -\f[C]rssi\f[]
1600 +\f[CR]rssi\f[]
1601 T}@T{
1602 Received signal strength indication
1603 T}
1604 T{
1605 -\f[C]clock_ref\f[]
1606 +\f[CR]clock_ref\f[]
1607 T}@T{
1608 Enables (1) or disables (0) the ADF4002 chip
1609 T}
1610 T{
1611 -\f[C]refin_freq\f[]
1612 +\f[CR]refin_freq\f[]
1613 T}@T{
1614 ADF4002 reference clock frequency
1615 T}
1616 T{
1617 -\f[C]biastee\f[]
1618 +\f[CR]biastee\f[]
1619 T}@T{
1620 Enables or disables the bias tee on a given channel
1621 T}
1622 T{
1623 -\f[C]filter\f[]
1624 +\f[CR]filter\f[]
1625 T}@T{
1626 RFIC FIR filter selection
1627 T}
1628 .TE
1629 .SS version
1630 .PP
1631 -Usage: \f[C]version\f[]
1632 +Usage: \f[CR]version\f[]
1633 .PP
1634 Prints version information for host software and the current device.