Post Go back to editing

AGC

Thread Summary

The user inquires about the AGC state machine, specifically the timing and delays involved in gain updates. The final answer confirms that the attack delay_us is in microseconds, not AGC clocks, and that a 37 AGC clock cycle delay occurs after a gain update with an SLS delay of 16 clocks. The SLS delay and 5 AGC clock cycles apply after the first attack, and both the SLS delay and peak_wait_time timers start simultaneously after a gain attack.
AI Generated Content
Category: Software
Product Number: ADRV9002
Software Version: 28.0.0

I want to study the fast attack behavior. In the guide, the following picture is provided.

The picture above describes the AGC state machine.

1)It is claimed that AGC needs a configurable amount of time to be held in reset via the parameter attack delay_us. I assume that thisvalue is expressed in microseconds, not in AGC clocks. Is this assumption correct?

2)In the figure above, there are 2 SLS delays plus 5 AGC clocks (not configurable) between 2 gain update counters. Does this mean that after a gain update I have to wait 37 AGC cycles before the AGC becomes active again, assuming SLS delay=16 clocks? 

3)Are the SLS delay and 5 agc clock cycles applied during  the first attack or do they take effect after the first attack event?

4)After a gain attack, AGC is held in reset via SLS delay while the detectors are held in reset via the peak_wait_time. Do these two timers start at the same moment, i.e when the attack occurs?

  • )It is claimed that AGC needs a configurable amount of time to be held in reset via the parameter attack delay_us. I assume that thisvalue is expressed in microseconds, not in AGC clocks. Is this assumption correct?

    Yes, "attack delay_us" is expressed in microseconds not in terms of AGC clock cycles.

    2)In the figure above, there are 2 SLS delays plus 5 AGC clocks (not configurable) between 2 gain update counters. Does this mean that after a gain update I have to wait 37 AGC cycles before the AGC becomes active again, assuming SLS delay=16 clocks? 

    Yes, with SLS of 16 clocks, the AGC must wait 37 AGC clock cycles after a gain update before it is allowed to react again.

    3)Are the SLS delay and 5 agc clock cycles applied during  the first attack or do they take effect after the first attack event?

    The SLS delay and 5 AGC clock cycles are applied after the first gain attack completes and not before the first update. 

    4)After a gain attack, AGC is held in reset via SLS delay while the detectors are held in reset via the peak_wait_time. Do these two timers start at the same moment, i.e when the attack occurs?

    Yes, after the gain attack, both the timers are started at the same moment.

  • Thank you for your time, your answers will be very helpful

    Regards

    Jonatha