Commit graph

2,292 commits

Author SHA1 Message Date
Vanya A. Sergeev
4ff2639e9d libbladeRF: add not initialized error code 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
9d8ab87f75 libbladeRF/bladerf2: use direction constants in sync_tx() and sync_rx() 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
2f84d0e7c8 libbladeRF/bladerf2: rename board data variable device_state to state 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
f4ee542bd2 libbladeRF/bladerf1: rename board data variable device_state to state 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
94fa8e4401 libbladeRF/bladerf1: add board check to board specific methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
ae1e1e317a libbladeRF/bladerf2: implement rf port methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
1354df9062 libbladeRF/bladerf2: implement sample rate, bandwidth, frequency range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
523e932645 libbladeRF/bladerf1: implement sample rate, bandwidth, frequency range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
5a0754b56c libbladeRF/bladerf2: implement gain stage and range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
66e30806bf libbladeRF/bladerf1: implement gain stage and range methods 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
fa193e4a23 libbladeRF/bladerf2: implement set and get tx gain 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
02c012f446 libbladeRF/bladerf1: implement get gain method 2017-12-21 12:54:59 -05:00
Vanya A. Sergeev
50b2128cc0 libbladeRF/bladerf1: refactor set tx and rx gain helpers 2017-12-21 12:54:58 -05:00
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
18c199a358 libbladeRF/doc: move macros after typedefs and enums in doxygen rendering 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
Vanya A. Sergeev
0b814debbf libbladeRF/backend: add ina219 accessors 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
753614b487 libbladeRF/driver: clarify type in platform wrapper of ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
eb01b04658 libbladeRF/driver/ad9361: add error handling to adc and dac core subdrivers 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
e3645a21f8 libbladeRF/driver/ad9361: remove id_no index into dac state in dac subdriver 2017-12-21 12:54:58 -05:00
Ryan Tucker
ffe5fe98c0 hdl/analogdevicesinc: add README file with instructions 2017-12-21 12:54:58 -05:00
Brian Glod
3ee2b95eaa ip: adi: Fix PLL resets
The separate resets for the RX PLL and TX PLL prevented the PLLs from
being merged and thus prevented fitting in the device due to lack of
valid PLL locations. Because we want them to be merged, just use one
reset block to reset "both" PLLs.

In the future (after the TX/RX interfaces have been validated), we can
configure the LVDS cores to have an external PLL to make it explicit.
2017-12-21 12:54:58 -05:00
Brian Glod
8ec6b94247 hdl/ip/adi: Fix path to pll_reset in axi_ad9361.qip 2017-12-21 12:54:58 -05:00
Brian Glod
9d295cbf06 ip: adi: Connect PLL reset controllers 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
4ab8e67404 libbladeRF/driver: add subtree update instructions to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
34ed7b6b24 libbladeRF/driver: call adc and dac init in axiadc init of ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
0ff3e78166 libbladeRF/driver: add axi adc platform backend wrappers to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9abf887a84 libbladeRF/driver: add error handling to axi adc methods in ad9361 driver 2017-12-21 12:54:58 -05:00
Robert Ghilduta
c01931a920 libbladeRF/driver: fix compilation errors 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
32094b43a4 libbladeRF/driver: use rffe control in ad9361 platform wrapper 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
b2bac5705d libbladeRF/backend: refactor ad9361 spi methods into separate read/write ones 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
d5777c866b libbladeRF/driver: add platform backend wrappers to ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
8541290c55 libbladeRF/driver: refactor spi and gpio objects in ad9361 driver 2017-12-21 12:54:58 -05:00
Vanya A. Sergeev
9014d442a2 libbladeRF: add adi no-os ad9361 driver 2017-12-21 12:54:58 -05:00
Brian Glod
b166b90fdb bladerf-micro: sdc: Fix FIFO false path
The -to target was invalid due to changing the FIFO hierarchy in a
previous commit.
2017-12-21 12:54:58 -05:00
Brian Glod
faeb51e6d5 bladerf-micro: Add DCFIFO wrappers
- tx_fifo
- rx_fifo
- tx_meta_fifo
- rx_meta_fifo

This lets us avoid using MegaFunctions. The wrappers configure sane
DCFIFO defaults, but may also be overridden.
2017-12-21 12:54:58 -05:00
Brian Glod
5d5243110e bladerf-micro: hdl: Generate PLLs in build script
Move component declarations to bladerf_p.vhd package.
2017-12-21 12:54:58 -05:00
Brian Glod
b98350bb3e ip: nuand: Improve time_tamer|compare_time timing closure
The compare_time <= timestamp comparison is problematic for timing
closure in some designs because it takes much longer than a simple
equivalency check. The less than portion is (probably) not needed.
2017-12-21 12:54:57 -05:00
Brian Glod
a0634c8794 bladerf-micro: pins: Update pinout for proto2
- Rename: exp_present_n --> exp_present
- Add: exp_clock_req
- Add: exp_clock_en
- Included clocks in exp_gpio[*] nomenclature, so exp_gpio[14:28] were
  adjusted to exp_gpio[14:31]
2017-12-21 12:54:57 -05:00
Ryan Tucker
001366f266 hdl/synchronizer: explicitly identify this as a synchronizer 2017-12-21 12:54:57 -05:00
Brian Glod
ce7a8f89a2 bladerf-micro: hdl: Add sync to rxtrig:signal_out
This signal was crossing from the 80 MHz domain to the rx_clock domain
directly and causing timing violations.
2017-12-21 12:54:57 -05:00
Brian Glod
5875cc55b1 bladerf-micro: sdc: JTAG constraints 2017-12-21 12:54:57 -05:00
Brian Glod
49148c1c57 bladerf-micro: sdc: Constrain OpenCores I2C 2017-12-21 12:54:57 -05:00
Brian Glod
ada82a00a9 bladerf-micro: sdc: Add ADF400x SPI constraints 2017-12-21 12:54:57 -05:00