Go to the documentation of this file.
33 #ifndef __FRAME_RX_TX_EXAMPLE_H__
34 #define __FRAME_RX_TX_EXAMPLE_H__
uint8_t offload_config
Definition: spi_engine.h:151
Driver for the Analog Devices AXI-ADC-CORE module.
int adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:479
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:1193
@ ADAQ8092_ALT_BIT_POL_OFF
Definition: adaq8092.h:154
#define GPIO_1V8_NR
Definition: parameters.h:53
const char * name
Definition: axi_dac_core.h:55
#define ADAQ7980_EVB_SAMPLE_NO
Definition: adaq7980_sdz.c:51
@ TWOS_COMPLEMENT
Definition: ad9467_fmc.c:76
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
#define CF_DATA_MONITOR_PN_ERR
Definition: ad9467_fmc.c:70
#define ADIN1110_ETH_HDR_LEN
Definition: adin1110.h:45
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
type_test_modes
Definition: ad9467_fmc.c:80
int32_t ad9656_remove(struct ad9656_dev *dev)
Free the resources allocated by ad9656_setup().
Definition: ad9656.c:281
@ ADA4250
Definition: ada4250.h:111
@ ADIN2111
Definition: adin1110.h:193
Structure containing the init parameters needed by the adaq7980 device.
Definition: adaq7980.h:50
#define SPI_ADF5902_CS
Definition: parameters.h:46
#define ADF5902_RAMP_DIV
Definition: adf5902.h:324
#define ADF5902_CONTINUOUS_TRIANGULAR
Definition: adf5902.h:271
#define ADF5902_R_DIV_2_DISABLE
Definition: adf5902.h:231
ADA4250_ardz Parameters Definitions.
int32_t adf5902_recalibrate(struct adf5902_dev *dev)
Recalibration procedure.
Definition: adf5902.c:676
Header file of UART driver for ADuCM302x.
const char * name
Definition: altera_adxcvr.h:90
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 ADA4250_BUF_DISABLE
Definition: ada4250.h:71
int32_t ad9467_test_mode(struct ad9467_dev *dev, int32_t mode, int32_t *ret_mode)
Sets the ADC's test mode.
Definition: ad9467.c:241
uint8_t mac_dest[ADIN1110_ETH_ALEN]
Definition: adin1110.h:224
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
@ GPIO_PS
Definition: xilinx_gpio.h:56
@ SPI_PS
Definition: xilinx_spi.h:62
int32_t ad9739a_setup(struct ad9739a_dev **device, struct ad9739a_init_param init_param)
Initializes the AD9739A.
Definition: ad9739a.c:269
int32_t ad9467_write(struct ad9467_dev *dev, uint16_t reg_addr, uint8_t reg_val)
Writes data into a register.
Definition: ad9467.c:108
Platform dependent parameters.
ADA4250 Initialization Parameters structure.
Definition: ada4250.h:173
uint32_t size
Definition: iio_app.h:63
Definition: axi_dmac.h:127
const char * name
Definition: axi_dmac.h:128
int main()
Definition: adaq7980_sdz.c:53
@ UART_PL
Definition: xilinx_uart.h:57
Platform dependent parameters.
Platform dependent parameters.
int32_t xil_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: xilinx_spi.c:249
int32_t ad9517_remove(struct ad9517_dev *dev)
Free the resources allocated by ad9517_setup().
Definition: ad9517.c:220
ADF4377 Initialization Parameters structure.
Definition: adf4377.h:613
Header file of SPI Interface.
#define SPI_ADF4377_CS
Definition: parameters.h:46
bool continuous_mode
Definition: aducm3029_spi.h:91
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
enum xil_uart_type type
Definition: xilinx_uart.h:69
#define AD9467_REG_TEST_IO
Definition: ad9467.h:60
@ ADAQ8092_DATA_RAND_OFF
Definition: adaq8092.h:160
int32_t adf5902_read_temp(struct adf5902_dev *dev, float *temp)
Free resoulces allocated for ADF5902.
Definition: adf5902.c:738
int32_t ad9467_reset_pn9(struct ad9467_dev *dev, int32_t rst, int32_t *ret_stat)
Sets (1) or clears (0) the reset short PN sequence bit(PN9).
Definition: ad9467.c:280
uint8_t * payload
Definition: adin1110.h:227
@ TEST_DISABLE
Definition: ad9467_fmc.c:81
@ ADAQ8092_CLK_POL_INVERTED
Definition: adaq8092.h:96
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
Header file of AD9517 Driver.
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
struct iio_device const adf4377_iio_descriptor
Definition: iio_adf4377.c:45
@ LVDS_3_5mA
Definition: ad9517.h:371
const struct iio_device ada4250_iio_descriptor
Definition: iio_ada4250.c:38
int32_t axi_adc_write(struct axi_adc *adc, uint32_t reg_addr, uint32_t reg_data)
AXI ADC Data Write.
Definition: axi_adc_core.c:71
@ AXI_DAC_DATA_SEL_DDS
Definition: axi_dac_core.h:84
int32_t ad9467_remove(struct ad9467_dev *dev)
Free the resources allocated by ad9467_setup().
Definition: ad9467.c:88
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
struct no_os_gpio_init_param * gpio_adc_pd1_param
Definition: adaq8092.h:177
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
int adin1110_reg_read(struct adin1110_desc *desc, uint16_t addr, uint32_t *data)
Read a register's value.
Definition: adin1110.c:108
void * buff
Definition: iio_app.h:64
int32_t ad9434_outputmode_set(struct ad9434_dev *dev, uint8_t mode)
ad9434_setup
Definition: ad9434.c:88
#define NO_OS_IS_ERR_VALUE(x)
Definition: no_os_error.h:50
volatile bool transfer_done
Definition: axi_dmac.h:104
@ LVPECL_960mV
Definition: ad9517.h:351
uint32_t period_ns
Definition: no_os_pwm.h:70
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
int32_t axi_dac_set_buff(struct axi_dac *dac, uint32_t address, uint16_t *buff, uint32_t buff_size)
AXI DAC Set data buffer.
Definition: axi_dac_core.c:1036
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
#define ADF5902_LE_FROM_PIN
Definition: adf5902.h:326
#define ADC_DDR_BASEADDR
Definition: main.c:62
Initialization parameter for the device descriptor.
Definition: adin1110.h:211
Header file of AD9739A Driver.
Header file for adf4377 Driver.
@ NO_OS_SPI_MODE_2
Definition: no_os_spi.h:65
@ UART_PS
Definition: xilinx_uart.h:59
#define ADF5902_ADC_AVG_1
Definition: adf5902.h:122
@ POS_FULLSCALE
Definition: ad9467_fmc.c:83
int32_t number
Definition: no_os_gpio.h:83
const char * name
Definition: axi_adc_core.h:124
Configuration structure sent in the extra parameter from no_os_spi_init_param.
Definition: aducm3029_spi.h:87
void adc_test(struct axi_adc *adc, struct axi_dmac *dma, struct ad9467_dev *dev, uint32_t mode, uint32_t format)
Definition: ad9467_fmc.c:501
int adaq8092_set_test_mode(struct adaq8092_dev *dev, enum adaq8092_out_test_modes mode)
Set digital output test pattern mode.
Definition: adaq8092.c:562
struct ad9517_platform_data * pdata
Definition: ad9517.h:377
iio configuration.
Definition: iio_axi_adc.h:77
uint8_t mac_address[ADIN1110_ETH_ALEN]
Definition: adin1110.h:215
int adin1110_init(struct adin1110_desc **desc, struct adin1110_init_param *param)
Initialize the device.
Definition: adin1110.c:849
uint32_t device_id
Definition: xilinx_gpio.h:68
#define ADF5902_TX_DATA_TRIG_DISABLE
Definition: adf5902.h:382
int32_t adaq7980_setup(struct adaq7980_dev **device, struct adaq7980_init_param *init_param)
Definition: adaq7980.c:84
struct no_os_spi_init_param * spi_init
Definition: adf5902.h:428
Driver for the Analog Devices AXI-DAC-CORE module.
struct no_os_spi_init_param * spi_init
Definition: adaq7980.h:52
int adin1110_read_fifo(struct adin1110_desc *desc, uint32_t port, struct adin1110_eth_buff *eth_buff)
Read a frame from the RX FIFO.
Definition: adin1110.c:561
Definition: iio_axi_dac.h:71
uint8_t ethertype[2]
Definition: adin1110.h:226
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
int32_t ad9508_remove(struct ad9508_dev *dev)
Free the resources allocated by ad9508_setup().
Definition: ad9508.c:182
const char * name
Definition: axi_jesd204_rx.h:90
#define GPIO_CE
Definition: parameters.h:61
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
@ PN_23_SEQUENCE
Definition: ad9467_fmc.c:86
int main(void)
main
Definition: ad9656_fmc.c:69
@ CHECKERBOARD
Definition: ad9467_fmc.c:85
@ MIDSCALE
Definition: ad9467_fmc.c:82
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
int32_t ad9467_transfer(struct ad9467_dev *dev)
Initiates a transfer and waits for the operation to end.
Definition: ad9467.c:940
#define OUTPUT_MODE_TWOS_COMPLEMENT
Definition: ad9265.h:77
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:53
#define ADF5902_MAX_SLOPE_NO
Definition: adf5902.h:399
uint32_t device_id
Definition: no_os_spi.h:142
struct ad9517_lvds_cmos_channel_spec ad9517_lvds_cmos_channels[]
Definition: ad9467_fmc.c:136
struct ad9517_platform_data ad9517_pdata_lpc
Definition: ad9467_fmc.c:91
struct no_os_spi_init_param adin1110_spi_ip
Definition: common_data.c:46
int main(void)
Definition: adf4377_sdz.c:54
#define RX_DMA_BASEADDR
Definition: parameters.h:64
const struct no_os_uart_platform_ops aducm_uart_ops
aducm3029 platform specific UART platform ops structure
Definition: aducm3029_uart.c:501
#define ADF4377_LOCKED(x)
Definition: adf4377.h:549
uint8_t chip_select
Definition: no_os_spi.h:146
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
int32_t ad9517_power_mode(struct ad9517_dev *dev, int32_t channel, int32_t mode)
Sets the power mode of the specified channel.
Definition: ad9517.c:825
struct no_os_spi_init_param spi_init
Definition: ad9517.h:398
struct iio_data_buffer * read_buff
Definition: iio_app.h:71
Definition: axi_dmac.h:102
ADF4377 Device Descriptor.
Definition: adf4377.h:644
#define ADF5902_CP_CURRENT_2MA24
Definition: adf5902.h:296
uint8_t num_channels
Definition: axi_adc_core.h:130
Definition: adf4350.h:141
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
#define CF_REG_DATA_MONITOR
Definition: ad9467_fmc.c:67
Platform dependent parameters.
#define ADAQ7980_SPI_ENGINE_BASEADDR
Definition: parameters.h:48
#define GPIO_PD2_NR
Definition: parameters.h:52
#define ADF5902_MAX_DELAY_WORD_NO
Definition: adf5902.h:400
@ NEG_FULLSCALE
Definition: ad9467_fmc.c:84
#define ADIN1110_TX_BCAST_CNT_REG
Definition: adin1110.h:152
#define GPIO_ENCLK1
Definition: parameters.h:62
#define ADF5902_RAMP_DEL_DISABLE
Definition: adf5902.h:379
Definition: axi_dac_core.h:96
int32_t ad9434_setup(struct ad9434_dev **device, struct ad9434_init_param init_param)
ad9434_setup
Definition: ad9434.c:137
int32_t ada4250_init(struct ada4250_dev **device, struct ada4250_init_param *init_param)
Initialize the ADA4250 device.
Definition: ada4250.c:515
@ ADAQ8092_DOUT_ON
Definition: adaq8092.h:132
int32_t axi_adc_read(struct axi_adc *adc, uint32_t reg_addr, uint32_t *reg_data)
AXI ADC Data read.
Definition: axi_adc_core.c:55
@ IRQ_DISABLED
Definition: axi_dmac.h:79
#define TESTMODE_OFF
Definition: ad9265.h:66
#define ADAQ8092_NUM_CH
Definition: adaq8092_fmc.c:61
struct iio_device const adf5902_iio_descriptor
Definition: iio_adf5902.c:44
const char * name
Definition: axi_dac_core.h:70
#define AD9467_REG_OUT_PHASE
Definition: ad9467.h:65
Definition: adf5902.h:417
int64_t ad9517_frequency(struct ad9517_dev *dev, int32_t channel, int64_t frequency)
Sets the frequency on the specified channel.
Definition: ad9517.c:476
@ ADAQ8092_TERM_OFF
Definition: adaq8092.h:126
@ OFFSET_BINARY
Definition: ad9467_fmc.c:75
Definition: adf5902.h:426
@ SPI_PL
Definition: xilinx_spi.h:60
@ ADAQ8092_DOUBLE_RATE_LVDS
Definition: adaq8092.h:139
Config file for AD9739a project.
int adin1110_remove(struct adin1110_desc *desc)
Free a device descriptor.
Definition: adin1110.c:937
#define ADF5902_TX_RAMP_CLK_DIV
Definition: adf5902.h:349
Header file of adf5902 IIO.
Definition: ad9739a.h:213
#define ADF5902_RAMP_DOWN_TO_MUXOUT
Definition: adf5902.h:191
Header file of ada4250 iio.
int32_t ad9517_read(struct ad9517_dev *dev, uint32_t reg_addr, uint32_t *reg_value)
Reads data from a register.
Definition: ad9517.c:277
Header file of ADF4350 Driver.
int32_t ad9508_setup(struct ad9508_dev **device, const struct ad9508_init_param *init_param)
Setup the working parameters of the ad9508 chip.
Definition: ad9508.c:109
Driver for the Analog Devices AXI-DMAC core.
#define DAC_DDR_BASEADDR
Definition: parameters.h:41
#define ADF5902_REF_DOUBLER_DISABLE
Definition: adf5902.h:234
uint32_t dds_frequency_0
Definition: axi_dac_core.h:97
#define AD9467_REG_DEVICE_UPDATE
Definition: ad9467.h:56
uint32_t src_addr
Definition: axi_dmac.h:106
void iio_axi_dac_get_dev_descriptor(struct iio_axi_dac_desc *desc, struct iio_device **dev_descriptor)
Create structure describing a device, channels and attributes.
Definition: iio_axi_dac.c:646
uint32_t lane_rate_kbps
Definition: ad9656.h:85
int main(void)
main
Definition: ad9739a_fmc_ebz.c:63
@ ADAQ8092_CLK_DC_STABILIZER_OFF
Definition: adaq8092.h:109
uint32_t len
Definition: adin1110.h:223
struct no_os_spi_init_param spi_init
Definition: ad9434.h:99
#define ADIN1110_TX_UCAST_CNT_REG
Definition: adin1110.h:154
#define ADIN1110_RX_BCAST_CNT_REG
Definition: adin1110.h:155
Definition: axi_dac_core.h:68
struct ad9517_lvpecl_channel_spec ad9517_lvpecl_channels[]
Definition: ad9467_fmc.c:109
Header file of iio_axi_adc.
int32_t ad7980_read_data(struct adaq7980_dev *dev, uint16_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: adaq7980.c:52
@ ADAQ8092_NORMAL_OP
Definition: adaq8092.h:87
Definition: altera_adxcvr.h:102
Header file of adf4377 IIO.
int32_t dds_scale_0
Definition: axi_dac_core.h:99
uint32_t dest_addr
Definition: axi_dmac.h:107
#define AXI_ADC_REG_CHAN_CNTRL(c)
Definition: axi_adc_core.h:79
Definition: adf4350.h:177
struct spi_engine_offload_init_param spi_engine_offload_init_param
Definition: common_data.c:75
const char * name
Definition: altera_adxcvr.h:103
int32_t no_os_axi_io_read(uint32_t base, uint32_t offset, uint32_t *data)
AXI IO Altera specific read function.
Definition: altera_axi_io.c:53
#define ADIN1110_TX_MCAST_CNT_REG
Definition: adin1110.h:153
int32_t adf4377_init(struct adf4377_dev **device, struct adf4377_init_param *init_param)
Initializes the ADF4377.
Definition: adf4377.c:514
int32_t ad9553_setup(struct ad9553_dev **device, const struct ad9553_init_param *init_param)
Setup the working parameters of the ad9553 chip.
Definition: ad9553.c:106
AXI DAC Device Descriptor.
Definition: axi_dac_core.h:53
#define ADF4377_CP_10MA1
Definition: adf4377.h:215
@ PN_9_SEQUENCE
Definition: ad9467_fmc.c:87
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
int32_t ad9467_read(struct ad9467_dev *dev, uint16_t reg_addr, uint8_t *reg_val)
Reads data from a register.
Definition: ad9467.c:135
struct no_os_spi_init_param spi_init
Definition: common_data.c:120
ADAQ8092 Device structure.
Definition: adaq8092.h:199
@ ADAQ8092_TWOS_COMPLEMENT
Definition: adaq8092.h:167
int adaq8092_init(struct adaq8092_dev **device, struct adaq8092_init_param init_param)
Initialize the device.
Definition: adaq8092.c:119
ADAQ8092 Device initialization parameters.
Definition: adaq8092.h:174
@ ADF4377
Definition: adf4377.h:605
enum xil_spi_type type
Definition: xilinx_spi.h:74
int32_t adf5902_remove(struct adf5902_dev *dev)
Free resoulces allocated for ADF5902.
Definition: adf5902.c:904
Header file of ADAQ8092 Driver.
struct no_os_pwm_init_param trigger_pwm_init
Definition: common_data.c:88
enum cyclic_transfer cyclic
Definition: axi_dmac.h:105
int iio_app_run(struct iio_app_desc *app)
Header file for adf5902 Driver.
Definition: iio_axi_dac.h:53
@ NO_OS_PWM_POLARITY_HIGH
Definition: no_os_pwm.h:57
#define GPIO_0
Definition: parameters.h:60
#define AD9467_REG_CHIP_GRADE
Definition: ad9467.h:53
int32_t ad9656_user_input_test(struct ad9656_dev *dev, uint32_t test_mode, struct ad9656_user_input_test_pattern user_input_test_pattern)
Launch the user input test functionality for the receive path for the ad9656 chip....
Definition: ad9656.c:141
const struct no_os_spi_platform_ops aducm_spi_ops
ADuCM3029 platform specific SPI platform ops structure.
Definition: aducm3029_spi.c:282
int frame_rx_tx_example_main()
Frame receive an transmit example main execution.
Definition: frame_rx_tx_example.c:122
int main()
main
Definition: ada4250_ardz.c:53
#define ADF4377_CLKOUT_420MV
Definition: adf4377.h:256
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:73
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
@ SPI_ENGINE
Definition: xilinx_spi.h:64
int32_t axi_adc_delay_calibrate(struct axi_adc *adc, uint32_t no_of_lanes, enum axi_adc_pn_sel sel)
Calibrate Delay using specific PN sequence.
Definition: axi_adc_core.c:242
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
int adin1110_write_fifo(struct adin1110_desc *desc, uint32_t port, struct adin1110_eth_buff *eth_buff)
Write a frame to the TX FIFO.
Definition: adin1110.c:489
int32_t adf4350_setup(adf4350_dev **device, adf4350_init_param init_param)
Initializes the ADF4350.
Definition: adf4350.c:273
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
#define ADAQ7980_DMA_BASEADDR
Definition: parameters.h:47
type_output_modes
Definition: ad9467_fmc.c:74
@ ADAQ8092_3M5A
Definition: adaq8092.h:115
int32_t ad9517_update(struct ad9517_dev *dev)
Transfers the contents of the buffer registers into the active registers.
Definition: ad9517.c:313
@ ADA4250_GAIN_8
Definition: ada4250.h:143
#define AD9656_TEST_USER_INPUT
Definition: ad9656.h:69
int32_t ad9467_output_invert(struct ad9467_dev *dev, int32_t invert, int32_t *ret_stat)
Activates the inverted (1) or normal (0) output mode.
Definition: ad9467.c:503
int16_t dev_word
Definition: adf5902.h:419
uint32_t max_speed_hz
Definition: no_os_spi.h:144
ADA4250 Device Descriptor.
Definition: ada4250.h:204
Header file of PWM Interface.
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
Header file for ada4250 Driver.
Frame receive and trasmit example header for the ADIN1110 project.
int32_t axi_adc_set_pnsel(struct axi_adc *adc, uint32_t chan, enum axi_adc_pn_sel sel)
Set AXI ADC PN sequence.
Definition: axi_adc_core.c:115
Buffer structure used for frame RX and TX transactions.
Definition: adin1110.h:222
int32_t axi_dac_init(struct axi_dac **dac_core, const struct axi_dac_init *init)
AXI DAC Main Initialization.
Definition: axi_dac_core.c:1154
#define GPIO_RBUF_PUB
Definition: parameters.h:61
#define ADF5902_CP_TRISTATE_DISABLE
Definition: adf5902.h:286
int main(void)
main
Definition: ad9434_fmc_500ebz.c:59
int32_t ad9517_setup(struct ad9517_dev **device, struct ad9517_init_param init_param)
Initializes the AD9517.
Definition: ad9517.c:52
@ NO
Definition: axi_dmac.h:98
#define AD5902_TX_DATA_INV_DISABLE
Definition: adf5902.h:352
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
struct no_os_spi_init_param spi_init
Definition: ad9553.h:69
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:76
Header file of AD9656 Driver.
uint32_t dds_phase_0
Definition: axi_dac_core.h:98
struct no_os_gpio_init_param adin1110_reset_gpio_ip
Definition: common_data.c:56
#define GPIO_REF_PUB
Definition: parameters.h:60
@ AXI_ADC_PN23A
Definition: axi_adc_core.h:158
void display_test_mode(uint32_t mode, uint32_t format)
Definition: ad9467_fmc.c:596
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:79
struct no_os_spi_init_param spi_init
Definition: ad9739a.h:224
int32_t adf5902_init(struct adf5902_dev **device, struct adf5902_init_param *init_param)
Initializes the ADF5902.
Definition: adf5902.c:470
int32_t ad9656_JESD204_test(struct ad9656_dev *dev, uint32_t test_mode)
Launch the JESD204 test functionality for the receive path for the ad9656 chip.
Definition: ad9656.c:112
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
@ CYCLIC
Definition: axi_dmac.h:99
int32_t adf4377_spi_read(struct adf4377_dev *dev, uint8_t reg_addr, uint8_t *data)
Reads data from ADF4377 over SPI.
Definition: adf4377.c:103
@ ADAQ8092_TEST_CHECKERBOARD
Definition: adaq8092.h:148
struct no_os_spi_init_param * spi_init
Definition: adaq8092.h:176
enum adin1110_chip_id chip_type
Definition: adin1110.h:212
#define ADAQ8092_SAMPLES_PER_CH
Definition: adaq8092_fmc.c:60
int main(void)
Definition: adf5902_sdz.c:56
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
void * dev
Definition: iio_app.h:69
int32_t ad9467_output_format(struct ad9467_dev *dev, int32_t format, int32_t *ret_stat)
Specifies the output format.
Definition: ad9467.c:543
#define AD9656_TEST_OFF
Definition: ad9656.h:66
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
#define TESTMODE_PN9_SEQ
Definition: ad9265.h:72
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
#define ADIN1110_BUFF_LEN
Definition: adin1110.h:42
Driver Initialization parameters.
Definition: ad9739a.h:222
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Platform dependent parameters.
struct xil_gpio_init_param xil_gpio_init
Definition: common_data.c:109
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
int32_t iio_axi_dac_init(struct iio_axi_dac_desc **desc, struct iio_axi_dac_init_param *init)
Registers a iio_axi_dac_desc for reading/writing and parameterization of axi_dac device.
Definition: iio_axi_dac.c:659
#define ADF5902_TX_AMP_CAL_MAX_REF_CODE
Definition: adf5902.h:110
ADIN1110 device descriptor.
Definition: adin1110.h:199
#define AD9656_TEST_PN9
Definition: ad9656.h:67
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
Header file of AD9467 Driver.
struct no_os_spi_init_param spi_init
Definition: adf4350.h:143
uint8_t eth_frame[]
Definition: frame_rx_tx_example.c:41
@ ADAQ8092_NO_DELAY
Definition: adaq8092.h:101
int32_t axi_pwm_init(struct no_os_pwm_desc **desc, const struct no_os_pwm_init_param *param)
Initialize the pwm axi generator and the handler associated with it.
Definition: axi_pwm.c:277
Header file of AD9508 Driver.
struct no_os_gpio_init_param * gpio_enclk2_param
Definition: adf4377.h:621
Header file of iio_axi_dac.
uint8_t device_id
Definition: no_os_uart.h:112
Driver for the Analog Devices AXI-JESD204-RX peripheral.
Structure representing an adaq7980 device.
Definition: adaq7980.h:65
#define RX_JESD_BASEADDR
Definition: parameters.h:65
@ ADA4250_BIAS_DISABLE
Definition: ada4250.h:119
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
int main(void)
main
Definition: adaq8092_fmc.c:66
const uint16_t sine_lut[128]
Definition: adc_demo.c:47
@ MASTER
Definition: aducm3029_spi.h:56
#define ADF5902_MAX_CLK2_DIV_NO
Definition: adf5902.h:401
@ LVPECL_780mV
Definition: ad9517.h:350
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
Header file of GPIO Interface.
enum axi_dac_data_sel sel
Definition: axi_dac_core.h:105
int adin1110_set_promisc(struct adin1110_desc *desc, uint32_t port, bool promisc)
Set a port in promiscuous mode. All MAC filters are dropped.
Definition: adin1110.c:759
#define CF_DATA_MONITOR_PN_OVER_RNG
Definition: ad9467_fmc.c:72
#define ADF4377_REF_DBLR_DIS
Definition: adf4377.h:140
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
enum ada4250_id device_id
Definition: ada4250.h:175
int frame_rx_tx_example_main()
Frame receive an transmit example main execution.
Definition: frame_rx_tx_example.c:122
ADuCM302x specific header for SPI driver.
#define ADIN1110_RX_MCAST_CNT_REG
Definition: adin1110.h:156
uint32_t dds_dual_tone
Definition: axi_dac_core.h:103
@ GRAY_CODE
Definition: ad9467_fmc.c:77
struct no_os_spi_init_param spi_init
Definition: ad9656.h:83
struct no_os_gpio_init_param * gpio_ce_param
Definition: adf5902.h:430
uint8_t mac_source[ADIN1110_ETH_ALEN]
Definition: adin1110.h:225
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
#define AD9467_REG_CHIP_ID
Definition: ad9467.h:52
@ AXI_DAC_DATA_SEL_DMA
Definition: axi_dac_core.h:86
#define ADF4377_REG(x)
Definition: adf4377.h:51
const char * name
Definition: axi_jesd204_rx.h:59
struct no_os_spi_init_param spi_init
Definition: ad9508.h:61
int32_t adf4377_remove(struct adf4377_dev *dev)
Free resoulces allocated for ADF4377.
Definition: adf4377.c:645
int32_t ad9467_reset_pn23(struct ad9467_dev *dev, int32_t rst, int32_t *ret_stat)
Sets (1) or clears (0) the reset long PN sequence bit(PN23).
Definition: ad9467.c:319
#define CF_DATA_MONITOR_PN_SYNC
Definition: ad9467_fmc.c:71
struct no_os_gpio_init_param * gpio_adc_pd2_param
Definition: adaq8092.h:178
#define GPIO_PD1_NR
Definition: parameters.h:51
int main()
Main function.
Definition: ad9467_fmc.c:187
#define AXI_ADC_REG_DELAY_CNTRL
Definition: axi_adc_core.h:71
#define ADF4377_MUXOUT_HIGH_Z
Definition: adf4377.h:361
struct adin1110_init_param adin1110_ip
Definition: common_data.c:221
Header file of utility functions.
int32_t ad9467_setup(struct ad9467_dev **device, struct ad9467_init_param init_param)
Configures the test mode and the output mode to a default state.
Definition: ad9467.c:50
int32_t ad9656_setup(struct ad9656_dev **device, const struct ad9656_init_param *init_param)
Setup the working parameters of the ad9656 chip.
Definition: ad9656.c:177
struct no_os_gpio_init_param * gpio_enclk1_param
Definition: adf4377.h:619
#define AD9656_TEST_PN23
Definition: ad9656.h:68
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
Header file of AD9434 Driver.
#define GPIO_ENCLK2
Definition: parameters.h:60
struct no_os_spi_init_param spi_init
Definition: ad9467.h:132
@ AD9517_4
Definition: ad9517.h:344
uint32_t ref_clk_hz
Definition: spi_engine.h:85
void * extra
Definition: no_os_spi.h:158
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
#define ADIN1110_ETH_ALEN
Definition: adin1110.h:43
@ ADAQ8092_TEST_OFF
Definition: adaq8092.h:145
uint16_t adc_buffer[ADC_BUFFER_SAMPLES *ADC_CHANNELS]
Definition: main.c:100
enum adf4377_dev_id dev_id
Definition: adf4377.h:623
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
uint8_t eth_rx_buff[ADIN1110_BUFF_LEN]
Definition: frame_rx_tx_example.c:114
Header file of AD9553 Driver.
@ 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
#define GPIO_PAR_SER_NR
Definition: parameters.h:50
int32_t adf5902f_compute_frequency(struct adf5902_dev *dev, uint64_t *freq)
Measure output locked frequency.
Definition: adf5902.c:794
const char * name
Definition: axi_adc_core.h:145
@ AXI_ADC_PN9
Definition: axi_adc_core.h:157
int32_t ad9553_remove(struct ad9553_dev *dev)
Free the resources allocated by ad9553_setup().
Definition: ad9553.c:228
int32_t ad9434_testmode_set(struct ad9434_dev *dev, uint8_t mode)
ad9434_testmode_set
Definition: ad9434.c:106
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
@ LVDS
Definition: ad9517.h:365
const char * name
Definition: axi_dmac.h:111
Definition: axi_dmac.h:110
#define SPI_ADAQ7980_CS
Definition: parameters.h:49
@ ONE_ZERO_TOGGLE
Definition: ad9467_fmc.c:88
#define ADIN1110_RX_UCAST_CNT_REG
Definition: adin1110.h:157
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
#define AD9517_REG_PART_ID
Definition: ad9517.h:59
#define AXI_ADC_REG_CNTRL
Definition: axi_adc_core.h:49
Definition: adf5902.h:479
struct no_os_gpio_init_param * gpio_ce_param
Definition: adf4377.h:617