UG-1828
Preliminary Technical Data
Rev. PrC | Page 142 of 338
ADI_ADRV9001_INIT_CAL_RX_ALL = 0x001FFE00,
ADI_ADRV9001_INIT_CAL_RX_TX_ALL = 0x001FFFFF,
ADI_ADRV9001_INIT_CAL_SYSTEM_ALL = 0x00C00000,
} adi_adrv9001_InitCalibrations_e
The following enumerator type defines the operating modes for initial calibrations:
typedef enum adi_adrv9001_InitCalMode
{
ADI_ADRV9001_INIT_CAL_MODE_ALL,
ADI_ADRV9001_INIT_CAL_MODE_SYSTEM_AND_RX,
ADI_ADRV9001_INIT_CAL_MODE_LOOPBACK_AND_TX,
ADI_ADRV9001_INIT_CAL_MODE_ELB_ONLY
}adi_adrv9001_InitCalMode_e;
in which ADI_ADRV9001_INIT_CAL_MODE_ALL is for running all the selected initial calibrations, including both receiver (non-
loopback and loopback paths) and transmitter initial calibrations. ADI_ADRV9001_INIT_CAL_MODE_SYSTEM_AND_RX is for
running the selected receiver initial calibrations (non-loopback paths) and
ADI_ADRV9001_INIT_CAL_MODE_LOOPBACK_AND_TX is for running the selected receiver calibrations on loopback paths (both
internal and external loopback paths) and the selected transmitter initial calibrations. When using external LO for both receiver and
transmitter and when receiver LO and transmitter LO are at different frequencies, it takes time for user to change LO frequency, therefore,
instead of running all the initial calibrations (select mode 0), the user could first set receiver LO and run receiver initial calibrations (non-
loopback path) (select mode 1) and then change to Tx LO and run the receiver initial calibrations (loopback path) and transmitter initial
calibrations (select mode 2). ADI_ADRV9001_INIT_CAL_MODE_ELB_ONLY is for running all the initial calibrations on external
loopback paths only. Usually user should not explicitly use this mode. It is used when the user calls the
adi_adrv9001_cals_ExternalPathDelay_Run() API command to get the external loopback path delay, which can be used as an input to
adi_adrv9001_cals_ExternalPathDelay_Set() for characterization.
Table 51 describes the mask bit assignment for initial calibrations in adi_adrv9001_InitCalibrations_e. It also explains the functionality of
each initial calibration. Note it is possible to select a different mask for Channel 1 (Tx1/Rx1) and Channel 2 (Tx2/Rx2).
Table 51. Initial Calibration Mask Bit Assignments
Bits Corresponding Enum
Calibration
Description
D0
ADI_ADRV9001_INIT_CAL_TX_QEC
Tx QEC Initial
Calibration
This performs an initial QEC calibration for frequency
independent errors for the Tx path. It estimates the gain
and phase mismatch and apply the gain mismatch in
the digital domain. Currently it uses the Tx path and an
ILB path. If transmitted data is quadrature modulated,
this initial calibration is performed, but it is not used if
the data modulation is direct modulation (DM).
D1
ADI_ADRV9001_INIT_CAL_TX_LO_LEAKAGE
Tx LOL Initial
Calibration
This performs an initial LOL calibration. It estimates the
LOL and applies the cancellation in the digital domain.
Currently it uses the Tx path and an ILB path. If
transmitted data is quadrature modulated, this initial
calibration is performed, but it is not used if the data
modulation is direct modulation (DM).
D2
ADI_ADRV9001_INIT_CAL_TX_LB_PD
Tx Loop Back
Path Delay
Calibration
This is used to calibrate the Tx Loop Back Path Delay
(could be for either ILB or ELB). This information is
required for QEC and LOL calibration. Currently it uses
the Tx path and an ILB path.
D3
ADI_ADRV9001_INIT_CAL_TX_DCC
Tx DCC Initial
Calibration
This corrects the 50% duty cycle for external LO when
the divisor is 2.
D4
ADI_ADRV9001_INIT_CAL_TX_BBAF
Tx BBAF Initial
Calibration
This is used to tune the low-pass corner frequency and
the pass-band flatness of the Tx baseband analog filter.
D5
ADI_ADRV9001_INIT_CAL_TX_BBAF_GD
Tx BBAF-GD
Initial
Calibration
This is used to estimate and correct the filter group delay
to remove frequency dependent quadrature error
between the I and Q channels in each transmitter.
D6
ADI_ADRV9001_INIT_CAL_TX_ATTEN_DELAY
Tx ATTD Initial
Calibration
This is used to estimate the delay between the Tx analog
attenuation and digital attenuation. The delay will be