ad9371 — Analog Devices Hardware Python Interfaces 0.0.8 documentation

# ad9371

class adi.ad9371.ad9371(uri='', username='root', password='analog')

  Bases: `adi.rx_tx.rx_tx`, `adi.context_manager.context_manager`

  AD9371 Transceiver

  property ensm_mode

    ensm_mode: Enable State Machine State Allows real time control over the current state of the device. Options are: radio_on, radio_off

  property gain_control_mode

    gain_control_mode: Mode of receive path AGC. Options are: automatic, hybrid, manual

  property jesd204_statuses
  property obs_gain_control_mode

    obs_gain_control_mode: Mode of Obs/Sniffer receive path AGC. Options are: automatic, hybrid, manual

  property obs_hardwaregain

    obs_hardwaregain: Gain applied to Obs/Sniffer receive path chan0. Only applicable when obs_gain_control_mode is set to ‘manual’

  property obs_quadrature_tracking_en

    Enable Quadrature tracking calibration for OBS chan0

  property obs_rf_port_select

    obs_rf_port_select: Observation path source. Options are:

    - OFF - SnRx path is disabled

    - ORX1_TX_LO – SnRx operates in observation mode on ORx1 with Tx LO synthesizer

    - ORX2_TX_LO – SnRx operates in observation mode on ORx2 with Tx LO synthesizer

    - INTERNALCALS – enables scheduled Tx calibrations while using SnRx path. The enableTrackingCals function needs to be called in RADIO_OFF state. It sets the calibration mask, which the scheduler will later use to schedule the desired calibrations. This command is issued in RADIO_OFF. Once the AD9371 moves to RADIO_ON state, the internal scheduler will use the enabled calibration mask to schedule calibrations whenever possible, based on the state of the transceiver. The Tx calibrations will not be scheduled until INTERNALCALS is selected and the Tx calibrations are enabled in the cal mask.

    - OBS_SNIFFER – SnRx operates in sniffer mode with latest selected Sniffer Input – for hardware pin control operation. In pin mode, the GPIO pins designated for ORX_MODE would select SNIFFER mode. Then MYKONOS_setSnifferChannel function would choose the channel.

    - ORX1_SN_LO – SnRx operates in observation mode on ORx1 with SNIFFER LO synthesizer

    - ORX2_SN_LO – SnRx operates in observation mode on ORx2 with SNIFFER LO synthesizer

    - SN_A – SnRx operates in sniffer mode on SnRxA with SNIFFER LO synthesizer

    - SN_B – SnRx operates in sniffer mode on SnRxB with SNIFFER LO synthesizer

    - SN_C – SnRx operates in sniffer mode on SnRxC with SNIFFER LO synthesizer

  property obs_temp_comp_gain

    obs_temp_comp_gain:

  property orx_sample_rate

    orx_sample_rate: Sample rate ORX path in samples per second This value will reflect the correct value when 8x decimator is enabled

  property rx_enable_dec8

    rx_enable_dec8: Enable x8 decimation filter in RX path

  property rx_hardwaregain_chan0

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

  property rx_hardwaregain_chan1

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

  property rx_lo

    rx_lo: Carrier frequency of RX path

  property rx_quadrature_tracking_en_chan0

    Enable Quadrature tracking calibration for RX1

  property rx_quadrature_tracking_en_chan1

    Enable Quadrature tracking calibration for RX2

  property rx_rf_bandwidth

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

  property rx_sample_rate

    rx_sample_rate: Sample rate RX path in samples per second This value will reflect the correct value when 8x decimator is enabled

  property rx_temp_comp_gain_chan0

    rx_temp_comp_gain_chan0:

  property rx_temp_comp_gain_chan1

    rx_temp_comp_gain_chan1:

  property sn_lo

    sn_lo: Carrier frequency of Sniffer/ORx path

  property tx_enable_int8

    tx_enable_int8: Enable x8 interpolation filter in TX path

  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

  property tx_lo

    tx_lo: Carrier frequency of TX path

  property tx_quadrature_tracking_en_chan0

    Enable Quadrature tracking calibration for TX1

  property tx_quadrature_tracking_en_chan1

    Enable Quadrature tracking calibration for TX2

  property tx_rf_bandwidth

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

  property tx_sample_rate

    tx_sample_rate: Sample rate TX path in samples per second This value will reflect the correct value when 8x interpolator is enabled