Post Go back to editing

Setting External Path Delay

Category: Software
Product Number: ADRV9029
Software Version: 6.3.0.5

Hi all,

In the ADRV9029 System Development User Guide_DPDCFRCLGC_v1, there are two options for configuring path delay in step 4.


Either by launching the adi_adrv9025_InitCalsRun command, or to set them by adi_adrv9025_ExternalPathDelaySet() and adi_adrv9025_ClgcExternalPathDelaySet() commands, if parameters are already known.
So I made two scripts to run steps 1 to 17, the first with calibration and the second with setting parameters.
With the first version, everything is functional (CFR, DPD, CLGC).
With the second version, the fifo and interpolation parameters seem programmed but at the end of step 17, the DPD is not functional or disabled..

Here is an extract from the script for step 4

def runExtPathDelaySet(txCh,fifo,interpol):
    extPathDelay = Types.adi_adrv9010_ExternalPathDelay_t()
    extPathDelay.fifoDelay = fifo
    extPathDelay.interpolationIndex = interpol
    retVal = link.platform.board.Adrv9010Device.Cals.ExternalPathDelaySet(txCh, extPathDelay)
    print "retval", retVal        
    
def getExtPathDelay(txCh):
    extPathDelay = Types.adi_adrv9010_ExternalPathDelay_t()
    retVal = link.platform.board.Adrv9010Device.Cals.ExternalPathDelayGet(txCh, extPathDelay)
    extPathDelay = retVal[1]
    print "fifoDelay:",extPathDelay.fifoDelay
    print "interpolationIndex:", extPathDelay.interpolationIndex

def runClgcExtPathDelaySet(txCh,fifo,interpol):
    extPathDelay = Types.adi_adrv9010_ExternalPathDelay_t()
    extPathDelay.fifoDelay = fifo
    extPathDelay.interpolationIndex = interpol
    retVal = link.platform.board.Adrv9010Device.Cals.ClgcExternalPathDelaySet(txCh, extPathDelay)
     
def getClgcExtPathDelay(txCh):
    extPathDelay = Types.adi_adrv9010_ExternalPathDelay_t()
    retVal = link.platform.board.Adrv9010Device.Cals.ClgcExternalPathDelayGet(txCh, extPathDelay)
    extPathDelay = retVal[1]
    print "fifoDelay:",extPathDelay.fifoDelay
    print "interpolationIndex:", extPathDelay.interpolationIndex

    print"***************************************"
    print "    Step 4 : Set Path delay           "
    print"***************************************" 
    TxChannel = Types.adi_adrv9010_TxChannels_e.ADI_ADRV9010_TX3                 
    fifoDelay = 120
    interpolationIndex = 10
    runExtPathDelaySet(TxChannel,fifoDelay,interpolationIndex)
    runClgcExtPathDelaySet(TxChannel,fifoDelay,interpolationIndex)

    time.sleep(1)
    getExtPathDelay(Types.adi_adrv9010_TxChannels_e.ADI_ADRV9010_TX3) 
    getClgcExtPathDelay(Types.adi_adrv9010_TxChannels_e.ADI_ADRV9010_TX3)

Is there another command to launch for enabling the DPD ?

Thanks.