Commit graph

58 commits

Author SHA1 Message Date
Nicholas Corgan
0a9a002b60 Merge branch 'maint34' into maint 2012-12-18 14:33:43 -08:00
Nick Foster
7a062c3822 Fix syntax in XCVR driver. 2012-12-04 15:47:23 -08:00
Josh Blum
ed1afe02d0 xcvr2450: created xcvr2450 r21 that uses external divider 2012-12-04 15:41:24 -08:00
Josh Blum
a38e440b53 Merge branch 'maint' 2012-08-01 13:23:07 -07:00
Josh Blum
64d1553850 xcvr2450: disable transmit PAs when receiving 2012-08-01 13:07:54 -07:00
Josh Blum
db8f128e51 Merge branch 'maint' 2012-06-18 15:55:18 -07:00
Josh Blum
ae2429c8cb xcvr2450: fix to disable LO offset for TX side
XCVR2450 has a common LO for RX and TX.

The use LO offset should be the same for both sides.
When different, a tune for one side will override the other side,
because the DSP will not know the compensation factor after the other side is tuned.

Setting both use_lo_offset to false is how this was pre 3.4 release.
2012-06-18 10:41:29 -07:00
Nicholas Corgan
a6ec6e2544 mboard id's are now more concise (codenames are separated, for example), and dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc) 2012-04-20 14:21:17 -07:00
Jason Abele
715fd03832 Fix RSSI measurement
Improve incorrect calculation in XCVR
    Remove RFX rssi sensor due to limited dynamic range giving strange
        results
2012-03-11 15:53:59 -07:00
Jason Abele
837437c65c Swap I/Q on transmit 2012-01-27 12:47:08 -08:00
Jason Abele
9d4350d74e Updated typos in XCVR2450 dboard property tree code 2011-11-07 16:34:41 -08:00
Jason Abele
a445f30003 Port of daughterboards from wax to new property trees
Ported:
    Basic/LF
    Unknown
    XCVR
    DBSRX
    DBSRX2
    TVRX
    TVRX2
2011-11-07 11:21:24 -08:00
Josh Blum
d749591997 xcvr2450: fix the locking at marginal frequencies 2011-09-01 17:10:33 -07:00
Josh Blum
d38757f465 usrp: deleted a bunch on obsoleted files in usrp directory 2011-06-29 13:23:18 -07:00
Josh Blum
e709e4d365 uhd: added safe call on a few dboard related deconstructors 2011-06-10 13:11:22 -07:00
Josh Blum
7f01386f63 uhd: replaced warning post with calls to UHD_MSG(warning)
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
2011-05-04 18:36:10 -07:00
Josh Blum
0de4f165e9 usrp: replaced conditional dboard debug prints w/ UHD_LOGV(often) 2011-05-04 14:34:49 -07:00
Josh Blum
7c70958c38 xcvr2450: initialize the max_power variable 2011-04-26 14:18:02 -07:00
Jason Abele
98a05d85cd Updated documentation and improved XCVR RSSI calculation
Documented dboard sensors
    Documented DBSRX2
    Added description of direct conversion vs low IF for each dboard
    Added E1xx docs for adding refclock and pps connectors

    XCVR rssi calculation was in unscaled dB units
        Used chart in datasheet (pg 16) to rescale to dBm
2011-04-14 14:14:17 -07:00
Josh Blum
1526889803 uhd: switch algorithm namespace to uhd 2011-02-24 17:28:10 -08:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
9de6f36bc5 usrp: implement sensors in all the dboards, deprecated read rssi and get lo locked 2011-02-11 18:43:20 -08:00
Josh Blum
395bbbbc11 uhd: replace all the instances of float not pertaining to io types with double, simplifies life 2011-01-11 19:46:45 -08:00
Josh Blum
a076dc12aa uhd: update copyright dates 2011-01-05 20:49:45 -08:00
Josh Blum
283067dea2 uhd: replaced templated ranges with one range thing using doubles only to avoid trouble with compiler portability 2011-01-05 12:17:06 -08:00
Josh Blum
3f30734fba xcvr2450: update comment for full duplex case 2010-12-31 11:31:04 -08:00
Josh Blum
775383e635 uhd: added meta-range clip and implemented in dboards, fixed step calculation 2010-11-10 19:29:06 -08:00
Josh Blum
08dfff3798 uhd: created a meta range that is a range of ranges for gains and freqs
created a templated range that that holds a start, stop, and step

