adrv9002#

class adi.adrv9002.adrv9002(uri='')#

Bases: rx_tx, context_manager

ADRV9002 Transceiver

property agc_tracking_en_chan0#

Enable AGC on the fly tracking calibration for RX1

property agc_tracking_en_chan1#

Enable AGC on the fly tracking calibration for RX2

property api_version#

api_version: Get the version of the API

property atten_control_mode_chan0#

Control TX1 attenuation mode. Options are: bypass, spi, pin

property atten_control_mode_chan1#

Control TX2 attenuation mode. Options are: bypass, spi, pin

property bbdc_rejection_tracking_en_chan0#

“Enable Baseband DC rejection on the fly tracking calibration for RX1

property bbdc_rejection_tracking_en_chan1#

“Enable Baseband DC rejection on the fly tracking calibration for RX2

property close_loop_gain_tracking_en_chan0#

Enable Close Loop Gain tracking calibration for TX1

property close_loop_gain_tracking_en_chan1#

Enable Close Loop Gain tracking calibration for TX2

property digital_gain_control_mode_chan0#

Digital gain control mode for RX1. Option are: automatic spi.

property digital_gain_control_mode_chan1#

Digital gain control mode for RX2. Option are: automatic spi.

property gain_control_mode_chan0#

gain_control_mode_chan0: Mode of receive path AGC. Options are: spi, pin, automatic

property gain_control_mode_chan1#

gain_control_mode_chan1: Mode of receive path AGC. Options are: spi, pin, automatic

property hd_tracking_en_chan0#

“Enable Harmonic Distortion on the fly tracking calibration for RX1

property hd_tracking_en_chan1#

“Enable Harmonic Distortion on the fly tracking calibration for RX2

property interface_gain_chan0#

interface_gain_chan0: Fixed input gain stage for channel 0. Options are: 18dB 12dB 6dB 0dB -6dB -12dB -18dB -24dB -30dB -36dB

property interface_gain_chan1#

interface_gain_chan0: Fixed input gain stage for channel 0. Options are: 18dB 12dB 6dB 0dB -6dB -12dB -18dB -24dB -30dB -36dB

property lo_leakage_tracking_en_chan0#

Enable LO Leakage tracking calibration for TX1

property lo_leakage_tracking_en_chan1#

Enable LO Leakage tracking calibration for TX2

property loopback_delay_tracking_en_chan0#

Enable Loopback delay tracking calibration for TX1

property loopback_delay_tracking_en_chan1#

Enable Loopback delay tracking calibration for TX2

property pa_correction_tracking_en_chan0#

Enable PA Correction tracking calibration for TX1

property pa_correction_tracking_en_chan1#

Enable PA Correction tracking calibration for TX2

property profile#
property quadrature_fic_tracking_en_chan0#

Enable Quadrature Error Correction Narrowband FIC on the fly tracking calibration for RX1

property quadrature_fic_tracking_en_chan1#

Enable Quadrature Error Correction Narrowband FIC on the fly tracking calibration for RX2

property quadrature_tracking_en_chan0#

Enable Quadrature tracking calibration for TX1

property quadrature_tracking_en_chan1#

Enable Quadrature tracking calibration for TX2

property quadrature_w_poly_tracking_en_chan0#

Enable Quadrature Error Correction Wideband Poly on the fly tracking calibration for RX1

property quadrature_w_poly_tracking_en_chan1#

Enable Quadrature Error Correction Wideband Poly on the fly tracking calibration for RX2

property rfdc_tracking_en_chan0#

“Enable RF DC on the fly tracking calibration for RX1

property rfdc_tracking_en_chan1#

“Enable RF DC on the fly tracking calibration for RX2

property rssi_tracking_en_chan0#

“Enable RSSI on the fly tracking calibration for RX1

property rssi_tracking_en_chan1#

“Enable RSSI on the fly tracking calibration for RX2

property rx0_en#

Control RX1 Power state

property rx0_lo#

rx0_lo: Carrier frequency of RX1 path

property rx0_nco_frequency#

NCO correction frequency for RX1

property rx0_port_en#

Control Port RF Enable mode for RX1. Options are: pin and spi

