Ashish Chaudhari
a9b927b53f
uhd: Changed line endings from Windows -> UNIX
2014-08-21 15:03:24 -07:00
Ashish Chaudhari
1a778ba733
ad9361: Output PLL lock status on ctrl output pins.
2014-08-21 14:33:55 -07:00
Ashish Chaudhari
505c1d84fa
ad9361: Fixed MSVC build issues
2014-08-13 17:16:33 -07:00
Ashish Chaudhari
628826f549
ad9361: Fixed debug messages with UHD_LOGs
2014-08-13 13:12:20 -07:00
Ashish Chaudhari
282b31cedd
ad9361: Fixed TX direction bug in ad9361_ctrl
2014-08-13 11:04:23 -07:00
Ashish Chaudhari
09898c18f4
ad9361: Added synchronization to IO and device classes
2014-08-13 10:40:39 -07:00
Ashish Chaudhari
41657ecc53
ad9361: Cleaned up constants and macros
2014-08-13 10:29:31 -07:00
Ashish Chaudhari
b2a246a39d
ad9361: Cleaned up errors and debug messages
2014-08-12 19:09:44 -07:00
Ashish Chaudhari
9ad16ae70e
ad9361: Converted stdint types to boost types
2014-08-12 18:51:29 -07:00
Ashish Chaudhari
f999fe6552
ad9361: Renamed ad9361_impl.c to ad9361_device.cpp
2014-08-12 18:31:46 -07:00
Ashish Chaudhari
675350a1d6
b200, ad9361: Cleanup up AD9361 driver
...
- Removed transaction interface
- Made the driver a C++ class
2014-08-12 18:28:36 -07:00
Ashish Chaudhari
db6f3a2d7a
b200: Added variable rate SPI core for AD9361 and ADF4001
...
- Added b200_local_spi core that adjusts the divider when talking to the two chips
- AD9361 rate is 1MHz and ADF4001 rate is 10kHz
2014-08-01 16:29:34 -07:00
Ashish Chaudhari
c7274790a0
b200: Moved AD9361 driver to host
...
- Switched to FPGA SPI engine
- Moved firmware AD9361 driver to UHD
- Bumped FW compat to 5, FPGA compat to 4
- Known Issue: AD9361 SPI rate is too slow
2014-08-01 13:14:56 -07:00
Ben Hilburn
f8753a3d7f
Merge branch adding warning regarding MCR on the B2xx.
2014-03-27 17:41:13 -07:00
Ben Hilburn
6962543fec
Pulling in patch from Marcus Leech for includes and older OSes.
2014-03-26 11:02:11 -07:00
Balint Seeber
da99b7edc2
b200: changed ad9361 ctrl/transaction magic number 64 to macro, as it is in the FX3 FW
2014-03-19 16:19:46 -07:00
Balint Seeber
ea66e24a96
b200: changed ad9361 read timeout handling (kicks in when requesting master_clock_rate above 56MHz)
2014-03-19 15:53:27 -07:00
Balint Seeber
383128e2c9
b200: throw exception when master clock rate (tick rate) is requested to be > max for certain # of channels (i.e. restrict to 30.72MHz for MIMO)
...
Also includes sscanf type fix in b200_impl and longer timeout for AD9361 read
2014-02-14 15:40:30 -08:00
Ben Hilburn
ff1546f813
Pushing the bulk of UHD-3.7.0 code.
2014-02-14 12:05:07 -08:00
Ben Hilburn
178ac3f1c9
Merging USRP X300 and X310 support!!
2014-02-04 11:04:07 -08:00
Balint Seeber
ef100213a4
uhd: so Coverity doesn't complain, removed variable declarations too
2014-02-03 11:58:32 -08:00
Balint Seeber
5eb7c3e492
uhd: disabled other use of _claimed and cond sync variables (no effect if previous change is used anyway)
2014-02-03 11:43:50 -08:00
Balint Seeber
7431627a2a
uhd: disabled atomic 'claim' check for multi-threaded access to recv_packet_demuxer_3000
...
The only caller is from super_packet_recv_handler, which is already not thread-safe.
The only underlying transport (libusb1_zero_copy) is thread-safe, so this shouldn't have an impact.
This solves the issue where (e.g. from GNU Radio), 'interrupt' is called on the worker thread while waiting for a join when worker thread is torn down (e.g. GR top block stop/wait/start),
which would cause the demuxer to still think the transport was claimed, as an interrupted exception will be thrown in 'wait_for_completion' in the transport, and execution will not
continue back into the demuxer to mark the transport as un-claimed, so future 'recv' streamer calls will always fail since the demux thinks the transport is still claimed from before.
2014-02-03 11:15:44 -08:00
Nicholas Corgan
6cdc9cdd5b
120 MHz daughterboard support, Integer-N tuning, ADF435x code consolidation
...
* Added support for new CBX-120, SBX-120, and WBX-120 daughterboards
* Added implementation of Integer-N tuning for all CBX, SBX, and WBX daughterboards
* Added --int-n option to examples to show how to use Integer-N tuning API
* Removed duplicate ADF4350/ADF4351 code and moved it to common/adf435x_common.cpp
2014-01-24 07:17:42 -08:00
Ben Hilburn
51de21efd7
Merge of mwest's fix to the sse2_fc32_to_sc16 converter.
2013-12-11 18:01:41 -08:00
Ben Hilburn
9e47ad607b
Squashed merge of Coverity fixes.
2013-11-27 12:11:23 -08:00
Josh Blum
56f391ad64
uhd: wb_iface is now a public interface
2013-10-04 16:49:32 -07:00
Josh Blum
0184989a5f
b200: use a union to perform double pack/unpack
2013-09-06 14:41:35 -07:00
Josh Blum
9c3fd67181
b200: lower clock rate is 5MHz due to DCM
2013-08-16 10:49:03 -07:00
Josh Blum
cd9763f94f
uhd: strnlen for platforms w/o it
2013-07-25 18:47:34 -04:00
Josh Blum
0aeac60394
uhd: allow for 16 bit i2c and eeprom addrs
2013-07-24 17:46:04 -07:00
Josh Blum
d251a7a55b
b200: use existing query rate calls to clip
2013-07-19 14:45:24 -07:00
Josh Blum
bb73a21495
uhd: squashed support modules for usrp3 fpga cores
2013-07-19 14:00:32 -07:00
Josh Blum
4677db78f1
uhd: packet demuxer, reset queue front b4 pop
2013-07-15 23:36:17 -07:00
Josh Blum
4322666dc1
b100: switch to new packet demuxer
2013-07-15 15:21:05 -07:00
Josh Blum
8488eb09d7
Merge branch 'maint'
2013-03-25 16:08:03 -07:00
Josh Blum
c5223d1922
usrp1: fix eeprom write capability through fx2
...
The vectorized eeprom write was faster but broken,
removed overload which falls back to the one byte at a time.
2013-03-25 13:12:55 -07:00
Nicholas Corgan
2131127607
Merge branch 'maint'
2013-02-27 16:17:19 -08:00
Nicholas Corgan
7868ba1cc4
lib: addresses B100 FIFO timeout error
2013-02-27 16:17:16 -08:00
Josh Blum
afaed50dbc
b100: create an overflow packet on unknown SID error
2013-02-27 13:59:31 -08:00
Nicholas Corgan
eaadc6e89a
Merge branch 'maint34' into maint
...
Conflicts:
host/lib/usrp/b100/b100_impl.cpp
host/lib/usrp/usrp1/usrp1_impl.hpp
2012-11-16 16:04:26 -08:00
Nicholas Corgan
011f63d19d
lib/cmake: CPack source work
...
* Removed all host code dependencies on firmware headers
* Put in CMake settings for CPack source
2012-11-16 15:54:09 -08:00
Josh Blum
667dcf0b98
Merge branch 'next'
2012-08-31 11:20:17 -07:00
Josh Blum
05a06254a7
cal: dont interpolate if freq is the same +/- epsilon
2012-08-29 15:14:11 -07:00
Josh Blum
de4d2fca90
usrp: added fifo_ctrl_excelsior for FIFO control + async msgs
...
The fifo_ctrl_excelsior is the host code for dealing with E100/B100
control messages and async messages. It also has the SPI implementation.
Timed commands are implemented on top of this code.
2012-07-02 14:06:00 -07:00
Josh Blum
c6fd517ad7
fx2: simplify i2c code and overload eeprom read/write
...
Overload eeprom routines to do it in 1 transaction,
since default will split it up into many for each byte.
2012-03-26 14:30:06 -07:00
Josh Blum
8a33423ad6
uhd: rev iq correction numbers format
2012-03-14 00:02:44 -07:00
Josh Blum
3060006b35
uhd: added async md user payload and common utils
2012-02-14 18:26:03 -08:00
Josh Blum
1463a78fd2
b100: reset/reenumerate fx2 for bad endpoint state
...
Determine state of control endpoint,
re-enumerate to put in a known state,
rerun some initialization code.
2012-02-14 15:01:15 -08:00
Josh Blum
8bd255c5f6
b100: added transport flushes and moved around reset code
2012-02-14 12:03:52 -08:00