aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Moved mux calculations into dsp type1 utils.Josh Blum2010-06-101-2/+0
| | | | Fixed error in db basic freq range switcheroo.
* moved dsp update logic into prop setter, added code to init dsp rates and freqsJosh Blum2010-06-041-2/+0
|
* move get clock rate into clock controlJosh Blum2010-06-041-2/+2
|
* Prepend usrp2 onto the helper classes in usrp2 impl to avoid symbol conflicts.Josh Blum2010-06-041-4/+4
|
* Created macros for dealing with pimpls and implemented in code.Josh Blum2010-06-021-1/+2
|
* use smart pointer for io impl, simplify send buffer callbackJosh Blum2010-06-021-2/+1
|
* Implemented pirate thread, moved io impl details into io impl cpp file. ↵Josh Blum2010-06-011-3/+2
| | | | Fixed bug in bounded buffer push with pop on full.
* Moved the packet handler state stuff into a separate header (so we dont pull ↵Josh Blum2010-06-011-1/+1
| | | | | | in all the includes). Use callback for getting buffers rather than zc interface pointer so its more modular.
* Added support to set GPIO pins from dboard interface:Josh Blum2010-05-241-0/+1
| | | | | | write gpio and set pin control (atr or gpio) Added property to get dboard interface from the dboard obj.
* Added tx timed samples example.Josh Blum2010-05-181-6/+6
| | | | | Added called to device to get max samples per packet. Removed device props that gave max samples per packet.
* Added send and recv modes to the device class and packet handler implementation.Josh Blum2010-05-181-2/+12
|
* Created inline send vrt packer function that also handles fragmentation.Josh Blum2010-05-171-4/+3
|
* work on generic packet handler (got rx working)Josh Blum2010-05-171-6/+2
|
* calculate max samples per packet using otw typeJosh Blum2010-05-171-8/+19
|
* Added a place for serdes control on the host.Josh Blum2010-05-101-1/+3
| | | | | Fix bug in codec control. Comment out some clock control in fw code.
* Moved adc and dac control into codec control source file.Josh Blum2010-05-101-3/+5
| | | | The codec control powers down the chips on destruction.
* set dboard eeprom from dboard propertiesJosh Blum2010-04-241-0/+3
|
* renamed dboard interface to dboard iface, the lengthy name was getting to be ↵Josh Blum2010-04-141-1/+1
| | | | a burden
* Created a usrp2 interface class with the control, spi, peek/poke functionality.Josh Blum2010-04-131-40/+15
| | | | Its used in all the implementation level code
* Moved clock control into abstraction clock control class.Josh Blum2010-04-131-0/+5
|
* moved spi transact to usrp2 impl, and removed spi readJosh Blum2010-04-121-0/+9
|
* Added data type conversion routines to transport api.Josh Blum2010-04-121-0/+2
|
* Created zero copy interface/framework, made use of it in usrp2 udp transport ↵Josh Blum2010-04-121-1/+1
| | | | stuff.
* simplified the usage of dboard, dsp, and mboard proxies.Josh Blum2010-04-051-5/+5
| | | | removed the dict structure for each, we are just going to have one.
* added 16 bit peek and poke, 16 bit register defs for gpios and atrsJosh Blum2010-04-051-2/+5
|
* extended stream cmd with mode enum, and extended fragment flags in metadataJosh Blum2010-04-031-0/+1
|
* Moved dsp (rx and tx), time config, and clock config (mostly) into the host.Josh Blum2010-03-311-1/+2
|
* Refactor ATR part of dboard interface (and some constants).Josh Blum2010-03-311-0/+4
| | | | | | Added peek and poke to the dude/bro protocol. Started moving more control code through peek and poke. Added usrp_regs.hpp to be like memory map for slave perifs.
* Added io type and otw type for describing types.Josh Blum2010-03-301-2/+2
|
* refactored types.hpp into types directoryJosh Blum2010-03-271-5/+5
|
* Merge branch 'addrs' of git@ettus.sourcerepo.com:ettus/uhd into timingJosh Blum2010-03-261-0/+2
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_impl.hpp
| * added interface address discoveryJosh Blum2010-03-261-0/+1
| |
* | Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-251-9/+1
|/ | | | | | | | | 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.
* merged usrp2 stuff from u1e branch (without merging the u1e stuff)Josh Blum2010-03-221-2/+0
|
* Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-211-5/+6
| | | | | | | Created structs to replace range tuples, and clock config struct. Merged clock config props into one property using config struct. Added templated dict construction to use the assign::map_list_of. Added gcc flag to set visibility to hidden and use the api macro.
* added install path for dll, fixed idiotic msvc error where making a vector ↵Josh Blum2010-03-191-21/+22
| | | | 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
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-171-5/+5
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-161-0/+12
| | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....)
* Added simple device to handle wrapping general properties up into simple api.Josh Blum2010-03-101-0/+1
| | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-031-3/+3
| | | | | | The rx metadata has fragment flags and the tx metatdata has burst flags. Made the io impl for usrp2 rx routine fill in the rx metatdata fragment flag. Added device documentation for send and recv in regards to fragmentation.
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-031-8/+9
| | | | Added a packet size param to the vrt pack and unpack.
* Expanded the UDP api:Josh Blum2010-03-021-11/+13
| | | | | | | | We can make simple udp transports for discovery and control. We can support a udp zero copy transport (currently just asio). Reworked the io_impl for usrp2 to work with the zero copy api. So far, all of this untested other than compiling. A cut-down vrt library is in the works to simplify the io impl.
* The net common is too slow in usrp2 firmware to figure out if its vrt data.Josh Blum2010-03-021-1/+6
| | | | | 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.
* Send the number of samples per datagram over the control.Josh Blum2010-03-011-3/+8
| | | | | | 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.
* Recv noise with uhd.Josh Blum2010-03-011-0/+3
|
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-231-0/+5
| | | | | It packs and unpacks vrt headers/metadata. NOT YET TESTED IN ANY WAY...
* Work on the io interface for a device (and some implementation work in usrp2).Josh Blum2010-02-221-2/+2
| | | | | Modified the udp transport to reflect some of these changes. Got the fw compiling again, and it will not set data to true for small payloads (configuration ones).
* Made the usrp2 impl into a device.Josh Blum2010-02-211-1/+12
| | | | | Removed the usrp device wrapper and usrp2 cpp file outside of the usrp2 lib dir. Also removed the mboard base files since we wont be needing them.
* Moved lib and include contents of dboard and mboard one directory up and ↵Josh Blum2010-02-211-0/+160
prefixed them with dboard_ and mboard_. And yes, the code is compiling.