diff options
| author | Ashish Chaudhari <ashish@ettus.com> | 2016-01-07 17:46:20 -0800 |
|---|---|---|
| committer | Ashish Chaudhari <ashish@ettus.com> | 2016-01-07 17:46:20 -0800 |
| commit | cc861b014695ca3f0d6d832494d59fd68ea79038 (patch) | |
| tree | 66883ddaa43faf25fb395dfef27eeebe700b8419 /host/lib/usrp/n230/n230_resource_manager.cpp | |
| parent | a0737f083c604fe6daa20bb36fd9fb890147a40c (diff) | |
| download | uhd-cc861b014695ca3f0d6d832494d59fd68ea79038.tar.gz uhd-cc861b014695ca3f0d6d832494d59fd68ea79038.tar.bz2 uhd-cc861b014695ca3f0d6d832494d59fd68ea79038.zip | |
n230: Added new AD9361 properties to the property tree
Diffstat (limited to 'host/lib/usrp/n230/n230_resource_manager.cpp')
| -rw-r--r-- | host/lib/usrp/n230/n230_resource_manager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/n230/n230_resource_manager.cpp b/host/lib/usrp/n230/n230_resource_manager.cpp index 38e689533..340bc7c6c 100644 --- a/host/lib/usrp/n230/n230_resource_manager.cpp +++ b/host/lib/usrp/n230/n230_resource_manager.cpp @@ -143,7 +143,7 @@ n230_resource_manager::n230_resource_manager( throw uhd::runtime_error("N230 Initialization Error: Could not create SPI ctrl.)"); } - //Create Catalina interface + //Create AD9361 interface UHD_MSG(status) << "Initializing CODEC...\n"; _codec_ctrl = ad9361_ctrl::make_spi( boost::make_shared<n230_ad9361_client_t>(), _core_spi_ctrl, fpga::AD9361_SPI_SLAVE_NUM); @@ -151,6 +151,8 @@ n230_resource_manager::n230_resource_manager( throw uhd::runtime_error("N230 Initialization Error: Could not create Catalina ctrl.)"); } _codec_ctrl->set_clock_rate(fpga::CODEC_DEFAULT_CLK_RATE); + _codec_mgr = ad936x_manager::make(_codec_ctrl, fpga::NUM_RADIOS); + _codec_mgr->init_codec(); //Create AD4001 interface _ref_pll_ctrl = boost::make_shared<n230_ref_pll_ctrl>(_core_spi_ctrl); |
