no-OS
app_clock.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef APP_CLOCK_H_
34 #define APP_CLOCK_H_
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 #include <stdint.h>
40 #include "no_os_clk.h"
41 #include "app_config.h"
42 
43 /******************************************************************************/
44 /************************ Functions Declarations ******************************/
45 /******************************************************************************/
46 
47 /* Application clocks initialization. */
48 int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT]);
49 
50 /* Application clocks remove. */
51 int32_t app_clock_remove(void);
52 
53 #endif
ParseConfig
int32_t ParseConfig(char *pStr, struct eit_config *pEitCfg, struct measurement_config *pMeasCfg)
Definition: app.c:139
axi_clkgen_init::name
const char * name
Definition: clk_axi_clkgen.h:51
spi_engine_offload_init_param::offload_config
uint8_t offload_config
Definition: spi_engine.h:151
ad7746_iio_init_param
Definition: iio_ad7746.h:48
RX_GAIN_DELAY
@ RX_GAIN_DELAY
Definition: t_mykonos.h:827
ADI_ERR
ADI_ERR
Definition: common.h:34
AD77681_FIR
@ AD77681_FIR
Definition: ad77681.h:395
axi_adc_core.h
Driver for the Analog Devices AXI-ADC-CORE module.
adxcvr_clk_enable
int adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:479
AXI_ADC_REG_CNTRL_3
#define AXI_ADC_REG_CNTRL_3
Definition: axi_adc_core.h:54
AD9081_TX_JESD_S
#define AD9081_TX_JESD_S
Definition: app_config.h:62
ad7768_dev
Definition: ad7768.h:226
RX_OS_JESD_BASEADDR
#define RX_OS_JESD_BASEADDR
Definition: parameters.h:126
mykonosRxSettings_t::rxProfile
mykonosRxProfile_t * rxProfile
Definition: t_mykonos.h:1449
mykonos_gpio.h
Contains macro definitions and function prototypes for mykonos_gpio.c.
parameters.h
Parameters Definitions.
axi_dac::name
const char * name
Definition: axi_dac_core.h:55
adc_data
Definition: ad77681.h:490
app_clocking_init::uc
uint8_t uc
Definition: app_clocking.h:45
axi_clkgen::name
const char * name
Definition: clk_axi_clkgen.h:45
ad77681_dev
Definition: ad77681.h:522
iio_app_init_param
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
AD9081_RX_JESD_HD
#define AD9081_RX_JESD_HD
Definition: app_config.h:93
RX_CLKGEN_BASEADDR
#define RX_CLKGEN_BASEADDR
Definition: parameters.h:97
ad9528Device_t::outputSettings
ad9528outputSettings_t * outputSettings
Definition: t_ad9528.h:184
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
app_talise.h
Talise initialization and control routines.
spi_engine_offload_message::no_commands
uint32_t no_commands
Definition: spi_engine.h:165
AD9081_TX_JESD_M
#define AD9081_TX_JESD_M
Definition: app_config.h:55
no_os_pwm_init_param
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
app_config.h
Config file for ADRV9009 project.
SinFreqVal
float SinFreqVal
Definition: app.c:54
OBS_SNIFFER_C
@ OBS_SNIFFER_C
Definition: t_mykonos.h:649
ADXCVR_REFCLK
#define ADXCVR_REFCLK
Definition: axi_adxcvr.h:55
ADIERR_OK
@ ADIERR_OK
Definition: common.h:35
SPI_AD7616_CS
#define SPI_AD7616_CS
Definition: parameters.h:44
axi_dac_init_begin
int32_t axi_dac_init_begin(struct axi_dac **dac_core, const struct axi_dac_init *init)
Begin AXI DAC Initialization.
Definition: axi_dac_core.c:1098
adf4371_clk_round_rate
int32_t adf4371_clk_round_rate(struct adf4371_dev *dev, uint64_t rate, uint64_t *rounded_rate)
Definition: adf4371.c:710
main
int main(void)
Definition: headless.c:56
platform_remove
int32_t platform_remove(void)
Definition: common.c:115
aducm3029_uart.h
Header file of UART driver for ADuCM302x.
app_jesd
Structure holding jesd app descriptor.
Definition: app_jesd.h:59
adxcvr::name
const char * name
Definition: altera_adxcvr.h:90
ad7746_set_cap_dac_a
int32_t ad7746_set_cap_dac_a(struct ad7746_dev *dev, bool enable, uint8_t code)
Set the DAC code and enable state for EXCA.
Definition: ad7746.c:333
iio_app_init_param::uart_init_params
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
app_ad9083_remove
int32_t app_ad9083_remove(struct app_ad9083 *app)
Free the resources allocated by app_ad9083_init().
Definition: app_ad9083.c:206
adrv9002_spi_settings_get
struct adi_adrv9001_SpiSettings * adrv9002_spi_settings_get(void)
Definition: headless.c:93
AD9081_ADC_NYQUIST_ZONE
#define AD9081_ADC_NYQUIST_ZONE
Definition: app_config.h:47
TX_LO_LEAKAGE_INTERNAL
@ TX_LO_LEAKAGE_INTERNAL
Definition: t_mykonos.h:830
app_ad9083_subclass1_status
int32_t app_ad9083_subclass1_status(struct app_ad9083 *app)
Check AD9083 subclass 1 link status.
Definition: app_ad9083.c:79
scan_type::sign
char sign
Definition: iio_types.h:153
ad77681_setup
int32_t ad77681_setup(struct ad77681_dev **device, struct ad77681_init_param init_param, struct ad77681_status_registers **status)
Definition: ad77681.c:1746
AD9081_RX_JESD_S
#define AD9081_RX_JESD_S
Definition: app_config.h:92
clocking_init
adiHalErr_t clocking_init(uint32_t rx_div40_rate_hz, uint32_t tx_div40_rate_hz, uint32_t rx_os_div40_rate_hz, uint32_t device_clock_khz, uint32_t lmfc_rate_hz)
Definition: app_clocking.c:95
clkgen_init
struct axi_clkgen_init clkgen_init
Definition: ad77681evb.c:94
mykonosTxSettings_t::txProfile
mykonosTxProfile_t * txProfile
Definition: t_mykonos.h:1431
ad7746_init
int32_t ad7746_init(struct ad7746_dev **device, struct ad7746_init_param *init_param)
Initialize the ad7606 device structure.
Definition: ad7746.c:53
ad9081_init_param::gpio_reset
struct no_os_gpio_init_param * gpio_reset
Definition: ad9081.h:156
jesd_deinit
void jesd_deinit(void)
Definition: app_jesd.c:140
FLASH_CAL
@ FLASH_CAL
Definition: t_mykonos.h:828
RX1_DMA_BASEADDR
#define RX1_DMA_BASEADDR
Definition: parameters.h:91
altera_a10_fpll_enable
int32_t altera_a10_fpll_enable(struct altera_a10_fpll *fpll)
altera_a10_fpll_enable
Definition: clk_altera_a10_fpll.c:448
main
int main()
Definition: ad77681evb.c:100
MYKONOS_setObsRxPathSource
mykonosErr_t MYKONOS_setObsRxPathSource(mykonosDevice_t *device, mykonosObsRxChannels_t obsRxCh)
Powers up or down the Observation Rx signal chain in the radioOn state.
Definition: mykonos.c:5273
PHY_RESET
#define PHY_RESET
Definition: parameters.h:64
axi_jesd204_rx_init_legacy
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
axi_jesd204_rx::num_lanes
uint32_t num_lanes
Definition: axi_jesd204_rx.h:65
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:56
I2C_SPEED
#define I2C_SPEED
Definition: parameters.h:42
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:62
app_config.h
Application configuration.
AD7768_ADC_BASEADDR
#define AD7768_ADC_BASEADDR
Definition: parameters.h:46
AD9081_RX_CHAN_NCO_SHIFT
#define AD9081_RX_CHAN_NCO_SHIFT
Definition: app_config.h:106
ad7616_conversion_result::channel_a
uint16_t channel_a
Definition: ad7616.h:234
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:63
ad9081_init_param::jrx_link_tx
struct link_init_param * jrx_link_tx[2]
Definition: ad9081.h:188
parameters.h
Configuration parameters for AD7746-EBZ demo project.
axi_dmac_init
Definition: axi_dmac.h:127
jesd_rx_watchdog
void jesd_rx_watchdog(void)
Definition: app_jesd.c:162
sampling_freq
uint64_t sampling_freq
Definition: headless.c:73
app_clock_init
int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])
Application clock setup.
Definition: app_clock.c:69
axi_dmac_init::name
const char * name
Definition: axi_dmac.h:128
OBS_RX1_TXLO
@ OBS_RX1_TXLO
Definition: t_mykonos.h:641
TRACK_ORX1_QEC
@ TRACK_ORX1_QEC
Definition: t_mykonos.h:849
no_os_clk_init_param::platform_ops
const struct no_os_clk_platform_ops * platform_ops
Definition: no_os_clk.h:50
no_os_clk_hw
Definition: no_os_clk.h:55
ad9081_phy::jtx_link_rx
struct ad9081_jesd_link jtx_link_rx[2]
Definition: ad9081.h:84
CS_LOW
#define CS_LOW
Definition: spi_engine.h:73
UART_PL
@ UART_PL
Definition: xilinx_uart.h:57
ad77681_status_registers
Definition: ad77681.h:497
hmc7044_dev::jdev
struct jesd204_dev * jdev
Definition: hmc7044.h:91
uip
struct no_os_uart_init_param uip
Definition: common_data.c:42
MYKONOS_resetDeframer
mykonosErr_t MYKONOS_resetDeframer(mykonosDevice_t *device)
Resets the JESD204B Deframer.
Definition: mykonos.c:8099
rx_clkgen
struct axi_clkgen * rx_clkgen
Definition: app_clocking.c:90
iio_axi_adc_desc::dev_descriptor
struct iio_device dev_descriptor
Definition: iio_axi_adc.h:66
no_os_uart_stdio
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: no_os_uart.c:216
AD9081_TX_JESD_MODE
#define AD9081_TX_JESD_MODE
Definition: app_config.h:52
DEFRAMER_LINK0_TX
#define DEFRAMER_LINK0_TX
Definition: ad9081.h:234
DDR_MEM_BASEADDR
#define DDR_MEM_BASEADDR
Definition: parameters.h:64
no_os_spi.h
Header file of SPI Interface.
tx_adxcvr
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:53
Mykonos_M3.h
ParseQuery
int32_t ParseQuery(char *pStr, struct electrode_combo *pElCmb, struct measurement_config *pMeasCfg)
Definition: app.c:180
NO_OS_UART_STOP_1_BIT
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
mykonosTxSettings_t::deframer
mykonosJesd204bDeframerConfig_t * deframer
Definition: t_mykonos.h:1432
app_clocking
Structure holding clocking app descriptor.
Definition: app_clocking.h:54
xil_uart_init_param::type
enum xil_uart_type type
Definition: xilinx_uart.h:69
MYKONOS_ERR_GPIO_OK
@ MYKONOS_ERR_GPIO_OK
Definition: t_mykonos_gpio.h:32
SPI_AD7768_CS
#define SPI_AD7768_CS
Definition: parameters.h:41
AD7768_FAST_MODE
@ AD7768_FAST_MODE
Definition: ad7768.h:136
axi_dac_init_finish
int32_t axi_dac_init_finish(struct axi_dac *dac)
Begin AXI DAC Initialization.
Definition: axi_dac_core.c:1123
ad7616_setup
int32_t ad7616_setup(struct ad7616_dev **device, struct ad7616_init_param *init_param)
Definition: ad7616.c:941
parameters.h
Parameters Definitions.
iio_axi_dac_desc::dev_descriptor
struct iio_device dev_descriptor
Definition: iio_axi_dac.h:62
AD77681_SPI1_ENGINE_BASEADDR
#define AD77681_SPI1_ENGINE_BASEADDR
Definition: parameters.h:46
spi_engine_offload_init
int32_t spi_engine_offload_init(struct no_os_spi_desc *desc, const struct spi_engine_offload_init_param *param)
Initialize the SPI engine's offload module.
Definition: spi_engine.c:763
jesd204_topology_init
int jesd204_topology_init(struct jesd204_topology **topology, struct jesd204_topology_dev *devs, unsigned int devs_number)
iio_ad7746.h
Header file of iio_ad7746.
iio_desc
Definition: iio.c:204
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
BITS_IN_BYTE
#define BITS_IN_BYTE
Definition: parameters.h:52
AD7616_SDZ_SAMPLE_NO
#define AD7616_SDZ_SAMPLE_NO
Definition: ad7616_sdz.c:61
axi_adc_init
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
iio_app.h
Header file of iio_app.
DAC_FIFO_BYPASS_GPIO
#define DAC_FIFO_BYPASS_GPIO
Definition: parameters.h:169
MYKONOS_radioOn
mykonosErr_t MYKONOS_radioOn(mykonosDevice_t *device)
Instructs the ARM processor to move the radio state to the Radio ON state.
Definition: mykonos.c:11575
iio_axi_adc_init_param::rx_dmac
struct axi_dmac * rx_dmac
Definition: iio_axi_adc.h:81
hmc7044.h
Header file of HMC7044, HMC7043 Driver.
altera_gpio.h
ad9528pll1Settings_t::refA_Frequency_Hz
uint32_t refA_Frequency_Hz
Definition: t_ad9528.h:100
MYKONOS_enableTrackingCals
mykonosErr_t MYKONOS_enableTrackingCals(mykonosDevice_t *device, uint32_t enableMask)
Sets which ARM tracking cals are enabled during the radioOn state.
Definition: mykonos.c:11742
axi_adc_write
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
clk_axi_clkgen.h
Driver for the Analog Devices AXI CLKGEN.
app_jesd.h
JESD setup and initialization routines.
parameters.h
Application parameters.
generateSwitchCombination
uint16_t generateSwitchCombination(struct eit_config eitCfg, struct electrode_combo *swSeq)
Definition: app.c:319
xilinx_uart.h
axi_dmac_transfer_wait_completion
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:525
AD77681_FAST
@ AD77681_FAST
Definition: ad77681.h:348
iio_app_desc
IIO application descriptor.
Definition: iio_app.h:80
axi_jesd204_rx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:81
MYKONOS_runInitCals
mykonosErr_t MYKONOS_runInitCals(mykonosDevice_t *device, uint32_t calMask)
Runs the Mykonos initialization calibrations.
Definition: mykonos.c:11272
pr_err
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
talise_multi_chip_sync
int talise_multi_chip_sync(taliseDevice_t *pd, int step)
Definition: app_talise.c:500
AD9081_JRX_TPL_PHASE_ADJUST
#define AD9081_JRX_TPL_PHASE_ADJUST
Definition: app_config.h:70
TALISE_A
@ TALISE_A
Definition: app_talise.h:41
AXI_ADC_RSTN
#define AXI_ADC_RSTN
Definition: axi_adc_core.h:47
no_os_uart_read
int32_t no_os_uart_read(struct no_os_uart_desc *desc, uint8_t *data, uint32_t bytes_number)
Read data from UART.
Definition: no_os_uart.c:118
clocking_deinit
void clocking_deinit(void)
Definition: app_clocking.c:728
MYKONOS_setRx2ManualGain
mykonosErr_t MYKONOS_setRx2ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx2 Manual Gain index.
Definition: mykonos.c:3733
spi_engine_offload_message::commands_data
uint32_t * commands_data
Definition: spi_engine.h:167
iio_data_buffer::buff
void * buff
Definition: iio_app.h:64
IIO_DEV_COUNT
#define IIO_DEV_COUNT
Definition: parameters.h:45
axi_dma_transfer::transfer_done
volatile bool transfer_done
Definition: axi_dmac.h:104
no_os_pwm_init_param::period_ns
uint32_t period_ns
Definition: no_os_pwm.h:70
no_os_delay.h
Header file of Delay functions.
xil_spi_init_param::flags
uint32_t flags
Definition: xilinx_spi.h:76
axi_jesd204_rx_status_read
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
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
iio_app_device::name
char * name
Definition: iio_app.h:68
SendResultUint32
void SendResultUint32(uint32_t *pData, uint32_t nDataCount)
Definition: app.c:220
no_os_clk_init_param::name
const char * name
Definition: no_os_clk.h:46
AD77681_BUFn_ENABLED
@ AD77681_BUFn_ENABLED
Definition: ad77681.h:433
axi_clkgen_init
Definition: clk_axi_clkgen.h:50
app_ad9083_status
int32_t app_ad9083_status(struct app_ad9083 *app)
Check AD9083 link status.
Definition: app_ad9083.c:103
ad7746_exc::excb
enum ad7746_exc_pin excb
Definition: ad7746.h:150
axi_adc
AXI ADC Device Descriptor.
Definition: axi_adc_core.h:122
AD9081_RX_JESD_MODE
#define AD9081_RX_JESD_MODE
Definition: app_config.h:82
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
hmc7044_init
int32_t hmc7044_init(struct hmc7044_dev **device, const struct hmc7044_init_param *init_param)
Definition: hmc7044.c:1466
app_ad9083_init::uc
uint8_t uc
Definition: app_ad9083.h:14
axi_clkgen_set_rate
int32_t axi_clkgen_set_rate(struct axi_clkgen *clkgen, uint32_t rate)
axi_clkgen_set_rate
Definition: clk_axi_clkgen.c:414
AD7768_SAMPLE_SIZE
#define AD7768_SAMPLE_SIZE
Definition: ad7768.h:115
ADC_DDR_BASEADDR
#define ADC_DDR_BASEADDR
Definition: main.c:62
ad7616_dev
Definition: ad7616.h:170
no_os_clk
Definition: no_os_clk.h:64
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: ad7616_sdz.c:103
MYKONOS_loadArmFromBinary
mykonosErr_t MYKONOS_loadArmFromBinary(mykonosDevice_t *device, uint8_t *binary, uint32_t count)
Loads binary byte array into ARM program memory.
Definition: mykonos.c:13195
TRACK_TX2_QEC
@ TRACK_TX2_QEC
Definition: t_mykonos.h:854
clkgen_init
struct axi_clkgen_init clkgen_init
Definition: ad7616_sdz.c:76
no_os_clk_init
int32_t no_os_clk_init(struct no_os_clk_desc **desc, const struct no_os_clk_init_param *param)
NIOS_II_SPI
@ NIOS_II_SPI
Definition: altera_spi.h:48
LOOPBACK_RX_LO_DELAY
@ LOOPBACK_RX_LO_DELAY
Definition: t_mykonos.h:833
OBS_RX2_TXLO
@ OBS_RX2_TXLO
Definition: t_mykonos.h:642
app_clocking.h
Clock setup and initialization routines.
iio_init_param
Definition: iio.h:104
spi_engine_offload_message
Structure representing an offload message.
Definition: spi_engine.h:158
NO_OS_SPI_MODE_2
@ NO_OS_SPI_MODE_2
Definition: no_os_spi.h:65
axi_adc_init_begin
int32_t axi_adc_init_begin(struct axi_adc **adc_core, const struct axi_adc_init *init)
Begin AXI ADC Initialization.
Definition: axi_adc_core.c:587
ADRV_CS
#define ADRV_CS
Definition: parameters.h:158
adf4371_clk_set_rate
int32_t adf4371_clk_set_rate(struct adf4371_dev *dev, uint32_t chan, uint64_t rate)
Definition: adf4371.c:725
TX_PLL
@ TX_PLL
Definition: t_mykonos.h:718
eit_config::nRefEl
uint16_t nRefEl
Definition: app.h:44
UART_PS
@ UART_PS
Definition: xilinx_uart.h:59
AD9081_TX_LOGICAL_LANE_MAPPING
#define AD9081_TX_LOGICAL_LANE_MAPPING
Definition: app_config.h:67
MUXBOARD_SIZE
#define MUXBOARD_SIZE
Definition: mux_board.h:40
AD9081_TX_JESD_HD
#define AD9081_TX_JESD_HD
Definition: app_config.h:63
ADC_TUNER
@ ADC_TUNER
Definition: t_mykonos.h:823
NO_OS_GPIO_HIGH
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:83
measurement_config::nFrequency
uint16_t nFrequency
Definition: app.h:48
MYKONOS_readRxFramerStatus
mykonosErr_t MYKONOS_readRxFramerStatus(mykonosDevice_t *device, uint8_t *framerStatus)
Reads the transceiver's RX framer status.
Definition: mykonos.c:10536
no_os_print_log.h
Print messages helpers.
axi_adc::name
const char * name
Definition: axi_adc_core.h:124
AXI_ADC_ENABLE
#define AXI_ADC_ENABLE
Definition: axi_adc_core.h:87
altera_a10_fpll_init::name
const char * name
Definition: clk_altera_a10_fpll.h:52
iio_axi_adc_init_param
iio configuration.
Definition: iio_axi_adc.h:77
TX_CLKGEN_BASEADDR
#define TX_CLKGEN_BASEADDR
Definition: parameters.h:92
xil_gpio_init_param::device_id
uint32_t device_id
Definition: xilinx_gpio.h:68
AD9081_DAC_FREQUENCY
#define AD9081_DAC_FREQUENCY
Definition: app_config.h:42
AD7746_EXC_PIN_DISABLED
@ AD7746_EXC_PIN_DISABLED
Definition: ad7746.h:135
AD77681_POSITIVE_FS
@ AD77681_POSITIVE_FS
Definition: ad77681.h:379
measurement_config::bSweepEn
bool bSweepEn
Definition: app.h:55
axi_clkgen_init
int32_t axi_clkgen_init(struct axi_clkgen **clk, const struct axi_clkgen_init *init)
axi_clkgen_init
Definition: clk_axi_clkgen.c:520
hmc7044_dev
struct hmc7044_dev * hmc7044_dev
Definition: app_clock.c:52
axi_clkgen
Definition: clk_axi_clkgen.h:44
ClrMCUIntFlag
uint32_t ClrMCUIntFlag(void)
Definition: app.c:77
axi_dac_core.h
Driver for the Analog Devices AXI-DAC-CORE module.
mykonosRxSettings_t::rxPllLoFrequency_Hz
uint64_t rxPllLoFrequency_Hz
Definition: t_mykonos.h:1455
adf4371.h
Header file of ADF4371 Driver.
mykonosDevice_t::obsRx
mykonosObsRxSettings_t * obsRx
Definition: t_mykonos.h:1700
iio_axi_dac_init_param
Definition: iio_axi_dac.h:71
AD9081_RX_JESD_VERSION
#define AD9081_RX_JESD_VERSION
Definition: app_config.h:84
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
jesd204_topology
Definition: jesd204.h:248
jesd204_topology_dev::jdev
struct jesd204_dev * jdev
Definition: jesd204.h:240
runningCmd
unsigned int runningCmd
Definition: app.c:56
axi_jesd204_rx_remove
int32_t axi_jesd204_rx_remove(struct axi_jesd204_rx *jesd)
Free resoulces allocated for JESD204 RX peripheral.
Definition: axi_jesd204_rx.c:990
jesd204_rx_init::name
const char * name
Definition: axi_jesd204_rx.h:90
AD77681_CONTINUOUS_DATA_READ
@ AD77681_CONTINUOUS_DATA_READ
Definition: ad77681.h:486
AD7746_MODE_CONT
@ AD7746_MODE_CONT
Definition: ad7746.h:157
axi_adc_init::base
uint32_t base
Definition: axi_adc_core.h:147
AD9081_RX_JESD_L
#define AD9081_RX_JESD_L
Definition: app_config.h:91
ad7746_get_vt_data
int32_t ad7746_get_vt_data(struct ad7746_dev *dev, uint32_t *vt_data)
Waits until a conversion on a voltage/temperature channel has been finished and returns the output da...
Definition: ad7746.c:441
spi_engine_offload_init_param::tx_dma_baseaddr
uint32_t tx_dma_baseaddr
Definition: spi_engine.h:147
ad7746_iio_remove
int32_t ad7746_iio_remove(struct ad7746_iio_dev *desc)
Definition: iio_ad7746.c:770
AD77681_CONV_CONTINUOUS
@ AD77681_CONV_CONTINUOUS
Definition: ad77681.h:359
ad7768_remove
int ad7768_remove(ad7768_dev *dev)
Definition: ad7768.c:916
ad7746_cap::capen
bool capen
Definition: ad7746.h:113
AD7768_RESOLUTION
#define AD7768_RESOLUTION
Definition: ad7768.h:114
jesd204_topology_dev
Definition: jesd204.h:239
AD7616_PARALLEL
@ AD7616_PARALLEL
Definition: ad7616.h:121
aducm3029_i2c.h
MYKONOS_readOrxFramerStatus
mykonosErr_t MYKONOS_readOrxFramerStatus(mykonosDevice_t *device, uint8_t *obsFramerStatus)
Reads the transceiver's Observation RX framer status.
Definition: mykonos.c:10577
AD7746_ADDRESS
#define AD7746_ADDRESS
Definition: ad7746.h:43
altera_a10_fpll_set_rate
int32_t altera_a10_fpll_set_rate(struct altera_a10_fpll *fpll, uint32_t rate)
altera_a10_fpll_set_rate
Definition: clk_altera_a10_fpll.c:340
app_ad9083_init
Structure holding the parameters for ad9083 app initialization.
Definition: app_ad9083.h:12
ad7746_dev
Definition: ad7746.h:183
json_profile
const char * json_profile
Definition: Navassa_CMOS_profile.h:1
NIOS_II_GPIO
@ NIOS_II_GPIO
Definition: altera_gpio.h:53
MYKONOS_readDeframerStatus
mykonosErr_t MYKONOS_readDeframerStatus(mykonosDevice_t *device, uint8_t *deframerStatus)
Reads the transceiver's deframer status.
Definition: mykonos.c:10622
main
int main(void)
Definition: app.c:75
adi_hal.h
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
eit_config::nForceDist
uint16_t nForceDist
Definition: app.h:42
tx_jesd
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:50
TALISE_DEVICE_ID_MAX
@ TALISE_DEVICE_ID_MAX
Definition: app_talise.h:46
AXI_ADC_REG_RSTN
#define AXI_ADC_REG_RSTN
Definition: axi_adc_core.h:45
no_os_gpio_init_param::platform_ops
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:87
xil_spi_param
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
RX1_ADC_BASEADDR
#define RX1_ADC_BASEADDR
Definition: parameters.h:97
NO_OS_SPI_MODE_3
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
iio_axi_adc_remove
int32_t iio_axi_adc_remove(struct iio_axi_adc_desc *desc)
Release resources.
Definition: iio_axi_adc.c:530
measurement_config::bImpedanceReadMode
bool bImpedanceReadMode
Definition: app.h:53
axi_pwm_ops
const struct no_os_pwm_platform_ops axi_pwm_ops
AXI platform specific PWM platform ops structure.
Definition: axi_pwm.c:406
mykonosJesd204bFramerConfig_t::serializerLanesEnabled
uint8_t serializerLanesEnabled
Definition: t_mykonos.h:1197
iio_axi_adc_desc
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:53
WRITE_READ
#define WRITE_READ(no_bytes)
Definition: spi_engine.h:65
adi_hal::spi_adrv_csn
uint8_t spi_adrv_csn
Definition: adi_hal.h:33
ad7746_setup
Definition: ad7746.h:170
ad7616.h
Header file of AD7616 Driver.
SinFreqValUINT
unsigned int SinFreqValUINT
Definition: app.c:55
NO_OS_GPIO_LOW
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:115
MYKONOS_setTx2Attenuation
mykonosErr_t MYKONOS_setTx2Attenuation(mykonosDevice_t *device, uint16_t tx2Attenuation_mdB)
Sets the Tx2 RF output Attenuation (Step size is 0.05dB.)
Definition: mykonos.c:6449
altera_a10_fpll_remove
int32_t altera_a10_fpll_remove(struct altera_a10_fpll *fpll)
altera_a10_fpll_remove
Definition: clk_altera_a10_fpll.c:487
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:142
ADIERR_FAILED
@ ADIERR_FAILED
Definition: common.h:37
TRACK_ORX2_QEC
@ TRACK_ORX2_QEC
Definition: t_mykonos.h:850
RX_OS_CLKGEN_BASEADDR
#define RX_OS_CLKGEN_BASEADDR
Definition: parameters.h:122
app_clocking.h
Clock setup and initialization routines.
axi_dmac_remove
int32_t axi_dmac_remove(struct axi_dmac *dmac)
Definition: axi_dmac.c:367
SPI_CS_DECODE
#define SPI_CS_DECODE
Definition: xilinx_spi.h:47
AD9081_RX_JESD_M
#define AD9081_RX_JESD_M
Definition: app_config.h:85
no_os_clk.h
Header file of Clock Driver.
ID_AD7746
@ ID_AD7746
Definition: ad7746.h:108
TX_DMA_BASEADDR
#define TX_DMA_BASEADDR
Definition: parameters.h:91
RX_DMA_BASEADDR
#define RX_DMA_BASEADDR
Definition: parameters.h:64
aducm_uart_ops
const struct no_os_uart_platform_ops aducm_uart_ops
aducm3029 platform specific UART platform ops structure
Definition: aducm3029_uart.c:501
adi_hal::extra_spi
void * extra_spi
Definition: adi_hal.h:32
RX_OS_XCVR_BASEADDR
#define RX_OS_XCVR_BASEADDR
Definition: parameters.h:130
hmc7044_chan_spec
Definition: hmc7044.h:47
AD7768_DMA_BASEADDR
#define AD7768_DMA_BASEADDR
Definition: parameters.h:44
no_os_spi_init_param::chip_select
uint8_t chip_select
Definition: no_os_spi.h:146
AD7768_CH_NO
@ AD7768_CH_NO
Definition: ad7768.h:179
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
setMuxSwitch
void setMuxSwitch(struct no_os_i2c_desc *i2c, struct ad5940_dev *ad5940, struct electrode_combo sw, uint16_t nElCount)
Definition: mux_board.c:91
mykonosGpioErr_t
mykonosGpioErr_t
Enum of unique error codes from the Mykonos GPIO API functions. Each error condition in the library s...
Definition: t_mykonos_gpio.h:30
iio_app_device::read_buff
struct iio_data_buffer * read_buff
Definition: iio_app.h:71
axi_dma_transfer
Definition: axi_dmac.h:102
no_os_min
#define no_os_min(x, y)
Definition: no_os_util.h:59
SPI_ENGINE_OFFLOAD_EXAMPLE
#define SPI_ENGINE_OFFLOAD_EXAMPLE
Definition: ad77681evb.c:92
axi_jesd204_tx_lane_clk_enable
int32_t axi_jesd204_tx_lane_clk_enable(struct axi_jesd204_tx *jesd)
JESD204 TX Lane Clock Enable.
Definition: axi_jesd204_tx.c:147
Navassa_CMOS_profile.h
spi_engine_init_param::type
enum xil_spi_type type
Definition: spi_engine.h:87
electrode_combo::F_plus
uint16_t F_plus
Definition: mux_board.h:51
rx_dmac
struct axi_dmac * rx_dmac
Definition: main.c:171
jesd204_fsm_start
int jesd204_fsm_start(struct jesd204_topology *topology, unsigned int link_idx)
CS_HIGH
#define CS_HIGH
Definition: spi_engine.h:72
RX_PLL
@ RX_PLL
Definition: t_mykonos.h:717
axi_adxcvr.h
Driver for the ADI AXI-ADXCVR Module.
no_os_uart_desc
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
MYKONOS_setupGpio
mykonosGpioErr_t MYKONOS_setupGpio(mykonosDevice_t *device)
Sets the Mykonos low voltage GPIO configuration registers.
Definition: mykonos_gpio.c:2835
mykonosJesd204bDeframerConfig_t::deserializerLanesEnabled
uint8_t deserializerLanesEnabled
Definition: t_mykonos.h:1253
iio.h
Header file of iio.
iio_axi_adc_init
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
no_os_error.h
Error codes definition.
ad7746.h
Header file of AD7746 Driver.
axi_jesd204_tx_remove
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:912
spi_engine_offload_init_param
struct spi_engine_offload_init_param spi_engine_offload_init_param
Definition: ad7616_sdz.c:63
adf4371_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: adf4371.h:84
trigger_pwm_init
struct no_os_pwm_init_param trigger_pwm_init
Definition: ad7616_sdz.c:87
NO_OS_DIV_ROUND_UP
#define NO_OS_DIV_ROUND_UP(x, y)
Definition: no_os_util.h:52
ad7746_init_param::setup
struct ad7746_setup setup
Definition: ad7746.h:180
AD7616_OSR_0
@ AD7616_OSR_0
Definition: ad7616.h:160
AD77681_AINn_ENABLED
@ AD77681_AINn_ENABLED
Definition: ad77681.h:421
OBS_RX1_SNIFFERLO
@ OBS_RX1_SNIFFERLO
Definition: t_mykonos.h:645
hmc7044_remove
int32_t hmc7044_remove(struct hmc7044_dev *device)
Definition: hmc7044.c:1632
MYKONOS_setTx2AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx2AttenIncPin, mykonosGpioSelect_t tx2AttenDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1915
ad9081_init_param::jtx_link_rx
struct link_init_param * jtx_link_rx[2]
Definition: ad9081.h:207
RX_QEC_INIT
@ RX_QEC_INIT
Definition: t_mykonos.h:836
tx_dmac
struct axi_dmac * tx_dmac
Definition: main.c:181
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:253
no_os_i2c_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_i2c.h:68
axi_dac_channel
Definition: axi_dac_core.h:96
iio_app_device
Definition: iio_app.h:67
main
int main(void)
main
Definition: ad7768_evb.c:61
TX_XCVR_BASEADDR
#define TX_XCVR_BASEADDR
Definition: parameters.h:58
ad9528Device_t
Structure to hold AD9528 settings.
Definition: t_ad9528.h:179
mykDevice
mykonosDevice_t mykDevice
Definition: myk.c:485
mykonosTxSettings_t::txPllLoFrequency_Hz
uint64_t txPllLoFrequency_Hz
Definition: t_mykonos.h:1435
IRQ_DISABLED
@ IRQ_DISABLED
Definition: axi_dmac.h:79
PHY_CS
#define PHY_CS
Definition: parameters.h:49
ad77681.h
Header file of the AD7768-1 Driver.
measurement_config::bMagnitudeMode
bool bMagnitudeMode
Definition: app.h:50
ad7746_init_param
Definition: ad7746.h:177
RX2_DMA_BASEADDR
#define RX2_DMA_BASEADDR
Definition: parameters.h:92
firmware_Mykonos_M3_bin
unsigned char firmware_Mykonos_M3_bin[]
Definition: Mykonos_M3.h:324
TRACK_RX1_QEC
@ TRACK_RX1_QEC
Definition: t_mykonos.h:847
app_clock_remove
int32_t app_clock_remove(void)
Application clocking remove.
Definition: app_clock.c:371
altera_spi_init_param
Structure holding the initialization parameters for Altera platform specific SPI parameters.
Definition: altera_spi.h:56
rx_os_jesd
struct axi_jesd204_rx * rx_os_jesd
Definition: app_jesd.c:57
axi_dac_set_datasel
int32_t axi_dac_set_datasel(struct axi_dac *dac, int32_t chan, enum axi_dac_data_sel sel)
AXI DAC Set Data type for specific channel.
Definition: axi_dac_core.c:590
altera_adxcvr.h
Driver for the Altera ADXCVR Configuration.
MULTIDEVICE_INSTANCE_COUNT
#define MULTIDEVICE_INSTANCE_COUNT
Definition: app_config.h:39
ad7616_conversion_result::channel_b
uint16_t channel_b
Definition: ad7616.h:235
axi_dac_init::name
const char * name
Definition: axi_dac_core.h:70
ad7768_set_power_mode_and_sampling_freq
int ad7768_set_power_mode_and_sampling_freq(ad7768_dev *dev, enum ad7768_power_modes_raw mode)
Definition: ad7768.c:877
JESD204_LINKS_ALL
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
mykonosJesd204bFramerConfig_t::M
uint8_t M
Definition: t_mykonos.h:1193
app_jesd_init
Structure holding the parameters for app jesd initialization.
Definition: app_jesd.h:48
app_ad9083_init::jesd_rx_clk
struct no_os_clk * jesd_rx_clk
Definition: app_ad9083.h:16
spi_engine.h
ADIHAL_sysrefReq
adiHalErr_t ADIHAL_sysrefReq(void *devHalInfo, sysrefReqMode_t mode)
Performs a SYSREF request to the clock generation device.
Definition: no_os_hal.c:144
TX1_DMA_BASEADDR
#define TX1_DMA_BASEADDR
Definition: parameters.h:93
ad7616_init_param
Definition: ad7616.h:202
MYKONOS_checkPllsLockStatus
mykonosErr_t MYKONOS_checkPllsLockStatus(mykonosDevice_t *device, uint8_t *pllLockStatus)
Checks if the PLLs are locked.
Definition: mykonos.c:2444
iio_app_device::write_buff
struct iio_data_buffer * write_buff
Definition: iio_app.h:72
AD77681_BUFp_ENABLED
@ AD77681_BUFp_ENABLED
Definition: ad77681.h:440
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:60
mykonosDigClocks_t::deviceClock_kHz
uint32_t deviceClock_kHz
Definition: t_mykonos.h:1528
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
electrode_combo
Definition: mux_board.h:50
tx_clkgen
struct axi_clkgen * tx_clkgen
Definition: app_clocking.c:91
adf4371_dev
Definition: adf4371.h:60
electrode_combo::S_plus
uint16_t S_plus
Definition: mux_board.h:52
MYKONOS_resetDevice
mykonosErr_t MYKONOS_resetDevice(mykonosDevice_t *device)
Performs a hard reset on the MYKONOS DUT (Toggles RESETB pin on device)
Definition: mykonos.c:248
AD9081_TX_JESD_L
#define AD9081_TX_JESD_L
Definition: app_config.h:61
ad9081_init_param::dev_clk
struct no_os_clk * dev_clk
Definition: ad9081.h:158
app_ad9083_init
int32_t app_ad9083_init(struct app_ad9083 **app, struct app_ad9083_init *init_param)
Initialize the AD9083 app.
Definition: app_ad9083.c:142
mykonosJesd204bDeframerConfig_t::M
uint8_t M
Definition: t_mykonos.h:1249
PATH_DELAY
@ PATH_DELAY
Definition: t_mykonos.h:829
ADG2128_SwRst
int ADG2128_SwRst(struct ad5940_dev *dev)
Definition: app.c:63
ad7768_dev::gpio_reset
struct no_os_gpio_desc * gpio_reset
Definition: ad7768.h:228
axi_dmac.h
Driver for the Analog Devices AXI-DMAC core.
DAC_DDR_BASEADDR
#define DAC_DDR_BASEADDR
Definition: parameters.h:41
iio_data_buffer
Definition: iio_app.h:62
MYKONOS_initArm
mykonosErr_t MYKONOS_initArm(mykonosDevice_t *device)
Resets the ARM processor and performs initialization.
Definition: mykonos.c:13061
axi_adc_init::num_channels
uint8_t num_channels
Definition: axi_adc_core.h:149
ad9083.h
Header file of ad9083 Driver.
AD9081_RX_MAIN_DECIMATION
#define AD9081_RX_MAIN_DECIMATION
Definition: app_config.h:101
AD9081_RX_JESD_K
#define AD9081_RX_JESD_K
Definition: app_config.h:87
ad9528pll1Settings_t::vcxo_Frequency_Hz
uint32_t vcxo_Frequency_Hz
Definition: t_ad9528.h:108
ad7768_set_available_sampl_freq
void ad7768_set_available_sampl_freq(ad7768_dev *dev)
Definition: ad7768.c:846
AD77681_VCM_HALF_VCC
@ AD77681_VCM_HALF_VCC
Definition: ad77681.h:447
axi_dma_transfer::src_addr
uint32_t src_addr
Definition: axi_dmac.h:106
iio_axi_dac_get_dev_descriptor
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
SNIFFER_PLL
@ SNIFFER_PLL
Definition: t_mykonos.h:719
ad7768.h
Header file of AD7768 Driver.
talise_shutdown
void talise_shutdown(taliseDevice_t *const pd)
Definition: app_talise.c:756
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
hmc7044_init_param
Definition: hmc7044.h:102
MYKONOS_setObsRxManualGain
mykonosErr_t MYKONOS_setObsRxManualGain(mykonosDevice_t *device, mykonosObsRxChannels_t obsRxCh, uint8_t gainIndex)
Sets the Rx gain of the ObsRx channel.
Definition: mykonos.c:5423
AD9081_RX_MAIN_ENABLE
#define AD9081_RX_MAIN_ENABLE
Definition: app_config.h:103
AD7616_RX_CLKGEN_BASEADDR
#define AD7616_RX_CLKGEN_BASEADDR
Definition: parameters.h:42
hmc7044_chan_spec::num
unsigned int num
Definition: hmc7044.h:48
app_jesd_init::uc
uint8_t uc
Definition: app_jesd.h:50
hmc7044_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: hmc7044.h:103
TX_BB_FILTER
@ TX_BB_FILTER
Definition: t_mykonos.h:822
AD9081_TX_JESD_CS
#define AD9081_TX_JESD_CS
Definition: app_config.h:60
no_os_clk_desc
Structure holding CLK descriptor.
Definition: no_os_clk.h:75
app_clock_init
int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])
Application clock setup.
Definition: app_clock.c:69
ad7746_setup::exc
struct ad7746_exc exc
Definition: ad7746.h:173
ad9528outputSettings_t::outFrequency_Hz
uint32_t outFrequency_Hz[14]
Definition: t_ad9528.h:132
altera_gpio_init_param::type
enum gpio_type type
Definition: altera_gpio.h:63
MYKONOS_abortInitCals
mykonosErr_t MYKONOS_abortInitCals(mykonosDevice_t *device, uint32_t *calsCompleted)
Aborts from an on going ARM init calibration operation.
Definition: mykonos.c:11420
app_jesd_remove
int32_t app_jesd_remove(struct app_jesd *app)
Free the resources allocated by app_jesd_init().
Definition: app_jesd.c:137
AD7616_TRIGGER_PULSE_WIDTH_NS
#define AD7616_TRIGGER_PULSE_WIDTH_NS
Definition: ad7616.h:109
axi_jesd204_tx_status_read
uint32_t axi_jesd204_tx_status_read(struct axi_jesd204_tx *jesd)
Read status of the JESD204 Transmit Peripherial.
Definition: axi_jesd204_tx.c:170
ad77681_init_param
Definition: ad77681.h:548
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:84
axi_dac_init
Definition: axi_dac_core.h:68
iio_axi_adc.h
Header file of iio_axi_adc.
no_os_clk_hw::dev
void * dev
Definition: no_os_clk.h:56
adxcvr_init
Definition: altera_adxcvr.h:102
ad7746_iio_init_param::ad7746_initial
struct ad7746_init_param * ad7746_initial
Definition: iio_ad7746.h:49
axi_adc_init_finish
int32_t axi_adc_init_finish(struct axi_adc *adc)
Begin AXI ADC Initialization.
Definition: axi_adc_core.c:612
spi_engine_offload_message::tx_addr
uint32_t tx_addr
Definition: spi_engine.h:169
mykonosErr_t
mykonosErr_t
Enum of unique error codes from the Mykonos API functions. Each error condition in the library should...
Definition: t_mykonos.h:30
app_jesd.h
Application JESD initialization.
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:53
TRX_A_RESETB_GPIO
#define TRX_A_RESETB_GPIO
Definition: parameters.h:166
axi_dma_transfer::dest_addr
uint32_t dest_addr
Definition: axi_dmac.h:107
talise_setup
adiHalErr_t talise_setup(taliseDevice_t *const pd, taliseInit_t *const pi)
Definition: app_talise.c:81
AXI_ADC_REG_CHAN_CNTRL
#define AXI_ADC_REG_CHAN_CNTRL(c)
Definition: axi_adc_core.h:79
AD9081_TX_JESD_VERSION
#define AD9081_TX_JESD_VERSION
Definition: app_config.h:54
mykonosTxProfile_t::iqRate_kHz
uint32_t iqRate_kHz
Definition: t_mykonos.h:1292
adxcvr_init::name
const char * name
Definition: altera_adxcvr.h:103
xilinx_gpio.h
axi_dac_init::num_channels
uint8_t num_channels
Definition: axi_dac_core.h:74
AD9081_TX_JESD_SUBCLASS
#define AD9081_TX_JESD_SUBCLASS
Definition: app_config.h:53
AD9081_TX_JESD_NP
#define AD9081_TX_JESD_NP
Definition: app_config.h:59
talInit
taliseInit_t talInit
Definition: talise_config.c:82
app_main
int app_main(struct no_os_i2c_desc *i2c, struct ad5940_init_param *ad5940_ip)
Definition: app.c:349
no_os_clk_init_param::dev_desc
void * dev_desc
Definition: no_os_clk.h:52
iio_axi_dac_init_param::tx_dmac
struct axi_dmac * tx_dmac
Definition: iio_axi_dac.h:75
ad7616_conversion_result
Definition: ad7616.h:233
OFFLOAD_TX_EN
#define OFFLOAD_TX_EN
Definition: spi_engine.h:52
parameters.h
Configuration parameters for AD7746-EBZ demo project.
axi_dac
AXI DAC Device Descriptor.
Definition: axi_dac_core.h:53
rx_adc_init
struct axi_adc_init rx_adc_init
Definition: main.c:144
ad7616_dev::interface
enum ad7616_interface interface
Definition: ad7616.h:192
mykonosObsRxSettings_t::orxProfile
mykonosRxProfile_t * orxProfile
Definition: t_mykonos.h:1464
RX2_ADC_BASEADDR
#define RX2_ADC_BASEADDR
Definition: parameters.h:98
parameters.h
Parameters definition for AD7616-SDZ.
ParseResultMode
void ParseResultMode(struct measurement_config *pMeasCfg)
Definition: app.c:110
OBS_RXOFF
@ OBS_RXOFF
Definition: t_mykonos.h:640
xil_uart_init_param
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
OBS_INTERNALCALS
@ OBS_INTERNALCALS
Definition: t_mykonos.h:643
ADIHAL_OK
@ ADIHAL_OK
Definition: adi_hal.h:43
MYKONOS_setTx1AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx1AttenIncPin, mykonosGpioSelect_t tx1AttenDecPin, uint8_t enable, uint8_t useTx1ForTx2)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1683
TX2_DMA_BASEADDR
#define TX2_DMA_BASEADDR
Definition: parameters.h:94
mykonosDevice_t::tx
mykonosTxSettings_t * tx
Definition: t_mykonos.h:1699
parameters.h
Platform dependent parameters.
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:74
no_os_gpio_desc
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
clk_altera_a10_fpll.h
Driver for the Altera FPLL.
ad7746_init_param::id
enum ad7746_id id
Definition: ad7746.h:179
axi_dma_transfer::cyclic
enum cyclic_transfer cyclic
Definition: axi_dmac.h:105
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: ad77681evb.c:54
altera_a10_fpll::name
const char * name
Definition: clk_altera_a10_fpll.h:45
AXI_ADC_FORMAT_ENABLE
#define AXI_ADC_FORMAT_ENABLE
Definition: axi_adc_core.h:85
no_os_clk_init_param
Definition: no_os_clk.h:44
iio_app_run
int iio_app_run(struct iio_app_desc *app)
iio_axi_dac_desc
Definition: iio_axi_dac.h:53
GetMCUIntFlag
uint32_t GetMCUIntFlag(void)
Definition: app.c:72
AD9081_RX_CHAN_DECIMATION
#define AD9081_RX_CHAN_DECIMATION
Definition: app_config.h:102
spi_engine_offload_message::commands
uint32_t * commands
Definition: spi_engine.h:163
NO_OS_PWM_POLARITY_HIGH
@ NO_OS_PWM_POLARITY_HIGH
Definition: no_os_pwm.h:57
ad7616_read_data_parallel
int32_t ad7616_read_data_parallel(struct ad7616_dev *dev, uint32_t *buf, uint32_t samples)
Read from device in parallel mode. Enter register mode to read/write registers.
Definition: ad7616.c:753
spi_engine_offload_init_param::rx_dma_baseaddr
uint32_t rx_dma_baseaddr
Definition: spi_engine.h:145
MuxSupportedElectrodeCounts
void MuxSupportedElectrodeCounts()
Definition: app.c:283
TX_ATTENUATION_DELAY
@ TX_ATTENUATION_DELAY
Definition: t_mykonos.h:826
jesd_status
void jesd_status(void)
Definition: app_jesd.c:151
mykonosDevice_t::rx
mykonosRxSettings_t * rx
Definition: t_mykonos.h:1698
RX_LO_DELAY
@ RX_LO_DELAY
Definition: t_mykonos.h:835
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: ad7616_sdz.c:68
adf4371_clk_recalc_rate
int32_t adf4371_clk_recalc_rate(struct adf4371_dev *dev, uint32_t chan, uint64_t *rate)
Definition: adf4371.c:692
AD9081_TX_MAIN_NCO_SHIFT
#define AD9081_TX_MAIN_NCO_SHIFT
Definition: app_config.h:74
main
int main(void)
main
Definition: ad7616_sdz.c:148
ad7746_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_ad7746.h:41
app_ad9083.h
rx_adxcvr
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:52
iio_axi_dac_init_param::tx_dac
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:73
AD9528_resetDevice
ADI_ERR AD9528_resetDevice(ad9528Device_t *device)
Performs a hard reset on the AD9528 DUT.
Definition: ad9528.c:26
app_jesd.h
Application JESD initialization.
aducm3029_uart_stdio.h
Header file for UART driver stdout/stdin redirection.
szInSring
volatile unsigned char szInSring[32]
mykonosObsRxSettings_t::framer
mykonosJesd204bFramerConfig_t * framer
Definition: t_mykonos.h:1469
ADC_CHANNELS
#define ADC_CHANNELS
Definition: iio_timer_trigger_example.h:41
AD9081_ADC_FREQUENCY
#define AD9081_ADC_FREQUENCY
Definition: app_config.h:43
RX_XCVR_BASEADDR
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
no_os_i2c_desc
Structure holding I2C address descriptor.
Definition: no_os_i2c.h:101
axi_pwm_init_param
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:64
AD9081_TX_JESD_K
#define AD9081_TX_JESD_K
Definition: app_config.h:57
AD9081_TX_CHAN_GAIN
#define AD9081_TX_CHAN_GAIN
Definition: app_config.h:76
AD77681_REG_READ
#define AD77681_REG_READ(x)
Definition: ad77681.h:316
AD9081_TX_DAC_CHAN_CROSSBAR
#define AD9081_TX_DAC_CHAN_CROSSBAR
Definition: app_config.h:78
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
hmc7044_hw
struct no_os_clk_hw hmc7044_hw
Definition: app_clock.c:54
hmc7044_clk_ops
const struct no_os_clk_platform_ops hmc7044_clk_ops
hmc7044 clock ops
Definition: hmc7044.c:1691
adf4371_init_param
Definition: adf4371.h:83
no_os_gpio_get
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
iio_app_init
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
mykonosDevice_t
Data structure to hold Mykonos device settings.
Definition: t_mykonos.h:1695
AD9081_TX_JESD_N
#define AD9081_TX_JESD_N
Definition: app_config.h:58
TX_CORE_BASEADDR
#define TX_CORE_BASEADDR
Definition: parameters.h:90
mykonosRxSettings_t::framer
mykonosJesd204bFramerConfig_t * framer
Definition: t_mykonos.h:1450
app_ad9083::ad9083_phy
struct ad9083_phy * ad9083_phy
Definition: app_ad9083.h:25
no_os_i2c.h
Header file of I2C Interface.
hmc7044_dev
Definition: hmc7044.h:64
TX1_DAC_BASEADDR
#define TX1_DAC_BASEADDR
Definition: parameters.h:99
app_clocking_init
int32_t app_clocking_init(struct app_clocking **app, struct app_clocking_init *init_param)
Initialize the clocking app.
Definition: app_clocking.c:74
adi_hal
Definition: adi_hal.h:27
no_os_pwm.h
Header file of PWM Interface.
ADC_BUFFER_SAMPLES
#define ADC_BUFFER_SAMPLES
Definition: parameters.h:161
altera_gpio_init_param
Structure holding the initialization parameters for Altera platform specific GPIO parameters.
Definition: altera_gpio.h:61
OFFLOAD_RX_EN
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
AD7616_SW
@ AD7616_SW
Definition: ad7616.h:115
TRACK_RX2_QEC
@ TRACK_RX2_QEC
Definition: t_mykonos.h:848
axi_adc_update_active_channels
int32_t axi_adc_update_active_channels(struct axi_adc *adc, uint32_t mask)
Update active AXI ADC channels.
Definition: axi_adc_core.c:539
adf4371_init
int32_t adf4371_init(struct adf4371_dev **device, const struct adf4371_init_param *init_param)
Definition: adf4371.c:741
axi_jesd204_tx
Definition: axi_jesd204_tx.h:70
app_clocking_init
Structure holding the parameters for clocking app initialization.
Definition: app_clocking.h:43
configMeasurement
void configMeasurement(struct measurement_config *oldCfg, struct measurement_config newCfg)
Definition: app.c:83
AD7746_EXCLVL_4_DIV_8
@ AD7746_EXCLVL_4_DIV_8
Definition: ad7746.h:144
GPIO_ADC_RESET_N
#define GPIO_ADC_RESET_N
Definition: parameters.h:58
axi_jesd204_rx_watchdog
int32_t axi_jesd204_rx_watchdog(struct axi_jesd204_rx *jesd)
JESD204 RX Watchdog.
Definition: axi_jesd204_rx.c:479
AD77681_CRC
@ AD77681_CRC
Definition: ad77681.h:384
rx_dmac_init
struct axi_dmac_init rx_dmac_init
Definition: main.c:162
axi_jesd204_tx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:92
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.h:51
axi_dac_init
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
AD77681_DMA_1_BASEADDR
#define AD77681_DMA_1_BASEADDR
Definition: parameters.h:45
adi_hal::gpio_adrv_resetb_num
uint8_t gpio_adrv_resetb_num
Definition: adi_hal.h:35
OBS_SNIFFER_B
@ OBS_SNIFFER_B
Definition: t_mykonos.h:648
MYKONOS_enableSysrefToRxFramer
mykonosErr_t MYKONOS_enableSysrefToRxFramer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's RX framer.
Definition: mykonos.c:10437
rx_os_clkgen
struct axi_clkgen * rx_os_clkgen
Definition: app_clocking.c:92
NO
@ NO
Definition: axi_dmac.h:98
ADXCVR_SYS_CLK_CPLL
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
xil_uart_ops
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
app_config.h
Config file for AD9371 project.
adf4371_chan_spec::num
uint32_t num
Definition: adf4371.h:56
axi_jesd204_tx_init_legacy
int32_t axi_jesd204_tx_init_legacy(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:729
AD9081_RX_MAIN_NCO_SHIFT
#define AD9081_RX_MAIN_NCO_SHIFT
Definition: app_config.h:105
AD5940BiaStructInit
void AD5940BiaStructInit(void)
Definition: app.c:291
ucInterrupted
volatile uint32_t ucInterrupted
Definition: app.c:58
sine_lut_iq
const uint32_t sine_lut_iq[1024]
Definition: axi_dac_core.c:145
parameters.h
Parameters Definitions.
iio_axi_adc_init_param::rx_adc
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:79
axi_jesd204_rx_laneinfo_read
int32_t axi_jesd204_rx_laneinfo_read(struct axi_jesd204_rx *jesd, uint32_t lane)
Read JESD204 RX Lane Info.
Definition: axi_jesd204_rx.c:415
FRAMER_LINK0_RX
#define FRAMER_LINK0_RX
Definition: ad9081.h:236
no_os_hweight8
unsigned int no_os_hweight8(uint8_t word)
axi_adc_init
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
AXI_ADC_MMCM_RSTN
#define AXI_ADC_MMCM_RSTN
Definition: axi_adc_core.h:46
TX2_DAC_BASEADDR
#define TX2_DAC_BASEADDR
Definition: parameters.h:100
axi_dmac_init
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
axi_pwm_init_params
struct axi_pwm_init_param axi_pwm_init_params
Definition: ad7616_sdz.c:82
ad9081_init
int32_t ad9081_init(struct ad9081_phy **dev, const struct ad9081_init_param *init_param)
Definition: ad9081.c:1419
fpga_xcvr_deinit
void fpga_xcvr_deinit(void)
Definition: app_transceiver.c:187
ADC_default_init_param
struct ad77681_init_param ADC_default_init_param
Definition: ad77681evb.c:62
no_os_uart_init
int32_t no_os_uart_init(struct no_os_uart_desc **desc, struct no_os_uart_init_param *param)
Initialize the UART communication peripheral.
Definition: no_os_uart.c:52
adrv9002_ssi_type_detect
enum adi_adrv9001_SsiType adrv9002_ssi_type_detect(struct adrv9002_rf_phy *phy)
Definition: headless.c:98
hmc7044_dev
struct hmc7044_dev * hmc7044_dev
Definition: app_clock.c:52
RX_CORE_BASEADDR
#define RX_CORE_BASEADDR
Definition: parameters.h:63
CYCLIC
@ CYCLIC
Definition: axi_dmac.h:99
tx_dmac_init
struct axi_dmac_init tx_dmac_init
Definition: main.c:172
MYKONOS_getArmVersion
mykonosErr_t MYKONOS_getArmVersion(mykonosDevice_t *device, uint8_t *majorVer, uint8_t *minorVer, uint8_t *rcVer, mykonosBuild_t *buildType)
Reads back the version of the ARM binary loaded into the Mykonos ARM memory.
Definition: mykonos.c:13617
no_os_udelay
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
getMykonosErrorMessage
const char * getMykonosErrorMessage(mykonosErr_t errorCode)
Helper function for return of character string based on 32-bit mykonosErr_t enum value.
Definition: mykonos.c:7006
APPBUFF_SIZE
#define APPBUFF_SIZE
Definition: app.c:50
no_os_i2c_init_param
Structure holding the parameters for I2C initialization.
Definition: no_os_i2c.h:64
AD7616_10V
@ AD7616_10V
Definition: ad7616.h:156
AD9528_requestSysref
ADI_ERR AD9528_requestSysref(ad9528Device_t *device, uint8_t enableSYSREF)
Send a SPI message to request a SYSREF pulse or continuous SYSREF from the AD9528.
Definition: ad9528.c:501
NULL
#define NULL
Definition: wrapper.h:64
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
ad9081_init_param
Definition: ad9081.h:154
iio_app_device::dev
void * dev
Definition: iio_app.h:69
app_jesd::jesd_rx_clk
struct no_os_clk jesd_rx_clk
Definition: app_jesd.h:69
MYKONOS_enableMultichipSync
mykonosErr_t MYKONOS_enableMultichipSync(mykonosDevice_t *device, uint8_t enableMcs, uint8_t *mcsStatus)
Sets up the chip for multichip sync, and cleans up after MCS.
Definition: mykonos.c:10395
ad9081_phy
Definition: ad9081.h:69
xil_spi_ops
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:69
MYKONOS_initialize
mykonosErr_t MYKONOS_initialize(mykonosDevice_t *device)
Initializes the Mykonos device based on the desired device settings.
Definition: mykonos.c:600
MYKONOS_waitInitCals
mykonosErr_t MYKONOS_waitInitCals(mykonosDevice_t *device, uint32_t timeoutMs, uint8_t *errorFlag, uint8_t *errorCode)
Blocking waits for the Mykonos initialization calibrations to complete.
Definition: mykonos.c:11315
app.h
EIT application header.
TX_LO_LEAKAGE_EXTERNAL
@ TX_LO_LEAKAGE_EXTERNAL
Definition: t_mykonos.h:831
iio_ad9083.h
Header file of iio_ad9083.
spi_engine_init_param
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
TIA_3DB_CORNER
@ TIA_3DB_CORNER
Definition: t_mykonos.h:824
no_os_gpio_set_value
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:197
aducm_i2c_ops
const struct no_os_i2c_platform_ops aducm_i2c_ops
ADuCM3029 platform specific I2C platform ops structure.
Definition: aducm3029_i2c.c:314
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
TX_QEC_INIT
@ TX_QEC_INIT
Definition: t_mykonos.h:832
MYKONOS_enableSysrefToDeframer
mykonosErr_t MYKONOS_enableSysrefToDeframer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's deframer.
Definition: mykonos.c:10497
CLK_CS
#define CLK_CS
Definition: parameters.h:157
AXI_ADC_CRC_EN
#define AXI_ADC_CRC_EN
Definition: axi_adc_core.h:55
clockAD9528_
ad9528Device_t clockAD9528_
Definition: myk_ad9528init.c:55
mykonosDevice_t::clocks
mykonosDigClocks_t * clocks
Definition: t_mykonos.h:1702
AD9081_RX_CHAN_ENABLE
#define AD9081_RX_CHAN_ENABLE
Definition: app_config.h:104
altera_a10_fpll
Definition: clk_altera_a10_fpll.h:44
AD9081_RX_JESD_NP
#define AD9081_RX_JESD_NP
Definition: app_config.h:89
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
iio_axi_dac_init
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
axi_jesd204_rx
Definition: axi_jesd204_rx.h:57
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
AD77681_SPI_CS
#define AD77681_SPI_CS
Definition: parameters.h:47
ad9081_phy::jrx_link_tx
struct ad9081_jesd_link jrx_link_tx[2]
Definition: ad9081.h:83
altera_a10_fpll_init
int32_t altera_a10_fpll_init(struct altera_a10_fpll **a10_fpll, const struct altera_a10_fpll_init *init)
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.c:466
LOOPBACK_RX_RX_QEC_INIT
@ LOOPBACK_RX_RX_QEC_INIT
Definition: t_mykonos.h:834
spi_eng_platform_ops
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:61
axi_adc_remove
int32_t axi_adc_remove(struct axi_adc *adc)
AXI ADC Resources deallocation.
Definition: axi_adc_core.c:681
AD9081_RX_JESD_N
#define AD9081_RX_JESD_N
Definition: app_config.h:88
AD77681_SINC5_FIR_DECx32
@ AD77681_SINC5_FIR_DECx32
Definition: ad77681.h:400
iio_axi_dac.h
Header file of iio_axi_dac.
app_jesd_init
int32_t app_jesd_init(struct no_os_clk clk[2], uint32_t reference_clk_khz, uint32_t rx_device_clk_khz, uint32_t tx_device_clk_khz, uint32_t rx_lane_clk_khz, uint32_t tx_lane_clk_khz)
Application JESD setup.
Definition: app_jesd.c:63
mykonosObsRxSettings_t::snifferPllLoFrequency_Hz
uint64_t snifferPllLoFrequency_Hz
Definition: t_mykonos.h:1472
getGpioMykonosErrorMessage
const char * getGpioMykonosErrorMessage(mykonosGpioErr_t errorCode)
Helper function for return of character string based on 32-bit mykonosGpioErr_t enum value.
Definition: mykonos_gpio.c:37
no_os_clk_init_param::hw_ch_num
uint8_t hw_ch_num
Definition: no_os_clk.h:48
ad7746_setup::cap
struct ad7746_cap cap
Definition: ad7746.h:171
adi_hal::extra_gpio
void * extra_gpio
Definition: adi_hal.h:34
altera_a10_fpll_disable
void altera_a10_fpll_disable(struct altera_a10_fpll *fpll)
altera_a10_fpll_disable
Definition: clk_altera_a10_fpll.c:458
no_os_uart_init_param::device_id
uint8_t device_id
Definition: no_os_uart.h:112
ad77681_spi_read_adc_data
int32_t ad77681_spi_read_adc_data(struct ad77681_dev *dev, uint8_t *adc_data, enum ad77681_data_read_mode mode)
Definition: ad77681.c:274
spi_engine_offload_transfer
int32_t spi_engine_offload_transfer(struct no_os_spi_desc *desc, struct spi_engine_offload_message msg, uint32_t no_samples)
Initiate a SPI transfer in offload mode.
Definition: spi_engine.c:809
altera_spi.h
ad7746_get_cap_data
int32_t ad7746_get_cap_data(struct ad7746_dev *dev, uint32_t *cap_data)
Waits until a conversion on the capacitive channel has been finished and returns the output data.
Definition: ad7746.c:483
axi_jesd204_rx.h
Driver for the Analog Devices AXI-JESD204-RX peripheral.
app_clock.h
Application clocks initialization.
platform_init.h
ADuCM3029 platform initialization header.
RX_JESD_BASEADDR
#define RX_JESD_BASEADDR
Definition: parameters.h:65
app_jesd_status
uint32_t app_jesd_status(struct app_jesd *app)
Definition: app_jesd.c:127
tx_dac_init
struct axi_dac_init tx_dac_init
Definition: main.c:155
firmware_Mykonos_M3_bin_len
unsigned int firmware_Mykonos_M3_bin_len
Definition: Mykonos_M3.h:8518
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
rx_jesd
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:49
ADXCVR_SYS_CLK_QPLL0
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:50
TRACK_TX1_QEC
@ TRACK_TX1_QEC
Definition: t_mykonos.h:853
swComboSeq
struct electrode_combo swComboSeq[256]
Definition: app.c:52
mykonos.h
Contains macro definitions and function prototypes for mykonos.c.
measurement_config
Definition: app.h:47
SYSREF_CONT_ON
@ SYSREF_CONT_ON
Definition: adi_hal.h:68
default_init_param
AD9361_InitParam default_init_param
Definition: main.c:183
AD77681_EVB_SAMPLE_NO
#define AD77681_EVB_SAMPLE_NO
Definition: parameters.h:44
MYKONOS_ERR_OK
@ MYKONOS_ERR_OK
Definition: t_mykonos.h:32
AD9081_TX_CHAN_NCO_SHIFT
#define AD9081_TX_CHAN_NCO_SHIFT
Definition: app_config.h:75
adxcvr_remove
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:489
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:89
ad7616_read_data_serial
int32_t ad7616_read_data_serial(struct ad7616_dev *dev, struct ad7616_conversion_result *results, uint32_t samples)
Read conversion result from device, checking with CRC if enabled.
Definition: ad7616.c:664
axi_dac_remove
int32_t axi_dac_remove(struct axi_dac *dac)
AXI DAC Resources deallocation.
Definition: axi_dac_core.c:1238
ad7616_spi_init
struct no_os_spi_init_param ad7616_spi_init
Definition: ad7616_sdz.c:95
spi_engine_offload_init_param
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
SendResultFloat32
void SendResultFloat32(float *data, uint32_t DataCount)
Definition: app.c:231
no_os_gpio.h
Header file of GPIO Interface.
axi_dac_channel::sel
enum axi_dac_data_sel sel
Definition: axi_dac_core.h:105
app_clock_remove
int32_t app_clock_remove(void)
Application clocking remove.
Definition: app_clock.c:371
DC_OFFSET
@ DC_OFFSET
Definition: t_mykonos.h:825
jesd204_rx_init
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
get_sampling_frequency
int get_sampling_frequency(struct axi_adc *dev, uint32_t chan, uint64_t *sampling_freq_hz)
Definition: headless.c:75
platform_init
int32_t platform_init(void)
Initialize the power controller and set the core and peripherals clock divider.
Definition: platform_init.c:44
app_transceiver.h
FPGA XCVR setup and initialization routines.
ad77681_dev::spi_desc
struct no_os_spi_desc * spi_desc
Definition: ad77681.h:524
jesd204_tx_init::name
const char * name
Definition: axi_jesd204_tx.h:101
ad9081.h
Header file of AD9081 Driver.
scan_type
Definition: iio_types.h:151
mux_board.h
Cross-point switch handling code.
ad7746_iio_dev
Definition: iio_ad7746.h:39
MYKONOS_setRx1ManualGain
mykonosErr_t MYKONOS_setRx1ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx1 Manual Gain Index.
Definition: mykonos.c:3687
AD77681_CONV_16BIT
@ AD77681_CONV_16BIT
Definition: ad77681.h:368
AD77681_REG_ADC_DATA
#define AD77681_REG_ADC_DATA
Definition: ad77681.h:71
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:54
uart
struct no_os_uart_desc * uart
Definition: main.c:74
no_os_uart.h
Header file of UART interface.
axi_dmac_transfer_start
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:385
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:52
axi_dac_load_custom_data
int32_t axi_dac_load_custom_data(struct axi_dac *dac, const uint32_t *custom_data_iq, uint32_t custom_tx_count, uint32_t address)
AXI DAC Load custom data.
Definition: axi_dac_core.c:1063
ad7768_spi_read
int32_t ad7768_spi_read(ad7768_dev *dev, uint8_t reg_addr, uint8_t *reg_data)
Definition: ad7768.c:65
ad7746_iio_init
int32_t ad7746_iio_init(struct ad7746_iio_dev **iio_dev, struct ad7746_iio_init_param *init_param)
Definition: iio_ad7746.c:741
AXI_DAC_DATA_SEL_DMA
@ AXI_DAC_DATA_SEL_DMA
Definition: axi_dac_core.h:86
jesd_init
adiHalErr_t jesd_init(uint32_t rx_div40_rate_hz, uint32_t tx_div40_rate_hz, uint32_t rx_os_div40_rate_hz)
Definition: app_jesd.c:59
eit_config::nSenseDist
uint16_t nSenseDist
Definition: app.h:43
axi_pwm_init_param::base_addr
uint32_t base_addr
Definition: axi_pwm_extra.h:52
RX_OS_DMA_BASEADDR
#define RX_OS_DMA_BASEADDR
Definition: parameters.h:241
AppBuff
uint32_t AppBuff[APPBUFF_SIZE]
Definition: app.c:51
i2c
struct no_os_i2c_desc * i2c
Definition: main.c:73
mykonosRxProfile_t::iqRate_kHz
uint32_t iqRate_kHz
Definition: t_mykonos.h:1275
TX_JESD_BASEADDR
#define TX_JESD_BASEADDR
Definition: parameters.h:90
AD7768_REG_REV_ID
#define AD7768_REG_REV_ID
Definition: ad7768.h:56
axi_clkgen_remove
int32_t axi_clkgen_remove(struct axi_clkgen *clkgen)
axi_clkgen_remove
Definition: clk_axi_clkgen.c:541
no_os_util.h
Header file of utility functions.
adf4371_chan_spec
Definition: adf4371.h:55
DAC_BUFFER_SAMPLES
#define DAC_BUFFER_SAMPLES
Definition: parameters.h:160
iio_uart_ip
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
no_os_sign_extend32
int32_t no_os_sign_extend32(uint32_t value, int index)
RX_OBS_DMA_BASEADDR
#define RX_OBS_DMA_BASEADDR
Definition: parameters.h:142
MYKONOS_setRx1GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx1GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx1GainIncPin, mykonosGpioSelect_t rx1GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:617
AD7616_DMA_BASEADDR
#define AD7616_DMA_BASEADDR
Definition: parameters.h:41
eit_config
Definition: app.h:40
spi_engine_init_param::ref_clk_hz
uint32_t ref_clk_hz
Definition: spi_engine.h:85
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
spi_engine_offload_message::rx_addr
uint32_t rx_addr
Definition: spi_engine.h:171
altera_spi_init_param::type
enum spi_type type
Definition: altera_spi.h:58
eit_config::nElectrodeCnt
uint16_t nElectrodeCnt
Definition: app.h:41
OBS_SNIFFER_A
@ OBS_SNIFFER_A
Definition: t_mykonos.h:647
MYKONOS_setRx2GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx2GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx2GainIncPin, mykonosGpioSelect_t rx2GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:825
MYKONOS_enableSysrefToObsRxFramer
mykonosErr_t MYKONOS_enableSysrefToObsRxFramer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's Observation RX framer.
Definition: mykonos.c:10467
adc_buffer
uint16_t adc_buffer[ADC_BUFFER_SAMPLES *ADC_CHANNELS]
Definition: main.c:100
AD7768_HEADER_SIZE
#define AD7768_HEADER_SIZE
Definition: parameters.h:51
xilinx_spi.h
AD9081_TX_MAIN_INTERPOLATION
#define AD9081_TX_MAIN_INTERPOLATION
Definition: app_config.h:72
ad7768_setup_begin
int32_t ad7768_setup_begin(ad7768_dev **device, ad7768_init_param init_param)
Definition: ad7768.c:651
iio_axi_adc_get_dev_descriptor
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
SendResultIeee754
void SendResultIeee754(float *data, uint32_t DataCount)
Definition: app.c:242
AD9081_TX_CHAN_INTERPOLATION
#define AD9081_TX_CHAN_INTERPOLATION
Definition: app_config.h:73
fpga_xcvr_init
adiHalErr_t fpga_xcvr_init(uint32_t rx_lane_rate_khz, uint32_t tx_lane_rate_khz, uint32_t rx_os_lane_rate_khz, uint32_t device_clock)
Definition: app_transceiver.c:62
no_os_gpio_direction_output
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
ad7768_init_param
Definition: ad7768.h:253
GPIO_RESET_N
#define GPIO_RESET_N
Definition: parameters.h:51
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
AXI_ADC_FORMAT_SIGNEXT
#define AXI_ADC_FORMAT_SIGNEXT
Definition: axi_adc_core.h:83
iio_app_init_param::devices
struct iio_app_device * devices
Definition: iio_app.h:107
AD9081_RX_JESD_CS
#define AD9081_RX_JESD_CS
Definition: app_config.h:90
jesd204_tx_init
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:99
axi_dma_transfer::size
uint32_t size
Definition: axi_dmac.h:103
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
electrode_combo::F_minus
uint16_t F_minus
Definition: mux_board.h:54
AD77681_MCLK_DIV_8
@ AD77681_MCLK_DIV_8
Definition: ad77681.h:353
ad7746_init_param::i2c_init
struct no_os_i2c_init_param i2c_init
Definition: ad7746.h:178
AD7616_SPI_ENGINE_BASEADDR
#define AD7616_SPI_ENGINE_BASEADDR
Definition: parameters.h:40
axi_adc_init::name
const char * name
Definition: axi_adc_core.h:145
ad7616_init_param::spi_param
struct no_os_spi_init_param * spi_param
Definition: ad7616.h:204
AD7746_VTMD_INT_TEMP
@ AD7746_VTMD_INT_TEMP
Definition: ad7746.h:120
AD7746_EXC_PIN_NORMAL
@ AD7746_EXC_PIN_NORMAL
Definition: ad7746.h:137
AD77681_SPI_ENG_REF_CLK_FREQ_HZ
#define AD77681_SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:48
MYKONOS_setRfPllFrequency
mykonosErr_t MYKONOS_setRfPllFrequency(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint64_t rfPllLoFrequency_Hz)
Sets the RF PLL local oscillator frequency (RF carrier frequency).
Definition: mykonos.c:2155
measurement_config::nAmplitudePP
uint16_t nAmplitudePP
Definition: app.h:49
axi_jesd204_rx_lane_clk_enable
int32_t axi_jesd204_rx_lane_clk_enable(struct axi_jesd204_rx *jesd)
JESD204 RX Lane Clock Enable.
Definition: axi_jesd204_rx.c:189
iio_app_init_param::nb_devices
uint32_t nb_devices
Definition: iio_app.h:109
ad9528Device_t::pll1Settings
ad9528pll1Settings_t * pll1Settings
Definition: t_ad9528.h:182
AD9528_initialize
ADI_ERR AD9528_initialize(ad9528Device_t *device)
Initializes the AD9528 by writing all SPI registers.
Definition: ad9528.c:303
ad7616_gpio_reset
struct no_os_gpio_init_param ad7616_gpio_reset
Definition: ad7616_sdz.c:107
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:98
axi_dmac
Definition: axi_dmac.h:110
SendResult
void SendResult(uint32_t *pData, uint16_t len, bool bImpedanceReadMode, bool bMagnitudeMode)
Definition: app.c:255
AD77681_AINp_ENABLED
@ AD77681_AINp_ENABLED
Definition: ad77681.h:427
AD9081_RX_JESD_SUBCLASS
#define AD9081_RX_JESD_SUBCLASS
Definition: app_config.h:83
AD9528_initDeviceDataStruct
ADI_ERR AD9528_initDeviceDataStruct(ad9528Device_t *device, uint32_t vcxoFrequency_Hz, uint32_t refAFrequency_Hz, uint32_t outputDeviceClock_Hz)
Helper function for ADI transceiver eval boards to init the AD9528 data structure.
Definition: ad9528.c:115
AD9081_RX_JESD_F
#define AD9081_RX_JESD_F
Definition: app_config.h:86
ADRV9001_I_Q_CHANNELS
#define ADRV9001_I_Q_CHANNELS
Definition: parameters.h:52
ad9081_phy::jdev
struct jesd204_dev * jdev
Definition: ad9081.h:76
spi_msg_cmds
uint32_t spi_msg_cmds[6]
Definition: ad77681evb.c:52
app_clocking_remove
int32_t app_clocking_remove(struct app_clocking *app)
Free the resources allocated by app_clocking_init().
Definition: app_clocking.c:255
AD9081_TX_JESD_F
#define AD9081_TX_JESD_F
Definition: app_config.h:56
AD9081_RX_LOGICAL_LANE_MAPPING
#define AD9081_RX_LOGICAL_LANE_MAPPING
Definition: app_config.h:97
AD9081_RX_LINK_CONVERTER_SELECT
#define AD9081_RX_LINK_CONVERTER_SELECT
Definition: app_config.h:99
adxcvr_init
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
axi_pwm_extra.h
electrode_combo::S_minus
uint16_t S_minus
Definition: mux_board.h:53
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
axi_jesd204_tx.h
Driver for the Analog Devices AXI-JESD204-TX peripheral.
TALISE_NUM_CHANNELS
#define TALISE_NUM_CHANNELS
Definition: app_talise.h:51
MYKONOS_setTx1Attenuation
mykonosErr_t MYKONOS_setTx1Attenuation(mykonosDevice_t *device, uint16_t tx1Attenuation_mdB)
Sets the Tx1 RF output Attenuation.
Definition: mykonos.c:6386
app_ad9083
Structure holding ad9083 app descriptor.
Definition: app_ad9083.h:23
RX_OS_CORE_BASEADDR
#define RX_OS_CORE_BASEADDR
Definition: parameters.h:139
adiHalErr_t
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42
dac_buffer
uint32_t dac_buffer[DAC_BUFFER_SAMPLES]
Definition: iio_example.c:71
AXI_ADC_REG_CNTRL
#define AXI_ADC_REG_CNTRL
Definition: axi_adc_core.h:49