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