Preliminary Technical
Data
Table 16. Adi_adrv9025_CfrCtrlConfig_t Data Structure
Data Type
Structure Member
uint32_t
txChannelMask
adi_adrv9010_CfrMod
cfrMode
eSel_e
uint16_t
cfrTxDelay
float
cfrPeakThreshold
float
cfrEngine1PeakThresholdScaler
float
cfrEngine2PeakThresholdScaler
float
cfrEngine3PeakThresholdScaler
float
cfrCorrectionThresholdScaler
adi_adrv9010_CfrInter
cfrInterpolationFactor
polationSel_e
uint8_t
cfrEngine1MaxNumOfPeaks
uint8_t
cfrEngine2MaxNumOfPeaks
uint8_t
cfrEngine3MaxNumOfPeaks
adi_adrv9025_CfrCtrlConfigGet(...)
int32_t adi_adrv9025_CfrCtrlConfigGet(adi_adrv9025_Device_t * device, adi_adrv9025_TxChannels_e
txChannel, adi_adrv9025_CfrCtrlConfig_t *
This function retrieves the core control config parameters for the CFR engine. It reads the CFR mode, peak threshold,
Description
interpolation factor and the delay currently programmed into the device.
This function may be called after device initialization and the ARM processor boot up is complete.
Precondition
Table 17. adi_adrv9025_ CfrCtrlConfigGet(...) Parameters
Parameter
Description
*device
Pointer to the device settings structure
txChannel
Target transmitter channel whose CFR control config is required to be read back
*cfrCtrlConfig
Pointer to CFR control config struct which will be updated with the CFR control settings from the device
adi_adrv9025_CfrCorrectionPulseWrite_v2(...)
int32_t adi_adrv9025_CfrCorrectionPulseWrite_v2(adi_adrv9025_Device_t * device, uint32_t
txChannelMask, adi_adrv9025_CfrCorrectionPulse_t cfrCorrectionPulses[], uint8_t
numCorrectionPulses);
Description
Valid
Description
Values
Mask consisting of 'OR'ed transmitter channels for which
0..15
the CFR core config will be applied (1 bit for each
channel).
Selects the mode in which CFR is required to operate in.
1
Currently, Mode 1 is the only supported mode.
Sets CFR delay per engine in units of samples at the CFR
129..511
input rate (JESD 204B/C transmitter rate)
Sets the target CFR peak detection and correction
threshold. The threshold is calculated as:
0..1
The peak threshold is set to 0.79 by default.
0..1
Threshold Scaler for engine CFR engine 3
0..1
Threshold Scaler for engine CFR engine 2
0..1
Threshold Scaler for engine CFR engine 1
0..1
Threshold Scaler for CFR correction
Selects the interpolation factor to be applied to CFR input
before peak detection. The CFR peak detectors can run at
1, 2, 4
a higher (interpolated) rate to enable better peak
detection.
0..5
Sets the maximum number of peaks to remove in one
group for the respective CFR engines. Default value is 5.
0..5
User needs to set this to 0 when engine is disabled. It's
suggested to have descending order of max number of
0..5
peaks where Engine1 has the highest value.
cfrCtrlConfig)
Rev. PrA | Page 47 of 82
Need help?
Do you have a question about the ADRV9029 and is the answer not in the manual?
Questions and answers