Go to the documentation of this file.
54 uint32_t reference_clk_khz,
55 uint32_t rx_device_clk_khz,
56 uint32_t tx_device_clk_khz,
57 uint32_t rx_lane_clk_khz,
58 uint32_t tx_lane_clk_khz);
#define RX_OS_JESD_BASEADDR
Definition: parameters.h:126
#define AD9081_TX_JESD_M
Definition: app_config.h:55
int32_t jesd204_clk_disable(struct jesd204_clk *clk)
Definition: jesd204_clk.c:81
Structure holding jesd app descriptor.
Definition: app_jesd.h:59
void jesd_deinit(void)
Definition: app_jesd.c:140
struct adxcvr * rx_adxcvr
Definition: app_jesd.h:63
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
jesd_clocks
Definition: app_jesd.h:42
struct no_os_clk_hw * hw
Definition: no_os_clk.h:65
Application configuration.
void jesd_rx_watchdog(void)
Definition: app_jesd.c:162
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:53
struct adxcvr * xcvr
Definition: jesd204_clk.h:48
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
JESD setup and initialization routines.
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:50
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
Definition: uc_settings.h:41
int32_t jesd204_clk_set_rate(struct jesd204_clk *clk, uint32_t chan, uint32_t rate)
Definition: jesd204_clk.c:113
Definition: no_os_clk.h:64
#define AD9081_TX_JESD_HD
Definition: app_config.h:63
int32_t axi_jesd204_rx_init(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization, JESD FSM ON.
Definition: axi_jesd204_rx.c:911
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
int32_t axi_jesd204_rx_remove(struct axi_jesd204_rx *jesd)
Free resoulces allocated for JESD204 RX peripheral.
Definition: axi_jesd204_rx.c:990
const char * name
Definition: axi_jesd204_rx.h:90
const char * name
Definition: no_os_clk.h:67
uint64_t(* clk_hz)[3]
Definition: uc_settings.h:43
const struct no_os_clk_desc * clk_desc
Definition: no_os_clk.h:68
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
Header file of Clock Driver.
struct uc_settings * get_uc_settings()
Get use case settings.
Definition: uc_settings.c:196
Driver for the ADI AXI-ADXCVR Module.
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:90
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:912
Use Case Settings of AD9083 project.
Analog Devices JESD204 clock.
uint64_t clk_hz[][3]
Definition: uc_settings.c:22
struct no_os_clk_hw jesd_rx_hw
Definition: app_jesd.h:67
#define TX_XCVR_BASEADDR
Definition: parameters.h:58
@ JESD_TX
Definition: app_jesd.h:44
struct axi_jesd204_rx * rx_os_jesd
Definition: app_jesd.c:57
#define MULTIDEVICE_INSTANCE_COUNT
Definition: app_config.h:39
Structure holding the parameters for app jesd initialization.
Definition: app_jesd.h:48
@ JESD_RX
Definition: app_jesd.h:43
#define AD9081_RX_JESD_K
Definition: app_config.h:87
struct axi_jesd204_rx * jesd_rx
Definition: jesd204_clk.h:49
#define AD9081_TX_JESD_CS
Definition: app_config.h:60
int32_t app_jesd_remove(struct app_jesd *app)
Free the resources allocated by app_jesd_init().
Definition: app_jesd.c:137
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
void * dev
Definition: no_os_clk.h:56
Definition: altera_adxcvr.h:102
Application JESD initialization.
const char * name
Definition: altera_adxcvr.h:103
#define AD9081_TX_JESD_SUBCLASS
Definition: app_config.h:53
#define AD9081_TX_JESD_NP
Definition: app_config.h:59
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
struct jesd204_clk rx_jesd_clk
Definition: app_jesd.h:65
@ ADIHAL_OK
Definition: adi_hal.h:43
int32_t(* dev_clk_enable)()
Definition: no_os_clk.h:57
adi_cms_jesd_param_t jtx_param[]
Definition: uc_settings.c:163
int32_t jesd204_clk_enable(struct jesd204_clk *clk)
Definition: jesd204_clk.c:51
void jesd_status(void)
Definition: app_jesd.c:151
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:52
int32_t(* dev_clk_disable)()
Definition: no_os_clk.h:58
Application JESD initialization.
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
#define AD9081_TX_JESD_K
Definition: app_config.h:57
adi_cms_jesd_param_t * jtx_param
Definition: uc_settings.h:65
#define AD9081_TX_JESD_N
Definition: app_config.h:58
@ NUM_JESD_CLKS
Definition: app_jesd.h:45
Definition: axi_jesd204_tx.h:70
int32_t axi_jesd204_rx_watchdog(struct axi_jesd204_rx *jesd)
JESD204 RX Watchdog.
Definition: axi_jesd204_rx.c:479
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:819
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
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
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:49
#define NULL
Definition: wrapper.h:64
struct no_os_clk jesd_rx_clk
Definition: app_jesd.h:69
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Definition: axi_jesd204_rx.h:57
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
int32_t(* dev_clk_set_rate)()
Definition: no_os_clk.h:60
Driver for the Analog Devices AXI-JESD204-RX peripheral.
#define RX_JESD_BASEADDR
Definition: parameters.h:65
uint32_t app_jesd_status(struct app_jesd *app)
Definition: app_jesd.c:127
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:50
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:489
@ ADIHAL_ERR
Definition: adi_hal.h:50
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.h:61
struct no_os_clk_desc * clk_out
Definition: axi_adxcvr.h:93
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
const char * name
Definition: axi_jesd204_tx.h:101
#define ADXCVR_REFCLK_DIV2
Definition: axi_adxcvr.h:56
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
#define TX_JESD_BASEADDR
Definition: parameters.h:90
Header file of utility functions.
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:99
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:104
#define AD9081_RX_JESD_SUBCLASS
Definition: app_config.h:83
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:125
#define AD9081_RX_JESD_F
Definition: app_config.h:86
#define AD9081_TX_JESD_F
Definition: app_config.h:56
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
Driver for the Analog Devices AXI-JESD204-TX peripheral.
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:79