Driver for the Analog Devices AXI-ADC-CORE module.
@ NO_OS_SPI_MODE_1
Definition: no_os_spi.h:63
int adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:479
#define GPIO_ADC_SELA
Definition: parameters.h:69
int32_t ad6676_test(struct ad6676_dev *dev, uint32_t test_mode)
Perform an interface test.
Definition: ad6676.c:782
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
const char * name
Definition: altera_adxcvr.h:90
uint32_t f_adc_hz
Definition: ad6676.h:301
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
#define GPIO_ADC_SELB
Definition: parameters.h:70
int32_t axi_jesd204_rx_init_legacy(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization.
Definition: axi_jesd204_rx.c:835
Header file of AD5766 Driver.
@ GPIO_PS
Definition: xilinx_gpio.h:56
@ SPI_PS
Definition: xilinx_spi.h:62
uint8_t scrambling_en
Definition: ad6676.h:317
uint32_t size
Definition: iio_app.h:63
Definition: axi_dmac.h:127
const char * name
Definition: axi_dmac.h:128
@ UART_PL
Definition: xilinx_uart.h:57
uint8_t bw_margin_high_mhz
Definition: ad6676.h:305
uint8_t decimation
Definition: ad6676.h:307
Header file of SPI Interface.
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
enum xil_uart_type type
Definition: xilinx_uart.h:69
Definition: ad5766_core.h:47
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:525
IIO application descriptor.
Definition: iio_app.h:80
uint8_t use_extclk
Definition: ad6676.h:311
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
uint8_t scale
Definition: ad6676.h:310
void * buff
Definition: iio_app.h:64
Header file of Delay functions.
uint32_t axi_jesd204_rx_status_read(struct axi_jesd204_rx *jesd)
Read status of the JESD204 Receive Peripherial.
Definition: axi_jesd204_rx.c:212
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
AXI ADC Device Descriptor.
Definition: axi_adc_core.h:122
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
#define ADC_DDR_BASEADDR
Definition: main.c:62
uint8_t lvds_syncb
Definition: ad6676.h:318
@ UART_PS
Definition: xilinx_uart.h:59
#define GPIO_ADC_S0
Definition: parameters.h:71
int32_t number
Definition: no_os_gpio.h:83
const char * name
Definition: axi_adc_core.h:124
int32_t ad5766_core_setup(struct spi_engine_desc *eng_desc, ad5766_core **ad_core, ad5766_core_init_param init_param)
ad5766_core_setup
Definition: ad5766_core.c:163
struct no_os_spi_desc * spi_desc
Definition: ad5766.h:137
iio configuration.
Definition: iio_axi_adc.h:77
uint8_t shuffle_thresh
Definition: ad6676.h:315
uint32_t device_id
Definition: xilinx_gpio.h:68
#define GPIO_ADC_OEN
Definition: parameters.h:68
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
const char * name
Definition: axi_jesd204_rx.h:90
uint8_t bw_margin_low_mhz
Definition: ad6676.h:304
#define AD5766_SPI_ENGINE_BASEADDR
Definition: parameters.h:47
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:53
#define GPIO_ADC_AGC2
Definition: parameters.h:75
uint32_t device_id
Definition: no_os_spi.h:142
#define RX_DMA_BASEADDR
Definition: parameters.h:64
uint8_t shuffle_ctrl
Definition: ad6676.h:314
uint8_t chip_select
Definition: no_os_spi.h:146
struct iio_data_buffer * read_buff
Definition: iio_app.h:71
Definition: axi_dmac.h:102
int8_t bw_margin_if_mhz
Definition: ad6676.h:306
Driver for the ADI AXI-ADXCVR Module.
int32_t iio_axi_adc_init(struct iio_axi_adc_desc **desc, struct iio_axi_adc_init_param *init)
Registers a iio_axi_adc_desc for reading/writing and parameterization of axi_adc device.
Definition: iio_axi_adc.c:476
uint8_t attenuation
Definition: ad6676.h:309
#define GPIO_ADC_S1
Definition: parameters.h:72
@ IRQ_DISABLED
Definition: axi_dmac.h:79
Header file of AD5766 Core Driver.
#define TESTGENMODE_OFF
Definition: ad6676.h:197
#define SPI_AD5766_CS
Definition: parameters.h:49
@ SPI_PL
Definition: xilinx_spi.h:60
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
Driver for the Analog Devices AXI-DMAC core.
uint32_t ref_clk
Definition: ad6676.h:300
#define AD5766_DMA_BASEADDR
Definition: parameters.h:45
Header file of iio_axi_adc.
Definition: altera_adxcvr.h:102
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:104
uint8_t n_lanes
Definition: ad6676.h:320
const char * name
Definition: altera_adxcvr.h:103
uint8_t sysref_pd
Definition: ad6676.h:319
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
int32_t ad6676_gpio_config(struct ad6676_init_param init_param)
ad6676_gpio_config
Definition: ad6676_ebz.c:68
enum xil_spi_type type
Definition: xilinx_spi.h:74
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
#define GPIO_JESD204_SYSREF
Definition: parameters.h:79
int iio_app_run(struct iio_app_desc *app)
int main(void)
main
Definition: ad5766_sdz.c:55
struct no_os_spi_init_param spi_init
Definition: ad6676.h:324
uint32_t f_if_hz
Definition: ad6676.h:302
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
void * extra
Definition: no_os_spi.h:212
@ SPI_ENGINE
Definition: xilinx_spi.h:64
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
uint32_t core_baseaddr
Definition: ad5766_core.h:48
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:49
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
#define GPIO_ADC_AGC1
Definition: parameters.h:74
Platform dependent parameters.
int main(void)
main
Definition: ad6676_ebz.c:251
uint8_t spi3wire
Definition: ad6676.h:312
@ NO
Definition: axi_dmac.h:98
@ AD5766_M_10V_TO_P_10V
Definition: ad5766.h:126
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
#define GPIO_RESET
Definition: parameters.h:52
Definition: ad5766_core.h:39
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
@ AD5766_DISABLE
Definition: ad5766.h:97
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:79
int32_t axi_adc_init(struct axi_adc **adc_core, const struct axi_adc_init *init)
AXI ADC Main Initialization.
Definition: axi_adc_core.c:641
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
#define RX_CORE_BASEADDR
Definition: parameters.h:63
uint8_t ext_l
Definition: ad6676.h:308
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
uint8_t frames_per_multiframe
Definition: ad6676.h:321
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
#define TESTGENMODE_PN9_SEQ
Definition: ad6676.h:201
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
Definition: axi_jesd204_rx.h:57
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:61
uint8_t device_id
Definition: no_os_uart.h:112
Driver for the Analog Devices AXI-JESD204-RX peripheral.
#define RX_JESD_BASEADDR
Definition: parameters.h:65
#define AD5766_CORE_BASEADDR
Definition: parameters.h:46
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
#define TESTGENMODE_PN23_SEQ
Definition: ad6676.h:200
AD9361_InitParam default_init_param
Definition: main.c:183
#define TESTGENMODE_RAMP
Definition: ad6676.h:204
Header file of GPIO Interface.
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
@ GPIO_PL
Definition: xilinx_gpio.h:54
int32_t axi_adc_pn_mon(struct axi_adc *adc, enum axi_adc_pn_sel sel, uint32_t delay_ms)
Monitor the AXI ADC PN Sequence.
Definition: axi_adc_core.c:136
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:385
#define ADXCVR_REFCLK_DIV2
Definition: axi_adxcvr.h:56
const char * name
Definition: axi_jesd204_rx.h:59
uint32_t bw_hz
Definition: ad6676.h:303
Header file of AD6676 Driver.
@ AD5766_ZERO
Definition: ad5766.h:130
int32_t ad6676_setup(struct ad6676_dev **device, struct ad6676_init_param init_param)
Initialize the device.
Definition: ad6676.c:632
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
#define AD5766_DDR_BASEADDR
Definition: parameters.h:48
uint32_t ref_clk_hz
Definition: spi_engine.h:85
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
#define GPIO_ADC_RESETB
Definition: parameters.h:73
void iio_axi_adc_get_dev_descriptor(struct iio_axi_adc_desc *desc, struct iio_device **dev_descriptor)
Get device descriptor.
Definition: iio_axi_adc.c:463
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:147
int32_t ad5766_init(struct ad5766_dev **device, struct ad5766_init_param init_param)
Definition: ad5766.c:286
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
struct iio_app_device * devices
Definition: iio_app.h:107
uint32_t size
Definition: axi_dmac.h:103
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
const char * name
Definition: axi_adc_core.h:145
@ AXI_ADC_PN9
Definition: axi_adc_core.h:157
int32_t axi_jesd204_rx_lane_clk_enable(struct axi_jesd204_rx *jesd)
JESD204 RX Lane Clock Enable.
Definition: axi_jesd204_rx.c:189
uint32_t nb_devices
Definition: iio_app.h:109
Definition: axi_dmac.h:110
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
@ AXI_ADC_PN23
Definition: axi_adc_core.h:161