Vanya A. Sergeev
500517f796
libbladeRF/driver: add adc and dac core subdrivers to ad9361 driver
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
a97ea1824c
libbladeRF/bladerf2: enable fpga and firmware flashing methods
...
using the bladerf1 spi flash helpers for now.
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
e0371db8d9
libbladeRF/bladerf2: skip ad9361 tx tuning for now and use static delay
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
fb5be2f80e
libbladeRF/driver: enable verbose logging in ad9361 tuning
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
60931e9d3e
libbladeRF/bladerf2: implement async streaming method
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
fed10a4f11
libbladeRF/bladerf2: add backend call to board enable module
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
f46b4a9e98
libbladeRF/driver: add axi adc platform backend wrappers to ad9361 driver
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
13233a9f5c
libbladeRF/driver: add error handling to axi adc methods in ad9361 driver
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
16c2a43e45
libbladeRF/bladerf2: assert reset for ad9361 in board initialize
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
c072e962e6
libbladeRF/bladerf2: initialize enable and txnrx pins for ad9361
...
before running ad9361_init(). required for FDD independent mode.
2017-12-21 12:54:57 -05:00
Vanya A. Sergeev
ca0dc6b348
fpga_common: fix overrun in 16x64 NIOS II packet packing
2017-12-21 12:54:57 -05:00
Brian Glod
83038c725f
bladerf-micro: hdl: rx_enable use GPIF control line
2017-12-21 12:54:57 -05:00
Brian Glod
3fec2cd2f2
bladerf-micro: hdl: Connect nios_gpio(1) for rx_enable
2017-12-21 12:54:57 -05:00
Brian Glod
fab1bf7e0b
bladerf-micro: hdl: Connect TX FIFO to AD9361 Core
2017-12-21 12:54:57 -05:00
Brian Glod
1b9b41cfc6
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:57 -05:00
Brian Glod
e81e16eda9
ip: adi: Connect PLL reset controllers
2017-12-21 12:54:56 -05:00
Brian Glod
26483454f3
bladerf-micro: hdl: Add PLL reset controller to U_pll and U_fx3_pll
2017-12-21 12:54:56 -05:00
Brian Glod
eaeabfaa97
ip: altera: Enable areset port on PLLs
2017-12-21 12:54:56 -05:00
Rey Tucker
4e6f20e788
hdl: add Nuand PLL Reset Controller IP
...
Provides a properly-timed reset for an Altera PLL when it loses lock.
2017-12-21 12:54:56 -05:00
Brian Glod
ba356bf72f
ip: adi: Use .qip in axi_ad9361_hw.tcl fileset
...
When Qsys generates a system, it copies all the fileset files into its
output directory. This commit changes the file set to be a single .qip
so that only the .qip is copied and the HDL files are referenced from
their original location(s) making modification and debug substantially
easier.
2017-12-21 12:54:56 -05:00
Brian Glod
82fa7d18be
bladerf-micro: hdl: Connect RX bus to FIFO
...
Use nios_gpio(17) to select the channel.
'0' = channel 0
'1' = channel 1
Also removed a bunch of cruft from bladeRF 'OG'.
2017-12-21 12:54:56 -05:00
Robert Ghilduta
026e4d11f6
Add INA219 FPGA read/write elements
2017-12-21 12:54:56 -05:00
Brian Glod
9d465ad916
bladerf-micro: hdl: Add sync to adi_ctrl_out inputs
...
Add synchronizers to adi_ctrl_out inputs to the NIOS system clock
domain.
2017-12-21 12:54:56 -05:00
Brian Glod
53ceff3cb4
bladerf-micro: stp: Add AD9361 sample data buses
2017-12-21 12:54:56 -05:00
Robert Ghilduta
14c9b64594
Add ADI AXI accessors to host libraries
2017-12-21 12:54:56 -05:00
Robert Ghilduta
b8719317b2
Add ADI AXI FPGA read/write elements
2017-12-21 12:54:56 -05:00
Robert Ghilduta
a19380479d
Add nios_32x32 read and write functions to nios_access
2017-12-21 12:54:56 -05:00
Robert Ghilduta
d2c0e55be6
Add bladeRF2.0's USB PID to udev rules
2017-12-21 12:54:56 -05:00
Robert Ghilduta
d2ebb3782d
Fixup C99 violations
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
324734422c
libbladeRF/bladerf2: implement preliminary sync streaming methods
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
5575924b8a
libbladeRF/bladerf2: migrate to fdd independent control mode for ad9361
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
f26ec2c032
libbladeRF/bladerf2: implement ad9361 portion of enable_module()
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
98c4a7c96f
libbladeRF/bladerf2: set ad9361 to alert state in initialize
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
747b0415e3
libbladeRF/bladerf2: disable fdd mode in ad9361 params
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
65f118686e
libbladeRF/bladerf2: specify rffe control reset gpio in ad9361 params
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
d307fc7165
libbladeRF/driver: use rffe control in ad9361 platform wrapper
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
f30f672e58
libbladeRF/backend: add adf400x accessors
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
8fd28df7c3
libbladeRF/backend: add ad56x1 vctcxo trim dac
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
a18a9f52c5
libbladeRF/backend: add rffe control
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
7474561711
libbladeRF/backend: fix ad9361 spi read docstring
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
68fe51e2f1
libbladeRF/backend: add verbose prints to ad9361 spi accessors
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
f6f05ccd77
libbladeRF/bladerf2: add device initialization state
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
c4a13a634a
libbladeRF/bladerf1: add device initialization state
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
a73f4bdb2b
libbladeRF/bladerf2: remove unneeded error goto in open()
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
3164ba2337
libbladeRF/bladerf1: remove unneeded error goto in open()
2017-12-21 12:54:56 -05:00
Robert Ghilduta
9bb7fe7d16
hdl: disable altera spi controller insertSync parameter for ad9361
...
this parameter was corrupting bits on read.
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
1043df94df
hdl: add 16x64 packet magic to command uart block
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
be8fa6c55f
libbladeRF/bladerf2: fix reference clock in ad9361 params
2017-12-21 12:54:56 -05:00
Vanya A. Sergeev
8aa061191c
libbladeRF/bladerf2: add usb pid detection to matches()
2017-12-21 12:54:55 -05:00
Vanya A. Sergeev
6277b9a95b
libbladeRF/backend: add bladerf2 usb pid detection
2017-12-21 12:54:55 -05:00