no-OS
app_talise.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __APP_TALISE_H
34 #define __APP_TALISE_H
35 
36 #include <stdint.h>
37 #include "talise_types.h"
38 #include "adi_hal.h"
39 
41  TALISE_A = 0u,
42 #if defined(ZU11EG) || defined(FMCOMMS8_ZCU102)
43  TALISE_B,
44 #endif
45 
47 };
48 
49 #define TALISE_NUM_SUBCHANNELS 2 /* I - in-phase and Q - quadrature channels */
50 #define TALISE_NUM_CHAIN_CHANNELS 2 /* channels per RX/TX chain */
51 #define TALISE_NUM_CHANNELS (TALISE_DEVICE_ID_MAX * TALISE_NUM_CHAIN_CHANNELS * TALISE_NUM_SUBCHANNELS)
52 
53 adiHalErr_t talise_setup(taliseDevice_t * const talDev,
54  taliseInit_t * const talInit);
55 int talise_multi_chip_sync(taliseDevice_t * pd, int step);
56 void talise_shutdown(taliseDevice_t * const pd);
57 bool adrv9009_check_sysref_rate(uint32_t lmfc, uint32_t sysref);
58 
59 #endif /* __APP_TALISE_H */
app_talise.h
Talise initialization and control routines.
app_config.h
Config file for ADRV9009 project.
ADIHAL_spiWriteByte
adiHalErr_t ADIHAL_spiWriteByte(void *devHalInfo, uint16_t addr, uint8_t data)
Performs a Single SPI write to an ADI Device.
Definition: no_os_hal.c:163
SYSREF_CONT_OFF
@ SYSREF_CONT_OFF
Definition: adi_hal.h:69
app_jesd.h
JESD setup and initialization routines.
talise_multi_chip_sync
int talise_multi_chip_sync(taliseDevice_t *pd, int step)
Definition: app_talise.c:500
TALISE_A
@ TALISE_A
Definition: app_talise.h:41
ADIHAL_spiReadByte
adiHalErr_t ADIHAL_spiReadByte(void *devHalInfo, uint16_t addr, uint8_t *readdata)
Performs a Single SPI Read from an ADI Device.
Definition: no_os_hal.c:196
no_os_delay.h
Header file of Delay functions.
SYSREF_PULSE
@ SYSREF_PULSE
Definition: adi_hal.h:70
adi_hal.h
Contains Talise ADI HAL function prototypes type definitions for adi_hal.c.
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
taliseDeviceId
taliseDeviceId
Definition: app_talise.h:40
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
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
no_os_error.h
Error codes definition.
rx_os_jesd
struct axi_jesd204_rx * rx_os_jesd
Definition: app_jesd.c:57
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
talise_shutdown
void talise_shutdown(taliseDevice_t *const pd)
Definition: app_talise.c:756
adrv9009_check_sysref_rate
bool adrv9009_check_sysref_rate(uint32_t lmfc, uint32_t sysref)
Definition: app_talise.c:70
talise_setup
adiHalErr_t talise_setup(taliseDevice_t *const pd, taliseInit_t *const pi)
Definition: app_talise.c:81
talInit
taliseInit_t talInit
Definition: talise_config.c:82
ADIHAL_OK
@ ADIHAL_OK
Definition: adi_hal.h:43
axi_jesd204_tx_lane_clk_disable
int32_t axi_jesd204_tx_lane_clk_disable(struct axi_jesd204_tx *jesd)
JESD204 TX Lane Clock Disable.
Definition: axi_jesd204_tx.c:160
NO_OS_BIT
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
talise_multi_chip_sync
int talise_multi_chip_sync(taliseDevice_t *pd, int step)
Definition: app_talise.c:500
axi_jesd204_rx.h
Driver for the Analog Devices AXI-JESD204-RX peripheral.
rx_jesd
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:49
SYSREF_CONT_ON
@ SYSREF_CONT_ON
Definition: adi_hal.h:68
no_os_util.h
Header file of utility functions.
axi_jesd204_rx_lane_clk_disable
int32_t axi_jesd204_rx_lane_clk_disable(struct axi_jesd204_rx *jesd)
JESD204 RX Lane Clock Disable.
Definition: axi_jesd204_rx.c:202
talise_shutdown
void talise_shutdown(taliseDevice_t *const pd)
Definition: app_talise.c:756
adrv9009_check_sysref_rate
bool adrv9009_check_sysref_rate(uint32_t lmfc, uint32_t sysref)
Definition: app_talise.c:70
talise_setup
adiHalErr_t talise_setup(taliseDevice_t *const talDev, taliseInit_t *const talInit)
Definition: app_talise.c:81
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
axi_jesd204_tx.h
Driver for the Analog Devices AXI-JESD204-TX peripheral.
adiHalErr_t
adiHalErr_t
Enum of possible Errors Detected by HAL layer to be communicated to ADI APIs.
Definition: adi_hal.h:42