created a meta-range template that is a vector of ranges
meta-range can calculate the overall start, stop, step
or be indexed to get at components

replaced instances of range.min, max, step with the functions
start() stop() and step()

the xcvr frequency range is now expressed in as two ranges
(have to fix its clip function though)
2010-11-10 19:29:06 -08:00
Jason Abele
bb82453a77 Added bandwidth property to all daughterboards
Updated existing bandwidth property to reflect double-sided
    bandwidth rather than lowpass bandwidth
2010-10-25 16:47:07 -07:00
Josh Blum
b405abf883 uhd: remove some warnings in MSVC and with typo in xcvr2450 2010-10-19 17:13:56 -07:00
Josh Blum
799d5059ba usrp: change the bandwidth param to a double (its a frequency), add set and gets for BW in the wrappers 2010-10-19 15:42:21 -07:00
Jason Abele
8c0ca70d24 Enhance XCVR2450 to clip for high/low band tuning and add bandwidth property 2010-10-12 12:57:30 -07:00
Josh Blum
a4f8ad59b2 usrp: added subdev enabled property
the dboard manager will disable all subdevs at startup and shutdown

setting the subdev spec will enable only the subdevs in use

all dboards are currently implemented as always enabled

nothing tested
2010-09-30 11:05:33 -07:00
Josh Blum
98ba0cc067 uhd: extract named prop returns a named prop (not a tuple)
simplifies the code after the property set/get declaration
2010-08-15 10:51:25 -07:00
Josh Blum
9a9ca6dfad uhd: work on tune logic, and subdev connection logic 2010-07-16 16:51:30 -07:00
Josh Blum
2a3d0e653e usrp: removed spectrum inverted property from subdev code and tune helper (it wasnt used) 2010-07-16 16:51:30 -07:00
Josh Blum
2d7c3f4cc3 Merge branch 'burn_dbid' into pre_merge 2010-06-18 17:24:39 -07:00
Josh Blum
16335c1082 uhd: added dboard manager call to register xcvr board, implemented in xcvr dboard code 2010-06-18 16:39:45 -07:00
Josh Blum
9d59ce5652 uhd: added enums for aux adc and dac, usrp2: implemented enums in db iface 2010-06-17 16:48:14 -07:00
Josh Blum
33193a06c1 replaced the assert falses with an invalid code path exception 2010-06-02 15:49:53 -07:00
Josh Blum
39943a5b0c Added support to set GPIO pins from dboard interface:
write gpio and set pin control (atr or gpio)

Added property to get dboard interface from the dboard obj.
2010-05-24 16:31:23 -07:00
Josh Blum
3899522382 fixed exception case 2010-05-05 17:41:45 -07:00
Josh Blum
4d5df2376b Expanded the dboard id API to create dboard id types from strings and ints.
And created utility functions to go between representations.
Created to_pp_string for pretty print strings for dboard ids and device addrs.
Minor changes to the various classes that call these utilities.
2010-05-03 01:20:11 -07:00
Josh Blum
fd0d9b7dcc Replaced the dboard base constructor args with an opaque type. 2010-05-02 16:03:46 -07:00
Josh Blum
1ba93e70a6 fixed windows warnings 2010-04-26 21:25:00 -07:00
Josh Blum
06e1859d47 Added RSSI readback to XCVR2450.
also fixed spi readback typo in u2 iface
2010-04-26 16:54:17 -07:00
Josh Blum
6f1bdcb586 Renamed the prop set/get error macros so they make sense for not-implemented properties. 2010-04-26 15:20:18 -07:00
Josh Blum
b1992806e1 added lock detect status to dboards 2010-04-26 15:13:29 -07:00
Josh Blum
90ed2e3a80 prefixed the ASSERT_THROW macro with UHD for the sake of namespace 2010-04-26 14:42:32 -07:00
Josh Blum
61ec6711bb Work on exceptions.
Added props exception macro to make the set/get prop switch statements easier.
Made use of boost throw exception macro for throw-site information in throw assert.
2010-04-25 22:05:50 -07:00