Post Go back to editing

Gain decrease in tdd mode

Thread Summary

The user is experiencing an issue with the ADRV9002 where the gain index for Channel 2 drops to 195 instead of 255 when using Custom TDD mode with a low-level input signal. The final answer suggests checking the AGC configuration for Channel 2, ensuring `minGainIndex = 183`, `maxGainIndex = 255`, and `resetOnRxonGainIndex = 255`. Additionally, it recommends comparing AGC configurations, checking gain table entries, testing in manual gain mode, and updating TES and firmware to the latest version.
AI Generated Content
Category: Software
Product Number: ADRV9002
Software Version: Adrv9002

Hi

for adrv9002 select this mode in TES: Costum TDD One channel only ( channel 1 or channel 2) Threshold limit in AGC for peak mode is -25 /-28 dB. in this mode for low level input signal gain index is 255 and interface gain is 18 dB for channel 1 that is corrected. But for channel 2 only , interface gain is 18 dB and gain index suddenly decrease to 195 (lower index) while I expect gain index 255. What's this problem?

Thread Notes

  • HI  

    Please find below.

    1. AGC Configuration Asymmetry

    Even though both channels are configured similarly, there might be subtle differences in:

    • AGC thresholds
    • Gain table settings
    • AGC mode (e.g., peak vs hybrid)
    • Min/max gain index limits

    Check the AGC configuration for Channel 2 in TES or via API to ensure:

    • minGainIndex = 183
    • maxGainIndex = 255
    • resetOnRxonGainIndex = 255 (if applicable)

    2. TES Profile or Initialization Bug

    There may be a bug or misconfiguration in the TES-generated profile for Channel 2. This has been observed in other contexts (e.g., frequency hopping mode) where gain settings freeze or behave unexpectedly.

    3. Channel-Specific Calibration or Front-End Differences

    If the front-end path for Channel 2 has different gain characteristics (e.g., due to layout, component tolerances, or calibration), the AGC might respond differently.

    4. AGC Settling Time or Attack Delay

    If the AGC doesn’t have enough time to settle after RX enable, it might prematurely reduce gain. Try increasing:

    • attackDelay_us
    • gainUpdateCounter

    Recommendations

    1. Compare AGC Configurations for Channel 1 and Channel 2 in TES or via API.
    2. Force AGC Reset on RX enable for Channel 2: 
      adi_adrv9001_RxGainControl_ResetOnRxonGainIndexSet(device, channel2, 255);
    3. Check Gain Table Entries for Channel 2 — ensure they match Channel 1.
    4. Try Manual Gain Mode temporarily to isolate AGC behavior.
    5. Update TES and Firmware to the latest version — some AGC bugs have been fixed in recent releases.

    Regards,

    SJ