Commit graph

64 commits

Author SHA1 Message Date
Josh Blum
f8bf633965 RFX: added support for calibration utils
Special CAL RX antenna rule: keep mixer enabled to reduce transients.
0 dB gains settings for RX and TX to deal with RFX sensitivity range.
2012-06-12 13:36:15 -07:00
Josh Blum
4378ad4584 Merge branch 'master' into next 2012-04-21 11:09:58 -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
Josh Blum
20ea7b7bc9 dboard: updated timed sync stuff for wbx* sbx* 2012-04-20 13:37:04 -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
4b9d692f56 Updates to accommodate loopback calibration mode
Added CAL antenna to WBX, SBX and RFX
2011-11-11 10:22:50 -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
ef256d2f6c rfx: setup frontend property tree for rfx dboard 2011-11-07 11:20:04 -08:00
Josh Blum
d38757f465 usrp: deleted a bunch on obsoleted files in usrp directory 2011-06-29 13:23:18 -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
Jason Abele
cbf580374d Added RSSI sensor for RFX series (not rfx400) 2011-05-02 15:38:55 -07:00
Josh Blum
546b5b8829 rfx: reverted change, now prefer R divider to clock divider
There seems to be some issue using lower clock rates, at least on E100,
I am reverting this now until I can figure out why it happens,
or until I can find a more stable way to offer this feature.
2011-04-16 17:51:05 +01:00
Josh Blum
1304340f26 rfx: changes to pick from the dboard clock rates and use R=1 2011-04-18 10:58:50 -07:00
Jason Abele
f64dad9d95 Correct RFX400 div2 logic, makes RFX400 TX work 2011-03-31 12:36:42 -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
557d62ee64 Merge branch 'sensors' into dboard_serial 2011-02-22 10:59:21 -08:00
Jason Abele
7d00269ff9 Make RFX400 work in UHD
RFX400 POWER_IO needs to be pulled up (pull down for other RFX)
    RFX400 RX Mixer has div2 built in, so no output div2 for RFX400 RX
2011-02-16 12:01:38 -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
261bb80d73 uhd: update copyright dates on host code 2011-01-13 16:22:07 -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
b08ac6273f uhd: removed windows warnings, added string formatting in usrp-n 2010-11-11 19:13:22 -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
6a3e499f58 Fix Bandwidth for IQ subdevs on Basic/LF
Additional typo cleanup and fix WBX bandwidth
2010-10-28 18:14:35 -07:00
Josh Blum
cea3d05095 uhd: replaced print warning with a post warning call and registry
renamed print warning calls in the implementation

fixed issue with dict::pop so it now works even if the value is not comparable
2010-10-26 14:14:01 -07: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
d96b2e7587 usrp: use the dboard id to prefix the subdev gain group names 2010-10-20 17:41:59 -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
Jason Abele
94e7cec66a Propogate gain range into RX pga0 helper for RFX boards 2010-08-02 17:40:30 -07:00
Jason Abele
4220097f99 Fixes gain range for rfx400 vs other rfx 2010-08-02 12:35:36 -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
Jason Abele
f73a368806 Fixed USRP2 aux_dac numbering convention 2010-06-11 18:22:01 -07:00
Josh Blum
33193a06c1 replaced the assert falses with an invalid code path exception 2010-06-02 15:49:53 -07:00
Jason Abele
00b33d9748 Refactor WBX and RFX to use conventions more like XCVR 2010-06-01 16:33:45 -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
fb000993e1 rfx dboard code minor refactor to look more like xcvr2450 code 2010-05-19 16:23:31 -07:00
Josh Blum
5aac700bc6 init values in dboards to remove gcc warnings 2010-05-18 18:27:49 -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
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