Commit Graph

338 Commits

Author SHA1 Message Date
Eric Blossom 299fec1a46 Remove unnecessary implementation of flexrf::refclk_freq.
Apply patch from Alexander Chemeris <alexander.chemeris@gmail.com>
2010-01-18 12:27:45 -08:00
Eric Blossom cdb3df98bb Remove assert(dac_rate() == 128000000).
Applied patch from Alexander Chemeris <alexander.chemeris@gmail.com>
that allows non 64MHz clocking on USRP1.
2010-01-18 12:23:57 -08:00
Jason Abele 53facbe9b5 Remove wbxng tx gain dependence on pga gain 2010-01-05 15:12:36 -08:00
Jason Abele 153bb9417f Added antenna select support for new board rev 2010-01-04 11:30:52 -08:00
Jason Abele 9dfdd79bf7 Fixing bad tuning range code 2010-01-04 11:20:47 -08:00
Jason Abele ed7a822c3a WBXNG: Can not enable/disable ADF4350 from set_enable()
Incorrect powerdown in RX deconstructor
       Expanded range of frequencies to attempt locking
2010-01-04 11:20:47 -08:00
Jason Abele f521a5977e WBXNG: power on/off TXMOD and Synth/VCO with set_enable
No similar function on RX, so RX is always on?
2010-01-04 11:20:46 -08:00
Jason Abele dad9cad9bf WBXNG: set ADF4350 to low spur mode 2010-01-04 11:20:46 -08:00
Thomas Tsou 57e55a5a33 usrp: Corrected error message 2009-12-01 09:57:15 -05:00
Matt Ettus 0d989b33d7 same bug as on the U2, found by Stephen Lai 2009-11-26 11:28:59 -08:00
Eric Blossom bfc5222183 Add USB PID for HPSDR HERMES device. 2009-11-11 12:38:41 -08:00
Thomas Tsou 593b69ca07 usrp: Cleanup of usrp_basic
Version specific libusb calls are pushed out of usrp_basic into
usrp_prims where they belong. This leads to a single usrp_basic
file. A new function in usrp_prims, usrp_deinit(), handles
shutdown specific to version 1.0.
2009-11-02 17:29:14 -05:00
Thomas Tsou e3ca79c2fa usrp: Check return value in fusb_libusb1 _reap()
The old fusb_libusb1 _reap() call always returned true except on
error. With this commit it checks that a transfer is actually
reaped and returns false otherwise.
2009-11-02 17:09:00 -05:00
Jason Abele 6619994b0a Fixing prescaler and disable aux synth output on wbxng 2009-10-29 19:26:47 -08:00
Michael 79245079c7 updated usrp.pc file to reflect the correct version of libusb 2009-10-27 12:13:59 -04:00
Johnathan Corgan 6eafa6b6b1 Merge branch 'osx_10.6_64_fixes' of http://gnuradio.org/git/michaelld
This merge adds support for OSX 10.6 in gr-audio-osx and usrp.

Conflicts:
	usrp/host/lib/usrp_prims_libusb0.cc
2009-10-19 08:25:35 -07:00
Michael d04f732630 moved all 'fprintf (stderr, ...)' calls to std::cerr, for 'universal' OSX printing of long and pointer types 2009-10-19 10:21:33 -04:00
Thomas Tsou 7b8130230d usrp: Fixed firmware load regression
This fixes a bug from "Applied libusb-1.0 patch set from Thomas
Tsou <ttsou@vt.edu>" b5aa407ec2b1bdebc1c950a9428789fe50327776

The bus rescan after firmware load was stomped with the addition of
libusb-1.0 support causing the subsequent device open to fail.
libusb-1.0 doesn't (appear to) require the bus to be explicity
rescanned. The rescan is added back for libusb-0.1. For libusb-1.0
the rescan nops.
2009-10-15 21:32:11 -04:00
Thomas Tsou 40053a696c usrp: Corrected error message 2009-10-15 21:32:01 -04:00
Thomas Tsou b516518a93 usrp: Added missing return values 2009-10-15 21:31:24 -04:00
Michael 0001665212 OSX 10.6 x86_64 fixes for configure and libusb; Audio is next 2009-10-15 09:43:20 -04:00
Johnathan Corgan ced8a50c39 Merge branch 'libusb-1.0' of git://github.com/ttsou/gnuradio-ttsou
This merge fixes libusb build machinery to work for Cygwin, Darwin, Ubuntu,
and F11.

* 'libusb-1.0' of git://github.com/ttsou/gnuradio-ttsou:
  usrp: Applied patch from Michael Dickens for Darwin libusb
  usrp: Applied patch from Don Ward for Cygwin libusb
  fix to restart libusbok checking for non-PKGCONFIG
  usrp: Disabled libusb-1.0 debug output by default
  merged updated libusb checks with older version
  usrp: Enable debug output
  usrp: Reorg of libusb error reporting
  usrp: Added error checking on hash transfers
  augmented search for libusb
