Commit graph

211 commits

Author SHA1 Message Date
Vanya A. Sergeev
a137aefba5 libbladeRF: add rf port methods 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
bccd7e19f7 libbladeRF: migrate api to 64-bit frequency 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
80a0ec0658 libbladeRF: add get board name method 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
54296975ed libbladeRF: add get range methods for sample rate, bandwidth, frequency 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
ad77aa9a8e libbladeRF: add generic gain methods 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
b4590950f4 libbladeRF: add bladerf_stream_layout concept for mimo streams 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9062b66d9c libbladeRF: migrate bladerf_module to bladerf_channel and bladerf_direction 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
823f15da5a libbladeRF: reorganize generic from board specific functions in public API 2017-12-21 12:54:58 -05:00
Robert Ghilduta
df369b01f4 libbladeRF: bump API version and add changelog for v1.9.0 2017-12-07 21:26:28 -08:00
Robert Ghilduta
1434ae89b8 libbladeRF: Updated to v1.8.0
libbladeRF v1.8.0 introduces support for the Automatic Gain Control.
2017-07-06 08:27:47 -07:00
Robert Ghilduta
f1ef088f2b libbladeRF: add gain_mode settings to control AGC
bladerf_set_gain_mode() and bladerf_get_gain_mode() were added to allow for
control of the bladeRF's AGC.
2017-07-05 08:59:09 -07:00
Robert Ghilduta
905c65c2a5 libbladeRF: add AGC GPIO bit
Bit 12 controls the AGC
2017-07-05 08:59:08 -07:00
Jon Szymaniak
587e4ac5c2 libbladeRF: Updated to v1.7.2 2016-06-29 11:55:21 -04:00
Jon Szymaniak
0bed16aa6b libbladeRF: doc: Be consistent with section name capitalization 2016-05-28 18:06:38 -04:00
Jon Szymaniak
9a72fc4211 libbladeRF: doc: Typo fix - removed trailing ] characters 2016-05-28 18:04:45 -04:00
Jon Szymaniak
03aabe30a1 libbladeRF: Updated to v1.7.1
Documentation-only changes since v1.7.0.
2016-05-28 17:47:03 -04:00
Jon Szymaniak
2a01f9d8fd libbladeRF: doc: Typo fix 2016-05-28 17:41:12 -04:00
Jon Szymaniak
a83c62d92d libbladeRF: doc: Corrected & clarified metadata format description
- Removed incorrect block size, and noted this for both Hi-Speed
    and SuperSpeed configurations.

- Attempted to make this description clearer by keeping things
    in units of samples, where possible.

- Explicitly noted that callers of the sync interface do not need
    to be concerned with underlying metadata position and layout --
    only async interface users do.

- Added link to libbladeRF's `metadata.h` for reference.
2016-05-28 17:39:07 -04:00
Jon Szymaniak
7a82ed7e3a libbladeRF: doc: Moved and clarified bladerf_get_timestamp() usage
This function was incorrectly located in the "Low-Level" group.

