There seems to be a discrepancy between the TRM and tiAfe77D_calibrations.c.
Which one is correct or how to perform RX DSA calibration with internal loop-back?
TRM_sbau418a_AFE77xxD Programming User Guide, Table 1-21. Factory Calibration indicates that it should be possible to perform RX DSA calibration in 3 ways:
0-> Calibration with external signal
1->Calibration with internal signal generator and external loop-back
2-> Calibration with internal signal generator and internal loop-back
Whereas the function in tiAfe77D_calibrations.c from Latte v1.6 not includes option 2.
\Texas Instruments\AFE77xxDLatte\lib\Afe77xxDLibraries\AFE77xxDLibraryPG1p0\AFECLibs\CAFE\Afe77xxD\Src\tiAfe77D_calibrations.c