Post Go back to editing

how to modify gain table region during runing under AGC mode?

Category: Software
Product Number: adrv9029
Software Version: sw6.4

how to modify gain table region during runing under AGC mode?

I want to modify gain table region during real time runing under AGC mode.
Should I must obey following step?
I call API of adi_adrv9025_RxMinMaxGainIndexSet() firstly,
secondly,adi_adrv9025_AgcReset() is called.

Does my understanding is correct?

Does it work simultaneously?


Please help me out
Thanks in advance

  • You can not change the Gain table during run time. While initialisation, you would be loading the Gain table.

    And all the AGC related configuration settings are part of ADRV9025_AgcCfg_t Structure Definition.

  • sorry,it's my fault.

    I have not expressed my idea clearly.

    I clarify my idea as following:

    1.I don't change the Gain table which is loaded during initialization.The agcRxMaxGainIndex is 255,the agcRxMinGainIndex is 195 defaultly.

    2. I only want to change agcRxMaxGainIndex and agcRxMinGainIndex which determined the agc dynamic region. I expect that it work simultaneously when I modify the parameter of agcRxMaxGainIndex(eg.245) and agcRxMinGainIndex(eg.200) . Does it come ture when I call the API adi_adrv9025_RxMinMaxGainIndexSet() ,adi_adrv9025_AgcReset()  in proper order?

    3. I only konw that 9025 should be reset and re-initaliazed when agcRxMaxGainIndex and agcRxMinGainIndex is changed. This is not my expectation. I want to it take  effective when agcRxMaxGainIndex and agcRxMinGainIndex is changed.

  • You can not change the agcRxMaxGainIndex and agcRxMinGainIndex during run time and on the fly.

    You need to re-initialise the chip.