This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1642: How to change the LNA Gain in OOB demo

Part Number: AWR1642

Hi team,

I saw that the LNA Gain can be changed in radar studio software. We have 3 choices, 24dB, 30dB, 34dB and default as 30dB.

I have a question about how to change it from default 30dB to 34dB in OOB demo.

Thanks for your great support.

Regards,

Wesley

  • Wesley,

    In the .cfg file that is used in the OOB demo, look for the profileCfg argument:

    sensorStop

    flushCfg

    dfeDataOutputMode 1

    channelCfg 15 3 0

    adcCfg 2 1

    adcbufCfg -1 0 0 1 0

    profileCfg 0 77 7 7 58 0 0  68 1 256 5500 0 0 30

    chirpCfg 0 0 0 0 0 0 0 1

    chirpCfg 1 1 0 0 0 0 0 2

    bpmCfg -1 0 0 1

    frameCfg 0 1 32 0 100 1 0

    lowPower 0 1

    guiMonitor -1 1 1 1 0 0 1

    cfarCfg -1 0 2 8 4 4 0 5120

    cfarCfg -1 1 0 8 4 4 0 5120

    peakGrouping -1 1 0 0 1 224

    multiObjBeamForming -1 1 0.5

    calibDcRangeSig -1 0 -5 8 256

    extendedMaxVelocity -1 0

    clutterRemoval -1 0

    compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

    measureRangeBiasAndRxChanPhase 0 1.5 0.2

    nearFieldCfg -1 0 0 0

    CQRxSatMonitor 0 3 4 127 0

    CQSigImgMonitor 0 63 8

    analogMonitor 1 1

    lvdsStreamCfg -1 0 0 0

    sensorStart

    The last argument in that line specifies the RX gain, in this case 30. So if you want to adjust the RX gain, you just need to change the value in the .cfg file that is used in the OOB demo.

    Let us know if you have any questions.

    Regards,
    Kyle

  • Hi Kyle,

    This cfg is used to change the IF amplifer Gain, not the RF LNA Gain.

    We can select RF LNA Gain in radar studio, but how can we change it in OOB demo?

    Thanks.

    Regards,

    Wesley

  • Wesley,

    The last argument in the profileCfg command per the SDK User Guide is the "OR'ed value of RX gain in dB and RF gain target."

    Regards,
    Kyle
  • Hi Kyle,

    The range of  last argument in the profileCfg command is from 24-48dB, I suppose it can only change the IF amplifier gain(RX GAIN in radar studio).

    I want to know, what's the meaning of RX GAIN TARGET in radar studio? Is that means RF_LNA gain

    And how to change it in OOB demo? What's the default value in OOB demo. Here's a screenshot from radar studio.

    Regards,

    Wesley

  • Wesley,

    Here is the information we provide in the documentation for SDK 2.0.0.4 related to the RX Gain. You can see in the documentation that the single field handles both the RX VGA gain and the RF gain target:

    Let me know if you have any additional questions.

    Regards,
    Kyle

  • Hi Kyle,

    Thanks for your reply. Is this feature only support in SDK 2.0? 

    I'm still using SDK1.2, sorry for my mismatch on this version.

    Regards,

    Wesley

  • Wesley,

    This change became effective in SDK version 2.0.0.4. In SDK version 1.2.0.5, the last argument in the profileCfg command only specified the RX gain in dB. Now in SDK version 2.0.0.4, the last argument in profileCfg specifies the OR'ed value of RX gain in dB and RF gain target.

    Regards,
    Kyle