Go to the documentation of this file.
15 #ifndef _MYKONOS_LIB_H_
16 #define _MYKONOS_LIB_H_
25 #define TX_PROFILE_VALID 0x01
26 #define RX_PROFILE_VALID 0x02
27 #define ORX_PROFILE_VALID 0x04
28 #define SNIFF_PROFILE_VALID 0x08
@ MYKONOS_ERR_WAITARMCMDSTATUS_TIMEOUT
Definition: t_mykonos.h:397
#define MYKONOS_ADDR_TX1_DPD_MODEL_INDIRECT_PTR
Definition: mykonos_macros.h:199
#define MYKONOS_ADDR_ORX_SNRX_OVRLD_PD_DEC_OVRLD_CFG
Definition: mykonos_macros.h:417
#define MYKONOS_ADDR_CLK_SYNTH_BYTE2
Definition: mykonos_macros.h:184
@ MYKONOS_ERR_SETUP_PA_PROT_INV_AVG_DURATION
Definition: t_mykonos.h:299
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_POWER_THRSH
Definition: mykonos_macros.h:351
mykonosErr_t MYKONOS_configDpd(mykonosDevice_t *device)
This function will configure DPD settings.
Definition: mykonos.c:13688
mykonosErr_t MYKONOS_getObsRxGain(mykonosDevice_t *device, uint8_t *gainIndex)
Gets the gain index of the currently enabled ObsRx channel.
Definition: mykonos.c:5513
#define DISABLE_DPD_ACTUATOR
Definition: mykonos_macros.h:697
uint8_t thb1Interpolation
Definition: t_mykonos.h:1289
@ MYKONOS_ERR_SETTX1ATTEN_INV_PARM
Definition: t_mykonos.h:78
#define MYKONOS_ADDR_DEFRAMER_PRBS20_ERR_CNTR_15_TO_8
Definition: mykonos_macros.h:126
@ MYKONOS_ERR_GETCLGCSTATUS_ARMERRFLAG
Definition: t_mykonos.h:406
#define MYKONOS_ARM_OBJECTID_CLGCCONFIG
Definition: mykonos_macros.h:668
@ MYKONOS_ERR_SETENSM_INVALID_NEWSTATE_TXRX
Definition: t_mykonos.h:40
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_INITARMDONE
Definition: t_mykonos.h:287
@ MYKONOS_ERR_CLGCATTENTUNCFG_NULL_ATTRANGECFGSTRUCT
Definition: t_mykonos.h:557
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_UPPER1_THRSH_GAIN_STEP
Definition: mykonos_macros.h:345
#define MYKONOS_ADDR_FRAMER_LMFC_K_OFFSET
Definition: mykonos_macros.h:54
#define START_LOOPBACK_GAIN_INDEX
Definition: mykonos_user.h:49
mykonosErr_t MYKONOS_getRxQecStatus(mykonosDevice_t *device, mykonosRxChannels_t rxChannel, mykonosRxQecStatus_t *rxQecStatus)
Returns the status of the RxQEC tracking calibration.
Definition: mykonos.c:12787
@ MYKONOS_ERR_ARMCMDSTATUS_ARMERROR
Definition: t_mykonos.h:396
@ MYKONOS_ERR_CHECKDEVSTRUCT_OBSRXSUB
Definition: t_mykonos.h:160
@ RX2_ADCPROFILE
Definition: t_mykonos.h:760
uint32_t updateCount
Definition: t_mykonos.h:1689
int32_t vswr_reflection_orx_rms
Definition: t_mykonos.h:1172
@ MYKONOS_ERR_GETRFPLL_LF_NULLPARAM
Definition: t_mykonos.h:519
@ MYKONOS_ERR_SETDPDACT_INV_STATE
Definition: t_mykonos.h:425
@ MYKONOS_ERR_GETORXQECSTATUS_ARMERRFLAG
Definition: t_mykonos.h:473
#define MYKONOS_ADDR_OBS_FRAMER_TEST_CNTR_CTL
Definition: mykonos_macros.h:618
Contains macro definitions and function prototypes for mykonos_gpio.c.
@ MYKONOS_ERR_SETSTATE_TRACK_CAL_INV
Definition: t_mykonos.h:484
#define MAX_TX_IQRATE_KHZ
Definition: mykonos_user.h:67
@ MYKONOS_ERR_INV_AGC_RX_HB2_OVLD_ENABLE
Definition: t_mykonos.h:220
@ MYKONOS_ERR_RXPROFILE_IQRATE
Definition: t_mykonos.h:501
@ MYK_ARM_IDLE
Definition: t_mykonos.h:906
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:261
@ MYKONOS_ERR_SETRX2GAIN_INV_GAIN_PARM
Definition: t_mykonos.h:93
#define MYKONOS_ADDR_DESERIALIZER_CTL_0
Definition: mykonos_macros.h:142
mykonosErr_t MYKONOS_setDpdActuatorCheck(mykonosDevice_t *device, mykonosDpdActuatorCheck_t *actCheck)
DPD feature to set the actuator gain difference check. If the gain before and after the actuator exce...
Definition: mykonos.c:18202
@ MYKONOS_ERR_DIG_DC_OFFSET_INV_ENABLE_MASK
Definition: t_mykonos.h:529
mykonosErr_t MYKONOS_obsRxInjectPrbsError(mykonosDevice_t *device)
Initiates a PRBS error injection into the Observation RX data path.
Definition: mykonos.c:10828
@ MYKONOS_ERR_DESER_INV_LANEEN_PARM
Definition: t_mykonos.h:115
@ MYKONOS_ERR_ENTXNCO_TXPROFILE_INVALID
Definition: t_mykonos.h:339
@ MYK_ARM_EXCEPTION
Definition: t_mykonos.h:910
mykonosErr_t MYKONOS_setRfPllLoopFilter(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint16_t loopBandwidth_kHz, uint8_t stability)
Sets the RF PLL loop filter bandwith.
Definition: mykonos.c:17439
mykonosErr_t MYKONOS_setupObsRxAgc(mykonosDevice_t *device)
Sets up the device ObsRx Automatic Gain Control (AGC) registers.
Definition: mykonos.c:5714
#define MYKONOS_ADDR_ORX_SNRX_OVRLD_PD_DEC_OVRLD_VERYLOW_THRSH
Definition: mykonos_macros.h:420
#define SET_CLGC_DESIRED_GAIN_2
Definition: mykonos_macros.h:700
mykonosErr_t MYKONOS_setObsRxAgcMinMaxGainIndex(mykonosDevice_t *device, mykonosObsRxChannels_t obsRxChannelSelect, uint8_t maxGainIndex, uint8_t minGainIndex)
This function sets the min/max gain indexes for AGC in the observation channel.
Definition: mykonos.c:4608
@ MYK_DPD_PATH_DELAY
Definition: t_mykonos.h:872
@ MYKONOS_ERR_TXPROFILE_FIR_COEFS
Definition: t_mykonos.h:509
#define MYKONOS_ARM_OBJECTID_TRACKING_CAL_PENDING
Definition: mykonos_macros.h:675
mykonosErr_t MYKONOS_resetDpd(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdResetMode_t reset)
This function resets the DPD model.
Definition: mykonos.c:14576
@ MYK_BUILD_RELEASE
Definition: t_mykonos.h:941
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_LOWER0_THRSH_GAIN_STEP
Definition: mykonos_macros.h:344
@ OBS_SNIFFER
Definition: t_mykonos.h:644
@ MYKONOS_ERR_SETCLGCGAIN_INV_DESIREDGAIN
Definition: t_mykonos.h:389
mykonosErr_t MYKONOS_getObsRxTempGainComp(mykonosDevice_t *device, int16_t *obsRxTempCompGain_mdB)
This function gets the Temperature gain compensation for the observation channel.
Definition: mykonos.c:4972
@ MYKONOS_ERR_SETORXGAIN_INV_ORX2GAIN
Definition: t_mykonos.h:360
@ MYKONOS_ERR_INV_AGC_RX_HB2_VERY_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:217
#define MYKONOS_ADDR_ARM_BRIDGE_CLK_CTL
Definition: mykonos_macros.h:571
@ MYKONOS_ERR_GETSTATEALL_TRACK_ARMERROR
Definition: t_mykonos.h:482
#define MYKONOS_ADDR_DIGITAL_DC_OFFSET_CONFIG
Definition: mykonos_macros.h:439
@ MYKONOS_ERR_INV_AGC_RX_PMD_LOWER_LOW_GAIN_STEP
Definition: t_mykonos.h:207
@ OBS_SNIFFER_C
Definition: t_mykonos.h:649
#define MYKONOS_ADDR_TX2_ATTENUATION_1_READBACK
Definition: mykonos_macros.h:469
@ MYKONOS_ERR_ARM_INVALID_BUILDCHKSUM
Definition: t_mykonos.h:146
@ MYKONOS_ERR_ARMSTATE_PROFILE_ERROR
Definition: t_mykonos.h:491
#define MYKONOS_ADDR_TX1_ATTENUATION_1_READBACK
Definition: mykonos_macros.h:467
@ MYK_VSWR_PATH_DELAY
Definition: t_mykonos.h:874
#define MYKONOS_ADDR_OBS_FRAMER_CLK_EN
Definition: mykonos_macros.h:605
@ MYK_BUILD_TEST_OBJECT
Definition: t_mykonos.h:943
@ MYK_ARM_RADIO_ON
Definition: t_mykonos.h:907
#define MYKONOS_ADDR_ARM_BUILD_CHKSUM_ADDR
Definition: mykonos_macros.h:647
mykonosErr_t MYKONOS_getApiVersion(mykonosDevice_t *device, uint32_t *siVer, uint32_t *majorVer, uint32_t *minorVer, uint32_t *buildVer)
Get API version number.
Definition: mykonos.c:328
mykonosErr_t MYKONOS_jesd204bIlasCheck(mykonosDevice_t *device, uint16_t *mismatch)
Reads the lane 0 JESD204B deframer configuration and compares it against the ILAS received values.
Definition: mykonos.c:11014
mykonosErr_t MYKONOS_readEventStatus(mykonosDevice_t *device, waitEvent_t waitEvent, uint8_t *eventDone)
Performs a readback with no wait for a Mykonos calibration or Pll Lock.
Definition: mykonos.c:1750
@ MYKONOS_ERR_INV_AGC_RX_PEAK_WAIT_TIME_PARM
Definition: t_mykonos.h:182
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_GAIN_UPDATE_CTR_2
Definition: mykonos_macros.h:348
#define MYKONOS_ADDR_OBS_FRAMER_STATUS_STRB
Definition: mykonos_macros.h:619
#define MYKONOS_SUBADDR_DEFRAMER_LANE0_ILAS_CFG
Definition: mykonos_macros.h:77
#define MYKONOS_ADDR_OBS_FRAMER_WRITE_EN
Definition: mykonos_macros.h:608
mykonosErr_t MYKONOS_getOrxQecStatus(mykonosDevice_t *device, mykonosObsRxChannels_t orxChannel, mykonosOrxQecStatus_t *orxQecStatus)
Returns the status of the ORxQEC tracking calibration.
Definition: mykonos.c:12894
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RXPLL_LOCK
Definition: t_mykonos.h:273
#define MYKONOS_ADDR_AGC_MANUAL_GAIN_INDEX_CH_1
Definition: mykonos_macros.h:252
int32_t platform_remove(void)
Definition: common.c:115
@ MYK_PRBS31
Definition: t_mykonos.h:708
@ MYKONOS_ERR_ARMSTATE_CAL_ERROR
Definition: t_mykonos.h:492
mykonosRxChannels_t
Enum of possible Rx channels.
Definition: t_mykonos.h:627
uint32_t iterCount
Definition: t_mykonos.h:1676
uint32_t selfcheckIrrDb
Definition: t_mykonos.h:1675
@ COMMONERR_OK
Definition: common.h:42
@ MYKONOS_ERR_CFGCLGC_INV_TXATTENLIMIT
Definition: t_mykonos.h:387
#define MYKONOS_ADDR_DESERIALIZER_CDR_CAL_CTL
Definition: mykonos_macros.h:153
mykonosErr_t MYKONOS_setPathDelay(mykonosDevice_t *device, mykonosPathdelay_t *pathDelay)
This function will configure the path delay settings for all the features: DPD, VSWR and CLGC.
Definition: mykonos.c:17757
#define MYKONOS_ADDR_ORX_SNRX_OVRLD_PD_DEC_OVRLD_LOWER_THRSH
Definition: mykonos_macros.h:419
@ MYKONOS_ERR_GET_API_VERSION_NULL_PARAM
Definition: t_mykonos.h:497
mykonosErr_t MYKONOS_setClgcGain(mykonosDevice_t *device, mykonosTxChannels_t txChannel, int16_t gain)
This function updates the CLGC desired gain parameter.
Definition: mykonos.c:15165
mykonosErr_t MYKONOS_configClgc(mykonosDevice_t *device)
This function will configure CLGC settings.
Definition: mykonos.c:14658
#define MYKONOS_ADDR_AGC_OVRG_GAIN_STEP_4
Definition: mykonos_macros.h:258
@ MYKONOS_ERR_GETTXLOLSTATUS_INV_CH
Definition: t_mykonos.h:463
@ MYKONOS_ERR_SETSTATEALL_TRACK_CAL_INV
Definition: t_mykonos.h:477
@ MYKONOS_ERR_INITDES_INV_VCODIV_PARM
Definition: t_mykonos.h:97
@ MYK_OBS_PROFILE
Definition: t_mykonos.h:728
#define MYKONOS_ADDR_ARM_BOOT_ADDR_BYTE_1
Definition: mykonos_macros.h:564
@ MYKONOS_ERR_OBSRX_FRAMER_INV_BANKID_PARM
Definition: t_mykonos.h:124
#define MYKONOS_ADDR_AGC_SLOW_POWER_THRSH
Definition: mykonos_macros.h:333
@ HYBRID
Definition: t_mykonos.h:802
uint32_t updateCount
Definition: t_mykonos.h:1677
mykonosErr_t MYKONOS_readOrxFramerStatus(mykonosDevice_t *device, uint8_t *obsFramerStatus)
Reads the transceiver's Observation RX framer status.
Definition: mykonos.c:10577
@ TRACK_TX1_VSWR
Definition: t_mykonos.h:859
mykonosErr_t MYKONOS_programRxGainTable(mykonosDevice_t *device, uint8_t *gainTablePtr, uint8_t numGainIndexesInTable, mykonosGainTable_t rxChannel)
Programs the gain table settings for either Rx1, Rx2, Rx1 + Rx2, ORx, or SnRx receiver types.
Definition: mykonos.c:3354
@ MYKONOS_ERR_DC_OFFSET_INV_CHAN
Definition: t_mykonos.h:521
@ MYKONOS_ERR_INV_AGC_RX_APD_HIGH_THRESH_PARM
Definition: t_mykonos.h:184
mykonosErr_t MYKONOS_initArm(mykonosDevice_t *device)
Resets the ARM processor and performs initialization.
Definition: mykonos.c:13061
mykonosErr_t MYKONOS_setRxPfirSyncClk(mykonosDevice_t *device)
Sets the digital Rx PFIR SYNC clock divider.
Definition: mykonos.c:2634
mykonosErr_t MYKONOS_setupJesd204bObsRxFramer(mykonosDevice_t *device)
Sets up the JESD204B OBSRX Framer.
Definition: mykonos.c:9472
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
#define MYKONOS_ADDR_ARM_OPCODE_STATE_5
Definition: mykonos_macros.h:596
@ MYKONOS_ERR_PROGRAMFIR_COEFS_NULL
Definition: t_mykonos.h:320
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RCALDONE
Definition: t_mykonos.h:285
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_CALPLL_LOCK
Definition: t_mykonos.h:269
#define MYKONOS_ADDR_ARM_VERSION
Definition: mykonos_macros.h:649
mykonosErr_t MYKONOS_setRx1ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx1 Manual Gain Index.
Definition: mykonos.c:3687
#define MYKONOS_ADDR_DEFRAMER_ADDR
Definition: mykonos_macros.h:82
@ GPIO_PS
Definition: xilinx_gpio.h:56
#define MYKONOS_ADDR_AGC_ORX_SNRX_LOCK_LEVEL
Definition: mykonos_macros.h:277
mykonosErr_t MYKONOS_setAllTrackCalState(mykonosDevice_t *device, uint32_t trackingCalMask)
Suspend or resume tracking calibrations in RADIO_ON.
Definition: mykonos.c:12015
@ SPI_PS
Definition: xilinx_spi.h:62
#define MYKONOS_ADDR_SERIALIZER_HS_DIV_TXSER_CLK_EN
Definition: mykonos_macros.h:137
#define MYKONOS_ADDR_ARM_BOOT_ADDR_BYTE_3
Definition: mykonos_macros.h:566
@ MYKONOS_ERR_CLGCATTENTUNCFG_INVALID_TX1_SETTINGS
Definition: t_mykonos.h:561
#define MYKONOS_ADDR_AHB_SPI_BRIDGE
Definition: mykonos_macros.h:562
#define MYKONOS_ARM_SYSTEMSTATE_IDLE
Definition: mykonos_macros.h:681
@ MYKONOS_ERR_GETDPD_ERROR_CNT_ARMERRFLAG
Definition: t_mykonos.h:545
@ MYK_SNIFFER_PROFILE
Definition: t_mykonos.h:729
@ MYKONOS_ERR_CFGDPD_INV_DPDOUTLIERTHRESH
Definition: t_mykonos.h:384
@ MYKONOS_ERR_GET_OBSRX_OVERLOADS_NULL_PARM
Definition: t_mykonos.h:307
@ MYKONOS_ERR_INV_AGC_RX_PMD_LOWER_HIGH_THRESH
Definition: t_mykonos.h:203
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
int32_t vswr_forward_tx_rms
Definition: t_mykonos.h:1169
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:159
mykonosErr_t MYKONOS_readArmCmdStatusByte(mykonosDevice_t *device, uint8_t opCode, uint8_t *cmdStatByte)
Isolated byte read of the Mykonos ARM 64-bit command status register based on the opcode.
Definition: mykonos.c:16067
@ MYKONOS_ERR_INV_SCALEDDEVCLK_PARAM
Definition: t_mykonos.h:67
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_HIGH_THRESH_PARM
Definition: t_mykonos.h:260
int16_t * coefs
Definition: t_mykonos.h:1182
@ MYKONOS_ERR_WRITEARMCFG_ARMERRFLAG
Definition: t_mykonos.h:379
#define SET_PATH_DELAY
Definition: mykonos_macros.h:701
@ MYKONOS_ERR_INV_AGC_RX_PMD_LOWER_HIGH_GAIN_STEP
Definition: t_mykonos.h:208
mykonosErr_t MYKONOS_configVswr(mykonosDevice_t *device)
This function, when called during RadioOff, will configure VSWR settings.
Definition: mykonos.c:15253
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_UPPER_HIGH_GAIN_STEP
Definition: t_mykonos.h:256
mykonosErr_t MYKONOS_enableSysrefToRxFramer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's RX framer.
Definition: mykonos.c:10437
@ MYKONOS_ERR_SAVDPDMOD_WRONGBUFFERSIZE
Definition: t_mykonos.h:375
#define AD9371_CS
Definition: parameters.h:161
@ OBS_RX1_TXLO
Definition: t_mykonos.h:641
mykonosErr_t MYKONOS_setClgcAttenTuningConfig(mykonosDevice_t *device, mykonosClgcAttenTuningConfig_t *attRangeCfg)
CLGC feature to set the TX attenuation tuning range to a relative range around a nominal value.
Definition: mykonos.c:18313
#define MYKONOS_ADDR_TX_ABBF_FREQ_CAL_NCO_Q_MSB
Definition: mykonos_macros.h:495
@ MYKONOS_ERR_SETENSM_INVALID_NEWSTATE_ALERT
Definition: t_mykonos.h:39
@ RX_RFDC_CALDONE
Definition: t_mykonos.h:757
mykonosErr_t MYKONOS_getRfDcOffsetCnt(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint16_t *measureCount)
retrieves the measure count which is the number of samples taken before DC offset correction is appli...
Definition: mykonos.c:17231
@ TRACK_ORX1_QEC
Definition: t_mykonos.h:849
#define MYKONOS_ARM_DPD_RESET
Definition: mykonos_macros.h:662
uint8_t rxFirDecimation
Definition: t_mykonos.h:1271
#define MYKONOS_ADDR_ARM_OPCODE_STATE_3
Definition: mykonos_macros.h:594
@ OBSRX_B_FIR
Definition: t_mykonos.h:779
@ MYKONOS_ERR_GETDPDCFG_TXORX_PROFILE_INV
Definition: t_mykonos.h:400
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_LOWER_HIGH_GAIN_STEP
Definition: t_mykonos.h:254
commonErr_t CMB_writeToLog(ADI_LOGLEVEL level, uint8_t deviceIndex, uint32_t errorCode, const char *comment)
Definition: common.c:250
#define MYKONOS_ADDR_FRAMER_SYSREF_FIFO_EN
Definition: mykonos_macros.h:46
mykonosErr_t MYKONOS_getRx2Gain(mykonosDevice_t *device, uint8_t *rx2GainIndex)
Reads the Rx2 Gain Index for Manual or AGC gain control mode.
Definition: mykonos.c:3824
@ MYKONOS_ERR_GETCLGCCFG_NULL_CFGSTRUCT
Definition: t_mykonos.h:430
#define MYKONOS_ADDR_AGC_OVRG_GAIN_STEP_2
Definition: mykonos_macros.h:256
#define MYKONOS_ADDR_ARM_ADDR_BYTE_0
Definition: mykonos_macros.h:555
mykonosErr_t MYKONOS_resetDeframer(mykonosDevice_t *device)
Resets the JESD204B Deframer.
Definition: mykonos.c:8099
@ RF_SNIFFERPLL_LOCK
Definition: t_mykonos.h:754
@ MYKONOS_ERR_INV_AGC_RX_PWR_STRUCT_INIT
Definition: t_mykonos.h:196
#define LID0(x)
Definition: ad9144.h:1252
@ MYKONOS_ERR_TXFIR_INV_GAIN_PARM
Definition: t_mykonos.h:87
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_HIGH_GAIN_STEP_PARM
Definition: t_mykonos.h:259
mykonosErr_t MYKONOS_setupRxAgc(mykonosDevice_t *device)
Sets up the device Rx Automatic Gain Control (AGC) registers.
Definition: mykonos.c:3954
mykonosErr_t MYKONOS_getTx2Attenuation(mykonosDevice_t *device, uint16_t *tx2Attenuation_mdB)
Reads back the Tx2 RF output Attenuation.
Definition: mykonos.c:6563
#define MYKONOS_ADDR_DPD_SNIFFER_CONFIGURATION_CONTROL_1
Definition: mykonos_macros.h:159
#define MYKONOS_ADDR_RX_NCO_CH1_FTW_BYTE_2
Definition: mykonos_macros.h:209
mykonosErr_t MYKONOS_getVswrStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosVswrStatus_t *vswrStatus)
This function reads the VSWR calibration status from the Mykonos ARM processor.
Definition: mykonos.c:15477
@ MYKONOS_ERR_DEFRAMER_INV_K_OFFSET_PARAM
Definition: t_mykonos.h:131
mykonosErr_t MYKONOS_setRx2TempGainComp(mykonosDevice_t *device, int16_t rx2TempCompGain_mdB)
This function sets the Temperature gain compensation for Rx2 channel.
Definition: mykonos.c:4824
#define MYKONOS_ADDR_PRODUCT_ID
Definition: mykonos_macros.h:24
mykonosErr_t MYKONOS_getRx1TempGainComp(mykonosDevice_t *device, int16_t *rx1TempCompGain_mdB)
This function gets the Temperature gain compensation for Rx1.
Definition: mykonos.c:4771
#define MYKONOS_ARM_OBJECTID_RXQEC_TRACKING
Definition: mykonos_macros.h:664
Header file of SPI Interface.
@ MYKONOS_ERR_DESER_INV_LANERATE_PARM
Definition: t_mykonos.h:114
#define ORX_PROFILE_VALID
Definition: mykonos.h:27
#define MIN_RX_RFBW_HZ
Definition: mykonos_user.h:75
@ MYKONOS_ERR_CFGVSWR_ARMSTATE_ERROR
Definition: t_mykonos.h:436
#define MYKONOS_ADDR_AGC_ORX_SNRX_OVRG_GAIN_STEP_5
Definition: mykonos_macros.h:282
#define MYKONOS_ADDR_PFIR_COEFF_ADDR
Definition: mykonos_macros.h:640
@ MYKONOS_ERR_INIT_INV_SNIFFER_RHB1
Definition: t_mykonos.h:53
@ RF_RXPLL_LOCK
Definition: t_mykonos.h:750
@ MYKONOS_ERR_INITSER_INV_VCODIV1P5_HSCLK_PARM
Definition: t_mykonos.h:96
@ MYKONOS_ERR_SETCLGCGAIN_TRACK_ARMERRFLAG
Definition: t_mykonos.h:391
#define CF(x)
Definition: ad9144.h:1287
#define MYKONOS_ADDR_ORX_SNRX_OVRLD_ADC_OVRLD_CFG
Definition: mykonos_macros.h:416
mykonosErr_t MYKONOS_getClgcStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosClgcStatus_t *clgcStatus)
This function reads the CLGC calibration status from the Mykonos ARM processor.
Definition: mykonos.c:15000
#define MYKONOS_ADDR_CLK_SYNTH_DIVIDER_FRAC_BYTE2
Definition: mykonos_macros.h:181
@ MYKONOS_ERR_SER_INV_AMP_PARM
Definition: t_mykonos.h:102
@ MYKONOS_ERR_SETUP_PA_PROT_INV_POWER_THRESH
Definition: t_mykonos.h:303
#define MYKONOS_ADDR_SERIALIZER_CTL_2
Definition: mykonos_macros.h:135
@ MYKONOS_ERR_INV_RXFRAMER_PCLKDIV_PARM
Definition: t_mykonos.h:172
#define MYKONOS_DEC_POWER_CONFIG_1
Definition: mykonos_macros.h:376
mykonosErr_t MYKONOS_getVswrConfig(mykonosDevice_t *device)
Definition: mykonos.c:15397
#define MIN_ORX_GAIN_TABLE_INDEX
Definition: mykonos_user.h:43
@ MYKONOS_ERR_INV_AGC_OBSRX_PEAK_WAIT_TIME_PARM
Definition: t_mykonos.h:225
#define MYKONOS_ARM_OBJECTID_ORX_MODE
Definition: mykonos_macros.h:672
#define JESDV(x)
Definition: ad9144.h:1280
#define MYKONOS_ADDR_OBS_FRAMER_PRBS20_CTL
Definition: mykonos_macros.h:629
#define MYKONOS_ADDR_DESERIALIZER_MISC_CTL
Definition: mykonos_macros.h:147
uint16_t tx1AttenTuningRange
Definition: t_mykonos.h:1115
#define MYKONOS_SUBADDR_DEFRAMER_LANE0_ILAS_RECVD
Definition: mykonos_macros.h:76
#define MYKONOS_ADDR_TX1_ATTENUATION_1
Definition: mykonos_macros.h:480
#define MYKONOS_ADDR_AGC_LOCK_LEVEL
Definition: mykonos_macros.h:254
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT
Definition: t_mykonos.h:37
#define MYKONOS_ARM_OBJECTID_GS_TRACKCALS
Definition: mykonos_macros.h:663
commonErr_t CMB_wait_ms(uint32_t time_ms)
Definition: common.c:287
mykonosRfPllName_t
Enum of RF PLL names.
Definition: t_mykonos.h:714
#define MYKONOS_ADDR_AGC_SLOW_LOCK_LEV_THRSH
Definition: mykonos_macros.h:318
#define MYKONOS_ADDR_TX_PD_OVERRIDE_CONTROL_7_0
Definition: mykonos_macros.h:601
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
@ MYKONOS_ERR_ARM_INV_ADDR_PARM
Definition: t_mykonos.h:332
@ MYKONOS_ERR_INV_AGC_RX_PEAK_STRUCT_INIT
Definition: t_mykonos.h:194
uint8_t initErrCal
Definition: t_mykonos.h:1543
mykonosErr_t MYKONOS_restoreDpdModel(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t *modelDataBuffer, uint32_t modelNumberBytes)
This function will allow loading of the DPD model file.
Definition: mykonos.c:14142
uint16_t bypassActuatorLevel
Definition: t_mykonos.h:1061
mykonosErr_t MYKONOS_writeArmConfig(mykonosDevice_t *device, uint8_t objectId, uint16_t offset, uint8_t *data, uint8_t byteCount)
Low level helper function used by Mykonos API to write the ARM memory config structures.
Definition: mykonos.c:15799
mykonosErr_t MYKONOS_getRx2DecPower(mykonosDevice_t *device, uint16_t *rx2DecPower_mdBFS)
Performs a power measurement in the Rx2 digital data path.
Definition: mykonos.c:5168
uint32_t calsMinimum
Definition: t_mykonos.h:1542
@ MYKONOS_ERR_SET_ORX_MAX_GAIN_INDEX
Definition: t_mykonos.h:450
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
mykonosErr_t MYKONOS_setupPaProtection(mykonosDevice_t *device, uint16_t powerThreshold, uint8_t attenStepSize, uint8_t avgDuration, uint8_t stickyFlagEnable, uint8_t txAttenControlEnable)
Writes Mykonos device registers with settings for the PA Protection block.
Definition: mykonos.c:6757
@ MYKONOS_ERR_ERR_DEFRAMER_INV_LANEID_PARM
Definition: t_mykonos.h:130
@ RX2
Definition: t_mykonos.h:631
@ RF_SNIFFERPLLCP
Definition: t_mykonos.h:753
@ MYKONOS_ERR_SER_LANE_CONFLICT_PARM
Definition: t_mykonos.h:105
@ MYKONOS_ERR_CFGVSWR_TXORX_PROFILE_INV
Definition: t_mykonos.h:435
#define MYKONOS_ADDR_DPD_SNIFFER_CONFIGURATION_CONTROL_2
Definition: mykonos_macros.h:160
#define MYKONOS_ADDR_FRAMER_PRBS20_CTL
Definition: mykonos_macros.h:66
mykonosErr_t MYKONOS_initialize(mykonosDevice_t *device)
Initializes the Mykonos device based on the desired device settings.
Definition: mykonos.c:600
#define MYKONOS_ADDR_AGC_SLOW_GAIN_UPDATE_CNT_3
Definition: mykonos_macros.h:331
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
mykonosErr_t MYKONOS_waitArmCmdStatus(mykonosDevice_t *device, uint8_t opCode, uint32_t timeoutMs, uint8_t *cmdStatByte)
Mykonos ARM command status wait function polls command status until opcode completes.
Definition: mykonos.c:16128
uint32_t errorCode
Definition: t_mykonos.h:1673
@ ADIHAL_LOG_ERROR
Definition: common.h:51
uint8_t chipSelectIndex
valid 1~8
Definition: common.h:62
@ MYKONOS_ERR_INITARM_INV_ARMCLK_PARAM
Definition: t_mykonos.h:141
@ MYKONOS_ERR_PU_OBSRXPATH_INV_LOSOURCE_PARAM
Definition: t_mykonos.h:176
@ MYKONOS_ERR_OBS_RX_TEMP_GAIN_COMP_NULL
Definition: t_mykonos.h:461
#define K(x)
Definition: ad9144.h:1263
mykonosErr_t MYKONOS_getTxFilterOverRangeStatus(mykonosDevice_t *device, uint8_t *txFilterStatus)
Checks the Tx Filter over-range bit assignments for digital clipping in the Tx data path.
Definition: mykonos.c:6614
mykonosErr_t MYKONOS_runInitCals(mykonosDevice_t *device, uint32_t calMask)
Runs the Mykonos initialization calibrations.
Definition: mykonos.c:11272
@ INITARM_DONE
Definition: t_mykonos.h:764
#define MAX_SNRX_GAIN_TABLE_NUMINDEXES
Definition: mykonos_user.h:46
mykonosErr_t MYKONOS_getTrackingCalState(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal, uint8_t *trackCalState)
Get the Suspended or Resumed state for individual tracking calibration.
Definition: mykonos.c:12353
#define MYKONOS_ARM_SET_OPCODE
Definition: mykonos_macros.h:655
#define MYKONOS_ADDR_DIGITAL_TEST_BYTE_0
Definition: mykonos_macros.h:550
mykonosErr_t MYKONOS_enableSysrefToDeframer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's deframer.
Definition: mykonos.c:10497
#define MYKONOS_ADDR_DESERIALIZER_SIN_SHAPE_0
Definition: mykonos_macros.h:143
@ MYKONOS_ERR_INV_AGC_OBSRX_STRUCT_INIT
Definition: t_mykonos.h:223
#define MYKONOS_ADDR_ENSM_CONFIG_7_0
Definition: mykonos_macros.h:218
Data structure used to read back CLGC calibration status.
Definition: t_mykonos.h:1587
@ MYKONOS_ERR_GETORXQECSTATUS_INV_CH
Definition: t_mykonos.h:472
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_1
Definition: mykonos_macros.h:155
mykonosErr_t MYKONOS_enableRxGainCtrSyncPulse(mykonosDevice_t *device, uint8_t enable)
Enables or disables the Rx slow loop gain counter to use the sync pulse.
Definition: mykonos.c:5018
@ MYKONOS_ERR_INV_AGC_PMD_MEAS_DURATION
Definition: t_mykonos.h:191
#define MYKONOS_ADDR_RX2_TEMP_GAIN_COMP
Definition: mykonos_macros.h:241
@ MYKONOS_ERR_SETRFPLL_LF_INV_SNF_LOOPBANDWIDTH
Definition: t_mykonos.h:516
@ MYKONOS_ERR_RX2_TEMP_GAIN_COMP_NULL
Definition: t_mykonos.h:460
@ MYKONOS_ERR_RESETDPD_INV_TXCHANNEL
Definition: t_mykonos.h:532
mykonosErr_t MYKONOS_sendArmCommand(mykonosDevice_t *device, uint8_t opCode, uint8_t *extendedData, uint8_t extendedDataNumBytes)
Sends a command to the Mykonos ARM processor.
Definition: mykonos.c:15925
mykonosErr_t MYKONOS_setRx2ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx2 Manual Gain index.
Definition: mykonos.c:3733
mykonosErr_t MYKONOS_checkArmState(mykonosDevice_t *device, mykonosArmState_t armStateCheck)
Verifies the ARM status once it is start running.
Definition: mykonos.c:13498
@ MYKONOS_ERR_GET_PATH_DELAY_NULL_PARAM
Definition: t_mykonos.h:538
@ MYKONOS_ERR_CFGCLGC_INV_PNSEQLEVEL
Definition: t_mykonos.h:434
@ MYKONOS_ERR_INIT_INV_RXSYNCB_ORXSYNCB_MODE
Definition: t_mykonos.h:46
@ MYKONOS_ERR_GETTXQECSTATUS_ARMERRFLAG
Definition: t_mykonos.h:467
@ MYK_ARM_POWERUP
Definition: t_mykonos.h:904
mykonosErr_t MYKONOS_verifyDeviceDataStructure(mykonosDevice_t *device)
Verifies the integrity of the Mykonos device data structure.
Definition: mykonos.c:435
@ RX1_GT
Definition: t_mykonos.h:787
mykonosErr_t MYKONOS_getRx1DecPower(mykonosDevice_t *device, uint16_t *rx1DecPower_mdBFS)
Performs a power measurement in the Rx1 digital data path.
Definition: mykonos.c:5123
commonErr_t CMB_memWrite(uint32_t offset, uint32_t *data, uint32_t len)
Definition: common.c:345
#define MYKONOS_ADDR_TX1_DPD_MODEL_WORKING_PTR
Definition: mykonos_macros.h:202
mykonosErr_t MYKONOS_enableDeframerPrbsChecker(mykonosDevice_t *device, uint8_t lanes, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Configures and enables or disables the transceiver's deframer PRBS checker.
Definition: mykonos.c:10862
Header file of Delay functions.
@ MYKONOS_ERR_INV_AGC_RX_LOW_THS_PREV_GAIN_INC
Definition: t_mykonos.h:193
mykonosErr_t MYKONOS_getObsRxPathSource(mykonosDevice_t *device, mykonosObsRxChannels_t *obsRxCh)
Reads back the currently enabled Observation Rx channel in the radioOn state.
Definition: mykonos.c:5343
#define MYKONOS_ADDR_GAIN_TABLE_RX3_LNA_ENAB
Definition: mykonos_macros.h:396
#define MYKONOS_ADDR_AGC_ORX_SNRX_CFG_2
Definition: mykonos_macros.h:272
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_ARMBUSY
Definition: t_mykonos.h:286
@ MYKONOS_ERR_RESTDPDMOD_ARMERRFLAG
Definition: t_mykonos.h:374
@ MYKONOS_ERR_INV_AGC_OBSRX_APD_HIGH_GAIN_STEP_PARM
Definition: t_mykonos.h:257
#define MYKONOS_ADDR_TX_PD_OVERIDE_7_0
Definition: mykonos_macros.h:222
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
Data structure to hold Mykonos FIR filter settings.
Definition: t_mykonos.h:1178
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
@ MYKONOS_ERR_TXPROFILE_FILTER_INTERPOLATION
Definition: t_mykonos.h:508
Data structure to hold Rx QEC Status.
Definition: t_mykonos.h:1671
uint16_t dpdMaxAdaptation
Definition: t_mykonos.h:1580
uint32_t dpdTrackCount
Definition: t_mykonos.h:1576
@ MYKONOS_ERR_GETORX2GAIN_INV_POINTER
Definition: t_mykonos.h:75
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RXPLLCP
Definition: t_mykonos.h:272
#define MIN_RX_IQRATE_KHZ
Definition: mykonos_user.h:63
mykonosErr_t MYKONOS_getRfPllLoopFilter(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint16_t *loopBandwidth_kHz, uint8_t *stability)
Gets the RF PLL loop filter bandwidth and stability.
Definition: mykonos.c:17555
@ MYKONOS_ERR_NULL_DEVICE_PARAM
Definition: t_mykonos.h:68
uint32_t trackCount
Definition: t_mykonos.h:1162
@ MYKONOS_ERR_GETVSWRSTATUS_NULLPARAM
Definition: t_mykonos.h:445
mykonosErr_t MYKONOS_getPathDelay(mykonosDevice_t *device, mykonosPathDelaySel_t select, mykonosPathdelay_t *pathDelay)
This function will read the current path delay settings for the selected calibration.
Definition: mykonos.c:17863
#define MYKONOS_ADDR_SERIALIZER_CTL_3
Definition: mykonos_macros.h:136
#define MYKONOS_ARM_WRITECFG_OPCODE
Definition: mykonos_macros.h:653
@ MYKONOS_ERR_INV_AGC_RX_RESET_ON_RX_ENABLE
Definition: t_mykonos.h:197
@ TX2_FIR
Definition: t_mykonos.h:773
#define MYKONOS_ADDR_RFDC_ORX_MEASURE_COUNT_1
Definition: mykonos_macros.h:435
mykonosErr_t MYKONOS_getDeviceRev(mykonosDevice_t *device, uint8_t *revision)
Reads back the silicon revision for the Mykonos Device.
Definition: mykonos.c:271
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_GAIN_UPDATE_CTR_1
Definition: mykonos_macros.h:347
@ MYKONOS_ERR_RX1_TEMP_GAIN_COMP_STEP
Definition: t_mykonos.h:456
#define MYKONOS_ADDR_AGC_SLOW_UPPER0_THRSH_GAIN_STEP
Definition: mykonos_macros.h:325
@ MYKONOS_ERR_GETSTATEALL_TRACK_NULL_PARAM
Definition: t_mykonos.h:480
mykonosErr_t MYKONOS_getProductId(mykonosDevice_t *device, uint8_t *productId)
Reads back the Product ID for the Mykonos Device.
Definition: mykonos.c:294
uint32_t dpdErrorStatus
Definition: t_mykonos.h:1575
@ MYKONOS_ERR_CFGCLGC_TXORX_PROFILE_INV
Definition: t_mykonos.h:427
@ MYKONOS_ERR_GETTXQECSTATUS_NULLPARAM
Definition: t_mykonos.h:465
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_VERY_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:263
mykonosErr_t MYKONOS_programFir(mykonosDevice_t *device, mykonosfirName_t filterToProgram, mykonosFir_t *firFilter)
Configures one or more FIR filters in the device.
Definition: mykonos.c:2799
#define MYKONOS_ARM_OBJECTID_CAL_STATUS
Definition: mykonos_macros.h:670
struct no_os_gpio_desc * gpio_ad9528_resetb
Definition: common.c:38
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_TXPLLCP
Definition: t_mykonos.h:274
uint32_t errorCode
Definition: t_mykonos.h:1685
uint32_t calsDoneLifetime
Definition: t_mykonos.h:1541
@ MYKONOS_ERR_INV_AGC_RX_SLOW_LOOP_SETTLING_DELAY
Definition: t_mykonos.h:198
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_MEAS_CONFIG
Definition: t_mykonos.h:236
@ MYKONOS_ERR_INV_PARM
Definition: t_mykonos.h:34
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
#define MYKONOS_ADDR_OBS_FRAMER_CONFIG_F
Definition: mykonos_macros.h:610
@ MYKONOS_ERR_ENTXNCO_TX1_FREQ_INVALID
Definition: t_mykonos.h:340
@ TRACK_TX2_QEC
Definition: t_mykonos.h:854
@ VCODIV_2
Definition: t_mykonos.h:697
This structure contains the DPD error status counters for the different errors.
Definition: t_mykonos.h:1650
#define MYKONOS_ADDR_GAIN_TABLE_RX1_EXT_CTL
Definition: mykonos_macros.h:390
@ MYKONOS_ERR_TXPROFILE_RFBW
Definition: t_mykonos.h:507
#define MYKONOS_ADDR_MCS_CONTROL
Definition: mykonos_macros.h:173
@ MYKONOS_ERR_LOADARMCON_INVALID_BYTECOUNT
Definition: t_mykonos.h:333
@ NIOS_II_SPI
Definition: altera_spi.h:48
@ MYKONOS_ERR_GET_PA_FLAG_STATUS_INV_POINTER
Definition: t_mykonos.h:306
@ OBS_RX2_TXLO
Definition: t_mykonos.h:642
mykonosErr_t MYKONOS_rxInjectPrbsError(mykonosDevice_t *device)
Injects a PRBS error into the RX data path.
Definition: mykonos.c:10800
mykonosErr_t MYKONOS_loadArmConcurrent(mykonosDevice_t *device, uint8_t *binary, uint32_t count)
Loads binary byte array into ARM program memory. This API function allows user to load the ARM concur...
Definition: mykonos.c:13317
@ MYKONOS_ERR_ENFRAMERLINK_INV_LANESEN_PARM
Definition: t_mykonos.h:337
mykonosErr_t MYKONOS_setObsRxGainControlMode(mykonosDevice_t *device, mykonosGainMode_t mode)
Configures the ObsRx gain control mode.
Definition: mykonos.c:6284
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
int8_t gain_dB
Definition: t_mykonos.h:1180
@ MYKONOS_ERR_DESER_INV_L_PARM
Definition: t_mykonos.h:112
@ MYKONOS_ERR_DEFRAMER_INV_PRBS_ENABLE_PARAM
Definition: t_mykonos.h:136
@ MYKONOS_ERR_INV_AGC_OBSRX_SLOW_LOOP_SETTLING_DELAY
Definition: t_mykonos.h:244
uint16_t tx2AttenTuningRange
Definition: t_mykonos.h:1116
@ MYKONOS_ERR_SER_INV_PREEMP_PARM
Definition: t_mykonos.h:103
mykonosErr_t MYKONOS_setDigDcOffsetEn(mykonosDevice_t *device, uint8_t enableMask)
Enable/ Disable Digital DC Offset channels using the channel mask. The mask can be a combination of t...
Definition: mykonos.c:17650
mykonosErr_t MYKONOS_getDigDcOffsetMShift(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint8_t *mShift)
retrieves the M-Shift value which is the Corner frequency of Rx notch filter for the given channel....
Definition: mykonos.c:17374
uint32_t errorStatus
Definition: t_mykonos.h:1613
@ MYKONOS_ERR_CFGDPD_TXORX_PROFILE_INV
Definition: t_mykonos.h:380
@ MYKONOS_ERR_ARMCMD_INV_OPCODE_PARM
Definition: t_mykonos.h:149
mykonosErr_t MYKONOS_setDpdActState(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t actState)
This function sets the state of the DPD actuator.
Definition: mykonos.c:14475
@ MYKONOS_ERR_INIT_INV_TXHB2_INTERPOLATION
Definition: t_mykonos.h:48
#define MYKONOS_ADDR_DPD_SNIFFER_DIGITAL_GAIN_CONFIG
Definition: mykonos_macros.h:387
@ MYKONOS_ERR_SETENSM_INVALID_NEWSTATE_WAIT
Definition: t_mykonos.h:38
@ TX_PLL
Definition: t_mykonos.h:718
#define START_ORX_GAIN_INDEX
Definition: mykonos_user.h:41
@ RF_RXPLLCP
Definition: t_mykonos.h:749
#define MYKONOS_ADDR_AGC_SLOW_LLB_CNT_THRSH
Definition: mykonos_macros.h:320
#define MYKONOS_ADDR_FRAMER_STATUS_STRB
Definition: mykonos_macros.h:56
#define MYKONOS_ADDR_AGC_ORX_SNRX_ACTIVE
Definition: mykonos_macros.h:295
commonErr_t CMB_hasTimeoutExpired()
Definition: common.c:319
#define MYKONOS_ADDR_RFDC_SNF_MEASURE_COUNT_2
Definition: mykonos_macros.h:434
mykonosErr_t MYKONOS_enableObsRxFramerLink(mykonosDevice_t *device, uint8_t enable)
Enables/Disables the JESD204B ObsRx Framer.
Definition: mykonos.c:9956
#define MYKONOS_ADDR_OBS_TEMP_GAIN_COMP
Definition: mykonos_macros.h:242
@ MYK_ARM_READY
Definition: t_mykonos.h:905
#define MYKONOS_ARM_OBJECTID_VSWRINIT_CONFIG
Definition: mykonos_macros.h:660
mykonosErr_t MYKONOS_clearDeframerPrbsCounters(mykonosDevice_t *device)
Clears the deframer/deserializer PRBS counters.
Definition: mykonos.c:10963
Definition: ad9361_util.h:69
#define MYKONOS_ADDR_AGC_ORX_SNRX_OVRG_GAIN_STEP_4
Definition: mykonos_macros.h:281
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RFDCCALDONE
Definition: t_mykonos.h:280
@ MYKONOS_ERR_WAIT_INITCALS_CALFAILED
Definition: t_mykonos.h:314
@ MYKONOS_ERR_PROGRAMFIR_NULL_PARM
Definition: t_mykonos.h:319
mykonosErr_t MYKONOS_readFir(mykonosDevice_t *device, mykonosfirName_t filterToRead, mykonosFir_t *firFilter)
Reads the FIR filter programmed into the device.
Definition: mykonos.c:3094
@ MYKONOS_ERR_SETRX1GAIN_INV_GAIN_PARM
Definition: t_mykonos.h:92
#define MYKONOS_ADDR_AGC_OVRG_GAIN_STEP_5
Definition: mykonos_macros.h:259
#define MYKONOS_ADDR_DEFRAMER_PRBS20_ERR_CNTR_23_TO_16
Definition: mykonos_macros.h:127
Data structure to hold Tx QEC Status.
Definition: t_mykonos.h:1659
mykonosErr_t MYKONOS_resetDevice(mykonosDevice_t *device)
Performs a hard reset on the MYKONOS DUT (Toggles RESETB pin on device)
Definition: mykonos.c:248
@ MYKONOS_ERR_SETDPDACTCHECK_INV_ACTMODE
Definition: t_mykonos.h:553
mykonosErr_t MYKONOS_getInitCalStatus(mykonosDevice_t *device, mykonosInitCalStatus_t *initCalStatus)
Gets the device initialization calibration status.
Definition: mykonos.c:11499
#define MYKONOS_ADDR_FRAMER_LANE_CTL
Definition: mykonos_macros.h:48
int32_t number
Definition: no_os_gpio.h:83
#define MYKONOS_ADDR_AGC_SLOW_GAIN_UPDATE_CNT_1
Definition: mykonos_macros.h:329
mykonosErr_t MYKONOS_readRxFramerStatus(mykonosDevice_t *device, uint8_t *framerStatus)
Reads the transceiver's RX framer status.
Definition: mykonos.c:10536
@ MYKONOS_ERR_JESD204B_ILAS_MISMATCH
Definition: t_mykonos.h:168
mykonosErr_t MYKONOS_setupDeserializers(mykonosDevice_t *device)
Sets up the JESD204B Deserializers.
Definition: mykonos.c:8737
@ MYKONOS_ERR_READFIR_INV_FIRNAME_PARM
Definition: t_mykonos.h:90
mykonosErr_t MYKONOS_initSubRegisterTables(mykonosDevice_t *device)
Write indirect registers (Programmable FIRs, Rx gain tables, JESD204B settings). Must be done after M...
Definition: mykonos.c:1377
@ MYKONOS_ERR_GET_RF_DC_OFFSET_NULL_MEASURECNT
Definition: t_mykonos.h:524
mykonosErr_t MYKONOS_setupJesd204bFramer(mykonosDevice_t *device)
Sets up the JESD204B Framer.
Definition: mykonos.c:8986
@ MYK_SNRXA_B_C
Definition: t_mykonos.h:677
#define MYKONOS_ADDR_CLK_SYNTH_CAL_STAT
Definition: mykonos_macros.h:191
mykonosErr_t MYKONOS_setRfPllLoopFilter(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint16_t loopBandwidth_kHz, uint8_t stability)
Sets the RF PLL loop filter bandwith.
Definition: mykonos.c:17439
#define MYKONOS_ADDR_OBS_FRAMER_ADC_XBAR_SEL
Definition: mykonos_macros.h:612
#define MYKONOS_ADDR_DEFRAMER_STAT
Definition: mykonos_macros.h:97
@ MYKONOS_ERR_SER_INV_TXSER_DIV_PARM
Definition: t_mykonos.h:106
commonErr_t CMB_setTimeout_ms(uint32_t timeOut_ms)
Definition: common.c:301
#define MYKONOS_ADDR_AGC_SLOW_LOWER1_THRSH_GAIN_STEP
Definition: mykonos_macros.h:328
mykonosErr_t MYKONOS_writeArmMem(mykonosDevice_t *device, uint32_t address, uint8_t *data, uint32_t byteCount)
Write to the Mykonos ARM program or data memory.
Definition: mykonos.c:15686
@ MYKONOS_ERR_CFGCLGC_INV_THRESHOLD
Definition: t_mykonos.h:531
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_ADCTUNECALDONE
Definition: t_mykonos.h:281
mykonosErr_t MYKONOS_setObsRxAgcMinMaxGainIndex(mykonosDevice_t *device, mykonosObsRxChannels_t obsRxChannelSelect, uint8_t maxGainIndex, uint8_t minGainIndex)
This function sets the min/max gain indexes for AGC in the observation channel.
Definition: mykonos.c:4608
#define MYKONOS_ADDR_TX2_DPD_MODEL_WORKING_PTR
Definition: mykonos_macros.h:203
mykonosErr_t MYKONOS_enableRxFramerPrbs(mykonosDevice_t *device, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Selects the PRBS type and enables or disables RX Framer PRBS20 generation.
Definition: mykonos.c:10723
#define MYKONOS_ADDR_DEFRAMER_RESET
Definition: mykonos_macros.h:80
@ MYKONOS_ERR_SET_RX_MAX_GAIN_INDEX
Definition: t_mykonos.h:446
mykonosErr_t MYKONOS_setAllTrackCalState(mykonosDevice_t *device, uint32_t trackCals)
Suspend or resume tracking calibrations in RADIO_ON.
Definition: mykonos.c:12015
@ MYKONOS_ERR_WRITE_CFG_MEMORY_FAILED
Definition: t_mykonos.h:171
@ MYKONOS_ERR_SETUP_PA_PROT_INV_ATTEN_STEP
Definition: t_mykonos.h:301
@ MYKONOS_ERR_OBSRX_FRAMER_INV_PRBS_POLYORDER_PARAM
Definition: t_mykonos.h:135
@ MYKONOS_ERR_GETRFPLL_INV_PLLNAME
Definition: t_mykonos.h:352
@ MYKONOS_ERR_CLGCATTENTUNCFG_INVALID_MODE
Definition: t_mykonos.h:558
#define MYKONOS_ADDR_TX_TPC_CONFIG
Definition: mykonos_macros.h:490
#define MYKONOS_ADDR_RXFE1_LOCM
Definition: mykonos_macros.h:400
#define MYKONOS_ADDR_AGC_CFG_2
Definition: mykonos_macros.h:246
#define MYKONOS_ADDR_AGC_RX1_MAX_GAIN_INDEX
Definition: mykonos_macros.h:248
@ MYKONOS_ERR_OBSRX_FRAMER_INV_REAL_IF_DATA_PARM
Definition: t_mykonos.h:127
@ RX_ADCTUNER_CALDONE
Definition: t_mykonos.h:758
mykonosErr_t MYKONOS_enablePaProtection(mykonosDevice_t *device, uint8_t paProtectEnable)
Enables the Mykonos PA Protection block according to the parameters passed in MYKONOS_setupPaProtecti...
Definition: mykonos.c:6833
@ MYKONOS_ERR_INV_AGC_PMD_MEAS_CONFIG
Definition: t_mykonos.h:190
mykonosErr_t MYKONOS_getApiVersion(mykonosDevice_t *device, uint32_t *siVer, uint32_t *majorVer, uint32_t *minorVer, uint32_t *buildVer)
Get API version number.
Definition: mykonos.c:328
#define MYKONOS_ADDR_TX_FILTER_OVERFLOW
Definition: mykonos_macros.h:470
@ MYKONOS_ERR_RESTDPDMOD_WRONGBUFFERSIZE
Definition: t_mykonos.h:371
@ MYKONOS_ERR_INV_AGC_OBSRX_APD_HIGH_THRESH_PARM
Definition: t_mykonos.h:227
mykonosErr_t MYKONOS_readEventStatus(mykonosDevice_t *device, waitEvent_t waitEvent, uint8_t *eventDone)
Performs a readback with no wait for a Mykonos calibration or Pll Lock.
Definition: mykonos.c:1750
@ MYK_ORX1_ORX2
Definition: t_mykonos.h:673
mykonosGainMode_t
Enum to set the Rx Gain control mode.
Definition: t_mykonos.h:798
@ MYKONOS_ERR_INITARM_INV_VCODIV
Definition: t_mykonos.h:355
#define MYKONOS_ADDR_AGC_ORX_SNRX_MIN_GAIN_INDEX
Definition: mykonos_macros.h:274
mykonosErr_t MYKONOS_getOrxQecStatus(mykonosDevice_t *device, mykonosObsRxChannels_t orxChannel, mykonosOrxQecStatus_t *orxQecStatus)
Returns the status of the ORxQEC tracking calibration.
Definition: mykonos.c:12894
int32_t reflectedGainImag
Definition: t_mykonos.h:1168
mykonosErr_t MYKONOS_readArmCmdStatus(mykonosDevice_t *device, uint16_t *errorWord, uint16_t *statusWord)
Reads the Mykonos ARM 64-bit command status register.
Definition: mykonos.c:16005
#define MYKONOS_ADDR_DESERIALIZER_PDET_CTL
Definition: mykonos_macros.h:141
#define MYKONOS_ADDR_GAIN_TABLE_RX3_FE_GAIN
Definition: mykonos_macros.h:395
mykonosErr_t MYKONOS_getDacPower(mykonosDevice_t *device, mykonosTxChannels_t channel, uint16_t *channelPower)
Obtains an estimate of a TX channel's accumulated power over the sample duration provided in MYKONOS_...
Definition: mykonos.c:6870
@ MYKONOS_ERR_LOADHEX_INVALID_FIRSTCHAR
Definition: t_mykonos.h:143
int32_t txRms
Definition: t_mykonos.h:1618
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_0
Definition: mykonos_macros.h:22
#define MYKONOS_ADDR_OBS_FRAMER_STATUS
Definition: mykonos_macros.h:620
#define MAX_ORX_RFBW_HZ
Definition: mykonos_user.h:73
int32_t forwardGainRms_dB
Definition: t_mykonos.h:1163
@ MYKONOS_ERR_ARMCMDSTATUS_NULL_PARM
Definition: t_mykonos.h:325
#define MYKONOS_ADDR_RX_LOOPBACK1_CNTRL_4
Definition: mykonos_macros.h:404
@ MYKONOS_ERR_ARM_RADIOOFF_FAILED
Definition: t_mykonos.h:312
#define MYKONOS_ADDR_DESERIALIZER_SPECIAL
Definition: mykonos_macros.h:152
uint32_t errorCounter[MYK_DPD_ERROR_END]
Definition: t_mykonos.h:1653
Definition: t_mykonos.h:1142
mykonosErr_t MYKONOS_getTx1Attenuation(mykonosDevice_t *device, uint16_t *tx1Attenuation_mdB)
Reads back the Tx1 RF output Attenuation.
Definition: mykonos.c:6515
#define MYKONOS_ADDR_FRAMER_TEST_CNTR_CTL
Definition: mykonos_macros.h:55
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_LLB_CNT_THRSH
Definition: mykonos_macros.h:337
@ MYKONOS_ERR_GETPRODUCTID_NULL_PARAM
Definition: t_mykonos.h:496
@ TX2
Definition: t_mykonos.h:620
#define MYKONOS_ADDR_ARM_STACK_PTR_BYTE_2
Definition: mykonos_macros.h:569
@ MYKONOS_ERR_INV_AGC_RX_HB2_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:215
@ MYKONOS_ERR_LOAD_RXADCPROFILE_ARMMEM_FAILED
Definition: t_mykonos.h:348
@ MYKONOS_ERR_CHECKDEVSTRUCT_SPI
Definition: t_mykonos.h:152
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
#define MYKONOS_ADDR_AGC_LLB_THRSH
Definition: mykonos_macros.h:266
@ CLK_PLL
Definition: t_mykonos.h:716
@ ORX_GT
Definition: t_mykonos.h:790
@ MYKONOS_ERR_RXPROFILE_RFBW
Definition: t_mykonos.h:502
uint32_t rfBandwidth_Hz
Definition: t_mykonos.h:1276
commonErr_t CMB_setSPIOptions(spiSettings_t *spiSettings)
Definition: common.c:163
#define AD9528_SYSREF_REQ
Definition: parameters.h:165
mykonosErr_t MYKONOS_readOrxFramerStatus(mykonosDevice_t *device, uint8_t *obsFramerStatus)
Reads the transceiver's Observation RX framer status.
Definition: mykonos.c:10577
@ ADIHAL_LOG_MESSAGE
Definition: common.h:49
#define RX_PROFILE_VALID
Definition: mykonos.h:26
@ OBS_RX2_SNIFFERLO
Definition: t_mykonos.h:646
uint32_t iterCount
Definition: t_mykonos.h:1630
mykonosErr_t MYKONOS_setRxPfirSyncClk(mykonosDevice_t *device)
Sets the digital Rx PFIR SYNC clock divider.
Definition: mykonos.c:2634
mykonosErr_t MYKONOS_getPendingTrackingCals(mykonosDevice_t *device, uint32_t *pendingCalMask)
Returns the tracking calibration pending and error status.
Definition: mykonos.c:12526
#define BID(x)
Definition: ad9144.h:1245
@ MYKONOS_ERR_TXPROFILE_DACDIV
Definition: t_mykonos.h:510
uint32_t trackCount
Definition: t_mykonos.h:1614
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
@ NIOS_II_GPIO
Definition: altera_gpio.h:53
@ MYKONOS_ERR_SER_INV_REAL_IF_DATA_PARM
Definition: t_mykonos.h:108
int32_t currentGain
Definition: t_mykonos.h:1616
mykonosErr_t MYKONOS_readDeframerStatus(mykonosDevice_t *device, uint8_t *deframerStatus)
Reads the transceiver's deframer status.
Definition: mykonos.c:10622
#define ENABLE_DPD_ACTUATOR
Definition: mykonos_macros.h:698
@ MYKONOS_ERR_GET_OBSRX_DEC_POWER_NUM_SAMPLES
Definition: t_mykonos.h:366
@ MYKONOS_ERR_SETDPDACT_INV_TXCHANNEL
Definition: t_mykonos.h:424
#define MYKONOS_DIGITAL_DC_OFFSET_CH3_TRACKING
Definition: mykonos_macros.h:440
#define MYKONOS_ADDR_TX2_GAIN_1
Definition: mykonos_macros.h:487
@ MYKONOS_ERR_LOAD_ADCPROFILE_CUSTOM_SNRXREQUIRED
Definition: t_mykonos.h:298
#define MYKONOS_ADDR_CLK_SYNTH_DIVIDER_INT_BYTE0
Definition: mykonos_macros.h:177
mykonosErr_t MYKONOS_initDigitalClocks(mykonosDevice_t *device)
Sets the CLKPLL output frequency.
Definition: mykonos.c:1888
#define MYKONOS_ADDR_AGC_SLOW_LOOP_CFG
Definition: mykonos_macros.h:332
#define MYKONOS_ADDR_PA_PROTECTION_THRESHOLD_MSB
Definition: mykonos_macros.h:476
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:87
#define MYKONOS_ADDR_ARM_STACK_PTR_BYTE_0
Definition: mykonos_macros.h:567
uint32_t iterCount
Definition: t_mykonos.h:1664
uint8_t RxGainTable[61][4]
Default Rx gain table settings.
Definition: mykonos_user.c:22
@ MYKONOS_ERR_EN_DPDTRACKING_ARMSTATE_ERROR
Definition: t_mykonos.h:370
#define HD
Definition: ad9144.h:1286
#define MYKONOS_ADDR_PA_PROTECTION_CONFIGURATION
Definition: mykonos_macros.h:473
@ MYKONOS_ERR_SET_RADIOCTRL_PINS_ARMERROR
Definition: t_mykonos.h:291
@ MYKONOS_ERR_PROGRAM_RXGAIN_TABLE_NULL_PARM
Definition: t_mykonos.h:318
commonErr_t CMB_regWrite(uint32_t offset, uint32_t data)
Definition: common.c:335
@ MYKONOS_ERR_GETPENDTRKCALS_NULL_PARAM
Definition: t_mykonos.h:395
#define MYKONOS_ADDR_ARM_START_DATA_ADDR
Definition: mykonos_macros.h:645
mykonosTxChannels_t
Enum of possible Tx channels.
Definition: t_mykonos.h:616
#define MYKONOS_ARM_ABORT_OPCODE
Definition: mykonos_macros.h:650
mykonosPrbsOrder_t
Enum of possible PRBS pattern settings.
Definition: t_mykonos.h:704
@ MYKONOS_ERR_LOADARMCON_NULL_PARAM
Definition: t_mykonos.h:334
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
struct no_os_gpio_desc * gpio_ad9528_sysref_req
Definition: common.c:39
const struct no_os_spi_platform_ops altera_spi_ops
Altera platform specific SPI platform ops structure.
Definition: altera_spi.c:158
uint32_t device_id
Definition: no_os_spi.h:142
mykonosErr_t MYKONOS_setClgcAttenTuningConfig(mykonosDevice_t *device, mykonosClgcAttenTuningConfig_t *attRangeCfg)
CLGC feature to set the TX attenuation tuning range to a relative range around a nominal value.
Definition: mykonos.c:18313
@ MYKONOS_ERR_GETORXQECSTATUS_NULLPARAM
Definition: t_mykonos.h:471
@ OBSRX_A_FIR
Definition: t_mykonos.h:778
mykonosErr_t MYKONOS_setObsRxFramerDataSource(mykonosDevice_t *device, uint8_t dataSource)
Select data to inject into the ObsRx framer input (ADC data or Loopback data from deframer output)
Definition: mykonos.c:11222
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_5
Definition: mykonos_macros.h:158
@ MYKONOS_ERR_RXPROFILE_FIR_COEFS
Definition: t_mykonos.h:504
@ TRACK_ORX2_QEC
Definition: t_mykonos.h:850
#define MYKONOS_ADDR_AGC_RX1_MIN_GAIN_INDEX
Definition: mykonos_macros.h:249
mykonosErr_t MYKONOS_getClgcAttenTuningConfig(mykonosDevice_t *device, mykonosClgcAttenTuningConfig_t *attRangeCfg)
Get configuration for CLGC Tx attenuation tuning range.
Definition: mykonos.c:18413
@ MYKONOS_ERR_GETCLGCCFG_TXORX_PROFILE_INV
Definition: t_mykonos.h:429
#define MYKONOS_ADDR_CLK_SYNTH_LF_R3
Definition: mykonos_macros.h:189
mykonosErr_t MYKONOS_getPaProtectErrorFlagStatus(mykonosDevice_t *device, uint8_t *errorFlagStatus)
Returns PA Protection Error Flag Status.
Definition: mykonos.c:6937
#define MYKONOS_ADDR_DEFRAMER_DET_FIFO_PHASE
Definition: mykonos_macros.h:130
@ MYKONOS_ERR_SET_PATH_DELAY_PARAM_OUT_OF_RANGE
Definition: t_mykonos.h:537
mykonosErr_t MYKONOS_setDpdBypassConfig(mykonosDevice_t *device, mykonosDpdBypassConfig_t *actConfig)
DPD feature to set the bypassing actuator when Tx signal power is below a programmable threshold give...
Definition: mykonos.c:18095
@ MYKONOS_ERR_AGC_MIN_MAX_ORX_CHANNEL
Definition: t_mykonos.h:452
Contains macro definitions and global structure declarations for mykonos_user.c.
#define MYKONOS_CH1_DECIMATED_PWR
Definition: mykonos_macros.h:382
mykonosErr_t MYKONOS_setRxAgcMinMaxGainIndex(mykonosDevice_t *device, mykonosRxChannels_t rxChannelSelect, uint8_t maxGainIndex, uint8_t minGainIndex)
This function sets the min/max gain indexes for AGC in the main RX channel.
Definition: mykonos.c:4537
@ MYKONOS_ERR_SETRFPLL_INV_PLLNAME
Definition: t_mykonos.h:65
@ MYKONOS_ERR_CFGDPD_INV_NUMWEIGHTS
Definition: t_mykonos.h:422
commonErr_t CMB_SPIWriteByte(spiSettings_t *spiSettings, uint16_t addr, uint8_t data)
Definition: common.c:173
mykonosErr_t MYKONOS_getRx1Gain(mykonosDevice_t *device, uint8_t *rx1GainIndex)
Reads the Rx1 Gain Index for Manual or AGC gain control mode.
Definition: mykonos.c:3777
#define SPI_CS_DECODE
Definition: xilinx_spi.h:47
mykonosErr_t MYKONOS_getTxLolStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosTxLolStatus_t *txLolStatus)
Returns the status of the TxLOL external tracking calibration.
Definition: mykonos.c:12573
uint32_t device_id
Definition: altera_gpio.h:65
mykonosErr_t MYKONOS_getVswrStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosVswrStatus_t *vswrStatus)
This function reads the VSWR calibration status from the Mykonos ARM processor.
Definition: mykonos.c:15477
mykonosErr_t MYKONOS_setRx2TempGainComp(mykonosDevice_t *device, int16_t rx2TempCompGain_mdB)
This function sets the Temperature gain compensation for Rx2 channel.
Definition: mykonos.c:4824
@ MYKONOS_ERR_LOAD_SNRXADCPROFILE_ARMMEM_FAILED
Definition: t_mykonos.h:344
#define MYKONOS_ADDR_AGC_SLOW_HIGH_OVRG_CNT_THRSH
Definition: mykonos_macros.h:321
mykonosErr_t MYKONOS_readDeframerPrbsCounters(mykonosDevice_t *device, uint8_t counterSelect, uint32_t *prbsErrorCount)
Reads the deframer PRBS counters.
Definition: mykonos.c:10911
#define MYKONOS_ADDR_DESERIALIZER_EQ_CTL_3_TO_2
Definition: mykonos_macros.h:150
@ MYKONOS_ERR_PROGRAMFIR_INV_NUMTAPS_PARM
Definition: t_mykonos.h:82
mykonosErr_t MYKONOS_setupJesd204bDeframer(mykonosDevice_t *device)
Sets up the JESD204B Deframer.
Definition: mykonos.c:10035
@ MYKONOS_ERR_RXGAINTABLE_INV_GAIN_INDEX_RANGE
Definition: t_mykonos.h:170
#define AD9528_CS
Definition: parameters.h:160
@ MYKONOS_ERR_SETORXGAIN_INV_SNRXGAIN
Definition: t_mykonos.h:361
mykonosErr_t MYKONOS_getTxQecStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosTxQecStatus_t *txQecStatus)
Returns the status of the TxQEC tracking calibration.
Definition: mykonos.c:12680
commonErr_t CMB_flushLog(void)
Definition: common.c:282
@ MYKONOS_ERR_CALCDIGCLK_NULL_CLKSTRUCT
Definition: t_mykonos.h:432
#define MYKONOS_ADDR_RX_NCO_CONTROL
Definition: mykonos_macros.h:207
#define TX_PROFILE_VALID
Definition: mykonos.h:25
mykonosErr_t MYKONOS_getClgcStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosClgcStatus_t *clgcStatus)
This function reads the CLGC calibration status from the Mykonos ARM processor.
Definition: mykonos.c:15000
@ MYK_ARM_CAL_ERROR
Definition: t_mykonos.h:909
@ MYKONOS_ERR_READ_RXFRAMERSTATUS_NULL_PARAM
Definition: t_mykonos.h:324
uint8_t chip_select
Definition: no_os_spi.h:146
#define MYKONOS_ARM_OBJECTID_TXQEC_TRACKING
Definition: mykonos_macros.h:667
#define MYK_SPIWRITEARRAY_BUFFERSIZE
Definition: mykonos_user.h:29
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
#define MYKONOS_ADDR_ARM_OPCODE_STATE_0
Definition: mykonos_macros.h:591
@ MYKONOS_ERR_INV_AGC_RX_PMD_UPPER_LOW_GAIN_STEP
Definition: t_mykonos.h:209
#define MYKONOS_ADDR_CLK_SYNTH_DIVIDER_INT_BYTE1
Definition: mykonos_macros.h:178
This structure contains the internal path delay.
Definition: t_mykonos.h:1638
uint8_t chip_select
Definition: no_os_spi.h:200
mykonosErr_t MYKONOS_setDigDcOffsetMShift(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint8_t mShift)
Sets M-Shift value which is the Corner frequency of Rx notch filter for the given channel....
Definition: mykonos.c:17310
#define MYKONOS_ADDR_DPD_SNIFFER_RX_FILTER_GAIN
Definition: mykonos_macros.h:237
mykonosErr_t MYKONOS_getVswrConfig(mykonosDevice_t *device)
Definition: mykonos.c:15397
@ TXATTEN_0P05_DB
Definition: t_mykonos.h:811
@ MYKONOS_ERR_LOADBIN_NULL_PARAM
Definition: t_mykonos.h:331
#define MYKONOS_ADDR_AGC_ORX_SNRX_MAX_GAIN_INDEX
Definition: mykonos_macros.h:273
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_LOWER_LOW_GAIN_STEP
Definition: t_mykonos.h:253
uint32_t percentComplete
Definition: t_mykonos.h:1628
@ MYKONOS_ERR_RESCHEDULE_TRACK_ARMERRFLAG
Definition: t_mykonos.h:475
#define MYKONOS_ADDR_FRAMER_ADC_XBAR_SEL
Definition: mykonos_macros.h:49
@ MYKONOS_ERR_LOAD_ADCPROFILE_INV_VCODIV
Definition: t_mykonos.h:295
Data structure used to read back the Init Calibration Status.
Definition: t_mykonos.h:1538
mykonosErr_t MYKONOS_getEnabledTrackingCals(mykonosDevice_t *device, uint32_t *enableMask)
Reads back which ARM tracking cals are enabled.
Definition: mykonos.c:12455
@ MYKONOS_ERR_INV_AGC_OBSRX_APD_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:258
mykonosErr_t MYKONOS_setTxPfirSyncClk(mykonosDevice_t *device)
Sets the digital Tx PFIR SYNC clock divider.
Definition: mykonos.c:2511
uint8_t SnRxGainTable[53][4]
Default SnRx gain table settings.
Definition: mykonos_user.c:119
@ MYKONOS_ERR_GET_RX2_OVERLOADS_NULL_PARM
Definition: t_mykonos.h:309
#define MYKONOS_ARM_OBJECTID_TRACKING_CAL_CONTROL
Definition: mykonos_macros.h:674
@ MYKONOS_ERR_CHECKDEVSTRUCT_SNIFFERFIR
Definition: t_mykonos.h:161
mykonosErr_t MYKONOS_setRx1TempGainComp(mykonosDevice_t *device, int16_t rx1TempCompGain_mdB)
This function sets the Temperature gain compensation for Rx1 channel.
Definition: mykonos.c:4724
@ RX_PLL
Definition: t_mykonos.h:717
#define MYKONOS_ARM_OBJECTID_DPDCONFIG
Definition: mykonos_macros.h:661
@ MYKONOS_ERR_INITSER_INV_PROFILE
Definition: t_mykonos.h:166
#define MYKONOS_ADDR_DEFRAMER_TEST
Definition: mykonos_macros.h:94
@ MYKONOS_ERR_SETRFPLL_INV_REFCLK
Definition: t_mykonos.h:71
@ MYKONOS_ERR_INV_AGC_OBSRX_LOW_THS_PREV_GAIN_INC
Definition: t_mykonos.h:239
#define MYKONOS_ADDR_SNIFF_RXLOGEN_BYTE1
Definition: mykonos_macros.h:233
@ MYKONOS_ERR_GETORX1GAIN_INV_POINTER
Definition: t_mykonos.h:74
@ MYK_BUILD_DEBUG
Definition: t_mykonos.h:942
uint8_t adcDiv
Definition: t_mykonos.h:1269
@ MYKONOS_ERR_SET_RF_DC_OFFSET_MEASURECNT_MIN_LIMIT
Definition: t_mykonos.h:523
@ MYKONOS_ERR_INV_AGC_OBSRX_GAIN_UPDATE_TIME_PARM
Definition: t_mykonos.h:226
mykonosErr_t MYKONOS_writeArmConfig(mykonosDevice_t *device, uint8_t objectId, uint16_t offset, uint8_t *data, uint8_t byteCount)
Low level helper function used by Mykonos API to write the ARM memory config structures.
Definition: mykonos.c:15799
#define MYKONOS_ADDR_FRAMER_CONFIG_F
Definition: mykonos_macros.h:47
@ MYKONOS_ERR_INV_AGC_RX_APD_LOW_THRESH_PARM
Definition: t_mykonos.h:185
#define MYKONOS_ADDR_GAIN_TABLE_RX3_DIG_GAIN
Definition: mykonos_macros.h:397
@ MYKONOS_ERR_INV_AGC_OBSRX_MIN_GAIN_INDEX
Definition: t_mykonos.h:234
@ MYKONOS_ERR_OBSRXFRAMER_INV_FK_PARAM
Definition: t_mykonos.h:174
Structure to configure the DPD actuator gain check.
Definition: t_mykonos.h:1070
#define MYKONOS_ADDR_AGC_ORX_SNRX_ULB_THRSH
Definition: mykonos_macros.h:286
#define MYKONOS_ADDR_OVRLD_PD_DEC_VERYLOW_THRSH
Definition: mykonos_macros.h:415
#define MYKONOS_ADDR_RX_NCO_CH1_FTW_BYTE_1
Definition: mykonos_macros.h:210
#define MYKONOS_ADDR_GAIN_TABLE_RX2_DIG_GAIN
Definition: mykonos_macros.h:394
#define MYKONOS_ADDR_DIGITAL_IO_CONTROL
Definition: mykonos_macros.h:32
@ MYKONOS_ERR_SER_LANE_RATE_CONFLICT_PARM
Definition: t_mykonos.h:107
#define MYKONOS_ADDR_RXSYNTH_VCO_BAND_BYTE1
Definition: mykonos_macros.h:228
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_TXBBFCALDONE
Definition: t_mykonos.h:279
#define MYKONOS_ADDR_RXSYNTH_CP_CAL_STAT
Definition: mykonos_macros.h:227
#define MYKONOS_ADDR_RX_FILTER_GAIN
Definition: mykonos_macros.h:236
#define MYKONOS_ARM_OBJECTID_RADIO_CONTROL
Definition: mykonos_macros.h:676
@ MYKONOS_ERR_INV_AGC_RX2_MAX_GAIN_INDEX
Definition: t_mykonos.h:201
@ OBS_RX1_SNIFFERLO
Definition: t_mykonos.h:645
@ MYKONOS_ERR_READFIR_NULL_PARM
Definition: t_mykonos.h:88
mykonosErr_t MYKONOS_resetRxAgc(mykonosDevice_t *device)
This function resets the AGC state machine.
Definition: mykonos.c:4500
#define MYKONOS_CURRENT_MAJOR_VERSION
Definition: mykonos_version.h:23
mykonosErr_t MYKONOS_enableRxGainCtrSyncPulse(mykonosDevice_t *device, uint8_t enable)
Enables or disables the Rx slow loop gain counter to use the sync pulse.
Definition: mykonos.c:5018
#define MYKONOS_ADDR_AGC_ORX1_MANUAL_GAIN_INDEX
Definition: mykonos_macros.h:290
commonErr_t
Definition: common.h:41
commonErr_t CMB_SPIReadField(spiSettings_t *spiSettings, uint16_t addr, uint8_t *field_val, uint8_t mask, uint8_t start_bit)
Definition: common.c:236
mykonosErr_t MYKONOS_setRx2ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx2 Manual Gain index.
Definition: mykonos.c:3733
@ MYKONOS_ERR_DEFRAMER_INV_FK_PARAM
Definition: t_mykonos.h:133
@ MYKONOS_ERR_GET_RX2_DEC_POWER_NUM_SAMPLES
Definition: t_mykonos.h:364
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:253
@ MYKONOS_ERR_OBS_RX_TEMP_GAIN_COMP_STEP
Definition: t_mykonos.h:458
#define MYKONOS_ADDR_FRAMER_STATUS
Definition: mykonos_macros.h:57
mykonosErr_t MYKONOS_getDpdErrorCounters(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdErrorCounters_t *dpdErrCnt)
This function reads the current error counters for all the DPD error codes from mykonosDpdErrors_t.
Definition: mykonos.c:17994
#define MYKONOS_ADDR_CLOCK_CONTROL_1
Definition: mykonos_macros.h:167
@ MYKONOS_ERR_GETVSWRSTATUS_ARMERRFLAG
Definition: t_mykonos.h:443
mykonosErr_t MYKONOS_getRx1DecPower(mykonosDevice_t *device, uint16_t *rx1DecPower_mdBFS)
Performs a power measurement in the Rx1 digital data path.
Definition: mykonos.c:5123
@ MYKONOS_ERR_WAITARMCSTATE_TIMEOUT
Definition: t_mykonos.h:494
@ MYK_DPD_ERROR_END
Definition: t_mykonos.h:968
@ MYKONOS_ERR_GETTXLOLSTATUS_NULLPARAM
Definition: t_mykonos.h:462
#define MYKONOS_ADDR_AGC_RX_BLOCK_DET_DECAY
Definition: mykonos_macros.h:267
#define MYKONOS_ARM_OBJECTID_VSWRCONFIG
Definition: mykonos_macros.h:669
#define MYKONOS_ADDR_DEFRAMER_DET_FIFO_WR_ADDR
Definition: mykonos_macros.h:100
uint32_t percentComplete
Definition: t_mykonos.h:1662
mykonosErr_t MYKONOS_writeArmProfile(mykonosDevice_t *device)
Mykonos ARM configuration write.
Definition: mykonos.c:16189
@ MYKONOS_ERR_RX1_TEMP_GAIN_COMP_RANGE
Definition: t_mykonos.h:453
@ MYKONOS_ERR_READARMCMDSTATUS_NULL_PARM
Definition: t_mykonos.h:327
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_GAIN_UPDATE_CTR_3
Definition: mykonos_macros.h:349
uint32_t percentComplete
Definition: t_mykonos.h:1686
#define MYKONOS_ADDR_TX1_SYNC_PAD_CONFIG
Definition: mykonos_macros.h:35
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_LOOP_CFG
Definition: mykonos_macros.h:350
@ MYKONOS_ERR_CALCDIGCLK_NULLDEV_PARAM
Definition: t_mykonos.h:431
@ MYK_DC_OFFSET_ORX_CHN
Definition: t_mykonos.h:919
@ TRACK_RX1_QEC
Definition: t_mykonos.h:847
@ MYKONOS_ERR_CHECKDEVSTRUCT_RXSUB
Definition: t_mykonos.h:154
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_2
Definition: mykonos_macros.h:156
#define MYKONOS_ADDR_AGC_SLOW_UPPER1_THRSH_GAIN_STEP
Definition: mykonos_macros.h:327
@ MYKONOS_ERR_EN_TRACKING_CALS_ARMERROR
Definition: t_mykonos.h:292
@ VCODIV_1
Definition: t_mykonos.h:695
mykonosErr_t MYKONOS_obsRxInjectPrbsError(mykonosDevice_t *device)
Initiates a PRBS error injection into the Observation RX data path.
Definition: mykonos.c:10828
Structure holding the initialization parameters for Altera platform specific SPI parameters.
Definition: altera_spi.h:56
#define MYKONOS_ADDR_DEFRAMER_PRBS20_CTL
Definition: mykonos_macros.h:123
#define MYKONOS_ARM_OBJECTID_TRACKING_CAL_SUSPEND_RESUME
Definition: mykonos_macros.h:673
@ MYKONOS_ERR_RXFIR_TAPSEXCEEDED
Definition: t_mykonos.h:417
waitEvent_t
Enum of possible wait events to use with MYKONOS_waitForEvent()
Definition: t_mykonos.h:744
#define MYKONOS_ADDR_FRAMER_ADDR
Definition: mykonos_macros.h:43
@ MYKONOS_ERR_GETARMVER_NULL_PARM
Definition: t_mykonos.h:368
mykonosErr_t MYKONOS_enablePaProtection(mykonosDevice_t *device, uint8_t enable)
Enables the Mykonos PA Protection block according to the parameters passed in MYKONOS_setupPaProtecti...
Definition: mykonos.c:6833
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_LOW_THRESH_PARM
Definition: t_mykonos.h:262
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_CLGC
Definition: t_mykonos.h:858
uint32_t txGain
Definition: t_mykonos.h:1617
@ MYKONOS_ERR_CHECKDEVSTRUCT_OBSRX
Definition: t_mykonos.h:159
mykonosErr_t MYKONOS_getObsRxTempGainComp(mykonosDevice_t *device, int16_t *obsRxTempCompGain_mdB)
This function gets the Temperature gain compensation for the observation channel.
Definition: mykonos.c:4972
mykonosErr_t MYKONOS_getDeframerFifoDepth(mykonosDevice_t *device, uint8_t *fifoDepth, uint8_t *readEnLmfcCount)
Reads the Mykonos JESD204b Deframer determinstic FIFO depth.
Definition: mykonos.c:10669
#define N(x)
Definition: ad9144.h:1269
Data structure to hold SPI settings for all system device types.
Definition: common.h:61
mykonosErr_t MYKONOS_setObsRxGainControlMode(mykonosDevice_t *device, mykonosGainMode_t mode)
Configures the ObsRx gain control mode.
Definition: mykonos.c:6284
mykonosErr_t MYKONOS_setupSerializers(mykonosDevice_t *device)
Sets up the JESD204B Serializers.
Definition: mykonos.c:8165
#define MYKONOS_ADDR_RX_LOOPBACK2_CNTRL_4
Definition: mykonos_macros.h:405
@ MYKONOS_ERR_READARMCFG_ARMERRFLAG
Definition: t_mykonos.h:394
@ MYKONOS_ERR_GET_DIG_DC_OFFSET_NULL_MSHIFT
Definition: t_mykonos.h:528
#define MYKONOS_ADDR_ORX_ADC_PRFL
Definition: mykonos_macros.h:426
@ MYKONOS_ERR_SETSTATEALL_TRACK_ARMERRFLAG
Definition: t_mykonos.h:478
#define MYKONOS_ADDR_OVRLD_PD_DEC_OVRLD_CFG
Definition: mykonos_macros.h:412
@ MYKONOS_ERR_GETCLGCSTATUS_INV_CH
Definition: t_mykonos.h:411
#define MYKONOS_ADDR_CLK_SYNTH_VCO_BAND_BYTE1
Definition: mykonos_macros.h:193
mykonosErr_t MYKONOS_setDigDcOffsetEn(mykonosDevice_t *device, uint8_t enableMask)
Enable/ Disable Digital DC Offset channels using the channel mask. The mask can be a combination of t...
Definition: mykonos.c:17650
#define MYKONOS_ADDR_MCS_STATUS
Definition: mykonos_macros.h:174
@ MYKONOS_ERR_CLKPLL_INV_HSDIV
Definition: t_mykonos.h:60
mykonosErr_t MYKONOS_checkPllsLockStatus(mykonosDevice_t *device, uint8_t *pllLockStatus)
Checks if the PLLs are locked.
Definition: mykonos.c:2444
mykonosErr_t MYKONOS_setDpdActState(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t actState)
This function sets the state of the DPD actuator.
Definition: mykonos.c:14475
@ MYKONOS_ERR_INV_AGC_RX_HB2_VERY_LOW_THRESH_PARM
Definition: t_mykonos.h:218
@ SPI_PL
Definition: xilinx_spi.h:60
@ MYKONOS_ERR_SETDPDACT_INV_ACTMODE
Definition: t_mykonos.h:548
#define MYKONOS_ARM_OBJECTID_CLGCINIT_CONFIG
Definition: mykonos_macros.h:659
#define MYKONOS_ADDR_OBS_FRAMER_LMFC_K_OFFSET
Definition: mykonos_macros.h:617
@ TX1
Definition: t_mykonos.h:619
#define MYKONOS_ADDR_DPD_CONFIGURATION_CONTROL
Definition: mykonos_macros.h:163
mykonosErr_t MYKONOS_setDefaultObsRxPath(mykonosDevice_t *device, mykonosObsRxChannels_t defaultObsRxCh)
Sets the default Obs Rx channel to enter when device moves from radioOff to radioOn.
Definition: mykonos.c:5218
@ MYKONOS_ERR_GETINITCALSTATUS_NULL_PARAM
Definition: t_mykonos.h:420
@ MYKONOS_ERR_FRAMER_INV_REAL_IF_DATA_PARM
Definition: t_mykonos.h:122
#define MYKONOS_ADDR_AGC_SLOW_LOW_OVRG_CNT_THRSH
Definition: mykonos_macros.h:322
mykonosFir_t * rxFir
Definition: t_mykonos.h:1270
#define MYKONOS_ADDR_GAIN_CTL_CHANNEL_2
Definition: mykonos_macros.h:361
@ MYKONOS_ERR_INV_RX_GAIN_MODE_PARM
Definition: t_mykonos.h:178
mykonosClgcAttenTuningMode_t tx1AttenTuningLimitMode
Definition: t_mykonos.h:1111
mykonosErr_t MYKONOS_readFir(mykonosDevice_t *device, mykonosfirName_t filterToRead, mykonosFir_t *firFilter)
Reads the FIR filter programmed into the device.
Definition: mykonos.c:3094
@ MYKONOS_ERR_INV_AGC_OBSRX_RESET_ON_RX_ENABLE
Definition: t_mykonos.h:243
#define MYKONOS_ADDR_ARM_BOOT_ADDR_BYTE_0
Definition: mykonos_macros.h:563
#define MYKONOS_ADDR_GAIN_CTL_CHANNEL_1
Definition: mykonos_macros.h:358
@ MYKONOS_ERR_SER_INV_M_PARM
Definition: t_mykonos.h:98
@ MYKONOS_ERR_GETRXQECSTATUS_NULLPARAM
Definition: t_mykonos.h:468
uint32_t performanceMetric
Definition: t_mykonos.h:1663
mykonosErr_t MYKONOS_resetDevice(mykonosDevice_t *device)
Performs a hard reset on the MYKONOS DUT (Toggles RESETB pin on device)
Definition: mykonos.c:248
@ MYKONOS_ERR_TXPROFILE_IQRATE
Definition: t_mykonos.h:506
@ MYKONOS_ERR_SAVDPDMOD_ARMSTATE
Definition: t_mykonos.h:376
#define MYKONOS_ADDR_TX2_GAIN_2
Definition: mykonos_macros.h:488
@ MYKONOS_ERR_INIT_INV_TXHB1_INTERPOLATION
Definition: t_mykonos.h:49
mykonosErr_t MYKONOS_configClgc(mykonosDevice_t *device)
This function will configure CLGC settings.
Definition: mykonos.c:14658
#define MYKONOS_ARM_SYSTEMSTATE_READY
Definition: mykonos_macros.h:680
@ MYKONOS_ERR_SETRFPLL_INV_LO_PARM
Definition: t_mykonos.h:66
#define MYKONOS_ADDR_AGC_ORX_SNRX_BLOCK_DET_DECAY
Definition: mykonos_macros.h:288
#define MYKONOS_ADDR_GAIN_CTL_ORX_SNRX_GAIN
Definition: mykonos_macros.h:364
@ TRACK_TX2_VSWR
Definition: t_mykonos.h:860
#define MAX_LOOPBACK_GAIN_TABLE_NUMINDEXES
Definition: mykonos_user.h:50
mykonosErr_t MYKONOS_setupJesd204bFramer(mykonosDevice_t *device)
Sets up the JESD204B Framer.
Definition: mykonos.c:8986
@ MYKONOS_ERR_CHECKDEVSTRUCT_RX
Definition: t_mykonos.h:153
#define SET_CLGC_DESIRED_GAIN_1
Definition: mykonos_macros.h:699
@ MYKONOS_ERR_FRAMER_INV_LANEID_PARM
Definition: t_mykonos.h:120
int32_t forwardGainReal
Definition: t_mykonos.h:1164
#define MYKONOS_ADDR_DIGITAL_GAIN_CONFIG
Definition: mykonos_macros.h:386
#define MYKONOS_ADDR_ARM_OPCODE_STATE_6
Definition: mykonos_macros.h:597
#define MYKONOS_ADDR_AGC_SLOW_VERYLOW_OVRG_CNT_THRSH
Definition: mykonos_macros.h:323
#define MAX_TX_RFBW_HZ
Definition: mykonos_user.h:79
@ MYKONOS_ERR_INIT_INV_ADCDIV
Definition: t_mykonos.h:57
Contains type definitions and prototype declarations for common.c.
mykonosDpdResetMode_t
Enum for DPD reset modes.
Definition: t_mykonos.h:974
@ MYKONOS_ERR_CFGCLGC_INV_DESIREDGAIN
Definition: t_mykonos.h:386
mykonosErr_t MYKONOS_initArm(mykonosDevice_t *device)
Resets the ARM processor and performs initialization.
Definition: mykonos.c:13061
int32_t desiredGain
Definition: t_mykonos.h:1615
@ MYK_DC_OFFSET_ORX
Definition: t_mykonos.h:932
mykonosErr_t MYKONOS_getDpdStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdStatus_t *dpdStatus)
This function reads the DPD calibration status from the Mykonos ARM processor.
Definition: mykonos.c:13974
@ TRACK_TX2_LOL
Definition: t_mykonos.h:852
mykonosErr_t MYKONOS_enableRxFramerPrbs(mykonosDevice_t *device, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Selects the PRBS type and enables or disables RX Framer PRBS20 generation.
Definition: mykonos.c:10723
mykonosErr_t MYKONOS_radioOff(mykonosDevice_t *device)
Instructs the ARM processor to move the radio state to the off state.
Definition: mykonos.c:11626
@ MYKONOS_ERR_SETUP_PA_PROT_INV_TX_CHANNEL
Definition: t_mykonos.h:304
@ MYKONOS_ERR_SETCLKPLL_INV_FRACWORD
Definition: t_mykonos.h:64
#define MYKONOS_ADDR_CLOCK_CONTROL_0
Definition: mykonos_macros.h:166
#define MYKONOS_ADDR_TXSYNTH_CP_CAL_STAT
Definition: mykonos_macros.h:229
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_ULB_CNT_THRSH
Definition: mykonos_macros.h:336
#define MYKONOS_ADDR_TX_ABBF_FREQ_CAL_NCO_I_LSB
Definition: mykonos_macros.h:494
@ RF_TXPLLCP
Definition: t_mykonos.h:751
#define MYKONOS_ADDR_RFDC_ORX_MEASURE_COUNT_2
Definition: mykonos_macros.h:436
mykonosErr_t MYKONOS_waitForEvent(mykonosDevice_t *device, waitEvent_t waitEvent, uint32_t timeout_us)
Performs a blocking wait for a Mykonos calibration or Pll Lock.
Definition: mykonos.c:1576
@ MYKONOS_ERR_SAVDPDMOD_INVALID_TXCHANNEL
Definition: t_mykonos.h:377
@ MYKONOS_ERR_INV_AGC_OBSRX_SELECT
Definition: t_mykonos.h:235
@ SNIFFER_PLL
Definition: t_mykonos.h:719
@ MYKONOS_ERR_CFGDPD_INV_DPDPRIORWEIGHT
Definition: t_mykonos.h:385
#define MYKONOS_ADDR_DEFRAMER_DAC_XBAR_SEL
Definition: mykonos_macros.h:88
mykonosErr_t MYKONOS_readArmMem(mykonosDevice_t *device, uint32_t address, uint8_t *returnData, uint32_t bytesToRead, uint8_t autoIncrement)
Read from the Mykonos ARM program or data memory.
Definition: mykonos.c:15588
@ MYKONOS_ERR_GETDPD_ERROR_CNT_NULLPARAM
Definition: t_mykonos.h:543
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
mykonosErr_t MYKONOS_readArmCmdStatusByte(mykonosDevice_t *device, uint8_t opCode, uint8_t *cmdStatByte)
Isolated byte read of the Mykonos ARM 64-bit command status register based on the opcode.
Definition: mykonos.c:16067
#define MYKONOS_ARM_RUNINIT_OPCODE
Definition: mykonos_macros.h:651
mykonosErr_t MYKONOS_setRfDcOffsetCnt(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint16_t measureCount)
Sets the measure count which is the number of samples taken before DC offset correction is applied fo...
Definition: mykonos.c:17143
ADI_LOGLEVEL CMB_LOGLEVEL
Definition: common.c:33
#define MYKONOS_ADDR_PA_PROTECTION_ATTEN_CONTROL
Definition: mykonos_macros.h:474
commonErr_t CMB_wait_us(uint32_t time_us)
Definition: common.c:294
uint32_t percentComplete
Definition: t_mykonos.h:1674
mykonosErr_t MYKONOS_getDacPower(mykonosDevice_t *device, mykonosTxChannels_t channel, uint16_t *channelPower)
Obtains an estimate of a TX channel's accumulated power over the sample duration provided in MYKONOS_...
Definition: mykonos.c:6870
@ MYKONOS_ERR_OBSRX_FRAMER_INV_K_OFFSET_PARAM
Definition: t_mykonos.h:126
mykonosErr_t MYKONOS_getRadioState(mykonosDevice_t *device, uint32_t *radioStatus)
Reads the current ARM radio state.
Definition: mykonos.c:11684
@ RXOFF
Definition: t_mykonos.h:629
mykonosErr_t MYKONOS_enableRxFramerLink(mykonosDevice_t *device, uint8_t enable)
Enables/Disables the JESD204B Rx Framer.
Definition: mykonos.c:9888
@ MYKONOS_ERR_FRAMER_INV_M_PARM
Definition: t_mykonos.h:118
@ MYKONOS_ERR_INIT_INV_ORXCHAN
Definition: t_mykonos.h:45
mykonosErr_t MYKONOS_abortInitCals(mykonosDevice_t *device, uint32_t *calsCompleted)
Aborts from an on going ARM init calibration operation.
Definition: mykonos.c:11420
@ MYKONOS_ERR_INV_AGC_RX_GAIN_UPDATE_TIME_PARM
Definition: t_mykonos.h:183
@ ORX_ADCPROFILE
Definition: t_mykonos.h:761
commonErr_t CMB_SPIWriteField(spiSettings_t *spiSettings, uint16_t addr, uint8_t field_val, uint8_t mask, uint8_t start_bit)
Definition: common.c:219
#define MYKONOS_ADDR_RFDC_MEASURE_COUNT_1
Definition: mykonos_macros.h:428
Data structure to hold settings for the current Tx specific use case profile.
Definition: t_mykonos.h:1284
#define MYKONOS_ADDR_PFIR_COEFF_DATA
Definition: mykonos_macros.h:639
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
@ MYKONOS_ERR_CLGCATTENTUNCFG_INVALID_RANGE
Definition: t_mykonos.h:560
#define SNIFF_PROFILE_VALID
Definition: mykonos.h:28
#define MYKONOS_ADDR_AGC_ORX_SNRX_OVRG_GAIN_STEP_6
Definition: mykonos_macros.h:283
uint8_t bypassActuatorEn
Definition: t_mykonos.h:1059
@ MYKONOS_ERR_SETTX2ATTEN_INV_STEPSIZE_PARM
Definition: t_mykonos.h:81
#define MYKONOS_ARM_OBJECTID_CALSCHEDULER
Definition: mykonos_macros.h:677
#define MYKONOS_ADDR_AGC_SLOW_GAIN_UPDATE_CNT_2
Definition: mykonos_macros.h:330
#define MYKONOS_ADDR_OBS_FRAMER_LANE_DATA_CTL
Definition: mykonos_macros.h:635
@ MYKONOS_ERR_RESET_TXLOL_INV_PARAM
Definition: t_mykonos.h:511
mykonosErr_t MYKONOS_setRxFramerDataSource(mykonosDevice_t *device, uint8_t dataSource)
Select data to inject into the Rx framer input (ADC data or Loopback data from deframer output)
Definition: mykonos.c:11192
@ MYKONOS_ERR_CHECKDEVSTRUCT_TXSUB
Definition: t_mykonos.h:157
@ MYKONOS_ERR_SETDPDACT_ARMERRFLAG
Definition: t_mykonos.h:426
mykonosErr_t MYKONOS_getTx2Attenuation(mykonosDevice_t *device, uint16_t *tx2Attenuation_mdB)
Reads back the Tx2 RF output Attenuation.
Definition: mykonos.c:6563
@ MYKONOS_ERR_LOADBIN_INVALID_BYTECOUNT
Definition: t_mykonos.h:145
@ MYKONOS_ERR_RESETDPD_ARMERRFLAG
Definition: t_mykonos.h:533
#define MYKONOS_ADDR_AGC_ORX_SNRX_CFG_1
Definition: mykonos_macros.h:271
#define MYKONOS_ADDR_AGC_OVRG_GAIN_STEP_1
Definition: mykonos_macros.h:255
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_OVLD_ENABLE
Definition: t_mykonos.h:266
@ MYKONOS_ERR_CHECKDEVSTRUCT_RXFIR
Definition: t_mykonos.h:155
@ MYKONOS_ERR_OBSRX_FRAMER_INV_M_PARM
Definition: t_mykonos.h:123
#define MYKONOS_ADDR_TX1_ATTENUATION_0_READBACK
Definition: mykonos_macros.h:466
mykonosErr_t MYKONOS_getPendingTrackingCals(mykonosDevice_t *device, uint32_t *pendingCalMask)
Returns the tracking calibration pending and error status.
Definition: mykonos.c:12526
@ MYKONOS_ERR_CHECKDEVSTRUCT_TX
Definition: t_mykonos.h:156
uint32_t reversePathDelayCh1
Definition: t_mykonos.h:1641
@ MYKONOS_ERR_INV_AGC_RX_PEAK_THRESH_MODE
Definition: t_mykonos.h:195
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_UPPER0_THRSH_GAIN_STEP
Definition: mykonos_macros.h:343
mykonosErr_t MYKONOS_getDpdBypassConfig(mykonosDevice_t *device, mykonosDpdBypassConfig_t *actConfig)
Get configuration for bypassing DPD actuator.
Definition: mykonos.c:18155
#define MYKONOS_ADDR_ARM_CALC_CHKSUM_ADDR
Definition: mykonos_macros.h:648
@ MYKONOS_ERR_DEFRAMER_INV_M_PARM
Definition: t_mykonos.h:128
mykonosErr_t
Enum of unique error codes from the Mykonos API functions. Each error condition in the library should...
Definition: t_mykonos.h:30
@ RF_TXPLL_LOCK
Definition: t_mykonos.h:752
#define MYKONOS_ADDR_SERIALIZER_CTL_1
Definition: mykonos_macros.h:134
mykonosGpioErr_t MYKONOS_setArmGpioPins(mykonosDevice_t *device)
Sets the input and output GPIO pin selections for ARM related signals.
Definition: mykonos_gpio.c:2355
uint32_t dpdModelErrorPercent
Definition: t_mykonos.h:1577
#define MYKONOS_ADDR_ARM_CMD_STATUS_0
Definition: mykonos_macros.h:582
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_CLKPLL_LOCK
Definition: t_mykonos.h:271
@ DACDIV_2
Definition: t_mykonos.h:685
@ MYKONOS_ERR_LOAD_ADCPROFILE_MISSING_ORX_PROFILE
Definition: t_mykonos.h:351
mykonosErr_t MYKONOS_setTrackingCalState(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal, uint8_t trackCalState)
Suspend or resume individual tracking calibration.
Definition: mykonos.c:12196
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_ADC_VERYLOW_OVRG_CNT_THRSH
Definition: mykonos_macros.h:340
Structure to configure the feature to bypass DPD actuator when signal power below a threshold.
Definition: t_mykonos.h:1057
@ MYKONOS_ERR_INIT_INV_TXINPUTHB0_INV_RATE
Definition: t_mykonos.h:413
#define MYKONOS_ADDR_AGC_RX2_MAX_GAIN_INDEX
Definition: mykonos_macros.h:269
#define MYKONOS_ADDR_DEFRAMER_LANE_XBAR_SEL
Definition: mykonos_macros.h:89
uint32_t iqRate_kHz
Definition: t_mykonos.h:1292
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:104
@ VCODIV_3
Definition: t_mykonos.h:698
@ MYKONOS_ERR_WAIT_INITCALS_ARMERROR
Definition: t_mykonos.h:315
@ MYKONOS_ERR_TXFIR_TAPSEXCEEDED
Definition: t_mykonos.h:414
@ MYKONOS_ERR_GET_PLLFREQ_INV_HSDIV
Definition: t_mykonos.h:356
@ CLKPLLCP
Definition: t_mykonos.h:747
@ MYKONOS_ERR_GETSTATE_TRACK_ARMERROR
Definition: t_mykonos.h:489
#define MYKONOS_ADDR_ARM_STACK_PTR_BYTE_3
Definition: mykonos_macros.h:570
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
#define MYKONOS_ADDR_DESERIALIZER_HS_DIV_RXCDR_CLK_EN
Definition: mykonos_macros.h:151
@ TXATTEN_0P4_DB
Definition: t_mykonos.h:814
#define MYKONOS_ADDR_FRAMER_RESET
Definition: mykonos_macros.h:41
@ MYKONOS_ERR_TIMEDOUT_ARMMAILBOXBUSY
Definition: t_mykonos.h:288
int32_t reflectedGainRms_dB
Definition: t_mykonos.h:1166
#define MYKONOS_ARM_OBJECTID_TXLOL_TRACKING
Definition: mykonos_macros.h:666
#define MYKONOS_ADDR_TX2_ATTENUATION_0
Definition: mykonos_macros.h:481
uint8_t ORxGainTable[19][4]
Default ORx gain table settings.
Definition: mykonos_user.c:91
@ MYKONOS_ERR_GETVSWRCFG_NULL_CFGSTRUCT
Definition: t_mykonos.h:441
#define MYKONOS_ADDR_RFDC_SNF_MEASURE_COUNT_1
Definition: mykonos_macros.h:433
@ MYKONOS_ERR_LOAD_ADCPROFILE_CUSTOM_LBREQUIRED
Definition: t_mykonos.h:350
@ MYKONOS_ERR_INIT_INV_TXINPUTHB_INV_RATE
Definition: t_mykonos.h:412
@ MYKONOS_ERR_WAITFOREVENT_INV_PARM
Definition: t_mykonos.h:36
mykonosErr_t MYKONOS_getRx2TempGainComp(mykonosDevice_t *device, int16_t *rx2TempCompGain_mdB)
This function gets the Temperature gain compensation for Rx2.
Definition: mykonos.c:4871
@ MYKONOS_ERR_INIT_INV_RXDEC5_DECIMATION
Definition: t_mykonos.h:51
mykonosErr_t MYKONOS_getAllTrackCalState(mykonosDevice_t *device, uint32_t *trackCals)
Get the Suspended or Resumed state for tracking calibrations.
Definition: mykonos.c:12120
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
#define MYKONOS_ADDR_PA_PROTECTION_THRESHOLD_LSB
Definition: mykonos_macros.h:475
@ MYKONOS_ERR_GETSTATE_TRACK_ARMERRFLAG
Definition: t_mykonos.h:488
@ MYKONOS_ERR_CFGDPD_INV_DPDDAMPING
Definition: t_mykonos.h:382
mykonosErr_t MYKONOS_setObsRxFramerDataSource(mykonosDevice_t *device, uint8_t dataSource)
Select data to inject into the ObsRx framer input (ADC data or Loopback data from deframer output)
Definition: mykonos.c:11222
#define MYKONOS_ADDR_OBS_FRAMER_LANE_XBAR_SEL
Definition: mykonos_macros.h:613
@ MYKONOS_ERR_READ_DEFRAMERSTATUS_NULL_PARAM
Definition: t_mykonos.h:321
mykonosErr_t MYKONOS_getPaProtectErrorFlagStatus(mykonosDevice_t *device, uint8_t *errorFlagStatus)
Returns PA Protection Error Flag Status.
Definition: mykonos.c:6937
@ MYKONOS_ERR_DES_HS_AND_LANE_RATE_NOT_INTEGER_MULT
Definition: t_mykonos.h:110
Data structure used to read back DPD calibration status.
Definition: t_mykonos.h:1550
#define START_RX_GAIN_INDEX
Definition: mykonos_user.h:37
commonErr_t CMB_setSPIChannel(uint16_t chipSelectIndex)
Definition: common.c:168
@ MYKONOS_ERR_SETRFPLL_LF_INV_TXRX_LOOPBANDWIDTH
Definition: t_mykonos.h:515
@ MYKONOS_ERR_CFGDPD_INV_PNSEQLEVEL
Definition: t_mykonos.h:393
mykonosErr_t MYKONOS_setRadioControlPinMode(mykonosDevice_t *device)
Configures the Radio power up/down control for Rx and Tx paths to be controlled by pins (TX1/2_ENABLE...
Definition: mykonos.c:17054
#define MYKONOS_ARM_OBJECTID_INIT_CAL_DONE
Definition: mykonos_macros.h:671
#define MYKONOS_ADDR_AGC_MANUAL_GAIN_INDEX_CH_2
Definition: mykonos_macros.h:253
mykonosErr_t MYKONOS_getTxLolStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosTxLolStatus_t *txLolStatus)
Returns the status of the TxLOL external tracking calibration.
Definition: mykonos.c:12573
@ MYK_DPD_RESET_END
Definition: t_mykonos.h:981
mykonosErr_t MYKONOS_getTxFilterOverRangeStatus(mykonosDevice_t *device, uint8_t *txFilterStatus)
Checks the Tx Filter over-range bit assignments for digital clipping in the Tx data path.
Definition: mykonos.c:6614
mykonosErr_t MYKONOS_rescheduleTrackingCal(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal)
Reschedules a tracking calibration to run. Can be used to override the tracking calibration timer and...
Definition: mykonos.c:11857
mykonosErr_t MYKONOS_getTrackingCalState(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal, uint8_t *trackCalState)
Get the Suspended or Resumed state for individual tracking calibration.
Definition: mykonos.c:12353
#define MYKONOS_ADDR_DIGITAL_DC_OFFSET_SHIFT
Definition: mykonos_macros.h:438
mykonosErr_t MYKONOS_setTx1Attenuation(mykonosDevice_t *device, uint16_t tx1Attenuation_mdB)
Sets the Tx1 RF output Attenuation.
Definition: mykonos.c:6386
mykonosErr_t MYKONOS_getTxQecStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosTxQecStatus_t *txQecStatus)
Returns the status of the TxQEC tracking calibration.
Definition: mykonos.c:12680
@ MYKONOS_ERR_LOAD_ORXADCPROFILE_ARMMEM_FAILED
Definition: t_mykonos.h:346
@ MYKONOS_ERR_SER_INV_L_PARM
Definition: t_mykonos.h:99
Platform dependent parameters.
@ MYKONOS_ERR_LOAD_ADCPROFILE_CUSTOM_ORXREQUIRED
Definition: t_mykonos.h:297
enum xil_spi_type type
Definition: xilinx_spi.h:74
@ MYKONOS_ERR_ARMCMD_NULL_PARM
Definition: t_mykonos.h:329
@ MYKONOS_ERR_WAIT_INITCALS_NULL_PARAM
Definition: t_mykonos.h:313
@ MYKONOS_ERR_INV_AGC_OBSRX_PWR_STRUCT_INIT
Definition: t_mykonos.h:242
#define MAX_RX_IQRATE_KHZ
Definition: mykonos_user.h:64
mykonosBuild_t
Enum of build type.
Definition: t_mykonos.h:939
@ MYKONOS_ERR_CHECKDEVSTRUCT_NULLDEVPOINTER
Definition: t_mykonos.h:407
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_UPPER_LOW_GAIN_STEP
Definition: t_mykonos.h:255
mykonosErr_t MYKONOS_setSnifferChannel(mykonosDevice_t *device, mykonosSnifferChannel_t snifferChannel)
Selects the Sniffer RF input to use for the observation receiver when in ObsRx pin mode and ORX_MODE ...
Definition: mykonos.c:12998
@ MYKONOS_ERR_PROFILES_HSDIGCLK
Definition: t_mykonos.h:499
#define MYKONOS_ADDR_CALIBRATION_CONTROL
Definition: mykonos_macros.h:219
mykonosErr_t MYKONOS_loadAdcProfiles(mykonosDevice_t *device)
Function called automatically that loads the ADC profiles into the ARM.
Definition: mykonos.c:16509
@ MYKONOS_ERR_GETSTATE_TRACK_NULL_PARAM
Definition: t_mykonos.h:487
@ MYKONOS_ERR_RXFRAMER_INV_FK_PARAM
Definition: t_mykonos.h:173
#define MYKONOS_ADDR_OBS_FRAMER_SYSREF_FIFO_EN
Definition: mykonos_macros.h:609
#define MYKONOS_ADDR_TX2_DPD_MODEL_INDIRECT_PTR
Definition: mykonos_macros.h:200
@ MYKONOS_ERR_CFGVSWR_INV_3P3GPIOPIN
Definition: t_mykonos.h:437
#define MYKONOS_ADDR_AGC_RX2_MIN_GAIN_INDEX
Definition: mykonos_macros.h:270
#define MYKONOS_ADDR_GAIN_TABLE_RX2_EXT_CTL
Definition: mykonos_macros.h:393
#define MYKONOS_ADDR_GAIN_TABLE_RX1_DIG_GAIN
Definition: mykonos_macros.h:391
@ MYKONOS_ERR_SETDPDACT_INV_LEVEL
Definition: t_mykonos.h:549
@ MYKONOS_ERR_CFGDPD_INV_DPD_ADDDELAY
Definition: t_mykonos.h:392
Structure to configure the CLGC attenuation tuning range.
Definition: t_mykonos.h:1109
int32_t vswr_reflection_tx_rms
Definition: t_mykonos.h:1171
#define MYKONOS_ADDR_SPI_CONFIGURATION_CONTROL_1
Definition: mykonos_macros.h:23
#define MYKONOS_ADDR_CLK_SYNTH_VCO_VAR_CTL2
Definition: mykonos_macros.h:196
mykonosErr_t MYKONOS_setSpiSettings(mykonosDevice_t *device)
Sets the Mykonos device SPI settings (3wire/4wire, MSBFirst, etc).
Definition: mykonos.c:373
#define MYKONOS_ADDR_CLK_SYNTH_VCO_VAR_CTL1
Definition: mykonos_macros.h:195
@ MYKONOS_ERR_GETTXQECSTATUS_INV_CH
Definition: t_mykonos.h:466
@ MYKONOS_ERR_SETENSM_INVALIDSTATE
Definition: t_mykonos.h:41
#define MYKONOS_ADDR_TX1_GAIN_2
Definition: mykonos_macros.h:485
#define MYKONOS_ADDR_RX_NCO_CH2_FTW_BYTE_1
Definition: mykonos_macros.h:213
@ TXATTEN_0P1_DB
Definition: t_mykonos.h:812
uint16_t tx1AttenTuningPreset
Definition: t_mykonos.h:1113
#define MYKONOS_ADDR_TX_FILTER_CONFIGURATION
Definition: mykonos_macros.h:465
#define MYKONOS_ADDR_AGC_ULB_THRSH
Definition: mykonos_macros.h:265
mykonosErr_t MYKONOS_setRx1TempGainComp(mykonosDevice_t *device, int16_t rx1TempCompGain_mdB)
This function sets the Temperature gain compensation for Rx1 channel.
Definition: mykonos.c:4724
@ MYKONOS_ERR_DEFRAMER_INV_K_PARAM
Definition: t_mykonos.h:132
#define MYKONOS_ADDR_SERIALIZER_SPECIAL
Definition: mykonos_macros.h:138
#define MYKONOS_ADDR_SNIFFER_CONFIGURATION_CONTROL
Definition: mykonos_macros.h:162
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_ADC_LOW_OVRG_CNT_THRSH
Definition: mykonos_macros.h:339
@ MYKONOS_ERR_LOAD_ADCPROFILE_CUSTOM_RXREQUIRED
Definition: t_mykonos.h:296
@ MYKONOS_ERR_INV_AGC_OBSRX_PEAK_THRESH_MODE
Definition: t_mykonos.h:241
mykonosErr_t MYKONOS_resetExtTxLolChannel(mykonosDevice_t *device, mykonosTxChannels_t channelSel)
Performs reset to the External Tx LO Leakage tracking calibration channel estimate.
Definition: mykonos.c:16977
@ MYKONOS_ERR_FRAMER_INV_K_OFFSET_PARAM
Definition: t_mykonos.h:121
#define MYKONOS_ADDR_FRAMER_LANE_DATA_CTL
Definition: mykonos_macros.h:72
mykonosObsRxChannels_t
Enum of possible Observation Rx channels.
Definition: t_mykonos.h:638
Data structure to hold Orx QEC Status.
Definition: t_mykonos.h:1683
@ RXBBF_CALDONE
Definition: t_mykonos.h:755
mykonosErr_t MYKONOS_setDpdActuatorCheck(mykonosDevice_t *device, mykonosDpdActuatorCheck_t *actCheck)
DPD feature to set the actuator gain difference check. If the gain before and after the actuator exce...
Definition: mykonos.c:18202
Contains the version number for the Mykonos API.
@ MYKONOS_ERR_SETDPDACTCHECK_NULL_ACTSTRUCT
Definition: t_mykonos.h:552
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_CLKPLLCP
Definition: t_mykonos.h:270
mykonosErr_t MYKONOS_getProductId(mykonosDevice_t *device, uint8_t *productId)
Reads back the Product ID for the Mykonos Device.
Definition: mykonos.c:294
@ MYKONOS_ERR_READFIR_INV_NUMTAPS_PARM
Definition: t_mykonos.h:91
@ MYKONOS_ERR_PU_OBSRXPATH_INV_PARAM
Definition: t_mykonos.h:44
#define MYKONOS_ADDR_ARM_EXT_CMD_BYTE_1
Definition: mykonos_macros.h:575
#define MYKONOS_ADDR_REFERENCE_CLOCK_CYCLES
Definition: mykonos_macros.h:221
#define MYKONOS_ADDR_TX1_ATTENUATION_0
Definition: mykonos_macros.h:479
@ MYKONOS_ERR_RESTDPDMOD_INVALID_TXCHANNEL
Definition: t_mykonos.h:373
@ MYKONOS_ERR_CFGDPD_INV_MODELVERSION
Definition: t_mykonos.h:423
#define MYKONOS_ADDR_TX1_GAIN_0
Definition: mykonos_macros.h:483
@ MYKONOS_ERR_INIT_INV_RXHB1_DECIMATION
Definition: t_mykonos.h:52
#define MYKONOS_ADDR_DEFRAMER_LMFC_K_OFFSET
Definition: mykonos_macros.h:91
#define MYKONOS_SNIFFER_DEC_POWER_CONFIG_2
Definition: mykonos_macros.h:381
@ MYKONOS_ERR_INIT_INV_OBSRX_ADCDIV
Definition: t_mykonos.h:59
#define MYKONOS_ADDR_SNIFF_RXSYNTH_VCO_BAND_BYTE1
Definition: mykonos_macros.h:232
@ MYKONOS_ERR_ARMCMDSTATUS_INV_OPCODE_PARM
Definition: t_mykonos.h:151
@ MYKONOS_ERR_GETOBSRXGAIN_CH_DISABLED
Definition: t_mykonos.h:77
#define MYKONOS_ADDR_RX_FILTER_CONFIGURATION
Definition: mykonos_macros.h:235
@ MYKONOS_ERR_PU_OBSRXPATH_ARMERROR
Definition: t_mykonos.h:289
mykonosErr_t MYKONOS_getRfPllFrequency(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint64_t *rfPllLoFrequency_Hz)
Gets the RF PLL local oscillator frequency (RF carrier frequency).
Definition: mykonos.c:2253
#define MYKONOS_ADDR_OVRLD_ADC_OVRLD_CFG
Definition: mykonos_macros.h:408
mykonosErr_t MYKONOS_getDpdConfig(mykonosDevice_t *device)
Definition: mykonos.c:13884
commonErr_t CMB_openLog(const char *filename)
Definition: common.c:272
@ MYKONOS_ERR_SETDEFOBSRXPATH_NULL_OBSRX_STRUCT
Definition: t_mykonos.h:403
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RXBBFCALDONE
Definition: t_mykonos.h:278
#define MYKONOS_ADDR_DEFRAMER_DET_FIFO_WR_STRT_DAC_XBAR_REV
Definition: mykonos_macros.h:95
@ MYKONOS_ERR_READ_DEFFIFODEPTH_LMFCCOUNT_NULL_PARAM
Definition: t_mykonos.h:409
int32_t forwardGainImag
Definition: t_mykonos.h:1165
mykonosErr_t MYKONOS_jesd204bIlasCheck(mykonosDevice_t *device, uint16_t *mismatch)
Reads the lane 0 JESD204B deframer configuration and compares it against the ILAS received values.
Definition: mykonos.c:11014
#define MYKONOS_ADDR_TX_ABBF_FREQ_CAL_NCO_Q_LSB
Definition: mykonos_macros.h:496
mykonosErr_t MYKONOS_getDpdErrorCounters(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdErrorCounters_t *dpdErrCnt)
This function reads the current error counters for all the DPD error codes from mykonosDpdErrors_t.
Definition: mykonos.c:17994
@ MYKONOS_ERR_WRITEARMMEM_NULL_PARM
Definition: t_mykonos.h:330
#define MYKONOS_CURRENT_MINOR_VERSION
Definition: mykonos_version.h:24
commonErr_t CMB_setTimeout_us(uint32_t timeOut_us)
Definition: common.c:312
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
@ MYKONOS_ERR_SETCLGCGAIN_INV_TXCHANNEL
Definition: t_mykonos.h:390
@ VCODIV_1p5
Definition: t_mykonos.h:696
@ ADIHAL_LOG_WARNING
Definition: common.h:50
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
#define MYKONOS_ADDR_OBS_FRAMER_LANE_CTL
Definition: mykonos_macros.h:611
@ MYKONOS_ERR_GETRFPLL_ARMERROR
Definition: t_mykonos.h:353
@ MYKONOS_ERR_READ_DEFRAMERPRBS_NULL_PARAM
Definition: t_mykonos.h:322
Contains address and miscellaneous macro definitions for Mykonos API.
mykonosErr_t MYKONOS_clearDeframerPrbsCounters(mykonosDevice_t *device)
Clears the deframer/deserializer PRBS counters.
Definition: mykonos.c:10963
mykonosErr_t MYKONOS_getObsRxDecPower(mykonosDevice_t *device, uint16_t *obsRxDecPower_mdBFS)
Performs a power measurement in the ObsRx digital data path.
Definition: mykonos.c:6341
@ MYKONOS_ERR_SETRFPLL_ARMERROR
Definition: t_mykonos.h:293
@ MYKONOS_ERR_GETDPDACTCHECK_NULL_ACTSTRUCT
Definition: t_mykonos.h:555
@ MYKONOS_ERR_SETCLKPLL_INV_VCOINDEX
Definition: t_mykonos.h:63
Data structure to hold Mykonos device settings.
Definition: t_mykonos.h:1695
#define MYKONOS_ADDR_ARM_END_DATA_ADDR
Definition: mykonos_macros.h:646
commonErr_t CMB_closeHardware(void)
Definition: common.c:128
mykonosErr_t MYKONOS_writeArmProfile(mykonosDevice_t *device)
Mykonos ARM configuration write.
Definition: mykonos.c:16189
#define MYKONOS_ADDR_TXSYNTH_VCO_BAND_BYTE1
Definition: mykonos_macros.h:230
mykonosErr_t MYKONOS_setPathDelay(mykonosDevice_t *device, mykonosPathdelay_t *pathDelay)
This function will configure the path delay settings for all the features: DPD, VSWR and CLGC.
Definition: mykonos.c:17757
@ RX1
Definition: t_mykonos.h:630
@ MYKONOS_ERR_INV_AGC_RX1_MAX_GAIN_INDEX
Definition: t_mykonos.h:199
@ MYKONOS_ERR_RXPROFILE_RXCHANNEL
Definition: t_mykonos.h:500
mykonosErr_t MYKONOS_setClgcGain(mykonosDevice_t *device, mykonosTxChannels_t txChannel, int16_t gain)
This function updates the CLGC desired gain parameter.
Definition: mykonos.c:15165
mykonosErr_t MYKONOS_getDigDcOffsetEn(mykonosDevice_t *device, uint8_t *enableMask)
reads Enable/ Disable channels Digital DC Offset and returns a mask of it. The mask returned will be ...
Definition: mykonos.c:17708
uint32_t max_speed_hz
Definition: no_os_spi.h:144
mykonosErr_t MYKONOS_clearPaErrorFlag(mykonosDevice_t *device)
Manually clears the PA Protection Error Flags.
Definition: mykonos.c:6975
#define MYKONOS_ADDR_DEFRAMER_PRBS20_ERR_CNTR_7_TO_0
Definition: mykonos_macros.h:125
@ MYK_RX_PROFILE
Definition: t_mykonos.h:727
#define MYKONOS_ADDR_CLK_SYNTH_F_VCOTN_BYTE1
Definition: mykonos_macros.h:182
@ MYKONOS_ERR_GET_RX1_DEC_POWER_NULL_PARM
Definition: t_mykonos.h:363
@ MYKONOS_ERR_INITSER_INV_VCODIV_PARM
Definition: t_mykonos.h:94
#define MYKONOS_ADDR_RX1_SYNC_CONFIG
Definition: mykonos_macros.h:37
@ MYKONOS_ERR_GET_PATH_DELAY_INVALID_SELECTION
Definition: t_mykonos.h:539
@ MYKONOS_ERR_FAILED
Definition: t_mykonos.h:35
Structure holding the initialization parameters for Altera platform specific GPIO parameters.
Definition: altera_gpio.h:61
#define CS(x)
Definition: ad9144.h:1268
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_MEAS_DURATION
Definition: t_mykonos.h:237
@ MYKONOS_ERR_RESCHEDULE_TRACK_CAL_INV
Definition: t_mykonos.h:474
#define MYKONOS_ADDR_PFIR_COEFF_CTL
Definition: mykonos_macros.h:638
int32_t reflectedGainReal
Definition: t_mykonos.h:1167
uint32_t dpdIterCount
Definition: t_mykonos.h:1581
@ MYKONOS_ERR_CFGCLGC_NULL_CLGCCFGSTRUCT
Definition: t_mykonos.h:428
@ TRACK_RX2_QEC
Definition: t_mykonos.h:848
mykonosErr_t MYKONOS_getDeframerFifoDepth(mykonosDevice_t *device, uint8_t *fifoDepth, uint8_t *readEnLmfcCount)
Reads the Mykonos JESD204b Deframer determinstic FIFO depth.
Definition: mykonos.c:10669
uint32_t dpdExtPathDelay
Definition: t_mykonos.h:1578
@ MYKONOS_ERR_ENOBSFRAMERLINK_INV_LANESEN_PARM
Definition: t_mykonos.h:338
@ MYKONOS_ERR_READARMCMDSTATUS_INV_OPCODE_PARM
Definition: t_mykonos.h:326
#define MYKONOS_ADDR_ARM_CMD
Definition: mykonos_macros.h:574
@ MYKONOS_ERR_RXPROFILE_ADCDIV
Definition: t_mykonos.h:505
@ MYKONOS_ERR_INV_AGC_RX_HB2_OVLD_THRESH_CNT
Definition: t_mykonos.h:222
#define MYKONOS_SNIFFER_DEC_POWER_CONFIG_1
Definition: mykonos_macros.h:380
@ MYKONOS_ERR_GETDPDSTATUS_NULLPARAM
Definition: t_mykonos.h:402
@ MYKONOS_ERR_INV_AGC_RX_APD_LOW_GAIN_STEP_PARM
Definition: t_mykonos.h:212
@ MYKONOS_ERR_RX2_TEMP_GAIN_COMP_RANGE
Definition: t_mykonos.h:454
@ MYKONOS_ERR_SET_PATH_DELAY_NULL_PARAM
Definition: t_mykonos.h:536
#define MYKONOS_ADDR_GAIN_TABLE_RX1_FE_GAIN
Definition: mykonos_macros.h:389
mykonosErr_t MYKONOS_getDpdActuatorCheck(mykonosDevice_t *device, mykonosDpdActuatorCheck_t *actCheck)
Get configuration for DPD actuator check.
Definition: mykonos.c:18263
@ MYKONOS_ERR_JESD204B_ILAS_MISMATCH_NULLPARAM
Definition: t_mykonos.h:342
#define MYKONOS_ADDR_DESERIALIZER_SIN_SHAPE_1
Definition: mykonos_macros.h:144
#define MYKONOS_ADDR_CLOCK_CONTROL_2
Definition: mykonos_macros.h:168
mykonosErr_t MYKONOS_checkPllsLockStatus(mykonosDevice_t *device, uint8_t *pllLockStatus)
Checks if the PLLs are locked.
Definition: mykonos.c:2444
#define MYKONOS_ADDR_CLK_SYNTH_BYTE5
Definition: mykonos_macros.h:186
commonErr_t CMB_hardReset(uint8_t spiChipSelectIndex)
Definition: common.c:138
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
mykonosErr_t MYKONOS_setDefaultObsRxPath(mykonosDevice_t *device, mykonosObsRxChannels_t defaultObsRxCh)
Sets the default Obs Rx channel to enter when device moves from radioOff to radioOn.
Definition: mykonos.c:5218
mykonosErr_t MYKONOS_readArmCmdStatus(mykonosDevice_t *device, uint16_t *errorWord, uint16_t *statusWord)
Reads the Mykonos ARM 64-bit command status register.
Definition: mykonos.c:16005
commonErr_t CMB_closeLog(void)
Definition: common.c:277
@ MYKONOS_ERR_EN_CLGCTRACKING_ARMSTATE_ERROR
Definition: t_mykonos.h:369
@ OBS_SNIFFER_B
Definition: t_mykonos.h:648
mykonosErr_t MYKONOS_enableSysrefToRxFramer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's RX framer.
Definition: mykonos.c:10437
@ MYKONOS_ERR_ARMCMD_INV_NUMBYTES_PARM
Definition: t_mykonos.h:150
#define MYKONOS_ADDR_CLK_SYNTH_BYTE9
Definition: mykonos_macros.h:190
@ MYK_CLGC_PATH_DELAY
Definition: t_mykonos.h:873
@ MYK_CLGC_ATTEN_END
Definition: t_mykonos.h:995
@ MYK_DC_OFFSET_RX_CHN
Definition: t_mykonos.h:918
#define MYKONOS_ADDR_TX2_ATTENUATION_1
Definition: mykonos_macros.h:482
@ MYKONOS_ERR_TXFIR_INV_NUMROWS
Definition: t_mykonos.h:415
mykonosErr_t MYKONOS_setObsRxTempGainComp(mykonosDevice_t *device, int16_t obsRxTempCompGain_mdB)
This function sets the Temperature gain compensation for the observation channel.
Definition: mykonos.c:4924
mykonosErr_t MYKONOS_getRfDcOffsetCnt(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint16_t *measureCount)
retrieves the measure count which is the number of samples taken before DC offset correction is appli...
Definition: mykonos.c:17231
@ MYK_PRBS7
Definition: t_mykonos.h:706
#define MYKONOS_ADDR_DEFRAMER_CONFIG_F
Definition: mykonos_macros.h:86
uint32_t dpdErrorCount
Definition: t_mykonos.h:1652
@ MYKONOS_ERR_GET_PLLFREQ_INV_VCODIV
Definition: t_mykonos.h:357
mykonosErr_t MYKONOS_setRxGainControlMode(mykonosDevice_t *device, mykonosGainMode_t mode)
Configures the Rx gain control mode.
Definition: mykonos.c:5052
@ MYK_DPD_NO_ACTION
Definition: t_mykonos.h:976
@ MYKONOS_ERR_GETDPDSTATUS_INV_CH
Definition: t_mykonos.h:410
@ MYKONOS_ERR_EN_TRACKING_CALS_ARMSTATE_ERROR
Definition: t_mykonos.h:290
@ MYKONOS_ERR_INV_AGC_OBSRX_MAX_GAIN_INDEX
Definition: t_mykonos.h:233
@ TX1TX2_FIR
Definition: t_mykonos.h:774
mykonosErr_t MYKONOS_verifyArmChecksum(mykonosDevice_t *device)
Verifies the ARM checksum value.
Definition: mykonos.c:13433
#define MYKONOS_DEC_POWER_CONFIG_2
Definition: mykonos_macros.h:377
uint32_t rfBandwidth_Hz
Definition: t_mykonos.h:1294
ADI_LOGLEVEL
Definition: common.h:47
#define MYKONOS_ADDR_CLOCK_CONTROL_5
Definition: mykonos_macros.h:171
#define MIN_SNIFFER_RFBW_HZ
Definition: mykonos_user.h:69
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_UPPER_HIGH_THRESH
Definition: t_mykonos.h:251
mykonosErr_t MYKONOS_enableObsRxFramerPrbs(mykonosDevice_t *device, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Selects the PRBS type and enables or disables OBSRX Framer PRBS20 generation.
Definition: mykonos.c:10763
@ MYKONOS_ERR_SETTX1ATTEN_INV_STEPSIZE_PARM
Definition: t_mykonos.h:79
mykonosErr_t MYKONOS_verifyProfiles(mykonosDevice_t *device)
Verifies the init structure profiles are valid combinations.
Definition: mykonos.c:1294
#define MYKONOS_ADDR_DEFRAMER_DATA
Definition: mykonos_macros.h:83
mykonosGainTable_t
Enum to set the desired Rx gain table channel.
Definition: t_mykonos.h:785
@ MYKONOS_ERR_INIT_INV_ORX_RHB1
Definition: t_mykonos.h:55
@ MYKONOS_ERR_CHECKDEVSTRUCT_ORXFIR
Definition: t_mykonos.h:162
int32_t orxRms
Definition: t_mykonos.h:1619
@ MYKONOS_ERR_DIG_DC_OFFSET_NULL_ENABLE_MASK
Definition: t_mykonos.h:530
@ MYKONOS_ERR_SET_RF_DC_OFFSET_INV_MEASURECNT
Definition: t_mykonos.h:522
#define MYKONOS_ADDR_DEFRAMER_SYNC_REQ_RETIME
Definition: mykonos_macros.h:93
#define MYKONOS_ADDR_ARM_STACK_PTR_BYTE_1
Definition: mykonos_macros.h:568
mykonosSnifferChannel_t
Enum of possible Sniffer Rx channels.
Definition: t_mykonos.h:655
@ MYKONOS_ERR_GETSTATEALL_TRACK_ARMERRFLAG
Definition: t_mykonos.h:481
@ MYKONOS_ERR_INITSER_INV_VCODIV1_HSCLK_PARM
Definition: t_mykonos.h:95
@ MYKONOS_ERR_RESETDPD_WRONG_PARAM
Definition: t_mykonos.h:534
mykonosErr_t MYKONOS_enableObsRxGainCtrSyncPulse(mykonosDevice_t *device, uint8_t enable)
Enables or disables the ObsRx slow loop gain counter to use the sync pulse.
Definition: mykonos.c:6251
#define MYKONOS_ADDR_RXLOOPBACK1_CNTRL_1
Definition: mykonos_macros.h:402
mykonosErr_t MYKONOS_waitForEvent(mykonosDevice_t *device, waitEvent_t waitEvent, uint32_t timeout_us)
Performs a blocking wait for a Mykonos calibration or Pll Lock.
Definition: mykonos.c:1576
@ MYKONOS_ERR_DESER_INV_M_PARM
Definition: t_mykonos.h:111
mykonosErr_t MYKONOS_initDigitalClocks(mykonosDevice_t *device)
Sets the CLKPLL output frequency.
Definition: mykonos.c:1888
@ MGC
Definition: t_mykonos.h:800
mykonosErr_t MYKONOS_saveDpdModel(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t *modelDataBuffer, uint32_t modelNumberBytes)
This function called during RadioOff, will allow retrieval of the DPD model file.
Definition: mykonos.c:14321
@ MYKONOS_ERR_INIT_INV_TXFIR_INTERPOLATION
Definition: t_mykonos.h:47
@ MYKONOS_ERR_INV_AGC_RX_PMD_UPPER_HIGH_GAIN_STEP
Definition: t_mykonos.h:210
#define MYKONOS_ADDR_ARM_START_PROG_ADDR
Definition: mykonos_macros.h:643
#define MYKONOS_ADDR_CLOCK_CONTROL_4
Definition: mykonos_macros.h:170
mykonosErr_t MYKONOS_readArmMem(mykonosDevice_t *device, uint32_t address, uint8_t *returnData, uint32_t bytesToRead, uint8_t autoIncrement)
Read from the Mykonos ARM program or data memory.
Definition: mykonos.c:15588
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
@ RX1_ADCPROFILE
Definition: t_mykonos.h:759
uint32_t performanceMetric
Definition: t_mykonos.h:1629
@ MYKONOS_ERR_GET_RX1_OVERLOADS_NULL_PARM
Definition: t_mykonos.h:308
mykonosErr_t MYKONOS_readArmConfig(mykonosDevice_t *device, uint8_t objectId, uint16_t offset, uint8_t *data, uint8_t byteCount)
Low level helper function used by Mykonos API to read the ARM memory config structures.
Definition: mykonos.c:15864
@ TXBBF_CALDONE
Definition: t_mykonos.h:756
@ MYKONOS_ERR_CFGVSWR_NULL_VSWRCFGSTRUCT
Definition: t_mykonos.h:440
mykonosRxProfType_t
Enum of Rx profile types.
Definition: t_mykonos.h:725
mykonosErr_t MYKONOS_setRfDcOffsetCnt(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint16_t measureCount)
Sets the measure count which is the number of samples taken before DC offset correction is applied fo...
Definition: mykonos.c:17143
commonErr_t CMB_SPIReadByte(spiSettings_t *spiSettings, uint16_t addr, uint8_t *readdata)
Definition: common.c:202
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
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
#define MYKONOS_ADDR_AGC_OVRG_GAIN_STEP_6
Definition: mykonos_macros.h:260
#define MYKONOS_CURRENT_SI_VERSION
Definition: mykonos_version.h:22
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_OVLD_THRESH_CNT
Definition: t_mykonos.h:268
@ AGC
Definition: t_mykonos.h:801
mykonosDpdResetMode_t bypassActuatorMode
Definition: t_mykonos.h:1060
@ MYKONOS_ERR_GET_RX2_DEC_POWER_NULL_PARM
Definition: t_mykonos.h:365
uint8_t rxDec5Decimation
Definition: t_mykonos.h:1272
mykonosErr_t MYKONOS_getRadioState(mykonosDevice_t *device, uint32_t *radioStatus)
Reads the current ARM radio state.
Definition: mykonos.c:11684
mykonosErr_t MYKONOS_enableTxNco(mykonosDevice_t *device, uint8_t enable, int32_t tx1ToneFreq_kHz, int32_t tx2ToneFreq_kHz)
Enables/Disables the Tx NCO test tone.
Definition: mykonos.c:6657
@ MYKONOS_ERR_GET_DAC_PWR_INV_POINTER
Definition: t_mykonos.h:305
#define NULL
Definition: wrapper.h:64
@ MYKONOS_ERR_SER_INV_LANEPN_PARM
Definition: t_mykonos.h:104
mykonosErr_t MYKONOS_enableRxFramerLink(mykonosDevice_t *device, uint8_t enable)
Enables/Disables the JESD204B Rx Framer.
Definition: mykonos.c:9888
@ ARMBUSY
Definition: t_mykonos.h:763
@ MYKONOS_ERR_SETDPDACTCHECK_INV_LEVEL
Definition: t_mykonos.h:554
@ MYKONOS_ERR_CLKPLL_INV_VCODIV
Definition: t_mykonos.h:61
#define MYKONOS_ADDR_FRAMER_LANE_XBAR_SEL
Definition: mykonos_macros.h:50
mykonosErr_t MYKONOS_abortInitCals(mykonosDevice_t *device, uint32_t *calsCompleted)
Aborts from an on going ARM init calibration operation.
Definition: mykonos.c:11420
#define MYKONOS_ADDR_OBS_FRAMER_CONFIG_LOOPBACK_XBAR_REV
Definition: mykonos_macros.h:614
#define MYKONOS_ADDR_RFDC_MEASURE_COUNT_2
Definition: mykonos_macros.h:429
mykonosPathDelaySel_t
Enum to select the desired status calibration path delay read back.
Definition: t_mykonos.h:870
mykonosErr_t MYKONOS_getClgcAttenTuningConfig(mykonosDevice_t *device, mykonosClgcAttenTuningConfig_t *attRangeCfg)
Get configuration for CLGC Tx attenuation tuning range.
Definition: mykonos.c:18413
#define MYKONOS_ADDR_ARM_CTL_1
Definition: mykonos_macros.h:553
@ SNRX_GT
Definition: t_mykonos.h:791
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
mykonosErr_t MYKONOS_restoreDpdModel(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t *modelDataBuffer, uint32_t modelNumberBytes)
This function will allow loading of the DPD model file.
Definition: mykonos.c:14142
@ MYKONOS_ERR_GET_PLLFREQ_INV_REFCLKDIV
Definition: t_mykonos.h:358
mykonosErr_t MYKONOS_getRx2DecPower(mykonosDevice_t *device, uint16_t *rx2DecPower_mdBFS)
Performs a power measurement in the Rx2 digital data path.
Definition: mykonos.c:5168
@ MYKONOS_ERR_CLGCATTENTUNCFG_INVALID_TX2_SETTINGS
Definition: t_mykonos.h:562
@ MYK_DC_OFFSET_SNF_CHN
Definition: t_mykonos.h:920
@ MYKONOS_ERR_INIT_INV_ORX_RFIR_DEC
Definition: t_mykonos.h:56
@ MYKONOS_ERR_SET_ARMGPIO_PINS_ARMERROR
Definition: t_mykonos_gpio.h:98
@ MYKONOS_ERR_OBSRXFIR_INV_GAIN_PARM
Definition: t_mykonos.h:85
@ RCAL_CALDONE
Definition: t_mykonos.h:762
Data structure to hold Tx LOL Status.
Definition: t_mykonos.h:1625
@ MYKONOS_ERR_CHECKDEVSTRUCT_ORXGAINCTRL
Definition: t_mykonos.h:163
@ MYKONOS_ERR_SETUP_PA_PROT_INV_ATTEN_ENABLE
Definition: t_mykonos.h:302
uint32_t errorCode
Definition: t_mykonos.h:1661
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
@ MYKONOS_ERR_INV_AGC_RX1_MIN_GAIN_INDEX
Definition: t_mykonos.h:200
@ ADIHAL_LOG_NONE
Definition: common.h:48
mykonosErr_t MYKONOS_initialize(mykonosDevice_t *device)
Initializes the Mykonos device based on the desired device settings.
Definition: mykonos.c:600
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
@ MYK_PRBS15
Definition: t_mykonos.h:707
#define MYKONOS_CH2_DECIMATED_PWR
Definition: mykonos_macros.h:383
#define MYKONOS_ADDR_AGC_SLOW_LOWER0_THRSH_GAIN_STEP
Definition: mykonos_macros.h:326
mykonosFir_t * txFir
Definition: t_mykonos.h:1287
@ MYKONOS_ERR_LOADHEX_INV_CHARCOUNT
Definition: t_mykonos.h:142
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_LOWER_HIGH_THRESH
Definition: t_mykonos.h:249
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_UPPER_LOW_THRESH
Definition: t_mykonos.h:252
@ TXOFF
Definition: t_mykonos.h:618
mykonosErr_t MYKONOS_getClgcConfig(mykonosDevice_t *device)
Definition: mykonos.c:14883
#define MYKONOS_ADDR_ARM_END_PROG_ADDR
Definition: mykonos_macros.h:644
@ MYKONOS_ERR_SET_ORX_MAX_GAIN_INDEX_CHANNEL
Definition: t_mykonos.h:449
mykonosErr_t MYKONOS_enableSysrefToDeframer(mykonosDevice_t *device, uint8_t enable)
Enables or disables SYSREF to the transceiver's deframer.
Definition: mykonos.c:10497
#define MYKONOS_ADDR_OVRLD_PD_DEC_OVRLD_UPPER_THRSH
Definition: mykonos_macros.h:413
@ MYKONOS_ERR_INV_ORX_GAIN_MODE_PARM
Definition: t_mykonos.h:179
@ MYKONOS_ERR_LOAD_ADCPROFILE_SNRX_ADCDIV_ZERO
Definition: t_mykonos.h:345
@ MYKONOS_ERR_CHECKDEVSTRUCT_TXFIR
Definition: t_mykonos.h:158
#define MYKONOS_ADDR_RX_NCO_CH1_FTW_BYTE_3
Definition: mykonos_macros.h:208
@ MYKONOS_ERR_INV_AGC_RX_PMD_LOWER_LOW_THRESH
Definition: t_mykonos.h:204
commonErr_t CMB_memRead(uint32_t offset, uint32_t *data, uint32_t len)
Definition: common.c:340
@ MYKONOS_ERR_INV_AGC_RX_BLOCK_DET_DECAY_PARM
Definition: t_mykonos.h:186
mykonosErr_t MYKONOS_sendArmCommand(mykonosDevice_t *device, uint8_t opCode, uint8_t *extendedData, uint8_t extendedDataNumBytes)
Sends a command to the Mykonos ARM processor.
Definition: mykonos.c:15925
#define MYKONOS_ADDR_RCAL_CONTROL
Definition: mykonos_macros.h:223
@ MYKONOS_ERR_CLKPLL_INV_RXTXPROFILES
Definition: t_mykonos.h:62
mykonosErr_t MYKONOS_checkArmState(mykonosDevice_t *device, mykonosArmState_t armStateCheck)
Verifies the ARM status once it is start running.
Definition: mykonos.c:13498
#define MYKONOS_ADDR_TX2_ATTENUATION_0_READBACK
Definition: mykonos_macros.h:468
@ MYKONOS_ERR_LOAD_LBADCPROFILE_ARMMEM_FAILED
Definition: t_mykonos.h:343
mykonosErr_t MYKONOS_configDpd(mykonosDevice_t *device)
This function will configure DPD settings.
Definition: mykonos.c:13688
mykonosErr_t MYKONOS_getObsRxGain(mykonosDevice_t *device, uint8_t *gainIndex)
Gets the gain index of the currently enabled ObsRx channel.
Definition: mykonos.c:5513
mykonosErr_t MYKONOS_verifyDeviceDataStructure(mykonosDevice_t *device)
Verifies the integrity of the Mykonos device data structure.
Definition: mykonos.c:435
@ MYKONOS_ERR_SET_ORX_MIN_GAIN_INDEX
Definition: t_mykonos.h:451
@ MYKONOS_ERR_CLGCATTENTUNCFG_INVALID_PRESET
Definition: t_mykonos.h:559
@ MYKONOS_ERR_GETTX1ATTEN_NULL_PARM
Definition: t_mykonos.h:335
@ CLKPLL_LOCK
Definition: t_mykonos.h:748
@ MYKONOS_ERR_PU_TXPATH_INV_PARAM
Definition: t_mykonos.h:43
mykonosErr_t MYKONOS_enableDeframerPrbsChecker(mykonosDevice_t *device, uint8_t lanes, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Configures and enables or disables the transceiver's deframer PRBS checker.
Definition: mykonos.c:10862
#define MYKONOS_ADDR_AGC_ORX_SNRX_OVRG_GAIN_STEP_1
Definition: mykonos_macros.h:278
uint32_t calsDoneLastRun
Definition: t_mykonos.h:1540
@ MYKONOS_ERR_CFGVSWR_INV_VSWR_ADDDELAY
Definition: t_mykonos.h:439
@ MYKONOS_ERR_GETCLGCSTATUS_NULLPARAM
Definition: t_mykonos.h:405
#define MYKONOS_ADDR_CLK_SYNTH_BYTE3
Definition: mykonos_macros.h:185
@ TX1_FIR
Definition: t_mykonos.h:772
mykonosErr_t MYKONOS_getObsRxPathSource(mykonosDevice_t *device, mykonosObsRxChannels_t *obsRxCh)
Reads back the currently enabled Observation Rx channel in the radioOn state.
Definition: mykonos.c:5343
#define MYKONOS_ADDR_RX2_SYNC_CONFIG
Definition: mykonos_macros.h:38
mykonosErr_t MYKONOS_getRxQecStatus(mykonosDevice_t *device, mykonosRxChannels_t rxChannel, mykonosRxQecStatus_t *rxQecStatus)
Returns the status of the RxQEC tracking calibration.
Definition: mykonos.c:12787
#define MYKONOS_ADDR_RX_ADC2_PRFL
Definition: mykonos_macros.h:425
@ MYKONOS_ERR_INITARM_INV_DATARATE_PARM
Definition: t_mykonos.h:139
@ MYKONOS_ERR_PU_GETOBSRXPATH_ARMERROR
Definition: t_mykonos.h:398
@ MYKONOS_ERR_DEFRAMER_INV_BANKID_PARM
Definition: t_mykonos.h:129
@ MYKONOS_ERR_RXFIR_INV_GAIN_PARM
Definition: t_mykonos.h:84
@ MYKONOS_ERR_SET_DIG_DC_OFFSET_INV_MSHIFT
Definition: t_mykonos.h:527
mykonosErr_t MYKONOS_getEnabledTrackingCals(mykonosDevice_t *device, uint32_t *enableMask)
Reads back which ARM tracking cals are enabled.
Definition: mykonos.c:12455
mykonosErr_t MYKONOS_getRfPllLoopFilter(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint16_t *loopBandwidth_kHz, uint8_t *stability)
Gets the RF PLL loop filter bandwidth and stability.
Definition: mykonos.c:17555
#define MYKONOS_ADDR_DEFRAMER_SYSREF_FIFO_EN
Definition: mykonos_macros.h:85
@ MYKONOS_ERR_SETORXGAIN_INV_CHANNEL
Definition: t_mykonos.h:72
mykonosErr_t MYKONOS_getRx2TempGainComp(mykonosDevice_t *device, int16_t *rx2TempCompGain_mdB)
This function gets the Temperature gain compensation for Rx2.
Definition: mykonos.c:4871
@ MYKONOS_ERR_SETRFPLL_INV_VCOINDEX
Definition: t_mykonos.h:70
mykonosErr_t MYKONOS_getAllTrackCalState(mykonosDevice_t *device, uint32_t *trackCals)
Get the Suspended or Resumed state for tracking calibrations.
Definition: mykonos.c:12120
#define S(x)
Definition: ad9144.h:1281
@ MYKONOS_ERR_INV_AGC_OBSRX_ENABLE_SYNC_PULSE_GAIN_COUNTER
Definition: t_mykonos.h:238
#define MIN_TX_RFBW_HZ
Definition: mykonos_user.h:78
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_LOCK_LEV_THRSH
Definition: mykonos_macros.h:334
#define MYKONOS_ADDR_CLK_SYNTH_BYTE6
Definition: mykonos_macros.h:187
@ MYKONOS_ERR_DESER_INV_EQ_PARM
Definition: t_mykonos.h:116
@ MYKONOS_ERR_CHECKDEVSTRUCT_OBSRXFRAMER
Definition: t_mykonos.h:165
mykonosErr_t MYKONOS_getDeviceRev(mykonosDevice_t *device, uint8_t *revision)
Reads back the silicon revision for the Mykonos Device.
Definition: mykonos.c:271
uint32_t selfcheckIrrDb
Definition: t_mykonos.h:1687
#define MYKONOS_ADDR_DEFRAMER_PRBS20_STRB_CHKSUM_TYPE
Definition: mykonos_macros.h:124
@ MYKONOS_ERR_LOAD_ADCPROFILE_RXADCDIV_ZERO
Definition: t_mykonos.h:349
#define MYKONOS_SNIFFER_DECIMATED_PWR
Definition: mykonos_macros.h:384
uint32_t iterCount
Definition: t_mykonos.h:1688
mykonosfirName_t
Enum to set the desired FIR filter type for related functions.
Definition: t_mykonos.h:770
@ DACDIV_2p5
Definition: t_mykonos.h:686
@ MYKONOS_ERR_OBSRX_FRAMER_INV_LANEID_PARM
Definition: t_mykonos.h:125
@ MYKONOS_ERR_SETRFPLL_LF_PLLNAME
Definition: t_mykonos.h:514
@ MYKONOS_ERR_SRXFIR_INV_GAIN_PARM
Definition: t_mykonos.h:86
@ MYKONOS_ERR_RXGAINTABLE_INV_CHANNEL
Definition: t_mykonos.h:169
#define MYKONOS_ARM_OBJECTID_ORXQEC_TRACKING
Definition: mykonos_macros.h:665
@ MYKONOS_ERR_INV_AGC_RX_ENABLE_SYNC_PULSE_GAIN_COUNTER
Definition: t_mykonos.h:192
@ MYKONOS_ERR_CHECKDEVSTRUCT_SNIFFERGAINCTRL
Definition: t_mykonos.h:164
#define MYKONOS_ADDR_CLK_SYNTH_CAL_CONTROL
Definition: mykonos_macros.h:194
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_TXPLL_LOCK
Definition: t_mykonos.h:275
mykonosErr_t MYKONOS_setupObsRxAgc(mykonosDevice_t *device)
Sets up the device ObsRx Automatic Gain Control (AGC) registers.
Definition: mykonos.c:5714
@ MYKONOS_ERR_READARMCMDSTATUSBYTE_NULL_PARM
Definition: t_mykonos.h:328
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
mykonosErr_t MYKONOS_setRadioControlPinMode(mykonosDevice_t *device)
Configures the Radio power up/down control for Rx and Tx paths to be controlled by pins (TX1/2_ENABLE...
Definition: mykonos.c:17054
#define START_SNRX_GAIN_INDEX
Definition: mykonos_user.h:45
#define MYKONOS_ARM_READCFG_OPCODE
Definition: mykonos_macros.h:654
@ RX1_FIR
Definition: t_mykonos.h:775
#define MYKONOS_ADDR_OBS_FRAMER_DATA
Definition: mykonos_macros.h:607
#define MYKONOS_ADDR_AGC_ORX_SNRX_LLB_THRSH
Definition: mykonos_macros.h:287
mykonosErr_t MYKONOS_resetDpd(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdResetMode_t reset)
This function resets the DPD model.
Definition: mykonos.c:14576
@ MYKONOS_ERR_OBS_RX_TEMP_GAIN_COMP_RANGE
Definition: t_mykonos.h:455
@ MYKONOS_ERR_GET_TXFILTEROVRG_NULL_PARM
Definition: t_mykonos.h:317
#define AD9528_RESET_B
Definition: parameters.h:164
#define MYKONOS_ADDR_CH3_GAIN_TABLE_CONFIGURATION
Definition: mykonos_macros.h:399
@ MYKONOS_ERR_SETORXGAIN_INV_ORX1GAIN
Definition: t_mykonos.h:359
#define MYKONOS_ADDR_ORX_SNRX_OVRLD_PD_DEC_OVRLD_UPPER_THRSH
Definition: mykonos_macros.h:418
mykonosErr_t MYKONOS_rescheduleTrackingCal(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal)
Reschedules a tracking calibration to run. Can be used to override the tracking calibration timer and...
Definition: mykonos.c:11857
@ MYKONOS_ERR_TXFIR_INV_NUMTAPS_PARM
Definition: t_mykonos.h:416
@ MYKONOS_ERR_INV_AGC_OBSRX_PMD_LOWER_LOW_THRESH
Definition: t_mykonos.h:250
#define MYKONOS_ADDR_AGC_ORX2_MANUAL_GAIN_INDEX
Definition: mykonos_macros.h:291
mykonosErr_t MYKONOS_resetRxAgc(mykonosDevice_t *device)
This function resets the AGC state machine.
Definition: mykonos.c:4500
mykonosErr_t MYKONOS_rxInjectPrbsError(mykonosDevice_t *device)
Injects a PRBS error into the RX data path.
Definition: mykonos.c:10800
#define MYKONOS_ADDR_RX_NCO_CH2_FTW_BYTE_3
Definition: mykonos_macros.h:211
#define MYKONOS_ADDR_RX_ADC_FLASH_CTRL
Definition: mykonos_macros.h:423
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
uint16_t dpdMaxAdaptationCurrent
Definition: t_mykonos.h:1579
uint32_t reversePathDelayCh2
Definition: t_mykonos.h:1643
uint8_t initErrCode
Definition: t_mykonos.h:1544
@ MYKONOS_ERR_INIT_INV_RXFIR_DECIMATION
Definition: t_mykonos.h:50
uint32_t updateCount
Definition: t_mykonos.h:1665
@ TRACK_TX1_QEC
Definition: t_mykonos.h:853
@ MYKONOS_ERR_RX_FRAMER_INV_PRBS_POLYORDER_PARAM
Definition: t_mykonos.h:134
Contains macro definitions and function prototypes for mykonos.c.
uint8_t actuatorGainCheckEn
Definition: t_mykonos.h:1072
mykonosErr_t MYKONOS_setSnifferChannel(mykonosDevice_t *device, mykonosSnifferChannel_t snifferChannel)
Selects the Sniffer RF input to use for the observation receiver when in ObsRx pin mode and ORX_MODE ...
Definition: mykonos.c:12998
mykonosErr_t MYKONOS_getDigDcOffsetMShift(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint8_t *mShift)
retrieves the M-Shift value which is the Corner frequency of Rx notch filter for the given channel....
Definition: mykonos.c:17374
mykonosErr_t MYKONOS_loadAdcProfiles(mykonosDevice_t *device)
Function called automatically that loads the ADC profiles into the ARM.
Definition: mykonos.c:16509
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:116
@ TRACK_TX1_CLGC
Definition: t_mykonos.h:857
#define MYKONOS_ADDR_ARM_ADDR_BYTE_1
Definition: mykonos_macros.h:556
@ MYKONOS_ERR_OK
Definition: t_mykonos.h:32
#define MYKONOS_ARM_OBJECTID_DPDINIT_CONFIG
Definition: mykonos_macros.h:658
mykonosErr_t MYKONOS_enableObsRxFramerLink(mykonosDevice_t *device, uint8_t enable)
Enables/Disables the JESD204B ObsRx Framer.
Definition: mykonos.c:9956
@ MYKONOS_ERR_DEFRAMER_INV_PRBS_CNTR_SEL_PARAM
Definition: t_mykonos.h:138
@ MYKONOS_ERR_GETRADIOSTATE_NULL_PARAM
Definition: t_mykonos.h:310
void * extra
Definition: no_os_gpio.h:89
mykonosErr_t MYKONOS_setSpiSettings(mykonosDevice_t *device)
Sets the Mykonos device SPI settings (3wire/4wire, MSBFirst, etc).
Definition: mykonos.c:373
@ MYKONOS_ERR_SETRFPLL_LF_ARMERROR
Definition: t_mykonos.h:517
#define MYKONOS_ARM_GET_OPCODE
Definition: mykonos_macros.h:656
@ MYKONOS_ERR_INV_AGC_RX_STRUCT_INIT
Definition: t_mykonos.h:180
@ MYKONOS_ERR_GETDPDSTATUS_ARMERRFLAG
Definition: t_mykonos.h:401
@ MYKONOS_ERR_CFGDPD_NULL_DPDCFGSTRUCT
Definition: t_mykonos.h:381
@ RX2_FIR
Definition: t_mykonos.h:776
Header file of GPIO Interface.
#define MAX_GAIN_TABLE_INDEX
Definition: mykonos_user.h:35
mykonosErr_t MYKONOS_getInitCalStatus(mykonosDevice_t *device, mykonosInitCalStatus_t *initCalStatus)
Gets the device initialization calibration status.
Definition: mykonos.c:11499
@ MYKONOS_ERR_INV_AGC_RX_HB2_HIGH_GAIN_STEP_PARM
Definition: t_mykonos.h:213
mykonosErr_t MYKONOS_resetExtTxLolChannel(mykonosDevice_t *device, mykonosTxChannels_t channelSel)
Performs reset to the External Tx LO Leakage tracking calibration channel estimate.
Definition: mykonos.c:16977
#define MYKONOS_ADDR_LOOPBACK_CONFIGURATION_CONTROL
Definition: mykonos_macros.h:164
mykonosErr_t MYKONOS_readRxFramerStatus(mykonosDevice_t *device, uint8_t *framerStatus)
Reads the transceiver's RX framer status.
Definition: mykonos.c:10536
#define MYKONOS_ADDR_CLK_SYNTH_DIVIDER_FRAC_BYTE1
Definition: mykonos_macros.h:180
mykonosTrackingCalibrations_t
Enum to help set the tracking calibration mask.
Definition: t_mykonos.h:845
mykonosErr_t MYKONOS_setupDeserializers(mykonosDevice_t *device)
Sets up the JESD204B Deserializers.
Definition: mykonos.c:8737
mykonosErr_t MYKONOS_initSubRegisterTables(mykonosDevice_t *device)
Write indirect registers (Programmable FIRs, Rx gain tables, JESD204B settings). Must be done after M...
Definition: mykonos.c:1377
@ MYK_DC_OFFSET_AVAILABLE
Definition: t_mykonos.h:933
@ MYKONOS_ERR_INV_AGC_OBSRX_PEAK_STRUCT_INIT
Definition: t_mykonos.h:240
struct no_os_gpio_desc * gpio_ad9371_resetb
Definition: common.c:37
@ MYKONOS_ERR_ORXFIR_TAPSEXCEEDED
Definition: t_mykonos.h:418
#define MYKONOS_ADDR_CLK_SYNTH_BYTE7
Definition: mykonos_macros.h:188
@ MYKONOS_ERR_READFIR_COEFS_NULL
Definition: t_mykonos.h:89
mykonosErr_t MYKONOS_writeArmMem(mykonosDevice_t *device, uint32_t address, uint8_t *data, uint32_t byteCount)
Write to the Mykonos ARM program or data memory.
Definition: mykonos.c:15686
mykonosErr_t MYKONOS_programRxGainTable(mykonosDevice_t *device, uint8_t *gainTablePtr, uint8_t numGainIndexesInTable, mykonosGainTable_t rxChannel)
Programs the gain table settings for either Rx1, Rx2, Rx1 + Rx2, ORx, or SnRx receiver types.
Definition: mykonos.c:3354
@ RX1_RX2
Definition: t_mykonos.h:632
#define MYKONOS_ADDR_FRAMER_WRITE_EN
Definition: mykonos_macros.h:45
@ MYKONOS_ERR_GETDPD_ERROR_CNT_INV_CH
Definition: t_mykonos.h:544
#define MYKONOS_ADDR_AGC_SNRX_MANUAL_GAIN_INDEX
Definition: mykonos_macros.h:292
mykonosErr_t MYKONOS_setupJesd204bObsRxFramer(mykonosDevice_t *device)
Sets up the JESD204B OBSRX Framer.
Definition: mykonos.c:9472
@ MYKONOS_ERR_CLGCATTENTUNCFGGET_NULL_ATTRANGECFGSTRUCT
Definition: t_mykonos.h:564
@ MYK_OBS_RXOFF
Definition: t_mykonos.h:670
#define MYKONOS_ADDR_DEFRAMER_STAT_STRB
Definition: mykonos_macros.h:96
mykonosArmState_t
Enum for ARM states.
Definition: t_mykonos.h:902
@ MYKONOS_ERR_AGC_MIN_MAX_RX_CHANNEL
Definition: t_mykonos.h:448
@ MYKONOS_ERR_FRAMER_INV_BANKID_PARM
Definition: t_mykonos.h:119
@ MYKONOS_ERR_INV_AGC_RX_HB2_HIGH_THRESH_PARM
Definition: t_mykonos.h:214
#define MYKONOS_ADDR_GAIN_TABLE_RX2_FE_GAIN
Definition: mykonos_macros.h:392
uint16_t actuatorGainCheckLevel
Definition: t_mykonos.h:1074
@ MYK_DC_OFFSET_SNF
Definition: t_mykonos.h:931
mykonosErr_t MYKONOS_setRx1ManualGain(mykonosDevice_t *device, uint8_t gainIndex)
Sets the Rx1 Manual Gain Index.
Definition: mykonos.c:3687
@ MYKONOS_ERR_CALCDEVCLK_NULLPARAM
Definition: t_mykonos.h:69
#define MYKONOS_ADDR_ORX_ADC_FLASH_CTRL
Definition: mykonos_macros.h:463
mykonosErr_t MYKONOS_getRfPllFrequency(mykonosDevice_t *device, mykonosRfPllName_t pllName, uint64_t *rfPllLoFrequency_Hz)
Gets the RF PLL local oscillator frequency (RF carrier frequency).
Definition: mykonos.c:2253
#define MYKONOS_ADDR_OBS_FRAMER_RESET
Definition: mykonos_macros.h:604
@ GPIO_PL
Definition: xilinx_gpio.h:54
mykonosErr_t MYKONOS_setupSerializers(mykonosDevice_t *device)
Sets up the JESD204B Serializers.
Definition: mykonos.c:8165
mykonosErr_t MYKONOS_getDpdConfig(mykonosDevice_t *device)
Definition: mykonos.c:13884
@ MYKONOS_ERR_SET_RX_MIN_GAIN_INDEX
Definition: t_mykonos.h:447
@ MYKONOS_ERR_DESER_INV_HSCLK_PARM
Definition: t_mykonos.h:113
@ MYKONOS_ERR_RX2_TEMP_GAIN_COMP_STEP
Definition: t_mykonos.h:457
@ MYKONOS_ERR_GETVSWRCFG_TXORX_PROFILE_INV
Definition: t_mykonos.h:442
#define MYKONOS_ADDR_FRAMER_DATA
Definition: mykonos_macros.h:44
#define MYKONOS_ARM_RADIOON_OPCODE
Definition: mykonos_macros.h:652
@ RX2_GT
Definition: t_mykonos.h:788
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:52
#define L(x)
Definition: ad9144.h:1258
@ MYKONOS_ERR_GETVSWRSTATUS_INV_CH
Definition: t_mykonos.h:444
#define MYKONOS_CURRENT_BUILD_VERSION
Definition: mykonos_version.h:25
#define MYKONOS_ADDR_AGC_CFG_1
Definition: mykonos_macros.h:245
mykonosErr_t MYKONOS_configVswr(mykonosDevice_t *device)
This function, when called during RadioOff, will configure VSWR settings.
Definition: mykonos.c:15253
@ MYKONOS_ERR_PROGRAMFIR_INV_FIRNAME_PARM
Definition: t_mykonos.h:83
@ COMMONERR_FAILED
Definition: common.h:43
mykonosErr_t MYKONOS_getObsRxDecPower(mykonosDevice_t *device, uint16_t *obsRxDecPower_mdBFS)
Performs a power measurement in the ObsRx digital data path.
Definition: mykonos.c:6341
@ MYK_ARM_PROFILE_ERROR
Definition: t_mykonos.h:908
@ MYKONOS_ERR_GET_OBSRX_DEC_POWER_NULL_PARM
Definition: t_mykonos.h:367
#define MYKONOS_ADDR_RX1_TEMP_GAIN_COMP
Definition: mykonos_macros.h:240
@ MYKONOS_WRN_RADIO_ON_NOT_MODIFIABLE
Definition: t_mykonos.h:535
@ MYKONOS_ERR_INV_AGC_RX_APD_HIGH_GAIN_STEP_PARM
Definition: t_mykonos.h:211
#define MYKONOS_ADDR_DEFRAMER_WR_EN
Definition: mykonos_macros.h:84
@ MYKONOS_ERR_INV_AGC_RX_HB2_LOW_THRESH_PARM
Definition: t_mykonos.h:216
@ MYKONOS_ERR_INV_OBSRXFRAMER_PCLKDIV_PARM
Definition: t_mykonos.h:175
uint8_t txFirInterpolation
Definition: t_mykonos.h:1288
mykonosDcOffsetChannels_t
Enum for channel selection for DC offset settings.
Definition: t_mykonos.h:916
mykonosErr_t MYKONOS_getRx2Gain(mykonosDevice_t *device, uint8_t *rx2GainIndex)
Reads the Rx2 Gain Index for Manual or AGC gain control mode.
Definition: mykonos.c:3824
@ MYKONOS_ERR_GETRFPLL_LF_ARMERROR
Definition: t_mykonos.h:518
mykonosErr_t MYKONOS_getDigDcOffsetEn(mykonosDevice_t *device, uint8_t *enableMask)
reads Enable/ Disable channels Digital DC Offset and returns a mask of it. The mask returned will be ...
Definition: mykonos.c:17708
mykonosErr_t MYKONOS_getTx1Attenuation(mykonosDevice_t *device, uint16_t *tx1Attenuation_mdB)
Reads back the Tx1 RF output Attenuation.
Definition: mykonos.c:6515
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_ORXADCPROFILE
Definition: t_mykonos.h:284
#define MYKONOS_ADDR_OVRLD_PD_DEC_OVRLD_LOWER_THRSH
Definition: mykonos_macros.h:414
#define MYKONOS_ADDR_DESERIALIZER_EQ_CTL_1
Definition: mykonos_macros.h:146
#define MYKONOS_ADDR_TX1_GAIN_1
Definition: mykonos_macros.h:484
uint32_t iqRate_kHz
Definition: t_mykonos.h:1275
mykonosErr_t MYKONOS_resetDeframer(mykonosDevice_t *device)
Resets the JESD204B Deframer.
Definition: mykonos.c:8099
@ MYKONOS_ERR_INIT_INV_TXINPUTHB_PARM
Definition: t_mykonos.h:294
mykonosErr_t MYKONOS_clearPaErrorFlag(mykonosDevice_t *device)
Manually clears the PA Protection Error Flags.
Definition: mykonos.c:6975
#define MYKONOS_ADDR_CALPLL_SDM_CONTROL
Definition: mykonos_macros.h:206
uint8_t numFirCoefs
Definition: t_mykonos.h:1181
mykonosErr_t MYKONOS_setupRxAgc(mykonosDevice_t *device)
Sets up the device Rx Automatic Gain Control (AGC) registers.
Definition: mykonos.c:3954
@ MYKONOS_ERR_GETRFPLL_NULLPARAM
Definition: t_mykonos.h:354
#define MAX_ORX_GAIN_TABLE_NUMINDEXES
Definition: mykonos_user.h:42
#define MYKONOS_ADDR_TX_ABBF_FREQ_CAL_NCO_I_MSB
Definition: mykonos_macros.h:493
mykonosErr_t MYKONOS_getRx1TempGainComp(mykonosDevice_t *device, int16_t *rx1TempCompGain_mdB)
This function gets the Temperature gain compensation for Rx1.
Definition: mykonos.c:4771
@ MYKONOS_ERR_SETSTATE_TRACK_ARMERRFLAG
Definition: t_mykonos.h:485
@ MYKONOS_ERR_DESER_INV_LANEPN_PARM
Definition: t_mykonos.h:117
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_LOWER1_THRSH_GAIN_STEP
Definition: mykonos_macros.h:346
uint8_t thb2Interpolation
Definition: t_mykonos.h:1290
@ MYK_DC_OFFSET_RX1
Definition: t_mykonos.h:929
#define MYKONOS_ADDR_CLK_SYNTH_BYTE1
Definition: mykonos_macros.h:183
uint32_t errorCode
Definition: t_mykonos.h:1627
#define MIN_SNRX_GAIN_TABLE_INDEX
Definition: mykonos_user.h:47
mykonosErr_t MYKONOS_getDpdStatus(mykonosDevice_t *device, mykonosTxChannels_t txChannel, mykonosDpdStatus_t *dpdStatus)
This function reads the DPD calibration status from the Mykonos ARM processor.
Definition: mykonos.c:13974
#define MYKONOS_ADDR_ARM_OPCODE_STATE_4
Definition: mykonos_macros.h:595
#define MYKONOS_ADDR_RXLOOPBACK2_CNTRL_1
Definition: mykonos_macros.h:403
#define AD9371_RESET_B
Definition: parameters.h:166
@ MYKONOS_ERR_GETDPDACT_NULL_ACTSTRUCT
Definition: t_mykonos.h:550
@ MYKONOS_ERR_READ_ORXFRAMERSTATUS_NULL_PARAM
Definition: t_mykonos.h:323
mykonosErr_t MYKONOS_radioOff(mykonosDevice_t *device)
Instructs the ARM processor to move the radio state to the off state.
Definition: mykonos.c:11626
#define MYKONOS_ADDR_ARM_CLK_CTL
Definition: mykonos_macros.h:561
commonErr_t CMB_regRead(uint32_t offset, uint32_t *data)
Definition: common.c:330
mykonosErr_t MYKONOS_readDeframerStatus(mykonosDevice_t *device, uint8_t *deframerStatus)
Reads the transceiver's deframer status.
Definition: mykonos.c:10622
#define MYKONOS_ADDR_DIGITAL_DC_OFFSET_SNF
Definition: mykonos_macros.h:441
#define MYKONOS_ADDR_TX2_GAIN_0
Definition: mykonos_macros.h:486
uint32_t errorStatus
Definition: t_mykonos.h:1161
@ MYKONOS_ERR_ENTXNCO_TX2_FREQ_INVALID
Definition: t_mykonos.h:341
#define MYKONOS_ADDR_RXFE2_LOCM
Definition: mykonos_macros.h:401
@ MYKONOS_ERR_GETRXQECSTATUS_INV_CH
Definition: t_mykonos.h:469
#define MYKONOS_ADDR_RX_NCO_CH2_FTW_BYTE_2
Definition: mykonos_macros.h:212
#define MYKONOS_ADDR_FRAMER_CLK_EN
Definition: mykonos_macros.h:42
void * extra
Definition: no_os_spi.h:158
@ MYKONOS_ERR_CFGVSWR_INV_PNSEQLEVEL
Definition: t_mykonos.h:438
uint8_t rhb1Decimation
Definition: t_mykonos.h:1274
@ CALPLL_LOCK
Definition: t_mykonos.h:746
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
mykonosErr_t MYKONOS_getDpdActuatorCheck(mykonosDevice_t *device, mykonosDpdActuatorCheck_t *actCheck)
Get configuration for DPD actuator check.
Definition: mykonos.c:18263
@ MYKONOS_ERR_DEFRAMER_INV_PRBS_POLYORDER_PARAM
Definition: t_mykonos.h:137
@ MYKONOS_ERR_INV_AGC_RX_PKDET_FAST_ATTACK_VALUE
Definition: t_mykonos.h:219
enum spi_type type
Definition: altera_spi.h:58
@ MYKONOS_ERR_INITDES_INV_TXPROFILE
Definition: t_mykonos.h:167
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_4
Definition: mykonos_macros.h:157
@ OBS_SNIFFER_A
Definition: t_mykonos.h:647
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
@ MYKONOS_ERR_READ_DEFFIFODEPTH_NULL_PARAM
Definition: t_mykonos.h:408
@ MYKONOS_ERR_LOADHEX_INVALID_CHKSUM
Definition: t_mykonos.h:144
#define MYKONOS_ADDR_PA_PROTECTION_POWER_READBACK_LSB
Definition: mykonos_macros.h:477
#define MYKONOS_ADDR_ORX_ADC_FLASH_DELAY
Definition: mykonos_macros.h:462
uint32_t forwardPathDelayCh1
Definition: t_mykonos.h:1640
#define MYKONOS_ADDR_DEFRAMER_DET_FIFO_RD_ADDR
Definition: mykonos_macros.h:99
@ MYKONOS_ERR_GET_RX1_DEC_POWER_NUM_SAMPLES
Definition: t_mykonos.h:362
#define MYKONOS_ADDR_SNIFF_RXSYNTH_CP_CAL_STAT
Definition: mykonos_macros.h:231
uint16_t tx2AttenTuningPreset
Definition: t_mykonos.h:1114
@ TRACK_TX2_DPD
Definition: t_mykonos.h:856
#define MYKONOS_ADDR_OBS_FRAMER_ADDR
Definition: mykonos_macros.h:606
@ MYKONOS_ERR_CFGCLGC_INV_CLGC_CTRLRATIO
Definition: t_mykonos.h:388
@ TRACK_TX1_LOL
Definition: t_mykonos.h:851
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_SNIFFPLLCP
Definition: t_mykonos.h:276
Contains type definitions for Mykonos API.
@ MYKONOS_ERR_GETRFPLL_LF_INV_PLLNAME
Definition: t_mykonos.h:520
mykonosErr_t MYKONOS_setObsRxTempGainComp(mykonosDevice_t *device, int16_t obsRxTempCompGain_mdB)
This function sets the Temperature gain compensation for the observation channel.
Definition: mykonos.c:4924
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
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
#define MYKONOS_ADDR_DEFRAMER_LANE_DATA_CTL
Definition: mykonos_macros.h:128
commonErr_t CMB_SPIWriteBytes(spiSettings_t *spiSettings, uint16_t *addr, uint8_t *data, uint32_t count)
Definition: common.c:189
@ MYKONOS_ERR_ABORT_INITCALS_NULL_PARAM
Definition: t_mykonos.h:311
@ MYKONOS_ERR_INIT_INV_SNIFFER_RFIR_DEC
Definition: t_mykonos.h:54
@ MYKONOS_ERR_SETDEFOBSRXPATH_NULL_DEF_OBSRX_STRUCT
Definition: t_mykonos.h:404
@ MYKONOS_ERR_RESET_TXLOL_ARMERROR
Definition: t_mykonos.h:512
mykonosErr_t MYKONOS_setRxGainControlMode(mykonosDevice_t *device, mykonosGainMode_t mode)
Configures the Rx gain control mode.
Definition: mykonos.c:5052
mykonosErr_t MYKONOS_setDpdBypassConfig(mykonosDevice_t *device, mykonosDpdBypassConfig_t *actConfig)
DPD feature to set the bypassing actuator when Tx signal power is below a programmable threshold give...
Definition: mykonos.c:18095
@ MYKONOS_ERR_PU_RXPATH_INV_PARAM
Definition: t_mykonos.h:42
@ MYKONOS_ERR_GETINITCALSTATUS_ARMERROR
Definition: t_mykonos.h:421
#define MYKONOS_ADDR_DIGITAL_DC_OFFSET_CH3_DPD_M_SHIFT
Definition: mykonos_macros.h:442
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
mykonosErr_t MYKONOS_setupPaProtection(mykonosDevice_t *device, uint16_t powerThreshold, uint8_t attenStepSize, uint8_t avgDuration, uint8_t stickyFlagEnable, uint8_t txAttenControlEnable)
Writes Mykonos device registers with settings for the PA Protection block.
Definition: mykonos.c:6757
@ MYKONOS_ERR_GETSNIFFGAIN_INV_POINTER
Definition: t_mykonos.h:76
mykonosErr_t MYKONOS_verifyArmChecksum(mykonosDevice_t *device)
Verifies the ARM checksum value.
Definition: mykonos.c:13433
@ MYKONOS_ERR_INV_AGC_RX_PMD_UPPER_HIGH_THRESH
Definition: t_mykonos.h:205
mykonosErr_t MYKONOS_setRxAgcMinMaxGainIndex(mykonosDevice_t *device, mykonosRxChannels_t rxChannelSelect, uint8_t maxGainIndex, uint8_t minGainIndex)
This function sets the min/max gain indexes for AGC in the main RX channel.
Definition: mykonos.c:4537
commonErr_t CMB_setGPIO(uint32_t GPIO)
Definition: common.c:133
@ MYKONOS_ERR_INV_AGC_OBSRX_PKDET_FAST_ATTACK_VALUE
Definition: t_mykonos.h:265
mykonosErr_t MYKONOS_setRxFramerDataSource(mykonosDevice_t *device, uint8_t dataSource)
Select data to inject into the Rx framer input (ADC data or Loopback data from deframer output)
Definition: mykonos.c:11192
@ DACDIV_4
Definition: t_mykonos.h:687
#define MYKONOS_ADDR_RX_ADC_FLASH_DELAY
Definition: mykonos_macros.h:422
#define MYKONOS_ADDR_SYSREF_PAD_CONFIG
Definition: mykonos_macros.h:34
mykonosVcoDiv_t
Enum of possible VCO divider settings (1x, 1.5x, 2x, 3x)
Definition: t_mykonos.h:693
@ RX1_RX2_GT
Definition: t_mykonos.h:789
mykonosErr_t MYKONOS_getRx1Gain(mykonosDevice_t *device, uint8_t *rx1GainIndex)
Reads the Rx1 Gain Index for Manual or AGC gain control mode.
Definition: mykonos.c:3777
@ MYKONOS_ERR_CFGDPD_INV_DPDSAMPLES
Definition: t_mykonos.h:383
mykonosErr_t MYKONOS_waitArmCmdStatus(mykonosDevice_t *device, uint8_t opCode, uint32_t timeoutMs, uint8_t *cmdStatByte)
Mykonos ARM command status wait function polls command status until opcode completes.
Definition: mykonos.c:16128
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_OVLD_DUR_CNT
Definition: t_mykonos.h:267
@ TRACK_TX1_DPD
Definition: t_mykonos.h:855
@ MYKONOS_ERR_SER_INV_LANEEN_PARM
Definition: t_mykonos.h:101
int32_t platform_init(void)
Initialize the power controller and set the core and peripherals clock divider.
Definition: common.c:41
mykonosErr_t MYKONOS_enableObsRxFramerPrbs(mykonosDevice_t *device, mykonosPrbsOrder_t polyOrder, uint8_t enable)
Selects the PRBS type and enables or disables OBSRX Framer PRBS20 generation.
Definition: mykonos.c:10763
@ TX1_TX2
Definition: t_mykonos.h:621
mykonosErr_t MYKONOS_runInitCals(mykonosDevice_t *device, uint32_t calMask)
Runs the Mykonos initialization calibrations.
Definition: mykonos.c:11272
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
mykonosClgcAttenTuningMode_t tx2AttenTuningLimitMode
Definition: t_mykonos.h:1112
mykonosErr_t MYKONOS_readDeframerPrbsCounters(mykonosDevice_t *device, uint8_t counterSelect, uint32_t *prbsErrorCount)
Reads the deframer PRBS counters.
Definition: mykonos.c:10911
@ MYKONOS_ERR_SETTX2ATTEN_INV_PARM
Definition: t_mykonos.h:80
#define MYKONOS_ADDR_REF_PAD_CONFIG2
Definition: mykonos_macros.h:225
#define SUBCLASSV(x)
Definition: ad9144.h:1274
mykonosErr_t MYKONOS_verifyProfiles(mykonosDevice_t *device)
Verifies the init structure profiles are valid combinations.
Definition: mykonos.c:1294
@ MYK_DC_OFFSET_RX2
Definition: t_mykonos.h:930
mykonosErr_t MYKONOS_getDpdBypassConfig(mykonosDevice_t *device, mykonosDpdBypassConfig_t *actConfig)
Get configuration for bypassing DPD actuator.
Definition: mykonos.c:18155
mykonosErr_t MYKONOS_setupJesd204bDeframer(mykonosDevice_t *device)
Sets up the JESD204B Deframer.
Definition: mykonos.c:10035
@ MYKONOS_ERR_INITARM_INV_REGCLK
Definition: t_mykonos.h:140
#define MYKONOS_ADDR_ARM_BOOT_ADDR_BYTE_2
Definition: mykonos_macros.h:565
#define MAX_SNIFFER_RFBW_HZ
Definition: mykonos_user.h:70
@ MYKONOS_ERR_SETRFPLL_LF_INV_STABILITY
Definition: t_mykonos.h:513
@ MYKONOS_ERR_SETDPDACT_NULL_ACTSTRUCT
Definition: t_mykonos.h:547
@ MYKONOS_ERR_SNRXFIR_TAPSEXCEEDED
Definition: t_mykonos.h:419
mykonosDpdResetMode_t actuatorGainCheckMode
Definition: t_mykonos.h:1073
@ RX1RX2_FIR
Definition: t_mykonos.h:777
@ MYKONOS_ERR_READARMMEM_INV_ADDR_PARM
Definition: t_mykonos.h:147
@ MYKONOS_ERR_GETTX2ATTEN_NULL_PARM
Definition: t_mykonos.h:336
Data structure to hold settings for the current Rx specific use case profile.
Definition: t_mykonos.h:1267
#define MYKONOS_ADDR_FRAMER_CONFIG_LOOPBACK_XBAR_REV
Definition: mykonos_macros.h:51
mykonosErr_t MYKONOS_enableObsRxGainCtrSyncPulse(mykonosDevice_t *device, uint8_t enable)
Enables or disables the ObsRx slow loop gain counter to use the sync pulse.
Definition: mykonos.c:6251
#define MYKONOS_ADDR_ARM_DATA_BYTE_0
Definition: mykonos_macros.h:557
struct no_os_spi_desc * spi_ad_desc
Definition: common.c:36
@ MYKONOS_ERR_HS_AND_LANE_RATE_NOT_INTEGER_MULT
Definition: t_mykonos.h:109
mykonosErr_t MYKONOS_setDigDcOffsetMShift(mykonosDevice_t *device, mykonosDcOffsetChannels_t channel, uint8_t mShift)
Sets M-Shift value which is the Corner frequency of Rx notch filter for the given channel....
Definition: mykonos.c:17310
mykonosErr_t MYKONOS_setTrackingCalState(mykonosDevice_t *device, mykonosTrackingCalibrations_t trackingCal, uint8_t trackCalState)
Suspend or resume individual tracking calibration.
Definition: mykonos.c:12196
@ TXATTEN_0P2_DB
Definition: t_mykonos.h:813
#define MYKONOS_ADDR_RX_ADC1_PRFL
Definition: mykonos_macros.h:424
#define MYKONOS_ADDR_GAIN_TABLE_ADDR
Definition: mykonos_macros.h:388
mykonosErr_t MYKONOS_saveDpdModel(mykonosDevice_t *device, mykonosTxChannels_t txChannel, uint8_t *modelDataBuffer, uint32_t modelNumberBytes)
This function called during RadioOff, will allow retrieval of the DPD model file.
Definition: mykonos.c:14321
@ MYKONOS_ERR_GETTXLOLSTATUS_ARMERRFLAG
Definition: t_mykonos.h:464
@ MYKONOS_ERR_SER_INV_LANERATE_PARM
Definition: t_mykonos.h:100
@ MYKONOS_ERR_INV_AGC_OBSRX_HB2_VERY_LOW_THRESH_PARM
Definition: t_mykonos.h:264
#define MYKONOS_ADDR_ARM_DATA_BYTE_3
Definition: mykonos_macros.h:560
@ MYKONOS_ERR_INV_AGC_RX2_MIN_GAIN_INDEX
Definition: t_mykonos.h:202
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
mykonosErr_t MYKONOS_readArmConfig(mykonosDevice_t *device, uint8_t objectId, uint16_t offset, uint8_t *data, uint8_t byteCount)
Low level helper function used by Mykonos API to read the ARM memory config structures.
Definition: mykonos.c:15864
@ MYKONOS_ERR_GET_PATH_DELAY_ARMERRFLAG
Definition: t_mykonos.h:540
@ MYKONOS_ERR_CHECK_PLL_LOCK_NULL_PARM
Definition: t_mykonos.h:316
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_SNIFFPLL_LOCK
Definition: t_mykonos.h:277
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
#define MYKONOS_ADDR_DEFRAMER_CLK_EN
Definition: mykonos_macros.h:81
Error macro definition for ARM Compiler.
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
@ MYKONOS_ERR_INV_AGC_OBSRX_APD_LOW_THRESH_PARM
Definition: t_mykonos.h:228
#define MAX_RX_RFBW_HZ
Definition: mykonos_user.h:76
@ MYKONOS_ERR_RX1_TEMP_GAIN_COMP_NULL
Definition: t_mykonos.h:459
mykonosErr_t MYKONOS_setTxPfirSyncClk(mykonosDevice_t *device)
Sets the digital Tx PFIR SYNC clock divider.
Definition: mykonos.c:2511
uint32_t updateCount
Definition: t_mykonos.h:1631
#define MYKONOS_ADDR_DESERIALIZER_EQ_CTL_1_TO_0
Definition: mykonos_macros.h:149
mykonosErr_t MYKONOS_enableTxNco(mykonosDevice_t *device, uint8_t enable, int32_t tx1ToneFreq_kHz, int32_t tx2ToneFreq_kHz)
Enables/Disables the Tx NCO test tone.
Definition: mykonos.c:6657
mykonosErr_t MYKONOS_getPathDelay(mykonosDevice_t *device, mykonosPathDelaySel_t select, mykonosPathdelay_t *pathDelay)
This function will read the current path delay settings for the selected calibration.
Definition: mykonos.c:17863
#define MYKONOS_ADDR_DEFRAMER_LANE_FIFO_CTL
Definition: mykonos_macros.h:87
#define MYKONOS_ADDR_TX_INCR_DECR_WORD
Definition: mykonos_macros.h:489
@ MYKONOS_ERR_RXPROFILE_FILTER_DECIMATION
Definition: t_mykonos.h:503
@ MYKONOS_ERR_INIT_INV_DACDIV
Definition: t_mykonos.h:58
#define MYKONOS_ADDR_AGC_ORX_SNRX_OVRG_GAIN_STEP_2
Definition: mykonos_macros.h:279
int32_t vswr_forward_orx_rms
Definition: t_mykonos.h:1170
#define MYKONOS_ADDR_CLK_SYNTH_DIVIDER_FRAC_BYTE0
Definition: mykonos_macros.h:179
mykonosDacDiv_t dacDiv
Definition: t_mykonos.h:1286
@ MYKONOS_ERR_ARMSTATE_EXCEPTION
Definition: t_mykonos.h:493
@ MYKONOS_ERR_ARM_RADIOON_FAILED
Definition: t_mykonos.h:177
@ MYKONOS_ERR_GETDPDCFG_NULL_DPDCFGSTRUCT
Definition: t_mykonos.h:399
#define MYKONOS_ADDR_CLOCK_CONTROL_3
Definition: mykonos_macros.h:169
#define MYKONOS_ADDR_SNRX_LNA_BIAS_C
Definition: mykonos_macros.h:459
#define MYKONOS_ADDR_GAIN_TABLE_CONFIGURATION
Definition: mykonos_macros.h:398
#define MYKONOS_ADDR_AGC_SLOW_ULB_CNT_THRSH
Definition: mykonos_macros.h:319
#define MYKONOS_ADDR_AGC_SLOW_ORX_SNRX_ADC_HIGH_OVRG_CNT_THRSH
Definition: mykonos_macros.h:338
@ MYKONOS_ERR_GETRXQECSTATUS_ARMERRFLAG
Definition: t_mykonos.h:470
#define MIN_ORX_RFBW_HZ
Definition: mykonos_user.h:72
#define MYKONOS_ADDR_PA_PROTECTION_POWER_READBACK_MSB
Definition: mykonos_macros.h:478
@ MYKONOS_ERR_CFGCLGC_INV_CLGC_ADDDELAY
Definition: t_mykonos.h:433
mykonosClgcAttenTuningMode_t
Enum for CLGC Tx attenuation tuning range modes.
Definition: t_mykonos.h:988
mykonosErr_t MYKONOS_programFir(mykonosDevice_t *device, mykonosfirName_t filterToProgram, mykonosFir_t *firFilter)
Configures one or more FIR filters in the device.
Definition: mykonos.c:2799
@ MYKONOS_ERR_LOAD_ADCPROFILE_ORXADCDIV_ZERO
Definition: t_mykonos.h:347
@ MYKONOS_ERR_INV_AGC_RX_PMD_UPPER_LOW_THRESH
Definition: t_mykonos.h:206
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RX1ADCPROFILE
Definition: t_mykonos.h:282
#define MYKONOS_ADDR_CLK_SYNTH_VCO_CAL_REF
Definition: mykonos_macros.h:192
@ MYKONOS_ERR_INV_AGC_RX_HB2_OVLD_DUR_CNT
Definition: t_mykonos.h:221
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
#define MIN_TX_IQRATE_KHZ
Definition: mykonos_user.h:66
mykonosErr_t MYKONOS_getClgcConfig(mykonosDevice_t *device)
Definition: mykonos.c:14883
@ MYKONOS_ERR_WAITFOREVENT_TIMEDOUT_RX2ADCPROFILE
Definition: t_mykonos.h:283
mykonosErr_t MYKONOS_setTx1Attenuation(mykonosDevice_t *device, uint16_t tx1Attenuation_mdB)
Sets the Tx1 RF output Attenuation.
Definition: mykonos.c:6386
mykonosErr_t MYKONOS_loadArmConcurrent(mykonosDevice_t *device, uint8_t *binary, uint32_t count)
Loads binary byte array into ARM program memory. This API function allows user to load the ARM concur...
Definition: mykonos.c:13317
@ MYKONOS_ERR_WRITEARMMEM_INV_ADDR_PARM
Definition: t_mykonos.h:148
@ LOOPBACK_GT
Definition: t_mykonos.h:792