Commit Graph

57 Commits

Author SHA1 Message Date
Alexander Chemeris
0074db808c Host: Change the reference clock to 30.72MHz. 2013-06-20 12:33:42 +04:00
Alexander Chemeris
a3b6255167 Host: Implement a single place to set UmTRX clock frequency and a way to talk to both LMS SPI and AUX SPI. 2013-06-20 11:45:07 +04:00
Alexander Chemeris
2f3817a9aa Host: Use the new API to set VCTCXO DAC. 2013-05-23 01:15:15 +04:00
Alexander Chemeris
8d6da29a3b Host: Remove unused code from umtrx_impl.cpp 2013-04-18 09:19:33 +04:00
Alexander Chemeris
6dfe55fb6e Host: Fix Tx DSP frequency range. 2013-03-19 20:47:57 +04:00
Alexander Chemeris
0a3e88059f Host: Reset LMS chips every time on the UHD startup. 2013-03-12 02:11:55 +04:00
Alexander Chemeris
e705c72a5e Host: Append dboard name to the LMS dboard serial number in UHD.
This is required to differentiate two chips we have on UmTRX when storing/applying corrections.
2013-03-10 21:26:43 +04:00
Alexander Chemeris
e14fc1a4da Host: Rename path to DC calibration properties in the UHD property tree. 2013-03-10 21:25:19 +04:00
Alexander Chemeris
3e654f7370 Host: Adding LMS auto-calibration on UHD initialization.
We should add a way to call certain parts of auto-calibration manually. E.g. this would be helpful after Tx VGA gain changes. Right now we calibrate for Tx VGA1 gain -10 which may give imperfect results for other gain settings.
2013-03-09 00:56:29 +04:00
Alexander Chemeris
5283d102e3 Host: Change LMS interace from separate Rx and Tx classes to a single XCVR class. 2013-03-09 00:56:29 +04:00
Alexander Chemeris
a52936a289 Host: Move LMS6002D control class to separate source file. 2013-02-18 00:05:49 +04:00
Alexander Chemeris
1be7dbf972 Host: Create rx/tx codec paths in the property tree for both channels. 2013-01-20 20:23:53 +04:00
Alexander Chemeris
3129c93b7a Host: Indentation fix in umtrx_impl.cpp. 2013-01-19 19:20:24 +04:00
Alexander Chemeris
e8e853fa93 Host: Fix indentation and add a comment to umtrx_impl.cpp. 2013-01-16 17:55:35 +04:00
Alexander Chemeris
5eea4de34f Host: Fix tcxo-dac setting in dual-channel configuration. 2013-01-16 17:45:31 +04:00
Alexander Chemeris
17526ac0a4 Host: Fix rx/tx_fe_corrections() to support multiple daughter boards on UmTRX. 2013-01-15 20:03:47 +04:00
Alexander Chemeris
e688b6a0e5 Host: Fixes for dual-channel support. 2013-01-15 02:11:20 +04:00
Alexander Chemeris
7d79b32883 Host: Clean-up umtrx_impl.cpp/hpp from outdated implementation of LMS6002D interface. 2012-10-26 15:06:23 +04:00
Alexander Chemeris
ff79e2bb4a Host: Return actual tunned frequency during PLL tune.
This makes use of digital mixer in FPGA to correct inaccuracies of the LMS6002D tuning. This is not really required form GSM, because LMS6002D has tuning resolution of 1Hz or below, but it's just a nice feature to have.
2012-10-26 14:55:24 +04:00
Alexander Chemeris
45dc7b1e6d Host: Implement Tx DC calibration setting for LMS6002D and hook it to UHD property tree. 2012-10-26 14:48:02 +04:00
Alexander Chemeris
b41a5b4223 Host: Read TCXO DAC value form EEPROM on startup. 2012-10-26 14:48:02 +04:00
Alexander Chemeris
ae85a3292f Host: Add function to set TCXO DAC value from host. 2012-10-26 14:48:02 +04:00
Alexander Chemeris
6a720e4f69 Host: Set Tx daughterboard and Rx daughterboard serial and revision equal to the motherboard serial and revision.
In UmTRX DB is integrated into MB and we don't have DB EEPROM. We re-use MB EEPROM and its values to emulate DB EEPROM.
2012-10-26 14:48:01 +04:00
Alexander Chemeris
47cd9dbb91 Host: Implement EEPROM maping for UmTRX.
At this moment we store 3 additional calibration values in EEPROM: tx-vga1-dc-i, tx-vga1-dc-iq, tcxo-dac.
2012-10-26 14:48:01 +04:00
Alexander Chemeris
10a2b2c53e Host: Remove old unused code for LMS control. Now replaced with the new code. 2012-09-25 13:48:24 -04:00
Alexander Chemeris
a44698b8f8 Host: tx_enable() and rx_enable() will be called by UHD at the proper time anyway. 2012-09-25 13:48:24 -04:00
Alexander Chemeris
7a67e6f0f0 Host: Better logging at umtrx_impl.cpp - controlled by a verbosity variable and more detailed/consistent. 2012-09-25 13:48:24 -04:00
Alexander Chemeris
5c1af11c62 Host: Don't initialize LMS chips in UHD.
Right now our workflow is that we initialize LMS chips and then run a UHD aplication. Initializing LMS in UHD breaks all the preparation we did before, thus initialization should be the last thing we add to UHD.
2012-09-25 13:45:50 -04:00
Alexander Chemeris
08cc4da7b4 Host: Rename lms6002d_dev::Init() to lms6002d_dev::init() to follow the naming convention. 2012-09-25 13:45:07 -04:00
Alexander Chemeris
edf87d3da8 Host: gdb_eeprom is required for some UHD/GnuRadio utilities to operate correctly. 2012-09-25 13:23:28 -04:00
Alexander Chemeris
08b1a35964 Host: Do not change LMS settings which are not directly related to the tuning while tuning in UHD. 2012-09-25 13:23:28 -04:00
Alexander Chemeris
5075fcc367 Host: Make freqsel array in lms6002d_dev::lms_txrx_pll_tune() const static. 2012-09-25 13:23:28 -04:00
Sergey Kostanbaev
17382a4104 Host: Implement basic tuning 2012-09-25 13:23:21 -04:00
Alexander Chemeris
ae282c697e Host: Uncomment umtrx_impl::set_tx_dsp_freq() and umtrx_impl::get_tx_dsp_freq_range() functions to make more utilities work with UmTRX. 2012-09-21 02:34:26 +02:00
Alexander Chemeris
0c01e686f9 Host: Use get_master_clock_rate() instead of a magic number for the UmTRX clock rate. 2012-04-11 22:09:06 +04:00
Alexander Chemeris
70ca0df931 Host: Make UmTRX implementation closer to USRP2/N. 2012-04-10 01:44:31 +04:00
Alexander Chemeris
8141038a2f Host: Enable Rx/Tx frontend corrections in UmTRX. 2012-04-09 20:29:05 +04:00
Alexander Chemeris
d1110542ae Host: Correctly set tick rate in UmTRX interface. 2012-04-09 20:05:25 +04:00
Zabbal
7c1d25129f HOST: code cleanup 2012-03-30 17:47:58 +08:00
Zabbal
cc0b46ef27 HOST: add Chemeris' lms_pll_tune 2012-03-30 02:07:44 +08:00
Zabbal
4b35eb02e1 HOST: update rx_dsp rates 2012-03-27 02:19:59 +08:00
Zabbal
bbbf2fa572 HOST: add missing tick_rate 2012-03-26 00:55:24 +08:00
Zabbal
13b473d649 HOST: introduce undocumented LMS init routine 2012-03-23 02:20:14 +08:00
Zabbal
3b4e612094 HOST: add LMS DC calibration stub 2012-03-22 00:35:32 +08:00
Zabbal
0cf3319cd3 HOST: fix copyrights 2012-03-18 21:49:52 +08:00
Zabbal
719e034116 HOST: copy io_impl from usrp2 2012-03-18 02:48:55 +08:00
Zabbal
9063cffb38 HOST: add crippled streamers implementation from usrp2 2012-03-16 01:01:27 +08:00
Zabbal
d0f600339a HOST: hardcode dboard IDs due to lack of eeprom 2012-03-15 22:19:11 +08:00
Zabbal
8547897daf HOST: add db eeprom support 2012-03-15 21:46:25 +08:00
Zabbal
de00b88152 HOST: another dummy path fix via adding placeholders 2012-03-02 03:29:04 +08:00