AnsweredAssumed Answered

AD9371 Rx AGC gain table

Question asked by bensonyeung2 on Oct 13, 2016
Latest reply on Dec 1, 2016 by Vinod
Branched to a new discussion

Hi I would like to customize my AGC table for AD9371. I believe you can use GPIO_3p3(ext attn control) to write 0-3 bit for RX1 and bit4-7 for RX2. Depends on the attn setting user can customize the gain setting at each Pin.

 

I have looked at the default gain table which has gain index 195 to 255. Do we have any corresponding mapping to datasheet Pin vs. total gain? I guess from "mykonos_user.c" it has the following but I am not sure for eample 0,0,0,0 meaing pin should be 0dBm with XYZ dB attenuation which corresponds to ABC dB gain(AD9371). I would like to add some RX front end components such as external LNA, VGA and digital atten so I need to modify the default gain table a bit.

 

>>

/**
 * \brief Default Rx gain table settings
 */
uint8_t RxGainTable [61][4] =
{
    /* Order: {FE table, External Ctl, Digital Gain/Atten, Enable Atten} */
        {0, 0, 0, 0},  /* Gain index 255 */
        {3, 0, 2, 1},  /* Gain index 254 */
        {6, 0, 3, 1},  /* Gain index 253 */
        {10, 0, 0, 0}, /* Gain index 252 */

 

>>

 

Regards,

 

Benson

Outcomes