ADRV9002 Manual Gain Control Setting

Hello All,

I am using the ADRV9002 board with ZCU102 Evaluation Hardware. I am trying to access the gain index through the linux operating system. I was wondering where I can directly access this. I know I can directly access the gain controls through sysfs and the limits of the gain index through agc settings but I do not know the direct location of these controls in the system.

What file specifically controls the gain index in the linux system on the ZCU102 board?

Link to

https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/adrv9002#rx_signal_path

Thank you for your help.

Top Replies

    •  Analog Employees 
    Nov 4, 2020 +1 suggested

    Hi ,

    Does in_voltage0_hardwaregain fit your requirements ? 

    It seems there is also an optional device tree property min/max bound that you may set, perhaps it's also useful:

    "adi,min-gain-index…