property rx0_rf_bandwidth#

rx_rf_bandwidth: Bandwidth of front-end analog filter of RX1 path

property rx0_sample_rate#

rx_sample_rate: Sample rate RX1 path in samples per second

property rx1_en#

“Control RX2 Power state

property rx1_lo#

rx1_lo: Carrier frequency of RX2 path

property rx1_nco_frequency#

NCO correction frequency for RX2

property rx1_port_en#

Control Port RF Enable mode for RX2. Options are: pin and spi

property rx1_rf_bandwidth#

rx_rf_bandwidth: Bandwidth of front-end analog filter of RX2 path

property rx1_sample_rate#

rx_sample_rate: Sample rate RX2 path in samples per second

property rx_dma_mode#

rx_dma_mode: DMA configuration for RX path. Options are: combined: RX1 and RX2 share the same rx method split: RX1 and RX2 have separate rx methods rx1 and rx2. Typically used when they are at different rates. In this case the standard rx method has the same effect as the rx1 method.

property rx_ensm_mode_chan0#

rx_ensm_mode_chan0: RX Enable State Machine State Channel 0. Options are: calibrated, primed, rf_enabled

property rx_ensm_mode_chan1#

rx_ensm_mode_chan1: RX Enable State Machine State Channel 1. Options are: calibrated, primed, rf_enabled

property rx_hardwaregain_chan0#

rx_hardwaregain: Gain applied to RX path channel 0. Only applicable when gain_control_mode is set to ‘spi’

property rx_hardwaregain_chan1#

rx_hardwaregain: Gain applied to RX path channel 1. Only applicable when gain_control_mode is set to ‘spi’

property stream#
property tx0_en#

“Control TX1 Power state

property tx0_lo#

tx1_lo: Carrier frequency of TX1 path

property tx0_nco_frequency#

NCO correction frequency for TX1

property tx0_port_en#

Control Port RF Enable mode for TX1. Options are: pin and spi

property tx0_rf_bandwidth#

tx_rf_bandwidth: Bandwidth of front-end analog filter of TX1 path

property tx0_sample_rate#

tx_sample_rate: Sample rate TX1 path in samples per second

property tx1_en#

“Control TX2 Power state

property tx1_lo#

tx1_lo: Carrier frequency of TX2 path

property tx1_nco_frequency#

NCO correction frequency for TX2

property tx1_port_en#

Control Port RF Enable mode for TX2. Options are: pin and spi

property tx1_rf_bandwidth#

tx_rf_bandwidth: Bandwidth of front-end analog filter of TX2 path

property tx1_sample_rate#

tx_sample_rate: Sample rate TX2 path in samples per second

property tx_dma_mode#

tx_dma_mode: DMA configuration for TX path. Options are: combined: TX1 and TX2 share the same tx method split: TX1 and TX2 have separate tx methods tx1 and tx2. Typically used when they are at different rates. In this case the standard tx method has the same effect as the tx1 method.

property tx_ensm_mode_chan0#

tx_ensm_mode_chan0: TX Enable State Machine State Channel 0. Options are: calibrated, primed, rf_enabled

property tx_ensm_mode_chan1#

tx_ensm_mode_chan1: TX Enable State Machine State Channel 1. Options are: calibrated, primed, rf_enabled

property tx_hardwaregain_chan0#

tx_hardwaregain: Attenuation applied to TX path channel 0

property tx_hardwaregain_chan1#

tx_hardwaregain: Attenuation applied to TX path channel 1

write_profile(value)#

Load a new profile on the device Stream related to profile should be loaded first. Please see driver documentation about profile generation.

write_stream(value)#

Load a new stream on the device Stream becomes active once accompanying profile is loaded Please see driver documentation about stream generation.

write_stream_profile(stream, profile)#

Load a new profile and stream on the device

adi.adrv9002.rx1(self)#

rx1: Receive data on channel 0 (Same as rx() method)

adi.adrv9002.rx2(self)#

rx2: Receive data on channel 1

adi.adrv9002.tx1(self, data)#

tx1: Transmit data on channel 0 (Same as tx() method)

adi.adrv9002.tx2(self, data)#

tx2: Transmit data on channel 1