There has been some confusion reported about how to properly use this
function.  As such, the description has been updated to better describe
when to use this function versus the timestamp metadata mechanisms.
2016-05-28 17:02:54 -04:00
Jon Szymaniak
1a35d78a4e libbladeRF: doc: Explicitly note trigger example's clock config assumptions 2016-05-28 16:20:37 -04:00
Jon Szymaniak
579f8f7118 libbladeRF: doc: Describe bladerf_set_smb_mode() usage for MIMO config 2016-05-28 16:19:47 -04:00
Jon Szymaniak
2d3f16b47c libbladeRF: Updated to v1.7.0 2016-05-22 19:39:55 -04:00
Jon Szymaniak
085239c834 libbladeRF: doc: Corrected typo and added clarification 2016-05-22 19:20:28 -04:00
Jon Szymaniak
ca40176be6 libbladeRF: doc: Added note about disabling triggers before stream deinit 2016-05-22 19:20:28 -04:00
Jon Szymaniak
5502128b2b libbladeRF: doc: Noted thread-safe proerties of API groups 2016-05-22 19:20:28 -04:00
Jon Szymaniak
c398f28466 libbladeRF: doc: Moved Error codes section 2016-05-22 19:20:28 -04:00
Jon Szymaniak
086b169be2 libbladeRF: doc: Moved bootloader group after loading/programming
These are loosely related enough to be grouped closer together.
2016-05-22 19:20:28 -04:00
Jon Szymaniak
b0e7111abf libbladeRF: doc: Moved "Misc" function group 2016-05-22 19:20:28 -04:00
Jon Szymaniak
5ea3f34a99 libbladeRF: doc: Created and updated RX/TX module group 2016-05-22 19:20:28 -04:00
Jon Szymaniak
7134873170 libbladeRF: doc: Moved Expansion IO functions
These are more appropriately located near the expansion board
controls.
2016-05-22 19:20:28 -04:00
Jon Szymaniak
535bc44210 libbladeRF: doc: Moved XB functions to their own group. 2016-05-22 19:20:28 -04:00
Jon Szymaniak
055bbef224 libbladeRF: doc: Moved calibration and correction fns to a group 2016-05-22 19:20:28 -04:00
Jon Szymaniak
c787bc05da libbladeRF: doc: Renamed "Triggers and synchronization" section 2016-05-22 19:20:28 -04:00
Jon Szymaniak
31fdb8819d libbladeRF: doc: Moved SMB clock port and trigger groups up 2016-05-22 19:20:28 -04:00
Jon Szymaniak
8fb9ab0808 libbladeRF: doc: Moved bladerf_lpf_mode to bandwidth section 2016-05-22 19:20:28 -04:00
Jon Szymaniak
7547edb967 libbladeRF: doc: Moved loopback items to their own group 2016-05-22 19:20:28 -04:00
Jon Szymaniak
f230efce7a libbladeRF: doc: Moved tuning functions to their own group 2016-05-22 19:20:28 -04:00
Jon Szymaniak
2390f7b187 libbladeRF: Added missing CALL_CONV to bladerf_set_usb_reset_on_open() 2016-05-22 19:20:28 -04:00
Jon Szymaniak
c4e904c2b6 libbladeRF: doc: Moved "devinfo" functions to init/deinit group
The use of bladerf_devinfo is generally part of initialization
code. Thus it is more appropriate to include these functions in
this group.
2016-05-22 19:20:28 -04:00
Jon Szymaniak
fdb37c0a21 libbladeRF: doc: Moved bladerf_dev_speed to device properties API section 2016-05-22 19:20:28 -04:00
Jon Szymaniak
fe48d9a49f libbladeRF: doc: Moved device property functions up in API header 2016-05-22 19:20:27 -04:00
Jon Szymaniak
d945cc8d1b libbladeRF: doc: Moved bandwidth functions to their own API doc group 2016-05-22 19:20:27 -04:00
Jon Szymaniak
3ef5d7e98c libbladeRF: doc: Moved sampling control API items to their own group 2016-05-22 19:20:27 -04:00
Jon Szymaniak
92be0c70f6 libbladeRF: doc: Moved gain functions to their own API section 2016-05-22 19:20:27 -04:00
Jon Szymaniak
77c59a09d2 libbladeRF: Added SMB clock control API functions
Added API functions to configure SMB clock port (J62).
Moved SMB frequency tuning functions to this group in the header.
2016-05-17 00:20:01 -04:00
Jon Szymaniak
931afdf194 libbladeRF: Added high-level trigger implementation
This commit introduces high-level triggering API functions. This allows
multiple devices to be configured to synchornously start RX/TX
operations based upon the assertion of an external I/O signal.

This higher level API is intended to decouple usage from the underlying
register interface and provide some provisions for future
development of other trigger signals (both as official and user
customizations HW/SW customizations).

The general usage of this API is as follows:

    1. Create a bladerf_trigger structure for each trigger in the entire
        system. bladerf_trigger_init() may be used to initialize this
        structure.

    2. Arm 1 trigger master device via bladerf_trigger_arm().

    3. Arm trigger slaves via bladerf_trigger_arm().

    4. Configure and start sample streams. No samples will be
        transmitted or received until the trigger fires. Ensure
        the timeouts used are sufficiently large.

    5. Fire the trigger on the master device via bladerf_trigger_fire().

    6. Transmit and receive samples.

    7. Re-arm triggers via bladerf_trigger_arm() and repeat 5-6 as
        needed.

    8. Disable triggering by setting each trigger's role to
        BLADERF_TRIGGER_ROLE_DISABLED and then calling
        bladerf_trigger_arm(dev, false);
2016-05-17 00:20:01 -04:00
Jan Dohl
89aa27b38d libbladeRF: Added low-level trigger control functionality 2016-05-16 23:50:01 -04:00
Jon Szymaniak
cc1fcad6e9 libbladeRF: Updated description of DIV2 bit
This bit only has an effect in FPGA versions <= v0.1.2.
2016-04-26 11:57:47 -04:00
Robert Ghilduta
672aeef231 libbladeRF: Add XB300 Amplifier support
The XB-300 is an amplifier board that features a Low Noise Amplifier, a
Power Amplifier, a TX power monitor, and a 2:1 combiner for RX reception
along a TRX path. The TRX path has to be configured to TX for the PA to
output.
2016-04-20 18:20:09 -04:00
Jon Szymaniak
d8c1b52726 libbladeRF: Updated version to v1.6.1
Bumped patch version to denote bug fixes.
2016-04-11 13:32:07 -04:00