Tool/software:
I have tried AFE.saveCAfeParamsFile() according to the document "Implementing the CAFE library in Vitis". Its output's afe79xxParameters.c file in Documents/Texas Instruments/AFE79xxLatte/lib which is as follows;
#include "afeParameters.h"
afeSystemParamsStruct systemParams{
.X =61.44,
.numFbNCO =[1, 1],
.FRef =491.52,
.FadcRx =2949.12,
.FadcFb =2949.12,
.Fdac =11796.48,
.useSpiSysref =0,
.ncoFreqMode =0,
.halfRateModeRx ={0,0},
.halfRateModeFb ={0,0},
.halfRateModeTx ={0,0},
.syncLoopBack =1,
.ddcFactorRx ={12, 12, 12, 12},
.rxNco ={{[9000, 9000},{9000, 9000},{9000, 9000},{9000, 9000]},{[1800.0, 2600.0},{1800.0, 2600.0},{1800.0, 2600.0},{1800.0, 2600.0]}},
.numBandsRx ={0, 0, 0, 0},
.ddcFactorFb ={12, 12},
.fbNco ={[2600, 2600], [1800.0, 1900.0], [1800.0, 1900.0], [1800.0, 1900.0]},
.ducFactorTx ={48, 48, 48, 48},
.txNco ={{[9000, 9000},{9000, 9000},{9000, 9000},{9000, 9000]},{[1800.0, 2600.0},{1800.0, 2600.0},{1800.0, 2600.0},{1800.0, 2600.0]}},
.numBandsTx ={0, 0, 0, 0},
.enableDacInterleavedMode =0,
.txToFbMode =0,
.chipId =0x79,
.chipVersion =0x13,
.agcMode =0,
.bigStepAttkEn ={0,0,0,0},
.smallStepAttkEn ={1,1,1,1},
.powerAttkEn ={0,0,0,0},
.bigStepDecEn ={0,0,0,0},
.smallStepDecEn ={1,1,1,1},
.powerDecEn ={0,0,0,0},
.bigStepAttkThresh ={4,4,4,4},
.smallStepAttkThresh ={8,8,8,8},
.powerAttkThresh ={56,56,56,56},
.bigStepDecThresh ={56,56,56,56},
.bigStepDecThresh ={32,32,32,32},
.bigStepDecThresh ={80,80,80,80},
.bigStepAttkWinLen ={17,17,17,17},
.miscStepAttkWinLen ={17,17,17,17},
.decayWinLen ={8738,8738,8738,8738},
.jesdProtocol =0
};
It this parameter file correct?