Post Go back to editing

Regarding the adrv9002 8-bit gain index


We are trying to understand how we can use of the 8-bit gain index that is an output of the axi_adrv9001 IP.
We are unable to find any documentation regarding these 8-bits and on our design, regardless of the reception
of various waveforms using different gain values (that we have set from the TES), this 8-bit (GPIO) gain index
is always set to '0' and the signals gpio_gain_senb and gpio_gain_svld that drive its DMA are always set to '1'.
Can you please give us any insight on what this 8-bit value can be used for ???

Thank you in advance,

  • Hi,

    I will look into this for you.



  • Hi,

    This forum is for the ADRV9001 SDK and TES GUI only. If you have specific questions about the linux driver software, you should ask here: Linux Software Drivers - EngineerZone ( What software are you using for this?

    Gain Control and information is documented in the ADRV9001 User Guide in the "Receiver Gain Control" chapter. You can set and get the gain index via API as outlined in this chapter. If you want to set the gain index directly, you should use Manual Gain Control mode.

    The gain index shouldn't be set 0. If the information in this documentation doesn't help here, please let me know.

    Best Regards,


  • Hi Conrad,

    My colleague kkyr asked this question in the general forum, but this was moved to this forum by admins.

    In my opinion, this is the right forum for this question because it concerns both the ADRV9001 SDK and the TES GUI. Please, let me make the same question in other words.

    ADRV9001 SDK includes the platform folder. We ran the tcl script of the lvds project folder, which corresponds to our platform, to implement the block diagram in Vivado. We noticed in the block diagram (see image below) that the axi_adrv9001 block has an 8-bit output port named “gpio_gain_sd[7:0]”. This is connected to the “rx_sd[7:0]” input port of the axi_dma_gain block. The axi_dma_gain writes this 8-bit data to the DDR memory.


    So, the questions are the followings:

    • What configuration should we apply to TES GUI in order to read this gpio gain?
    • In which cases is this used?
    • Is this related with the “gain bits” field of the Gain Control tab in TES GUI, (which is always in gray – see image below)? If yes, how to enable?





  • Hi,

    Thanks for your explanation! I understand the question now.

    In terms of the FPGA code, we generally don't support this directly. This is provided as an example on an "as is" basis.

    Those gain bits that you've highlighted actually refer to SSI gain bits. You can fine a more detailed description in the user guide DATA INTERFACE -> ENHANCED RX SSI MODE section.

    To enable this in TES, just change the Rx Signal type to 15/22-bit as needed. 

    Any other questions, please let me know!

    Best Regards,