Commit Graph

24 Commits

Author SHA1 Message Date
Kirill Zakharenko
61ac2ee278 umtrx_cal_*: fix for abrupt termination
tx_thread creates a child thread, which it join()s on, when terminating
calling interrupt() on tx_thread interferes with the join()
so we replace interrupt() with an atomic flag

(not sure how this worked before)
2019-07-03 21:17:31 +03:00
Alexander Chemeris
913f19357b utils: Verify that calibration property has been set correctly.
Sometimes setting an LMS register fails if UmTRX has bad power supply. We want
to make sure we catch this situation and abort calibration.
2015-07-21 18:48:43 -04:00
Alexander Chemeris
d96cea8000 utils: Set default Rx gain to 50 instead of 100 in calibration utils.
A few commits ago we changed Rx gain to real dB instead of abstract values,
which changed the gain settings range - old 100 is about current 50.
2015-07-21 00:38:09 -04:00
Alexander Chemeris
89277c6e56 host: Add missing new line in the calibration utils output. 2015-05-28 17:32:59 -04:00
Alexander Chemeris
1773223b81 host: Improve console output for calibration utilities. 2015-05-28 17:32:59 -04:00
Alexander Chemeris
df513b81e5 host: Move more generic functions to usrp_cal_utils.hpp 2015-05-28 17:30:31 -04:00
Alexander Chemeris
313488b2d3 host: Fix umtrx_cal_tx_dc_offset help output to mention UmTRX. 2015-05-09 22:35:55 -04:00
Alexander Chemeris
000a874189 host: Update copyright for umtrx_cal_tx_dc_offset.cpp. 2015-05-07 20:11:06 -04:00
Alexander Chemeris
e14c900821 host: Use amplitude setting for Dc offset calibration.
If we want 0 amplitude, we can set this with the command line parameter.
2015-05-07 20:05:39 -04:00
Alexander Chemeris
271b8a045e host: Better algorithm for Dc offset compensation search. 2015-05-07 19:42:04 -04:00
Alexander Chemeris
30a4557825 host: Improvements in the dc_cal_t abstraction. 2015-05-07 19:11:59 -04:00
Alexander Chemeris
32f82d646b host: Actually test dc_i/q_stop values. 2015-05-07 19:02:11 -04:00
Alexander Chemeris
c3754d5048 host: Better abstraction for dc calibration routines. 2015-05-07 19:01:02 -04:00
Alexander Chemeris
8e92e8ca43 host: Store calibration file in a new way. 2015-05-07 18:00:25 -04:00
Alexander Chemeris
e64d3d5940 host: Update automatic DC calibration utility.
This verion of the DC calibration utility delivers predictable calibration
results, almost as good as manual calibration with a spectrum analyzer.

New features include writing calibration to a file in a format supported
by the UHD, as well as single run with measurement output to stdout.
2015-05-07 17:35:35 -04:00
Josh Blum
72062b1466 Merge branch 'dc_offset_debug'
Conflicts:
	host/umtrx_impl.cpp
2015-04-27 20:54:59 -07:00
Josh Blum
e2ca1fef44 umtrx: modify boost sleep line for boost compatibility 2015-04-15 00:32:05 -07:00
Josh Blum
04d08ea43b umtrx: umtrx_cal_tx_dc_offset in python for tweaks 2014-11-04 23:02:48 -08:00
Josh Blum
d719a3e62e umtrx: support for cal side A or B 2014-08-22 10:23:00 -07:00
Josh Blum
a0560566cc umtrx: change avg plot to be avg of trials @ same freq 2014-08-22 09:43:34 -07:00
Josh Blum
0aa4ca76ff umtrx: multiple trials per LO to plot stddeviation 2014-08-20 09:53:50 -07:00
Josh Blum
27b1ca9655 umtrx: tweaks to umtrx_cal_tx_dc_offset + csv plotter 2014-08-19 21:31:03 -07:00
Josh Blum
7843c07f12 umtrx: random convergence search for tx dc cal 2014-08-19 19:26:20 -07:00
Josh Blum
06490f377e umtrx: checkin original cal app for tx DC cal work 2014-08-18 11:07:37 -07:00