This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE7900EVM: Regarding internal AGC configuration in AFE7900EVM

Part Number: AFE7900EVM

Hello support team,

I have below queries related to internal AGC configuration.

1) I have gone through the schematic and realize that LNABypass pins(RXA, RXB, RXC, RXD ) are interfaced with the CPLD in AFE7900EVM board. and no pin is coming on the output header of AFE7900EVM board
In order to control the external LNA bypass/enable for all 4 channels, there is a requirement for use of Header pins through which I can provide voltage to control to external LNA.
So, As the RXA/RXB/RXC/RXD Bypass output signals are interfaced to CPLD only. Do I need to use CPLD as a buffer to transfer all 4 RXA, RXB, RXC, RXD Bypass output signals to FPGA through FMC connector and then FPGA Header pins to be used to interface external LNA? In short , The interfacing of RXBypass output signals needs to be interface with external LNA , how to interface that when that output signals are not coming to nay header directly?

2) If possible, do you have any application note that can describe internal AGC mechanism with external LNA control ? then it would be very helpful.

3) As given in the config guide, using internal AGC mechanism, either the complete LNA gain or part of the gain can be bypassed, So, I can choose the LNA in which gain can be controlled using voltage level.
My input range is very dynamic from minimum to maximum. so I have to use one fixed low gain LNA with another LNA (having variable gain , as It is not possible to choose fix gain LNA with bypass/enable)  
(Example : Input amplitude         Fixed gain LNA       variable gain LNA          ADC input
                    -40 dBm                    12 dB                              30 dB                      2 dBm
                    -18 dBm                    12 dB                              12  dB                     6 dBm
                       4 dBm                    12 dB                              bypass                  16 dBm
As you can see above , it is not possible to use only LNA with the functionality of bypass and enable as my input range variation is lower as well higher( -40 dBm to 5 dBm)
I need to use the LNA in which part of the gain can be bypass , full gain bypass, full gain enable as per requirement. For that, available VGA is 2 types 1) Voltage control VGA ( in which using 1 pin voltage variation, gain can be controlled) 2) DVGA 

What I found from the configuration guide is as below screenshot, that in internal AGC mode, it is possible to control external DVGA . But I did not understand how to control external DVGA using single BYPASS control GPIO pin? 

So using internal AGC mode is it possible to control the external VGA gain (so that part of the gain can be bypassed whenever required) Or it just capable to full bypass or full enable the external LNA?

4) Also, I found from the configuration guide that , ALC (Digital gain compensation) along with the internal AGC compensate the gain equivalent to current DSA attenuation as well External LNA current gain and phase by using lnagain0 and lnaphase0. So, I think, there is no need to read back the current DSA value and external LNA status through GPIO pin or SPI , as it is being compensated using DGC mechanism, Right? Please suggest if my understanding is correct?

I think, the main confusion over here for me with this internal AGC mechanism is the external Amplifier control (the amplifier , which should be having variable gain with bypass/enable, not the fixed gain with bypass/enable) . I request you to please provide guidance on the above list of queries as soon as possible so that I can finalize external amplifier for my application.

Awaited your quick response.

  • Maitry,

    We are looking into this.

    Regards,

    Jim

  • Hi Jim,

    Is there any update on the above requirement ? Request you to please provide guidance and support as soon as possible as due to this we are not able to finalize the external DVGA / LNA  that can be used with internal AGC. and our project is getting delayed. request you to please look in to this with high priority.

  • Hi Jim,

    Kindly request you to provide feedback on the above case.

  • Hi Maitry,

    1. RX LNA Bypass pins are connected to test points (TP16, TP20, TP19 and TP21) in schematics. These test points can be used to interface these pins with external LNAs.

    2. Details on AGC features and how to configure this block are in section 5 of AFE79xx_ConfigurationGuide_SBAA417. LNA control related information is also in the same section. We don't have a separate app note on this. 

    3. At 30MHz input frequency, minimum full scale of ADC is -2.2dBm and max full scale 17.8dBm. Input signal range from about -7.5dBm (which is -5.3dBFs for minimum full scale) till 15dBm (which is -2.8dBFs for maximum full scale) can be used. If a fixed gain of 10dB and 22.5dB gain with bypass is used:

    a. for -40dBm input signal, with full gain ADC input will be at -40+10+22.5 = -7.5dBm

    b. for -17.5dBm input signal, with full gain ADC input will be at -17.5+10+22.5 = 15dBm

    c. for -17.5dBm input signal, with 22.5 gain bypassed, ADC input will be at -17.5+10 = -7.5dBm

    d. for 5dBm input signal, with 22.5 gain bypassed, ADC input will be at 5+10 = 15dBm

    For this simplified example, -17.5dBm power can be the point of transition point for bypass/ enable of 22.5dB gain.

    If you can plan the input gain stages this way, internal AGC mode with LNA bypass can be used. 

    The DVGA related information in the configuration guide is copied over from legacy documentation. Internal AGC only supports an LNA bypass feature with one pin control (for each Receive channel). DVGA control is not supported by internal AGC. If an application must need an external DVGA, External AGC mode should be used. In this case, DVGA and DSA attenuation should be controlled by the FPGA. 

    4. You are correct. DGC will compensate for current DSA attenuation and also LNA gain that can be enabled/ bypassed. There is no need to read back the current DSA value and external LNA status through GPIO pin or SPI

    Regards,

    Vijay

  • Hello Vijay,

    Thank you so much for this accurate and detailed Response. 

    This has clarify so many things for the external gain control. 

  • Hi Vijay,

    One more thing, I did not found for the LNA bypass output is the control voltage. 

    For disable: what will be the control voltage? and for enable: what will be the output control voltage?

  • Hi Maitry,

    Like all other GPIO, LNA Bypass output is in 1.8V CMOS logic. VOH and VOL are specified in the datasheet. 

    Regards,

    Vijay