Hi All,
I use the following functions to calibration uhd_cal_tx_dc_offset uhd_cal_tx_iq_balance uhd_cal_rx_iq_balance
I got three *.csv files in .uhd/cal/{rx_iq_cal_v0.1_38.A.csv tx_iq_cal_v0.1_38.A.csv tx_dc_cal_v0.1_38.A.csv} How can I use the contents in these files?
~$ cat .uhd/cal/tx_dc_cal_v0.1_38.A.csv name, TX Frontend Calibration serial, 38.A timestamp, 1373370847 version, 0, 1 DATA STARTS HERE lo_frequency, correction_real, correction_imag, measured, delta 9.3e+08, 0.0046875, 0.0101563, -105.406, 32.9285 9.302e+08, 0.0046875, 0.0101563, -99.0923, 26.9516 9.304e+08, 0.0046875, 0.0101563, -102.352, 29.6946 9.306e+08, 0.0046875, 0.0101563, -104.045, 31.523 9.308e+08, 0.0046875, 0.0101563, -103.354, 30.8814 9.31e+08, 0.0046875, 0.0101563, -108.024, 35.4699 9.312e+08, 0.0046875, 0.0101563, -110.951, 38.5388 9.314e+08, 0.00546875, 0.0101563, -99.2159, 26.6738 9.316e+08, 0.0046875, 0.0101563, -103.085, 30.5324 9.318e+08, 0.00546875, 0.0101563, -104.854, 32.0656 9.32e+08, 0.0046875, 0.0101563, -111.759, 38.9142 9.322e+08, 0.0046875, 0.0101563, -101.731, 29.0089 9.324e+08, 0.0046875, 0.0101563, -107.722, 35.0989 9.326e+08, 0.00546875, 0.0101563, -107.25, 34.6358 9.328e+08, 0.0046875, 0.0101563, -109.739, 37.0523 9.33e+08, 0.0046875, 0.0101563, -111.463, 38.951 9.332e+08, 0.0046875, 0.0101563, -112.302, 39.8637 9.334e+08, 0.0046875, 0.0101563, -110.057, 37.4139 9.336e+08, 0.0046875, 0.0101563, -103.617, 31.0364 9.338e+08, 0.0046875, 0.0101563, -104.47, 31.8644 9.34e+08, 0.00546875, 0.0101563, -103.053, 30.3361 9.342e+08, 0.0046875, 0.0101563, -106.426, 33.7277 9.344e+08, 0.0046875, 0.0101563, -112.463, 39.6667 9.346e+08, 0.0046875, 0.0101563, -106.765, 34.1277 9.348e+08, 0.00546875, 0.0101563, -126.977, 54.3251 9.35e+08, 0.00546875, 0.0101563, -103.487, 30.8681
Jiang Wenyi
Jiang,
These files are internal for UHD and should be used by UHD automatically.
I recommend you to calibrate the LMS chip itself, as described in LMS6002Dr2-Programming and Calibration Guide: https://github.com/chemeris/lms6002-documentation
For sccessing LMS registers and some common operations you could use umtrx_lms.py script from this repo: https://github.com/fairwaves/umtrx_scripts/tree/master/python_lib Note, that automatic calibrations are performed by UHD automatically on every start.
On Tue, Jul 9, 2013 at 4:15 PM, jiangwy wyjiang@ljshuoda.com wrote:
Hi All,
I use the following functions to calibration uhd_cal_tx_dc_offset uhd_cal_tx_iq_balance uhd_cal_rx_iq_balance
I got three *.csv files in .uhd/cal/{rx_iq_cal_v0.1_38.A.csv tx_iq_cal_v0.1_38.A.csv tx_dc_cal_v0.1_38.A.csv} How can I use the contents in these files?
~$ cat .uhd/cal/tx_dc_cal_v0.1_38.A.csv name, TX Frontend Calibration serial, 38.A timestamp, 1373370847 version, 0, 1 DATA STARTS HERE lo_frequency, correction_real, correction_imag, measured, delta 9.3e+08, 0.0046875, 0.0101563, -105.406, 32.9285 9.302e+08, 0.0046875, 0.0101563, -99.0923, 26.9516 9.304e+08, 0.0046875, 0.0101563, -102.352, 29.6946 9.306e+08, 0.0046875, 0.0101563, -104.045, 31.523 9.308e+08, 0.0046875, 0.0101563, -103.354, 30.8814 9.31e+08, 0.0046875, 0.0101563, -108.024, 35.4699 9.312e+08, 0.0046875, 0.0101563, -110.951, 38.5388 9.314e+08, 0.00546875, 0.0101563, -99.2159, 26.6738 9.316e+08, 0.0046875, 0.0101563, -103.085, 30.5324 9.318e+08, 0.00546875, 0.0101563, -104.854, 32.0656 9.32e+08, 0.0046875, 0.0101563, -111.759, 38.9142 9.322e+08, 0.0046875, 0.0101563, -101.731, 29.0089 9.324e+08, 0.0046875, 0.0101563, -107.722, 35.0989 9.326e+08, 0.00546875, 0.0101563, -107.25, 34.6358 9.328e+08, 0.0046875, 0.0101563, -109.739, 37.0523 9.33e+08, 0.0046875, 0.0101563, -111.463, 38.951 9.332e+08, 0.0046875, 0.0101563, -112.302, 39.8637 9.334e+08, 0.0046875, 0.0101563, -110.057, 37.4139 9.336e+08, 0.0046875, 0.0101563, -103.617, 31.0364 9.338e+08, 0.0046875, 0.0101563, -104.47, 31.8644 9.34e+08, 0.00546875, 0.0101563, -103.053, 30.3361 9.342e+08, 0.0046875, 0.0101563, -106.426, 33.7277 9.344e+08, 0.0046875, 0.0101563, -112.463, 39.6667 9.346e+08, 0.0046875, 0.0101563, -106.765, 34.1277 9.348e+08, 0.00546875, 0.0101563, -126.977, 54.3251 9.35e+08, 0.00546875, 0.0101563, -103.487, 30.8681
Jiang Wenyi