mirror of https://gerrit.osmocom.org/libusrp
Merged -r11480:11507, r11508 from nldudok1/tvrx_mimo_merge_with_trunk into trunk. This branch was created with a corrupted merge tracking database, so manual merge and remove of merge info properties was needed.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11513 221aa14e-8319-0410-a670-987f0aec2ac5
This commit is contained in:
parent
b77022a4ee
commit
3b3ba31c82
|
@ -36,6 +36,9 @@ daughterboards = {
|
|||
'tvrx' : (None, (TV_RX, 0x0000)),
|
||||
'tvrx2' : (None, (TV_RX_REV_2, 0x0000)),
|
||||
'tvrx3' : (None, (TV_RX_REV_3, 0x0000)),
|
||||
'tvrx_mimo' : (None, (TV_RX_MIMO, 0x0000)),
|
||||
'tvrx2_mimo' : (None, (TV_RX_REV_2_MIMO, 0x0000)),
|
||||
'tvrx3_mimo' : (None, (TV_RX_REV_3_MIMO, 0x0000)),
|
||||
'dtt754' : (None, (DTT754, 0x0000)),
|
||||
'dtt768' : (None, (DTT768, 0x0000)),
|
||||
'rfx400' : ((FLEX_400_TX, 0x0000), (FLEX_400_RX, 0x0000)),
|
||||
|
|
|
@ -32,6 +32,7 @@ usrpinclude_HEADERS = \
|
|||
db_flexrf.h \
|
||||
db_flexrf_mimo.h \
|
||||
db_tv_rx.h \
|
||||
db_tv_rx_mimo.h \
|
||||
db_xcvr2450.h \
|
||||
usrp_basic.h \
|
||||
usrp_bytesex.h \
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
/* -*- c++ -*- */
|
||||
//
|
||||
// Copyright 2009 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GNU Radio
|
||||
//
|
||||
// GNU Radio is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either asversion 3, or (at your option)
|
||||
// any later version.
|
||||
//
|
||||
// GNU Radio is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with GNU Radio; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
#ifndef DB_TV_RX_MIMO_H
|
||||
#define DB_TV_RX_MIMO_H
|
||||
|
||||
#include <usrp/db_tv_rx.h>
|
||||
|
||||
class db_tv_rx_mimo : public db_tv_rx
|
||||
{
|
||||
public:
|
||||
db_tv_rx_mimo(usrp_basic_sptr usrp, int which,double first_IF, double second_IF);
|
||||
int _refclk_divisor();
|
||||
};
|
||||
|
||||
#endif
|
|
@ -110,6 +110,7 @@ libusrp_la_common_SOURCES = \
|
|||
db_base.cc \
|
||||
db_basic.cc \
|
||||
db_tv_rx.cc \
|
||||
db_tv_rx_mimo.cc \
|
||||
db_flexrf.cc \
|
||||
db_flexrf_mimo.cc \
|
||||
db_dbs_rx.cc \
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <usrp/usrp_dbid.h>
|
||||
#include <usrp/db_basic.h>
|
||||
#include <usrp/db_tv_rx.h>
|
||||
#include <usrp/db_tv_rx_mimo.h>
|
||||
#include <usrp/db_dbs_rx.h>
|
||||
#include <usrp/db_flexrf.h>
|
||||
#include <usrp/db_flexrf_mimo.h>
|
||||
|
@ -72,6 +73,15 @@ instantiate_dbs(int dbid, usrp_basic_sptr usrp, int which_side)
|
|||
case(USRP_DBID_TV_RX_REV_3):
|
||||
db.push_back(db_base_sptr(new db_tv_rx(usrp, which_side, 44e6, 20e6)));
|
||||
break;
|
||||
case(USRP_DBID_TV_RX_MIMO):
|
||||
db.push_back(db_base_sptr(new db_tv_rx_mimo(usrp, which_side, 43.75e6, 5.75e6)));
|
||||
break;
|
||||
case(USRP_DBID_TV_RX_REV_2_MIMO):
|
||||
db.push_back(db_base_sptr(new db_tv_rx_mimo(usrp, which_side, 44e6, 20e6)));
|
||||
break;
|
||||
case(USRP_DBID_TV_RX_REV_3_MIMO):
|
||||
db.push_back(db_base_sptr(new db_tv_rx_mimo(usrp, which_side, 44e6, 20e6)));
|
||||
break;
|
||||
|
||||
case(USRP_DBID_FLEX_2400_TX):
|
||||
db.push_back(db_base_sptr(new db_flexrf_2400_tx(usrp, which_side)));
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
//
|
||||
// Copyright 2008 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GNU Radio
|
||||
//
|
||||
// GNU Radio is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either asversion 3, or (at your option)
|
||||
// any later version.
|
||||
//
|
||||
// GNU Radio is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with GNU Radio; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
#include <usrp/db_tv_rx_mimo.h>
|
||||
|
||||
db_tv_rx_mimo::db_tv_rx_mimo(usrp_basic_sptr usrp, int which,
|
||||
double first_IF, double second_IF)
|
||||
: db_tv_rx(usrp, which,first_IF,second_IF)
|
||||
{
|
||||
_enable_refclk(true);//enable FPGA refclock output on gpio 0
|
||||
}
|
||||
|
||||
int
|
||||
db_tv_rx_mimo::_refclk_divisor()
|
||||
{
|
||||
return 16;// 64/16=> 4 Mhz refclock
|
||||
}
|
||||
|
|
@ -71,6 +71,9 @@
|
|||
"TV Rx Rev 3" 0x0040
|
||||
"DTT754" 0x0041
|
||||
"DTT768" 0x0042
|
||||
"TV Rx MIMO" 0x0043
|
||||
"TV Rx Rev 2 MIMO" 0x0044
|
||||
"TV Rx Rev 3 MIMO" 0x0045
|
||||
|
||||
"WBX LO TX" 0x0050
|
||||
"WBX LO RX" 0x0051
|
||||
|
|
Loading…
Reference in New Issue