Commit graph

44 commits

Author SHA1 Message Date
Josh Blum
f3bf32df9f usrp-n: set ad9777 mod mode to transmit above nyquist of DSP 2010-12-03 15:54:04 -05:00
Josh Blum
b08ac6273f uhd: removed windows warnings, added string formatting in usrp-n 2010-11-11 19:13:22 -08:00
Josh Blum
258d9bb45f usrp-n: populated name properties to use the generated cname from iface 2010-11-11 17:57:59 -08:00
Nick Foster
6dd502737b Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
Conflicts:
	host/lib/usrp/usrp2/io_impl.cpp
2010-09-30 12:28:29 -07:00
Josh Blum
887aab36a0 usrp2: make usrp2 dsp multi-channel compatible 2010-09-20 18:22:40 -07:00
Nick Foster
2da87fa508 Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p 2010-08-18 14:48:35 -07:00
Josh Blum
4aa48966bf usrp2: template pick rate to avoid compile errors 2010-08-18 12:43:59 -07:00
Josh Blum
58519b292b usrp: moved usrp utils into public include space 2010-08-15 21:34:16 -07:00
Nick Foster
d8f3980e45 Host-side changes to work with the USRP2+.
Change summary:
Added clock register selection between USRP2/USRP2+
Added memory map selection between USRP2/USRP2+
Added ADS62P44 support for USRP2+
2010-07-26 16:33:17 -07:00
Josh Blum
c36a671dc8 usrp: moved stream cmd word calculation into common dsp utils 2010-07-07 10:57:06 -07:00
Josh Blum
905f5b3b24 usrp2: split mboard impl into its own class, usrp2 device can instantiate N mboard impls for mimo setup (works with 1 for now) 2010-07-05 13:45:13 -07:00
Josh Blum
11e2d407ce Created a common usrp dsp utils to handle register word calculations.
(also switched to boost endian define to avoid c compiler check)
2010-06-07 15:10:37 -07:00
Josh Blum
038d6eac61 moved dsp update logic into prop setter, added code to init dsp rates and freqs 2010-06-04 18:25:53 -07:00
Josh Blum
b369d0f020 usrp2 regs naming convention 2010-06-04 17:35:48 -07:00
Josh Blum
650e0d9b35 Merge branch 'shrinkfw' into usrp2 2010-05-10 14:18:00 -07:00
Jason Abele
23e0f3d215 Inverted logic in halfband selection 2010-05-04 17:34:54 -07:00
Josh Blum
db59e22fee added hb filter calculation on usrp2 dsp impl 2010-05-04 15:46:23 -07:00
Josh Blum
a7c230cb1f Added reload flag to the stream cmd.
This reloads the last command to handle continuous streaming in hardware.
Moved rx control register setup and stream command issuing to the host.
2010-04-28 16:35:22 -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
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
Josh Blum
067491b586 RFX seems to be tuning. Added some code to dsp to check for valid range. 2010-04-16 11:05:54 -07:00
Josh Blum
51a9c2d42d Created a usrp2 interface class with the control, spi, peek/poke functionality.
Its used in all the implementation level code
2010-04-13 17:48:48 -07:00
Josh Blum
97496ace66 simplified the usage of dboard, dsp, and mboard proxies.
removed the dict structure for each, we are just going to have one.
2010-04-05 16:36:51 -07:00
Josh Blum
1cc8c6c964 paradigm shift for the dsp abstraction 2010-04-05 14:37:21 -07:00
Josh Blum
12aa8ad74c added 16 bit peek and poke, 16 bit register defs for gpios and atrs 2010-04-05 12:18:17 -07:00
Josh Blum
83bd55d639 extended stream cmd with mode enum, and extended fragment flags in metadata 2010-04-03 19:43:20 -07:00
Josh Blum
91ef18021c moved props into usrp and multiple hpp files 2010-04-01 15:08:52 -07:00
Josh Blum
792fad3afc use defined constants for the register addresses 2010-04-01 13:30:34 -07:00
Josh Blum
f15df8146c Moved dsp (rx and tx), time config, and clock config (mostly) into the host. 2010-03-31 18:55:48 -07:00
Josh Blum
7396b53e1b use bb_rate and if_rate to handle dxc io rates 2010-03-29 11:16:42 -07:00
Josh Blum
b71d0cbea9 refactored types.hpp into types directory 2010-03-27 14:27:55 -07:00
Josh Blum
52df9afd67 Split utils.hpp into subdir with multiple files.
static for static block and static instance (singleton)
assert for assertion and throwing related stuff
algorithm for my addons to std::algorithm (has)
and a new one, safe main, for having a main catch-all
2010-03-27 01:02:58 -07:00
Josh Blum
af586ae149 Overhaullllllled the way we do streaming. There is an odd bug where
a zero length command (now, no chain) used to stop the streaming.
Now it seems to do the reverse... must investigate.

Made all clock configuration into enums. The strings were painful
and there cant be that many variations that enums cant cover them.
The enums will make more sense to developers than mystery strings.
2010-03-25 18:36:16 -07:00
Josh Blum
26ada5ee70 added install path for dll, fixed idiotic msvc error where making a vector with proxies crashes the app, seems to be ok with the sptr fix, in other good news, discover usrps works in my vm for the usrp2 2010-03-19 18:08:20 -08:00
Josh Blum
69aaffa6d8 got uhd almost compiling in windowze. figured out special flags. also had to use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings 2010-03-17 17:55:20 -08:00
Josh Blum
fc40ff2f13 Replaced uses of wax:cast with the templated as method (like in boost program options). 2010-03-15 17:43:10 -07:00
Josh Blum
8e9a846438 Added simple device to handle wrapping general properties up into simple api.
Added setting time capability to the usrp2 impl.
Messing with props and time specs...
2010-03-10 14:47:03 -08:00
Josh Blum
bb86022d5a Moved timeouts into the udp transports.
Simplified the fast path checking in the fw, but it turns out this was not the issue.
Fixed some bad bit operations with the 16sc words (dont forget sign extension).
Added some more documentation to the headers....
2010-03-04 18:34:28 -08:00
Josh Blum
bb8417526c Making use of vrt lib in the usrp2 io_impl.
Added a packet size param to the vrt pack and unpack.
2010-03-03 01:19:00 -08:00
Josh Blum
13bd67b494 The net common is too slow in usrp2 firmware to figure out if its vrt data.
Added a custom function to tell if a packet is vrt data, seems to be feeding fast enough at this rate...
Fixed some buffer size calculation logic.
2010-03-02 14:48:11 -08:00
Josh Blum
4510672953 Send the number of samples per datagram over the control.
Worked on the io impl for usrp2 (added loop unrolls and 32 bit buffers).
Added some vrt rx constants to the fw common used by host and fw.
Removed the MTU prop and added a general device prop for num samples.
2010-03-01 16:13:30 -08:00
Josh Blum
6e8473e6ee Recv noise with uhd. 2010-03-01 11:50:14 -08:00
Josh Blum
add5d32f9b Moved lib and include contents of dboard and mboard one directory up and prefixed them with dboard_ and mboard_.
And yes, the code is compiling.
2010-02-21 12:59:41 -08:00
Renamed from host/lib/usrp/mboard/usrp2/dsp_impl.cpp (Browse further)