Brian Padalino
cd3552f73a
lib: Cleaned up reported github issue #5 and #6
...
Fixed lms_lpf_enable() to always enable the LPF.
Fixed lms_lpf_disable() to not disturb DCO_DACCAL_LPF.
2013-07-06 14:14:04 -07:00
Brian Padalino
1c9849538f
apps: Adding an rx_test to see if the samplerate is being kept up.
...
cli: Adding trimdac writing.
nios: Removing the unions.
2013-07-06 14:14:03 -07:00
Brian Padalino
480e115537
lib: Set Si5338 to 2x requested sample rate
...
The ADC/DAC clocks runs at 2x their actual sample rate,
so the Si5338 should be generating a 2x sample clock
for the requested rate.
2013-07-06 14:14:01 -07:00
Rob
a1377133b0
libbladeRF: add Si5338 read support
...
Support for reading Si5338 registers has existed in the driver for a while. This
commit now allows the library to utilze it as well.
2013-06-23 21:57:46 -07:00
Rob
a589bb1260
libbladeRF: add dac_write() DAC control support
...
This commit adds support for writing values to the VCTCXO calibration DAC.
2013-06-23 21:57:36 -07:00
Brian Padalino
b6ffd3f9d4
cli: Added rxvga1 and rxvga2.
...
lib: Modified calls to rxvga2 since units are in 3dB increments.
2013-07-06 14:03:55 -07:00
Brian Padalino
57c6c424a8
lib: Allow reloading of FPGA
2013-07-06 14:03:51 -07:00
Brian Padalino
8dcd48a561
cli: More print/set updated.
...
lib: Moved all implementation code to bladerf.c
2013-07-06 14:03:49 -07:00
Brian Padalino
b97eb3554d
cli: Implemented txvga1 print/set and fixed library calls for txvga1.
2013-07-06 14:03:48 -07:00
Brian Padalino
ef2a542136
cli: Adding extra functionality.
...
lib: Added device path to bladerf structure to know where fd is pointing.
2013-07-06 04:50:37 -07:00
Robert Ghilduta
9b80370f0c
libbladeRF: fixup RX function
2013-06-16 18:17:50 -07:00
Jon Szymaniak
eecc0d2799
libbladeRF: Implemented firmware flashing, touched up FPGA loading.
...
Credit where credit is due -- All the code here is basically
copy/paste from Robert's earlier test code, with some added error
checks and debug output.
The firmware loading now checks the write return value and
performs partial writes as needed.
Items that need to be revisited are the sanity checks on file
sizes. In the future I plan to implement a "bladeRF Image" format
that will wrap size and a hash around a firmware/bitstream. These
checks will probably go into that code.
2013-06-16 18:17:49 -07:00
Jon Szymaniak
265755de0b
libbladeRF: Header file cleanup, added bladerf_strerror
...
Misc cleanup. Added reference to RETCODES in doxygen @return's.
2013-06-16 18:17:46 -07:00
Brian Padalino
d8ae03cabe
bladerf: Adding documentation and liblms calls.
2013-06-16 18:17:44 -07:00
Brian Padalino
c10b7a7b83
Adding some new getters/setters.
2013-06-16 18:17:43 -07:00
Brian Padalino
4997c38d3d
libbladeRF: Added setters/getters
...
Added some extra setters/getters for center frequency and gain.
2013-06-16 18:17:42 -07:00
Robert Ghilduta
f8e78fba46
libbladeRF: driver: add host software support for GPIO over UART bridge
2013-06-09 23:03:28 -07:00
Robert Ghilduta
3843d1909e
libbladeRF: add FPGA programming support
2013-06-09 23:03:27 -07:00
Robert Ghilduta
5c41729ac3
libbladeRF: add support for LMS6002D
...
This commit introduces LMS library support for controlling the LimeMicro
LMS6002D transceiver. The LMS library functions were originally developed by
bpadalino.
2013-06-04 20:22:59 -07:00
jon
c2e3c54422
apps: Added hooks to build without 'make install'-ing libbladeRF
2013-06-09 22:58:33 -07:00
jon
7f22b26f7d
libbladeRF/apps: Moving cli build to apps/
...
This is the first commit in a set of upcoming changes that will
move functionality from simple_load and upgrade_firmware into the
libbladeRF library and provide access to these routines through a
bladeRF cli.
Don't merge from jon-dev until I get this straightened out, or
you'll be left with something possibly unusable...
2013-06-09 22:58:32 -07:00
jon
aad9e99bfb
libbladeRF: 'make install' now prints what it's executing to install
2013-06-09 22:58:31 -07:00
Robert Ghilduta
e467bdf85a
libbladeRF: add Si5338 support
...
This commit introduces support for controlling the on-board programmable PLL and
clock distribution Si5338 chip.
2013-06-04 20:42:06 -07:00
jon
cbad06a5a1
libbladeRF: More lib renaming & fixes for tempoarary (un)install targets
2013-06-09 22:58:18 -07:00
jon
7ccd37aa7d
libbladeRF: header and lib renamed to libbladeRF. Minor fixes added.
...
Fixed bladerf_get_device_list return value for condition where no
devices are attached. (Now returns 0, previously returned -1).
Also added a missing catch of a malloc failure and now return appropriate
error value.
2013-06-09 22:58:17 -07:00
jon
5a7b8a253d
libbladeRF: Makefile now creates and installs libbladerf.pc
2013-06-09 22:58:06 -07:00
jon
2807d5d3fe
libbladeRF: Added header inclusion guards and cplusplus check. Fixed 'make uninstall'
2013-06-09 22:58:05 -07:00
jon
95c2c3db70
libbladeRF: Added stubs for fetching FPGA version info.
2013-06-09 22:58:05 -07:00
jon
ca35519b34
libbladeRF: Added calls to fetch some device info, and did a bit of cleanup.
2013-06-09 22:58:04 -07:00
jon
52a3d834ea
libbladeRF: Removed duplicate bladerf_flash_firmware() from header and erroneous #include
2013-06-09 22:58:03 -07:00
jon
bffd52e1f5
libbladeRF: Implemented bladerf_get_device_list(). Removed missing logo from Doxygen
...
With these changes, the cli can be used to probe for attached bladeRF
devices on the system, assuming the user has r/w on the /dev/bladeRF
nodes.
2013-06-09 22:58:02 -07:00
jon
9773679fd2
libbladeRF: Added cli program to build for testing and debugging
2013-06-09 22:58:01 -07:00
jon
709d2d0fdc
libbladeRF: Changed default include path to include ../../common
...
This will make things slightly less of a pain in the butt for the
time being. Someone remind me to fix this later.
2013-06-09 22:58:00 -07:00
jon
ff772abcf4
libbladeRF: Move bladerf_stats to public header, added fn to obtain these.
2013-06-09 22:57:59 -07:00
jon
99f12fadd3
libbladerRF: [Non-functional] Added stubs for libbladerf.
...
Jon's TODO items in the following commits will include:
- Implementing the init/deinit functions
- Implementing the device info and programming functions
- Integrating ../app items into this lib
- Adding libbladerf support to gr-osmosdr
2013-06-09 22:57:58 -07:00