Hello,
I have a two-part question regarding the TES system ARGO-NAVIS version 0.28.0.
1) How can I enable Fast Recovery Mode?
2) Why do the values of hbUnderRangeLowThresh and hbUnderRangeMidThresh remain unchanged when I adjust the Peak Over/Underload Threshold. This raises concerns about he validity of these values, since in some cases even hbUnderRangeHighThresh ends being lower than the aforementioned values
GenevaC - Moved from How to Use EngineerZone to Design Support ADRV9001 – ADRV9007. Post date updated from Friday, November 28, 2025 10:02 AM UTC to Tuesday, December 2, 2025 6:09 PM UTC to reflect the move.
Hi,
For the first question, Fast Attack and Fast Recovery Modes for the AGC can only be enabled using API calls in C99, or Python sample code. These modes are not in the TES GUI.
Details on the name and usage of APIs is located in the SDK folder - file named ADRV9001_API.chm
For question 2, please provide more information, where are you reading the values of hbUnderRangeLowThresh and hbUnderRangeMidThresh?
These are not shown in TES, only Peak/Power Over/Underload Thresholds.
If you are using APIs already, then just configure them as you need and continue using APIs. (You can use both APIs and TES at the same time, but TES will not update the values).
Regards,
Deniss
For question number 2, I observed the values I mentioned by samping codes in C and checking the corresponding coomands. These values are hbUnderRangeLowThresh = 5826,
hbUnderRangeMidThresh = 8230, and they dont change by using TES. In the upcoming week I will conduct tests in matlab to check if the aforementioned values change.
Meanwhile is there any chance to have fully access of the default Rx gain table? The ADRV9001 GUIDE provides information only from 255-253 gain table index and from 189-187
Regards John
Hi,
As stated in the User Guide, the Rx Gain table starts at 187 and ends at 255.
In any profile with an Rx channel, make sure to program the device in TES, and go to Gain Control tab at the top and scroll down to the Gain Table.
The gain table will vary depending on the device profile and has all values populated from 187 to 255.
For the other question:
You can set those values manually to whichever thresholds you need for your usecase using the APIs in C sample code like you mentioned.
Once you set all thresholds you require, you can then test in MATLAB if the results are correct.
Let us know how you get on with that.
Regards,
Deniss
Is there any chance I can observe all the gain table variables using matlab not c?
In addition, does the ADRV provide the opportunity to disable HB detector.
I configure with matlab not C or TES, it would be very helpful to adapt your answers for the matlab usage
Hi,
Please configure in TES first, the exact way you require, and then produce MATLAB sample code and go from there.
Once you set your profile up the exact way you need, e.g. configuring gain table (at least some of it), you can check what MATLAB code TES has produced and use that as baseline.
We have full C99 API documentation in the file mentioned previously. Both MATLAB and Python APIs will have very very similar names, just some of the notation might differ. Use those as reference and continue development.
You can disable the HB detector in TES in the Gain Control tab near the bottom of Rx Signal Detection.
Regards,
Deniss
I prefer to disable HB detector using matlab, is that possible;
Hi,
I'm not sure you understood what I mentioned above.
You can disable the HB detector inside TES in the aforementioned location.
You can then produce sample code with it off/on, and you will have it off/on inside MATLAB.
The MATLAB functions are extremely similar to C99, with slight variations in names.
When inspecting the MATLAB code, you would have seen the Rx Gain control configuration inside "configure.m".
Enabling and disabling the HB detector is done within the PeakDetector_t struct.
As shown below in the C99 API descriptions you have access to:
Setting the "enableHbOverload" field to true will turn on the HB detector, and setting to false will turn it off.
Below is an example of the HB detector in MATLAB code disabled that was generated inside TES:
PDFPlease find attached the file below. These pictures present the digital gain as shown in the command window while using matlab.Two issues must be explained: the first one is the absence of some values such as 219,223,235,239 etc.The second one is the existence of two different digital gains for the same index, such as 251,247 etc.
Regard,John.
Hi,
I have enabled fast attack only ,while HB is disabled.When a fast attack is happening but the signal is still exceeding the upper threshold , does a secondary attack occurs instantly or the uppercounterthersholds must be exceeded again;
Hi,
Those issues with the gain table should not be there, if you study the MATLAB code that it generates, it takes the gain table from the path of your TES install.
"ADRV9001 Transceiver Evaluation Software/Resources/Adi.Adrv9001.GainTables/public/RxGainTable_0.4.0.csv"
Therefore that is the gain table it uses. I am not sure what you are using to check the tables.
The answer to your second question is directly located inside the User Guide -> Receiver Gain Control. Please read through the chapter and pay close attention to Figure 164 and text under it.