summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* usrp1: Modifiy USB transport implementations to use new interfaceThomas Tsou2010-08-267-314/+322
| | | | Common libusb1 code is consolidated in the libusb base file.
* usrp1: Modifiy USB interfaces to use new device handleThomas Tsou2010-08-266-69/+86
| | | | | | | The interface previously defined a descriptor type, which is now replaced with a generalized handle. This change provides more flexibility in implementations that may pass internal representations of device handles or identifier objects.
* usrp1: Remove unused overrun/underrun poll variableThomas Tsou2010-08-241-2/+0
| | | | | | The polling inverval for overrun and underrun checking is rate dependent and calculated in the dsp code whenever the interpolation or decimation is changed.
* usrp1: Cleanup unnecessary state variablesThomas Tsou2010-08-241-12/+22
|
* usrp1: Improve debug output readabilityThomas Tsou2010-08-241-1/+2
|
* usrp1: Fix assertion that prevents 32-bit SPI transactionsThomas Tsou2010-08-231-1/+1
|
* usrp1: Remove hard coded value in clock rate propertyThomas Tsou2010-08-231-1/+1
|
* usrp1: Refactor I/O implementationThomas Tsou2010-08-233-130/+215
|
* usrp1: Fix bug in calculating transmit muxThomas Tsou2010-08-231-1/+1
| | | | Use transmit instead of receive properties.
* usrp1: Change codec transmit gain scalingThomas Tsou2010-08-191-2/+2
| | | | | | The AD9862 datasheet states that maximum gain is achieved with a value of 111111 (0x3f), however, empirical testing reveals that the gain scaling value spans the full register width of 8-bits.
* usrp1: Make underrun/overrun checking rate dependentThomas Tsou2010-08-191-10/+22
| | | | Calculate a polling interval based on the sample rate and size.
* usrp1: Remove codec gain TODO commentsThomas Tsou2010-08-191-3/+3
|
* usrp1: Return proper mboard proxyThomas Tsou2010-08-181-2/+2
|
* usrp1: Refactor mboard tuning codeThomas Tsou2010-08-184-114/+92
|
* usrp1: Return unknown (0xff) on invalid I2C readThomas Tsou2010-08-171-5/+2
| | | | | This allows a dboard eeprom read to continue when reading from an empty slot.
* Merge branch 'usrp1_next' of ettus.sourcerepo.com:ettus/uhdpriv into usrp1_nextThomas Tsou2010-08-161-7/+106
|\
| * usrp1: rx and tx mux calculationJosh Blum2010-08-161-7/+106
| |
* | usrp1: Remove hard coded clock valuesThomas Tsou2010-08-162-6/+6
| | | | | | | | Get clock values from clock control, where the master setting lives.
* | usrp1: Remove error message for unsupported ATR registersThomas Tsou2010-08-161-4/+2
| |
* | usrp1: Setup dboard interface dualityThomas Tsou2010-08-161-42/+63
|/
* usrp1: compiling with the latest nextJosh Blum2010-08-163-13/+19
|
* Merge branch 'next' into usrp1_nextJosh Blum2010-08-1510-211/+272
|\
| * usrp2: fix missing includeJosh Blum2010-08-151-0/+1
| |
| * usrp: use different priority policies for gain group (rx vs tx)Josh Blum2010-08-153-7/+30
| |
| * usrp: moved usrp utils into public include spaceJosh Blum2010-08-1510-205/+242
| |
* | usrp1: add skeleton code for setting subdev specJosh Blum2010-08-153-3/+35
| |
* | usrp1: created daughterboard dualityJosh Blum2010-08-159-183/+246
| | | | | | | | | | | | everything that should have two is now stored into a dictionary of slot to type the set and get functions are now bound with a third argument for dboard slot the dboard iface has yet to be completed with the correct registers for a vs b
* | usrp1: compiling off next branchJosh Blum2010-08-1510-68/+98
| | | | | | | | | | | | | | | | made usb checking changes implemented named_prop_t::extract change copied the remainder of the codec pga gain control
* | Merge branch 'next' into usrp1Josh Blum2010-08-153-4/+6
|\|
| * uhd: use cmake to convert the pkg data dir to native system formatJosh Blum2010-08-153-4/+6
| |
* | Merge branch 'next' into usrp1Josh Blum2010-08-1523-218/+275
|\|
| * uhd: extract named prop returns a named prop (not a tuple)Josh Blum2010-08-1512-133/+92
| | | | | | | | simplifies the code after the property set/get declaration
| * usrp: give dboards a name (not a blank string), do automatic selection when ↵Josh Blum2010-08-154-15/+23
| | | | | | | | not provided
| * usrp: replaced mboard name with special props for dboard ifaceJosh Blum2010-08-143-21/+46
| |
| * Merge branch 'split_string' into nextJosh Blum2010-08-137-44/+39
| |\
| | * uhd: made split string utility functionJosh Blum2010-08-127-44/+39
| | |
| * | Merge branch 'subdev_spec'Josh Blum2010-08-123-12/+82
| |\ \ | | |/ | |/|
| | * usrp: added subdev spec verification functionsJosh Blum2010-08-113-12/+82
| | |
* | | usrp1: Add usrp1 implementationThomas Tsou2010-08-1318-0/+3292
| | |
* | | usrp1: Cmake changes to find libusb-1.0Josh Blum2010-08-132-0/+53
| | | | | | | | | | | | | | | FindUSB1.cmake file imported from the libFTDI project, http://www.intra2net.com/en/developer/libftdi
* | | usrp1: Add libusb-1.0 implementations of USB interfacesThomas Tsou2010-08-132-0/+1092
| | |
* | | usrp1: Add USB transport interfacesThomas Tsou2010-08-135-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds generic interfaces for control and zero-copy transport of data between the host and a slave device. The interfaces are separate and generic to accommodate multiple implementations that may include cross platform libraries such as libusb or a platform specific implementation such as Linux usbfs.
* | | usrp1: Add SPI transaction command to FX2 firmwareThomas Tsou2010-08-134-3/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing SPI read command is set for half-duplex 8-bit or 16-bit writes followed by an equivalent sized read. This patch adds a new command, VRQ_SPI_TRANSACT, which performs a full-duplex transaction up to 4-bytes. Since the data buffer of the USB control transfer is not available for outbound data on IN requests, the 4 bytes of write data are sent through the request parameters. Enables are sent in the previsouly unused high byte of the length parameter. The USB field mappings are shown below. Only rising edge and MSB operation is supported. Field (8-bit) Description ===== ===== bmRequestType 0x80 (USB Device IN request) bRequest 0x83 (VRQ_SPI_TRANSACT) wValueH OUT data(0) wValueL OUT data(1) wIndexH OUT data(2) wIndexL OUT data(3) wLengthH SPI enables wLengthL Number of bytes to transfer (1-4) EP0BUF IN data
* | | usrp1: Add FX2 firmware filesThomas Tsou2010-08-13107-0/+11421
|/ / | | | | | | | | These firmware files for the usrp1 are imported from GNURadio.
* | uhd: created floor_step to handle floating-point errors in gain groupJosh Blum2010-08-121-6/+25
| |
* | uhd: avoid segfaults - use CPP macros for paths and dont split empty stringJosh Blum2010-08-112-9/+10
|/
* Merge branch 'changes'Josh Blum2010-08-1113-31/+216
|\
| * uhd-images: do not require language check for images projectJosh Blum2010-08-101-1/+1
| |
| * usrp2: work on card burner to pad the image file before a writeJosh Blum2010-08-102-12/+32
| |
| * usrp2: added fpga compat number, renamed firmware proto version to compatJosh Blum2010-08-095-16/+28
| |