UG-1828
Preliminary Technical Data
Rev. PrC | Page 100 of 338
API Commands
More detailed information including parameters, return values is provided in the doxygen document supplied with SDK package.
Table 35. API Commands Related with LO Configuration Settings
API Function
Description
adi_adrv9001_Radio_Channels_EnableRf()
adi_adrv9001_Radio_Channel_Prime()
Enable or disable RF channel (Transition the specified channel between
RF_ENABLED and PRIMED states) (this function only works if channel is in
SPI mode)
Prime the specified channel (Transition the specified channel between
CALIBRATED state to PRIMED states)
adi_adrv9001_Radio_PllStatus_Get()
Checks if the PLLs are locked.
adi_adrv9001_Radio_PllLoopFilter_Set()
Configures the loop filter for the specified PLL.
adi_adrv9001_Radio_PllLoopFilter_Get()
Gets the loop filter configuration for the specified PLL.
adi_adrv9001_Radio_Carrier_Configure()
Sets the carrier configuration for the given channel.
adi_adrv9001_Radio_Carrier_Inspect()
Inspects carrier configuration.
LO Change Procedure
To set the LO frequency to a particular channel, user must:
1.
Verify the internal ARM microprocessor has been initialized.
2.
If device is on RF_ENABLED state, user needs to first set it to PRIMED state
a.
If in SPI mode, this can be done by calling adi_adrv9001_Radio_Channels_EnableRf().
b.
If in PIN mode, this can be done by moving TX_ENABLE or RX_ENABLE to LOW state.
c.
Once in PRIMED state, user needs to set to CALIBRATED state, calling adi_adrv9001_Radio_Channel_Prime().
3.
Once device is in CABLIRATED state, Set the LO frequency by calling adi_adrv9001_Radio_Carrier_Configure().
4.
Lastly user needs to bring the device back to RF_ENABLED state. First bring it back to PRIMED, then to RF_ENABLED, calling the
same functions above but in reverse order.
User does not have specific control over CLK_PLL. Configuration of CLK_PLL is done at initialization time.
Figure 98. Device State Machine
POWER_UP
STANDBY
STANDBY
STANDBY
UNPRIME
PRIME
AUTO
CALIBRATE FALL
CALIBRATE
ADDITIONAL
CALIBRATIONS
PRIMED
MONITORING
MONITOR
DISABLE
MONITOR
ENABLE
RF
ENABLED
RF ENABLE
RF DISABLE
CALIBRATED
24159-
082