2009-10-13 13:32:39 -07:00
Johnathan Corgan 955964d34b Change calculation of docdir to remove trailer when in git development 2009-10-13 13:07:19 -07:00
Thomas Tsou 4f074f479e usrp: Disabled libusb-1.0 debug output by default
Debug output may generate excessive amounts of information.
2009-10-12 13:26:33 -04:00
Johnathan Corgan 990f456a3c #include "config.h" in db_wbxng.cc (for timespec, nanosleep, etc.)
Patch-by: Don Ward <don2387ward@sprynet.com>
2009-10-10 16:48:58 -07:00
Thomas Tsou 1ff45f0d2b usrp: Enable debug output
This only works if libusb-1.0 is compiled with debug logging.
2009-10-09 15:10:13 -04:00
Thomas Tsou 0bec945f49 usrp: Reorg of libusb error reporting
Error messages rather than error codes are reported. Version specific
libusb error messages originate from their respective calls.
2009-10-09 15:08:35 -04:00
Thomas Tsou be044ba6f1 usrp: Added error checking on hash transfers 2009-10-09 13:38:00 -04:00
Michael 1c95c05c0b augmented search for libusb 2009-10-08 17:21:15 -04:00
Johnathan Corgan 54148c21f0 Merge branch 'libusb-1.0' of git://github.com/ttsou/gnuradio-ttsou
* 'libusb-1.0' of git://github.com/ttsou/gnuradio-ttsou:
  usrp: Corrected build fix for libusb
  usrp: Removed unused file
2009-10-06 19:29:07 -07:00
Johnathan Corgan 8b3e40002a Merge branch 'wip/wbxng' of git@gnuradio.org:jcorgan
* 'wip/wbxng' of git@gnuradio.org:jcorgan:
  Clean up for work-in-progress
  Integrated gain control for TX and RX of wbxng
  Enabled RX Baseband
  First Functional TX modulator
  Locking, controllable synthesizer on TX and RX
  Able to tune RX VCO, observe R and N divider output on MUXOUT
  twiddling gpio successfully
  Clean build
  Initial compile of wbxng, properly sets db IDs
2009-10-06 18:17:18 -07:00
Johnathan Corgan 299bfe3839 Clean up for work-in-progress
Copyright updates
Trailing whitespace cleanup
Move private headers out of install
Use standard include guards
Code cleanup
2009-10-06 17:50:59 -07:00
Jason Abele a6e8d06af4 Integrated gain control for TX and RX of wbxng 2009-10-05 14:37:13 -07:00
Jason Abele f0191323bf Enabled RX Baseband 2009-10-05 14:37:13 -07:00
Jason Abele 4d3c587c54 First Functional TX modulator 2009-10-05 14:37:13 -07:00
Jason Abele d1d7a97718 Locking, controllable synthesizer on TX and RX
set Charge Pump Current (Icp) per design guide on schem
    set R divider to 3, so that PFD inputs are ~21MHz
    set RF output enable even when looking for AUX
2009-10-05 14:37:13 -07:00
Jason Abele 1937a8a9e8 Able to tune RX VCO, observe R and N divider output on MUXOUT 2009-10-05 14:37:13 -07:00
Jason Abele 1d5822c0dc twiddling gpio successfully 2009-10-05 14:37:13 -07:00
Jason Abele 3e0eb64bf7 Clean build 2009-10-05 14:37:13 -07:00
Jason Abele acd8ef21ae Initial compile of wbxng, properly sets db IDs 2009-10-05 14:37:12 -07:00
Thomas Tsou 2a27160457 Merge branch 'master' into libusb-1.0 2009-10-03 16:33:11 -04:00
Thomas Tsou 344ed75074 usrp: Removed unused file 2009-10-03 16:24:34 -04:00
Johnathan Corgan 3e6f8073db Fix missing update from last commit 2009-10-03 12:59:34 -07:00
Thomas Tsou e93bb9cf4a usrp: Build fix for non-pkgconfig installs of libusb 2009-10-03 13:08:04 -04:00
Johnathan Corgan 5e6717ddd1 Cleanup in preparation for merge
Fix trailing whitespace
Use standard include guards
Add more missing config.h includes
Fixup emacs mode strings
Update copyright notices
2009-10-01 13:51:03 -07:00
Johnathan Corgan 56a14554d3 Add required include directory for new header organization 2009-10-01 12:47:24 -07:00
Thomas Tsou 026203de61 Added config.h headers to fix win32 build 2009-10-01 13:33:33 -04:00
Johnathan Corgan 53ed3fef34 Consolidate conditional headers into libusb_types.h, use automake 2009-09-29 18:29:44 -07:00
Thomas Tsou 487fa3ec68 Change write_internal_ram in usrp_prims to print signed error code 2009-09-23 18:05:16 -04:00
ttsou 2cdcb5fd1e Allow fusb_sysconfig to build on non-linux libusb-0.12 impls 2009-09-17 14:10:04 -04:00