no-OS
app_clock.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef APP_CLOCK_H_
40 #define APP_CLOCK_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 #include <stdint.h>
46 #include "no_os_clk.h"
47 #include "app_config.h"
48 
49 /******************************************************************************/
50 /************************ Functions Declarations ******************************/
51 /******************************************************************************/
52 
53 /* Application clocks initialization. */
54 int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT]);
55 
56 /* Application clocks remove. */
57 int32_t app_clock_remove(void);
58 
59 #endif
ad7768_setup
int32_t ad7768_setup(ad7768_dev **device, ad7768_init_param init_param)
Definition: ad7768.c:622
ParseConfig
int32_t ParseConfig(char *pStr, struct eit_config *pEitCfg, struct measurement_config *pMeasCfg)
Definition: app.c:145
axi_clkgen_init::name
const char * name
Definition: clk_axi_clkgen.h:57
spi_engine_offload_init_param::offload_config
uint8_t offload_config
Definition: spi_engine.h:153
ad7746_iio_init_param
Definition: iio_ad7746.h:54
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:401
axi_adc_core.h
Driver for the Analog Devices AXI-ADC-CORE module.
AD9081_TX_JESD_S
#define AD9081_TX_JESD_S
Definition: app_config.h:68
ad7768_dev
Definition: ad7768.h:194
RX_OS_JESD_BASEADDR
#define RX_OS_JESD_BASEADDR
Definition: parameters.h:132
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.
no_os_clk_hw::dev_clk_round_rate
int32_t(* dev_clk_round_rate)()
Definition: no_os_clk.h:56
axi_dac::name
const char * name
Definition: axi_dac_core.h:56
adc_data
Definition: ad77681.h:496
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff)
Definition: iio_app.h:46
app_clocking_init::uc
uint8_t uc
Definition: app_clocking.h:51
axi_clkgen::name
const char * name
Definition: clk_axi_clkgen.h:51
ad77681_dev
Definition: ad77681.h:528
AD9081_RX_JESD_HD
#define AD9081_RX_JESD_HD
Definition: app_config.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:85
app_talise.h
Talise initialization and control routines.
spi_engine_offload_message::no_commands
uint32_t no_commands
Definition: spi_engine.h:167
AD9081_TX_JESD_M
#define AD9081_TX_JESD_M
Definition: app_config.h:61
app_config.h
Config file for ADRV9009 project.
SinFreqVal
float SinFreqVal
Definition: app.c:60
OBS_SNIFFER_C
@ OBS_SNIFFER_C
Definition: t_mykonos.h:649
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:74
TX_CORE_BASEADDR
#define TX_CORE_BASEADDR
Definition: parameters.h:112
ADXCVR_REFCLK
#define ADXCVR_REFCLK
Definition: axi_adxcvr.h:61
ADIERR_OK
@ ADIERR_OK
Definition: common.h:35
SPI_AD7616_CS
#define SPI_AD7616_CS
Definition: parameters.h:48
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:886
adf4371_clk_round_rate
int32_t adf4371_clk_round_rate(struct adf4371_dev *dev, uint64_t rate, uint64_t *rounded_rate)
Definition: adf4371.c:715
main
int main(void)
Definition: headless.c:62
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:65
adxcvr::name
const char * name
Definition: altera_adxcvr.h:96
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:338
app_ad9083_remove
int32_t app_ad9083_remove(struct app_ad9083 *app)
Free the resources allocated by app_ad9083_init().
Definition: app_ad9083.c:211
GPIO_MODE_2_GPIO_2
#define GPIO_MODE_2_GPIO_2
Definition: parameters.h:62
adrv9002_spi_settings_get
struct adi_adrv9001_SpiSettings * adrv9002_spi_settings_get(void)
Definition: headless.c:98
AD9081_ADC_NYQUIST_ZONE
#define AD9081_ADC_NYQUIST_ZONE
Definition: app_config.h:53
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:84
TX_CLKGEN_BASEADDR
#define TX_CLKGEN_BASEADDR
Definition: parameters.h:127
ad77681_setup
int32_t ad77681_setup(struct ad77681_dev **device, struct ad77681_init_param init_param, struct ad77681_status_registers **status)
Definition: ad77681.c:1751
AD9081_RX_JESD_S
#define AD9081_RX_JESD_S
Definition: app_config.h:96
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:101
clkgen_init
struct axi_clkgen_init clkgen_init
Definition: ad77681evb.c:100
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:58
ad9081_init_param::gpio_reset
struct no_os_gpio_init_param * gpio_reset
Definition: ad9081.h:136
ad9081_phy::jrx_link_tx
struct ad9081_jesd_link jrx_link_tx
Definition: ad9081.h:79
jesd_deinit
void jesd_deinit(void)
Definition: app_jesd.c:145
FLASH_CAL
@ FLASH_CAL
Definition: t_mykonos.h:828
RX1_DMA_BASEADDR
#define RX1_DMA_BASEADDR
Definition: parameters.h:97
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:453
main
int main()
Definition: ad77681evb.c:106
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:70
axi_jesd204_rx::num_lanes
uint32_t num_lanes
Definition: axi_jesd204_rx.h:77
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:62
I2C_SPEED
#define I2C_SPEED
Definition: parameters.h:46
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:68
app_config.h
Application configuration.
AD7768_ADC_BASEADDR
#define AD7768_ADC_BASEADDR
Definition: parameters.h:52
AD9081_RX_CHAN_NCO_SHIFT
#define AD9081_RX_CHAN_NCO_SHIFT
Definition: app_config.h:110
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:61
parameters.h
Configuration parameters for AD7746-EBZ demo project.
axi_dmac_init
Definition: axi_dmac.h:129
jesd_rx_watchdog
void jesd_rx_watchdog(void)
Definition: app_jesd.c:167
sampling_freq
uint64_t sampling_freq
Definition: headless.c:78
app_clock_init
int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])
Application clock setup.
Definition: app_clock.c:75
axi_dmac_init::name
const char * name
Definition: axi_dmac.h:130
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_hw
Definition: no_os_clk.h:50
ad9081_phy::jtx_link_rx
struct ad9081_jesd_link jtx_link_rx[2]
Definition: ad9081.h:80
CS_LOW
#define CS_LOW
Definition: spi_engine.h:79
ad77681_status_registers
Definition: ad77681.h:503
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:96
iio_axi_adc_desc::dev_descriptor
struct iio_device dev_descriptor
Definition: iio_axi_adc.h:72
AD9081_TX_JESD_MODE
#define AD9081_TX_JESD_MODE
Definition: app_config.h:58
DDR_MEM_BASEADDR
#define DDR_MEM_BASEADDR
Definition: parameters.h:70
no_os_spi.h
Header file of SPI Interface.
tx_adxcvr
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:60
Mykonos_M3.h
ParseQuery
int32_t ParseQuery(char *pStr, struct electrode_combo *pElCmb, struct measurement_config *pMeasCfg)
Definition: app.c:186
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:60
MYKONOS_ERR_GPIO_OK
@ MYKONOS_ERR_GPIO_OK
Definition: t_mykonos_gpio.h:32
SPI_AD7768_CS
#define SPI_AD7768_CS
Definition: parameters.h:47
axi_dac_init_finish
int32_t axi_dac_init_finish(struct axi_dac *dac)
Begin AXI DAC Initialization.
Definition: axi_dac_core.c:910
ad7616_setup
int32_t ad7616_setup(struct ad7616_dev **device, struct ad7616_init_param *init_param)
Definition: ad7616.c:516
parameters.h
Parameters Definitions.
iio_axi_dac_desc::dev_descriptor
struct iio_device dev_descriptor
Definition: iio_axi_dac.h:68
AD77681_SPI1_ENGINE_BASEADDR
#define AD77681_SPI1_ENGINE_BASEADDR
Definition: parameters.h:52
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:757
iio_ad7746.h
Header file of iio_ad7746.
iio_desc
Definition: iio.c:202
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:95
BITS_IN_BYTE
#define BITS_IN_BYTE
Definition: parameters.h:66
AD7616_SDZ_SAMPLE_NO
#define AD7616_SDZ_SAMPLE_NO
Definition: ad7616_sdz.c:63
axi_adc_init
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:142
iio_app.h
Header file of iio_app.
DAC_FIFO_BYPASS_GPIO
#define DAC_FIFO_BYPASS_GPIO
Definition: parameters.h:175
no_os_clk_hw::dev_clk_recalc_rate
int32_t(* dev_clk_recalc_rate)()
Definition: no_os_clk.h:54
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:85
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
clk_axi_clkgen.h
Driver for the Analog Devices AXI CLKGEN.
AD7768_DCLK_DIV_1
@ AD7768_DCLK_DIV_1
Definition: ad7768.h:136
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:325
axi_dmac_transfer_wait_completion
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:506
AD77681_FAST
@ AD77681_FAST
Definition: ad77681.h:354
no_os_gpio_get_value
int32_t no_os_gpio_get_value(struct no_os_gpio_desc *desc, uint8_t *value)
Get the value of the specified GPIO.
Definition: no_os_gpio.c:177
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:80
talise_multi_chip_sync
int talise_multi_chip_sync(taliseDevice_t *pd, int step)
Definition: app_talise.c:495
TALISE_A
@ TALISE_A
Definition: app_talise.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. Blocking function.
Definition: aducm3029_uart.c:155
clocking_deinit
void clocking_deinit(void)
Definition: app_clocking.c:730
ad7768_evb_clear_status
void ad7768_evb_clear_status(struct xil_gpio_init_param *brd_gpio_init)
ad7768evb_clear_status
Definition: ad7768_evb.c:64
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:169
iio_data_buffer::buff
void * buff
Definition: iio_app.h:62
ADC_CHANNELS
#define ADC_CHANNELS
Definition: parameters.h:147
IIO_DEV_COUNT
#define IIO_DEV_COUNT
Definition: parameters.h:51
axi_dma_transfer::transfer_done
volatile bool transfer_done
Definition: axi_dmac.h:108
no_os_delay.h
Header file of Delay functions.
xil_spi_init_param::flags
uint32_t flags
Definition: xilinx_spi.h:82
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:208
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:455
iio_app_device::name
char * name
Definition: iio_app.h:66
SendResultUint32
void SendResultUint32(uint32_t *pData, uint32_t nDataCount)
Definition: app.c:226
AD77681_BUFn_ENABLED
@ AD77681_BUFn_ENABLED
Definition: ad77681.h:439
axi_clkgen_init
Definition: clk_axi_clkgen.h:56
app_ad9083_status
int32_t app_ad9083_status(struct app_ad9083 *app)
Check AD9083 link status.
Definition: app_ad9083.c:108
ad7746_exc::excb
enum ad7746_exc_pin excb
Definition: ad7746.h:156
axi_adc
AXI ADC Device Descriptor.
Definition: axi_adc_core.h:125
AD9081_RX_JESD_MODE
#define AD9081_RX_JESD_MODE
Definition: app_config.h:86
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:99
hmc7044_init
int32_t hmc7044_init(struct hmc7044_dev **device, const struct hmc7044_init_param *init_param)
Definition: hmc7044.c:788
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:418
ADC_DDR_BASEADDR
#define ADC_DDR_BASEADDR
Definition: main.c:67
ad7616_dev
Definition: ad7616.h:142
no_os_clk
Definition: no_os_clk.h:59
AD7768_STANDARD_CONV
@ AD7768_STANDARD_CONV
Definition: ad7768.h:145
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: ad7616_sdz.c:86
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
NIOS_II_SPI
@ NIOS_II_SPI
Definition: altera_spi.h:54
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:93
spi_engine_offload_message
Structure representing an offload message.
Definition: spi_engine.h:160
NO_OS_SPI_MODE_2
@ NO_OS_SPI_MODE_2
Definition: no_os_spi.h:70
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:544
ad7616_read_data_serial
int32_t ad7616_read_data_serial(struct ad7616_dev *dev, uint32_t *buf, uint32_t samples)
Read from device in serial mode. Enter register mode to read/write registers.
Definition: ad7616.c:386
ADRV_CS
#define ADRV_CS
Definition: parameters.h:164
adf4371_clk_set_rate
int32_t adf4371_clk_set_rate(struct adf4371_dev *dev, uint32_t chan, uint64_t rate)
Definition: adf4371.c:730
TX_PLL
@ TX_PLL
Definition: t_mykonos.h:718
eit_config::nRefEl
uint16_t nRefEl
Definition: app.h:50
AD9081_TX_LOGICAL_LANE_MAPPING
#define AD9081_TX_LOGICAL_LANE_MAPPING
Definition: app_config.h:73
MUXBOARD_SIZE
#define MUXBOARD_SIZE
Definition: mux_board.h:46
AD9081_TX_JESD_HD
#define AD9081_TX_JESD_HD
Definition: app_config.h:69
GPIO_RESET_N
#define GPIO_RESET_N
Definition: parameters.h:55
ADC_TUNER
@ ADC_TUNER
Definition: t_mykonos.h:823
GPIO_UP_CRC_4_OR_16_N
#define GPIO_UP_CRC_4_OR_16_N
Definition: parameters.h:75
NO_OS_GPIO_HIGH
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:123
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:89
measurement_config::nFrequency
uint16_t nFrequency
Definition: app.h:54
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:127
altera_a10_fpll_init::name
const char * name
Definition: clk_altera_a10_fpll.h:58
iio_axi_adc_init_param
iio configuration.
Definition: iio_axi_adc.h:81
xil_gpio_init_param::device_id
uint32_t device_id
Definition: xilinx_gpio.h:74
AD9081_DAC_FREQUENCY
#define AD9081_DAC_FREQUENCY
Definition: app_config.h:48
AD7746_EXC_PIN_DISABLED
@ AD7746_EXC_PIN_DISABLED
Definition: ad7746.h:141
AD77681_POSITIVE_FS
@ AD77681_POSITIVE_FS
Definition: ad77681.h:385
measurement_config::bSweepEn
bool bSweepEn
Definition: app.h:61
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:524
hmc7044_dev
struct hmc7044_dev * hmc7044_dev
Definition: app_clock.c:58
axi_clkgen
Definition: clk_axi_clkgen.h:50
ClrMCUIntFlag
uint32_t ClrMCUIntFlag(void)
Definition: app.c:83
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:77
axi_jesd204_rx_init
int32_t axi_jesd204_rx_init(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization.
Definition: axi_jesd204_rx.c:559
AD9081_RX_JESD_VERSION
#define AD9081_RX_JESD_VERSION
Definition: app_config.h:88
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
runningCmd
unsigned int runningCmd
Definition: app.c:62
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:634
jesd204_rx_init::name
const char * name
Definition: axi_jesd204_rx.h:98
AD77681_CONTINUOUS_DATA_READ
@ AD77681_CONTINUOUS_DATA_READ
Definition: ad77681.h:492
no_os_gpio_direction_input
int32_t no_os_gpio_direction_input(struct no_os_gpio_desc *desc)
Enable the input direction of the specified GPIO.
Definition: no_os_gpio.c:108
AD7746_MODE_CONT
@ AD7746_MODE_CONT
Definition: ad7746.h:163
axi_adc_init::base
uint32_t base
Definition: axi_adc_core.h:146
AD9081_RX_JESD_L
#define AD9081_RX_JESD_L
Definition: app_config.h:95
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:446
spi_engine_offload_init_param::tx_dma_baseaddr
uint32_t tx_dma_baseaddr
Definition: spi_engine.h:149
ad7746_iio_remove
int32_t ad7746_iio_remove(struct ad7746_iio_dev *desc)
Definition: iio_ad7746.c:769
AD77681_CONV_CONTINUOUS
@ AD77681_CONV_CONTINUOUS
Definition: ad77681.h:365
ad7746_cap::capen
bool capen
Definition: ad7746.h:119
AD7768_RESOLUTION
#define AD7768_RESOLUTION
Definition: ad7768.h:110
AD7616_PARALLEL
@ AD7616_PARALLEL
Definition: ad7616.h:103
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:49
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:345
app_ad9083_init
Structure holding the parameters for ad9083 app initialization.
Definition: app_ad9083.h:12
ad7746_dev
Definition: ad7746.h:189
json_profile
const char * json_profile
Definition: Navassa_CMOS_profile.h:1
NIOS_II_GPIO
@ NIOS_II_GPIO
Definition: altera_gpio.h:59
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:78
adi_hal.h
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
eit_config::nForceDist
uint16_t nForceDist
Definition: app.h:48
ad9081_init_param::jrx_link_tx
struct link_init_param * jrx_link_tx
Definition: ad9081.h:155
tx_jesd
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:57
TALISE_DEVICE_ID_MAX
@ TALISE_DEVICE_ID_MAX
Definition: app_talise.h:52
no_os_gpio_init_param::platform_ops
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:93
RX1_ADC_BASEADDR
#define RX1_ADC_BASEADDR
Definition: parameters.h:103
NO_OS_SPI_MODE_3
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:72
iio_axi_adc_remove
int32_t iio_axi_adc_remove(struct iio_axi_adc_desc *desc)
Release resources.
Definition: iio_axi_adc.c:524
measurement_config::bImpedanceReadMode
bool bImpedanceReadMode
Definition: app.h:59
mykonosJesd204bFramerConfig_t::serializerLanesEnabled
uint8_t serializerLanesEnabled
Definition: t_mykonos.h:1197
iio_axi_adc_desc
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:59
WRITE_READ
#define WRITE_READ(no_bytes)
Definition: spi_engine.h:71
adi_hal::spi_adrv_csn
uint8_t spi_adrv_csn
Definition: adi_hal.h:33
ad7746_setup
Definition: ad7746.h:176
ad7768_evb_verify_status
uint8_t ad7768_evb_verify_status(struct xil_gpio_init_param *brd_gpio_init)
ad7768evb_verify_status
Definition: ad7768_evb.c:90
ad7616.h
Header file of AD7616 Driver.
SinFreqValUINT
unsigned int SinFreqValUINT
Definition: app.c:61
NO_OS_GPIO_LOW
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:121
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:492
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:123
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:128
app_clocking.h
Clock setup and initialization routines.
axi_dmac_remove
int32_t axi_dmac_remove(struct axi_dmac *dmac)
Definition: axi_dmac.c:360
SPI_CS_DECODE
#define SPI_CS_DECODE
Definition: xilinx_spi.h:53
AD9081_RX_JESD_M
#define AD9081_RX_JESD_M
Definition: app_config.h:89
no_os_clk.h
Header file of Clock Driver.
ID_AD7746
@ ID_AD7746
Definition: ad7746.h:114
AD7768_ACTIVE
@ AD7768_ACTIVE
Definition: ad7768.h:116
RX_DMA_BASEADDR
#define RX_DMA_BASEADDR
Definition: parameters.h:69
adi_hal::extra_spi
void * extra_spi
Definition: adi_hal.h:32
RX_OS_XCVR_BASEADDR
#define RX_OS_XCVR_BASEADDR
Definition: parameters.h:136
hmc7044_chan_spec
Definition: hmc7044.h:53
AD7768_DMA_BASEADDR
#define AD7768_DMA_BASEADDR
Definition: parameters.h:50
no_os_spi_init_param::chip_select
uint8_t chip_select
Definition: no_os_spi.h:127
AD7768_CH_NO
@ AD7768_CH_NO
Definition: ad7768.h:165
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:132
setMuxSwitch
void setMuxSwitch(struct no_os_i2c_desc *i2c, struct ad5940_dev *ad5940, struct electrode_combo sw, uint16_t nElCount)
Definition: mux_board.c:97
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:69
axi_dma_transfer
Definition: axi_dmac.h:106
no_os_min
#define no_os_min(x, y)
Definition: no_os_util.h:63
SPI_ENGINE_OFFLOAD_EXAMPLE
#define SPI_ENGINE_OFFLOAD_EXAMPLE
Definition: ad77681evb.c:98
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:142
Navassa_CMOS_profile.h
spi_engine_init_param::type
enum xil_spi_type type
Definition: spi_engine.h:93
electrode_combo::F_plus
uint16_t F_plus
Definition: mux_board.h:57
rx_dmac
struct axi_dmac * rx_dmac
Definition: main.c:169
CS_HIGH
#define CS_HIGH
Definition: spi_engine.h:78
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:126
MYKONOS_setupGpio
mykonosGpioErr_t MYKONOS_setupGpio(mykonosDevice_t *device)
Sets the Mykonos low voltage GPIO configuration registers.
Definition: mykonos_gpio.c:2835
hmc7044_clk_set_rate
int32_t hmc7044_clk_set_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t rate)
Definition: hmc7044.c:374
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:484
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:468
spi_engine_offload_init_param
struct spi_engine_offload_init_param spi_engine_offload_init_param
Definition: ad7616_sdz.c:65
adf4371_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: adf4371.h:90
NO_OS_DIV_ROUND_UP
#define NO_OS_DIV_ROUND_UP(x, y)
Definition: no_os_util.h:56
ad7746_init_param::setup
struct ad7746_setup setup
Definition: ad7746.h:186
GPIO_UP_FORMAT_1
#define GPIO_UP_FORMAT_1
Definition: parameters.h:72
AD7616_OSR_0
@ AD7616_OSR_0
Definition: ad7616.h:132
AD77681_AINn_ENABLED
@ AD77681_AINn_ENABLED
Definition: ad77681.h:427
OBS_RX1_SNIFFERLO
@ OBS_RX1_SNIFFERLO
Definition: t_mykonos.h:645
hmc7044_remove
int32_t hmc7044_remove(struct hmc7044_dev *device)
Definition: hmc7044.c:889
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:169
RX_QEC_INIT
@ RX_QEC_INIT
Definition: t_mykonos.h:836
tx_dmac
struct axi_dmac * tx_dmac
Definition: main.c:179
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:258
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:91
iio_app_device
Definition: iio_app.h:65
main
int main(void)
main
Definition: ad7768_evb.c:145
TX_XCVR_BASEADDR
#define TX_XCVR_BASEADDR
Definition: parameters.h:64
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:83
PHY_CS
#define PHY_CS
Definition: parameters.h:55
ad77681.h
Header file of the AD7768-1 Driver.
measurement_config::bMagnitudeMode
bool bMagnitudeMode
Definition: app.h:56
AD7768_MCLK_DIV_4
@ AD7768_MCLK_DIV_4
Definition: ad7768.h:129
ad7746_init_param
Definition: ad7746.h:183
RX2_DMA_BASEADDR
#define RX2_DMA_BASEADDR
Definition: parameters.h:98
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:358
altera_spi_init_param
Structure holding the initialization parameters for Altera platform specific SPI parameters.
Definition: altera_spi.h:62
rx_os_jesd
struct axi_jesd204_rx * rx_os_jesd
Definition: app_jesd.c:63
altera_adxcvr.h
Driver for the Altera ADXCVR Configuration.
MULTIDEVICE_INSTANCE_COUNT
#define MULTIDEVICE_INSTANCE_COUNT
Definition: app_config.h:45
axi_dac_init::name
const char * name
Definition: axi_dac_core.h:69
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:54
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:150
TX1_DMA_BASEADDR
#define TX1_DMA_BASEADDR
Definition: parameters.h:99
AD7768_CRC_4
@ AD7768_CRC_4
Definition: ad7768.h:151
ad7616_init_param
Definition: ad7616.h:165
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:70
AD77681_BUFp_ENABLED
@ AD77681_BUFp_ENABLED
Definition: ad77681.h:446
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:66
mykonosDigClocks_t::deviceClock_kHz
uint32_t deviceClock_kHz
Definition: t_mykonos.h:1528
electrode_combo
Definition: mux_board.h:56
tx_clkgen
struct axi_clkgen * tx_clkgen
Definition: app_clocking.c:97
adf4371_dev
Definition: adf4371.h:66
electrode_combo::S_plus
uint16_t S_plus
Definition: mux_board.h:58
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:67
ad9081_init_param::dev_clk
struct no_os_clk * dev_clk
Definition: ad9081.h:137
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:147
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:69
axi_dmac.h
Driver for the Analog Devices AXI-DMAC core.
DAC_DDR_BASEADDR
#define DAC_DDR_BASEADDR
Definition: parameters.h:47
iio_data_buffer
Definition: iio_app.h:60
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:148
ad9083.h
Header file of ad9083 Driver.
AD9081_RX_MAIN_DECIMATION
#define AD9081_RX_MAIN_DECIMATION
Definition: app_config.h:105
AD9081_RX_JESD_K
#define AD9081_RX_JESD_K
Definition: app_config.h:91
ad9528pll1Settings_t::vcxo_Frequency_Hz
uint32_t vcxo_Frequency_Hz
Definition: t_ad9528.h:108
AD77681_VCM_HALF_VCC
@ AD77681_VCM_HALF_VCC
Definition: ad77681.h:453
axi_dma_transfer::src_addr
uint32_t src_addr
Definition: axi_dmac.h:110
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:648
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:743
hmc7044_init_param
Definition: hmc7044.h:93
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:107
hmc7044_chan_spec::num
unsigned int num
Definition: hmc7044.h:54
app_jesd_init::uc
uint8_t uc
Definition: app_jesd.h:56
hmc7044_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: hmc7044.h:94
TX_BB_FILTER
@ TX_BB_FILTER
Definition: t_mykonos.h:822
AD9081_TX_JESD_CS
#define AD9081_TX_JESD_CS
Definition: app_config.h:66
app_clock_init
int32_t app_clock_init(struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])
Application clock setup.
Definition: app_clock.c:75
ad7746_setup::exc
struct ad7746_exc exc
Definition: ad7746.h:179
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:69
GPIO_UP_SSHOT
#define GPIO_UP_SSHOT
Definition: parameters.h:71
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:142
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:165
ad77681_init_param
Definition: ad77681.h:554
axi_dac_init
Definition: axi_dac_core.h:67
iio_axi_adc.h
Header file of iio_axi_adc.
no_os_clk_hw::dev
void * dev
Definition: no_os_clk.h:51
adxcvr_init
Definition: altera_adxcvr.h:108
ad7746_iio_init_param::ad7746_initial
struct ad7746_init_param * ad7746_initial
Definition: iio_ad7746.h:55
axi_adc_init_finish
int32_t axi_adc_init_finish(struct axi_adc *adc)
Begin AXI ADC Initialization.
Definition: axi_adc_core.c:567
spi_engine_offload_message::tx_addr
uint32_t tx_addr
Definition: spi_engine.h:171
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.
TRX_A_RESETB_GPIO
#define TRX_A_RESETB_GPIO
Definition: parameters.h:172
axi_dma_transfer::dest_addr
uint32_t dest_addr
Definition: axi_dmac.h:111
talise_setup
adiHalErr_t talise_setup(taliseDevice_t *const pd, taliseInit_t *const pi)
Definition: app_talise.c:87
AD9081_TX_JESD_VERSION
#define AD9081_TX_JESD_VERSION
Definition: app_config.h:60
no_os_gpio_remove
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:95
mykonosTxProfile_t::iqRate_kHz
uint32_t iqRate_kHz
Definition: t_mykonos.h:1292
adxcvr_init::name
const char * name
Definition: altera_adxcvr.h:109
xilinx_gpio.h
axi_dac_init::num_channels
uint8_t num_channels
Definition: axi_dac_core.h:73
AD9081_TX_JESD_SUBCLASS
#define AD9081_TX_JESD_SUBCLASS
Definition: app_config.h:59
AD9081_TX_JESD_NP
#define AD9081_TX_JESD_NP
Definition: app_config.h:65
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:355
iio_axi_dac_init_param::tx_dmac
struct axi_dmac * tx_dmac
Definition: iio_axi_dac.h:81
OFFLOAD_TX_EN
#define OFFLOAD_TX_EN
Definition: spi_engine.h:58
parameters.h
Configuration parameters for AD7746-EBZ demo project.
axi_dac
AXI DAC Device Descriptor.
Definition: axi_dac_core.h:54
rx_adc_init
struct axi_adc_init rx_adc_init
Definition: main.c:149
ad7616_dev::interface
enum ad7616_interface interface
Definition: ad7616.h:157
mykonosObsRxSettings_t::orxProfile
mykonosRxProfile_t * orxProfile
Definition: t_mykonos.h:1464
RX2_ADC_BASEADDR
#define RX2_ADC_BASEADDR
Definition: parameters.h:104
parameters.h
Parameters definition for AD7616-SDZ.
ParseResultMode
void ParseResultMode(struct measurement_config *pMeasCfg)
Definition: app.c:116
OBS_RXOFF
@ OBS_RXOFF
Definition: t_mykonos.h:640
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:100
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:80
no_os_gpio_desc
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:102
clk_altera_a10_fpll.h
Driver for the Altera FPLL.
ad7746_init_param::id
enum ad7746_id id
Definition: ad7746.h:185
axi_dma_transfer::cyclic
enum cyclic_transfer cyclic
Definition: axi_dmac.h:109
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: ad77681evb.c:60
altera_a10_fpll::name
const char * name
Definition: clk_altera_a10_fpll.h:51
iio_axi_dac_desc
Definition: iio_axi_dac.h:59
GetMCUIntFlag
uint32_t GetMCUIntFlag(void)
Definition: app.c:78
AD9081_RX_CHAN_DECIMATION
#define AD9081_RX_CHAN_DECIMATION
Definition: app_config.h:106
spi_engine_offload_message::commands
uint32_t * commands
Definition: spi_engine.h:165
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:434
spi_engine_offload_init_param::rx_dma_baseaddr
uint32_t rx_dma_baseaddr
Definition: spi_engine.h:147
MuxSupportedElectrodeCounts
void MuxSupportedElectrodeCounts()
Definition: app.c:289
TX_ATTENUATION_DELAY
@ TX_ATTENUATION_DELAY
Definition: t_mykonos.h:826
init_uart_stdio
void init_uart_stdio(struct no_os_uart_desc *desc)
jesd_status
void jesd_status(void)
Definition: app_jesd.c:156
mykonosDevice_t::rx
mykonosRxSettings_t * rx
Definition: t_mykonos.h:1698
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:78
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:70
adf4371_clk_recalc_rate
int32_t adf4371_clk_recalc_rate(struct adf4371_dev *dev, uint32_t chan, uint64_t *rate)
Definition: adf4371.c:697
AD9081_TX_MAIN_NCO_SHIFT
#define AD9081_TX_MAIN_NCO_SHIFT
Definition: app_config.h:78
AD7768_FAST
@ AD7768_FAST
Definition: ad7768.h:123
main
int main(void)
main
Definition: ad7616_sdz.c:128
ad7746_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_ad7746.h:47
app_ad9083.h
rx_adxcvr
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:59
iio_axi_dac_init_param::tx_dac
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:79
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
AD9081_ADC_FREQUENCY
#define AD9081_ADC_FREQUENCY
Definition: app_config.h:49
RX_XCVR_BASEADDR
#define RX_XCVR_BASEADDR
Definition: parameters.h:71
no_os_i2c_desc
Structure holding I2C descriptor.
Definition: no_os_i2c.h:81
RX_CLKGEN_BASEADDR
#define RX_CLKGEN_BASEADDR
Definition: parameters.h:52
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:70
AD9081_TX_JESD_K
#define AD9081_TX_JESD_K
Definition: app_config.h:63
AD9081_TX_CHAN_GAIN
#define AD9081_TX_CHAN_GAIN
Definition: app_config.h:80
AD77681_REG_READ
#define AD77681_REG_READ(x)
Definition: ad77681.h:322
AD9081_TX_DAC_CHAN_CROSSBAR
#define AD9081_TX_DAC_CHAN_CROSSBAR
Definition: app_config.h:82
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:78
hmc7044_hw
struct no_os_clk_hw hmc7044_hw
Definition: app_clock.c:60
adf4371_init_param
Definition: adf4371.h:89
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:55
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:64
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:69
TX1_DAC_BASEADDR
#define TX1_DAC_BASEADDR
Definition: parameters.h:105
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:79
adi_hal
Definition: adi_hal.h:27
ADC_BUFFER_SAMPLES
#define ADC_BUFFER_SAMPLES
Definition: parameters.h:146
altera_gpio_init_param
Structure holding the initialization parameters for Altera platform specific GPIO parameters.
Definition: altera_gpio.h:67
OFFLOAD_RX_EN
#define OFFLOAD_RX_EN
Definition: spi_engine.h:59
AD7616_SW
@ AD7616_SW
Definition: ad7616.h:97
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:515
adf4371_init
int32_t adf4371_init(struct adf4371_dev **device, const struct adf4371_init_param *init_param)
Definition: adf4371.c:746
axi_jesd204_tx
Definition: axi_jesd204_tx.h:82
app_clocking_init
Structure holding the parameters for clocking app initialization.
Definition: app_clocking.h:49
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:76
configMeasurement
void configMeasurement(struct measurement_config *oldCfg, struct measurement_config newCfg)
Definition: app.c:89
AD7746_EXCLVL_4_DIV_8
@ AD7746_EXCLVL_4_DIV_8
Definition: ad7746.h:150
GPIO_ADC_RESET_N
#define GPIO_ADC_RESET_N
Definition: parameters.h:62
hmc7044_clk_recalc_rate
int32_t hmc7044_clk_recalc_rate(struct hmc7044_dev *dev, uint32_t chan_num, uint64_t *rate)
Definition: hmc7044.c:329
axi_jesd204_rx_watchdog
int32_t axi_jesd204_rx_watchdog(struct axi_jesd204_rx *jesd)
JESD204 RX Watchdog.
Definition: axi_jesd204_rx.c:475
AD77681_CRC
@ AD77681_CRC
Definition: ad77681.h:390
rx_dmac_init
struct axi_dmac_init rx_dmac_init
Definition: main.c:160
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.h:57
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:939
AD77681_DMA_1_BASEADDR
#define AD77681_DMA_1_BASEADDR
Definition: parameters.h:51
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
axi_jesd204_tx_init
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:379
rx_os_clkgen
struct axi_clkgen * rx_os_clkgen
Definition: app_clocking.c:98
NO
@ NO
Definition: axi_dmac.h:102
ADXCVR_SYS_CLK_CPLL
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:54
app_config.h
Config file for AD9371 project.
adf4371_chan_spec::num
uint32_t num
Definition: adf4371.h:62
AD9081_RX_MAIN_NCO_SHIFT
#define AD9081_RX_MAIN_NCO_SHIFT
Definition: app_config.h:109
AD5940BiaStructInit
void AD5940BiaStructInit(void)
Definition: app.c:297
ucInterrupted
volatile uint32_t ucInterrupted
Definition: app.c:64
sine_lut_iq
const uint32_t sine_lut_iq[1024]
Definition: axi_dac_core.c:128
parameters.h
Parameters Definitions.
iio_axi_adc_init_param::rx_adc
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:83
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:411
UP_STATUS_OFFSET
#define UP_STATUS_OFFSET
Definition: parameters.h:79
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:596
TX2_DAC_BASEADDR
#define TX2_DAC_BASEADDR
Definition: parameters.h:106
axi_dmac_init
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:331
ad9081_init
int32_t ad9081_init(struct ad9081_phy **dev, const struct ad9081_init_param *init_param)
Definition: ad9081.c:1053
fpga_xcvr_deinit
void fpga_xcvr_deinit(void)
Definition: app_transceiver.c:193
ADC_default_init_param
struct ad77681_init_param ADC_default_init_param
Definition: ad77681evb.c:68
AD7768_SPI_CTRL
@ AD7768_SPI_CTRL
Definition: ad7768.h:141
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: aducm3029_uart.c:331
adrv9002_ssi_type_detect
enum adi_adrv9001_SsiType adrv9002_ssi_type_detect(struct adrv9002_rf_phy *phy)
Definition: headless.c:103
RX_CORE_BASEADDR
#define RX_CORE_BASEADDR
Definition: parameters.h:68
CYCLIC
@ CYCLIC
Definition: axi_dmac.h:103
tx_dmac_init
struct axi_dmac_init tx_dmac_init
Definition: main.c:170
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:120
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:56
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:128
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:103
ad9081_init_param
Definition: ad9081.h:134
iio_app_device::dev
void * dev
Definition: iio_app.h:67
app_jesd::jesd_rx_clk
struct no_os_clk jesd_rx_clk
Definition: app_jesd.h:75
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:71
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:456
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:89
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:160
aducm_i2c_ops
const struct no_os_i2c_platform_ops aducm_i2c_ops
ADuCM3029 platform specific I2C platform ops structure.
Definition: aducm3029_i2c.c:319
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
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:163
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:108
altera_a10_fpll
Definition: clk_altera_a10_fpll.h:50
AD9081_RX_JESD_NP
#define AD9081_RX_JESD_NP
Definition: app_config.h:93
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:254
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:661
axi_jesd204_rx
Definition: axi_jesd204_rx.h:69
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:53
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:471
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:63
axi_adc_remove
int32_t axi_adc_remove(struct axi_adc *adc)
AXI ADC Resources deallocation.
Definition: axi_adc_core.c:636
AD9081_RX_JESD_N
#define AD9081_RX_JESD_N
Definition: app_config.h:92
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:77
AD77681_SINC5_FIR_DECx32
@ AD77681_SINC5_FIR_DECx32
Definition: ad77681.h:406
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:76
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
ad7746_setup::cap
struct ad7746_cap cap
Definition: ad7746.h:177
hmc7044_clk_round_rate
int32_t hmc7044_clk_round_rate(struct hmc7044_dev *dev, uint32_t rate, uint64_t *rounded_rate)
Definition: hmc7044.c:357
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:463
no_os_uart_init_param::device_id
uint8_t device_id
Definition: no_os_uart.h:105
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:279
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:803
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:488
no_os_clk_hw::dev_clk_set_rate
int32_t(* dev_clk_set_rate)()
Definition: no_os_clk.h:55
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:70
app_jesd_status
uint32_t app_jesd_status(struct app_jesd *app)
Definition: app_jesd.c:132
tx_dac_init
struct axi_dac_init tx_dac_init
Definition: main.c:154
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:70
rx_jesd
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:56
ADXCVR_SYS_CLK_QPLL0
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:56
TRACK_TX1_QEC
@ TRACK_TX1_QEC
Definition: t_mykonos.h:853
swComboSeq
struct electrode_combo swComboSeq[256]
Definition: app.c:58
mykonos.h
Contains macro definitions and function prototypes for mykonos.c.
measurement_config
Definition: app.h:53
SYSREF_CONT_ON
@ SYSREF_CONT_ON
Definition: adi_hal.h:68
default_init_param
AD9361_InitParam default_init_param
Definition: main.c:181
AD77681_EVB_SAMPLE_NO
#define AD77681_EVB_SAMPLE_NO
Definition: parameters.h:50
MYKONOS_ERR_OK
@ MYKONOS_ERR_OK
Definition: t_mykonos.h:32
TX_DMA_BASEADDR
#define TX_DMA_BASEADDR
Definition: parameters.h:116
AD9081_TX_CHAN_NCO_SHIFT
#define AD9081_TX_CHAN_NCO_SHIFT
Definition: app_config.h:79
adxcvr_remove
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:494
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:95
axi_dac_remove
int32_t axi_dac_remove(struct axi_dac *dac)
AXI DAC Resources deallocation.
Definition: axi_dac_core.c:1022
ad7616_spi_init
struct no_os_spi_init_param ad7616_spi_init
Definition: ad7616_sdz.c:78
spi_engine_offload_init_param
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:145
SendResultFloat32
void SendResultFloat32(float *data, uint32_t DataCount)
Definition: app.c:237
no_os_gpio.h
Header file of GPIO Interface.
axi_dac_channel::sel
enum axi_dac_data_sel sel
Definition: axi_dac_core.h:100
app_clock_remove
int32_t app_clock_remove(void)
Application clocking remove.
Definition: app_clock.c:358
DC_OFFSET
@ DC_OFFSET
Definition: t_mykonos.h:825
iio_app_run
int32_t iio_app_run(struct iio_app_device *devices, uint32_t len)
Register devices and start an iio application.
jesd204_rx_init
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:96
get_sampling_frequency
int get_sampling_frequency(struct axi_adc *dev, uint32_t chan, uint64_t *sampling_freq_hz)
Definition: headless.c:80
platform_init
int32_t platform_init(void)
Initialize the power controller and set the core and peripherals clock divider.
Definition: platform_init.c:50
app_transceiver.h
FPGA XCVR setup and initialization routines.
ad77681_dev::spi_desc
struct no_os_spi_desc * spi_desc
Definition: ad77681.h:530
jesd204_tx_init::name
const char * name
Definition: axi_jesd204_tx.h:109
ad9081.h
Header file of AD9081 Driver.
mux_board.h
Cross-point switch handling code.
ad7746_iio_dev
Definition: iio_ad7746.h:45
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:374
AD77681_REG_ADC_DATA
#define AD77681_REG_ADC_DATA
Definition: ad77681.h:77
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:60
uart
struct no_os_uart_desc * uart
Definition: main.c:80
no_os_uart.h
Header file of UART interface.
GPIO_MODE_3_GPIO_3
#define GPIO_MODE_3_GPIO_3
Definition: parameters.h:63
GPIO_UP_CRC_ENABLE
#define GPIO_UP_CRC_ENABLE
Definition: parameters.h:74
axi_dmac_transfer_start
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:378
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:851
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:740
AXI_DAC_DATA_SEL_DMA
@ AXI_DAC_DATA_SEL_DMA
Definition: axi_dac_core.h:81
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:65
eit_config::nSenseDist
uint16_t nSenseDist
Definition: app.h:49
AppBuff
uint32_t AppBuff[APPBUFF_SIZE]
Definition: app.c:57
i2c
struct no_os_i2c_desc * i2c
Definition: main.c:79
GPIO_MODE_1_GPIO_1
#define GPIO_MODE_1_GPIO_1
Definition: parameters.h:61
mykonosRxProfile_t::iqRate_kHz
uint32_t iqRate_kHz
Definition: t_mykonos.h:1275
TX_JESD_BASEADDR
#define TX_JESD_BASEADDR
Definition: parameters.h:95
axi_clkgen_remove
int32_t axi_clkgen_remove(struct axi_clkgen *clkgen)
axi_clkgen_remove
Definition: clk_axi_clkgen.c:545
no_os_util.h
Header file of utility functions.
adf4371_chan_spec
Definition: adf4371.h:61
DAC_BUFFER_SAMPLES
#define DAC_BUFFER_SAMPLES
Definition: parameters.h:145
AD7616_CORE_BASEADDR
#define AD7616_CORE_BASEADDR
Definition: parameters.h:46
RX_OBS_DMA_BASEADDR
#define RX_OBS_DMA_BASEADDR
Definition: parameters.h:148
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:47
eit_config
Definition: app.h:46
spi_engine_init_param::ref_clk_hz
uint32_t ref_clk_hz
Definition: spi_engine.h:91
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:66
spi_engine_offload_message::rx_addr
uint32_t rx_addr
Definition: spi_engine.h:173
altera_spi_init_param::type
enum spi_type type
Definition: altera_spi.h:64
eit_config::nElectrodeCnt
uint16_t nElectrodeCnt
Definition: app.h:47
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
AD7768_HEADER_SIZE
#define AD7768_HEADER_SIZE
Definition: parameters.h:65
xilinx_spi.h
AD9081_TX_MAIN_INTERPOLATION
#define AD9081_TX_MAIN_INTERPOLATION
Definition: app_config.h:76
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:471
SendResultIeee754
void SendResultIeee754(float *data, uint32_t DataCount)
Definition: app.c:248
AD9081_TX_CHAN_INTERPOLATION
#define AD9081_TX_CHAN_INTERPOLATION
Definition: app_config.h:77
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:68
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:124
ad7768_init_param
Definition: ad7768.h:216
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
AD9081_RX_JESD_CS
#define AD9081_RX_JESD_CS
Definition: app_config.h:94
jesd204_tx_init
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:107
axi_dma_transfer::size
uint32_t size
Definition: axi_dmac.h:107
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:72
electrode_combo::F_minus
uint16_t F_minus
Definition: mux_board.h:60
AD7768_CRC_16
@ AD7768_CRC_16
Definition: ad7768.h:152
AD77681_MCLK_DIV_8
@ AD77681_MCLK_DIV_8
Definition: ad77681.h:359
ad7746_init_param::i2c_init
struct no_os_i2c_init_param i2c_init
Definition: ad7746.h:184
axi_adc_init::name
const char * name
Definition: axi_adc_core.h:144
ad7616_init_param::spi_param
struct no_os_spi_init_param * spi_param
Definition: ad7616.h:167
AD7746_VTMD_INT_TEMP
@ AD7746_VTMD_INT_TEMP
Definition: ad7746.h:126
AD7746_EXC_PIN_NORMAL
@ AD7746_EXC_PIN_NORMAL
Definition: ad7746.h:143
GPIO_UP_FORMAT_0
#define GPIO_UP_FORMAT_0
Definition: parameters.h:73
AD77681_SPI_ENG_REF_CLK_FREQ_HZ
#define AD77681_SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:54
adxcvr_clk_enable
int32_t adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:404
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:55
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:185
GPIO_MODE_0_GPIO_0
#define GPIO_MODE_0_GPIO_0
Definition: parameters.h:60
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:90
axi_dmac
Definition: axi_dmac.h:114
SendResult
void SendResult(uint32_t *pData, uint16_t len, bool bImpedanceReadMode, bool bMagnitudeMode)
Definition: app.c:261
AD77681_AINp_ENABLED
@ AD77681_AINp_ENABLED
Definition: ad77681.h:433
AD9081_RX_JESD_SUBCLASS
#define AD9081_RX_JESD_SUBCLASS
Definition: app_config.h:87
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:90
ADRV9001_I_Q_CHANNELS
#define ADRV9001_I_Q_CHANNELS
Definition: parameters.h:58
spi_msg_cmds
uint32_t spi_msg_cmds[6]
Definition: ad77681evb.c:58
app_clocking_remove
int32_t app_clocking_remove(struct app_clocking *app)
Free the resources allocated by app_clocking_init().
Definition: app_clocking.c:260
AD9081_TX_JESD_F
#define AD9081_TX_JESD_F
Definition: app_config.h:62
AD9081_RX_LOGICAL_LANE_MAPPING
#define AD9081_RX_LOGICAL_LANE_MAPPING
Definition: app_config.h:101
AD9081_RX_LINK_CONVERTER_SELECT
#define AD9081_RX_LINK_CONVERTER_SELECT
Definition: app_config.h:103
adxcvr_init
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:443
electrode_combo::S_minus
uint16_t S_minus
Definition: mux_board.h:59
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:121
axi_jesd204_tx.h
Driver for the Analog Devices AXI-JESD204-TX peripheral.
TALISE_NUM_CHANNELS
#define TALISE_NUM_CHANNELS
Definition: app_talise.h:57
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:145
adiHalErr_t
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42