Python Bindings#
Configuration Objects#
- class adrv9002.rx_radio_channel_config#
ADRV9002 RX channel configuration.
- Param:
bool enabled: Enable RX channel
- Param:
bool adc_high_performance_mode: Enable ADC high performance mode
- Param:
bool frequency_offset_correction_enable: Enable frequency offset correction
- Param:
int analog_filter_power_mode: Analog filter power mode
- Param:
bool analog_filter_biquad: Enable analog filter biquad
- Param:
uint32_t analog_filter_bandwidth_hz: Analog filter bandwidth in Hz
- Param:
uint32_t channel_bandwidth_hz: Channel bandwidth in Hz
- Param:
uint32_t sample_rate_hz: Sample rate in Hz
- Param:
bool nco_enable: Enable NCO
- Param:
int nco_frequency_hz: NCO frequency in Hz
- Param:
int rf_port: RF port
- class adrv9002.tx_radio_channel_config#
ADRV9002 TX channel configuration.
- Param:
bool enabled: Enable TX channel
- Param:
bool frequency_offset_correction_enable: Enable frequency offset correction
- Param:
int analog_filter_power_mode: Analog filter power mode
- Param:
uint32_t channel_bandwidth_hz: Channel bandwidth in Hz
- Param:
bool orx_enabled: Enable ORX
- Param:
int elb_type: ELB type
- class adrv9002.radio_config#
ADRV9002 radio configuration.
- Param:
int ssi_lanes: Number of SSI lanes
- Param:
bool ddr: Enable DDR mode
- Param:
bool short_strobe: Enable short strobe mode
- Param:
bool lvds: Enable LVDS mode
- Param:
int adc_rate_mode: ADC rate mode
- Param:
bool fdd: Enable FDD mode
- Param:
rx_radio_channel_config rx_config: RX channel configuration
- Param:
tx_radio_channel_config tx_config: TX channel configuration
- class adrv9002.clock_config#
ADRV9002 clock configuration.
- Param:
int device_clock_frequency_khz: Device clock frequency in kHz
- Param:
bool device_clock_output_enable: Enable device clock output
- Param:
int device_clock_output_divider: Device clock output divider
- Param:
bool clock_pll_high_performance_enable: Enable high performance mode
- Param:
int clock_pll_power_mode: Clock PLL power mode
- class adrv9002.adrv9002_config#
ADRV9002 configuration.
- Param:
radio_config radio_cfg: Radio configuration
- Param:
clock_config clk_cfg: Clock configuration
Functions#
- adrv9002.generate_profile(cfg: ~adrv9002.adrv9002_config) -> (<class 'bytes'>, <class 'bytes'>)#
Generate profile for ADRV9002.
- Param:
adrv9002_config cfg: ADRV9002 configuration
- Returns:
List of bytes of profile and stream image
<!– .. autofunction:: get_message_from_error_code –>
- adrv9002.generate_load_profile_iio(cfg: adrv9002_config, dev: LP__Device) None #
Generate profile for ADRV9002 and load it to the device.
- Param:
adrv9002_config cfg: ADRV9002 configuration
- Param:
iio._DevicePtr dev: IIO device pointer