Hi,
I checked adcDacSync function of C-library from TI and compared with Latte log file.
The register setting sequence and value are not same each other. The last value of 0x0077 is 0x04 in C-code, but 0x00 in Latte log file.
There are no descriptions about register 76h, 77h and 82h on TRM document, so I have no idea if this difference is not big deal or not.
C function --->
//START: Leaking Sysref To Dig
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0015, 0x01, 0, 7)); //pll=0x1; Address(0x15[7:0])
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x08, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0082, 0x0c, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x0b, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0076, 0xff, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x0b, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x0f, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x07, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0082, 0x00, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0077, 0x04, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0076, 0x00, 0, 7));
AFE_FUNC_EXEC(afeSpiWriteWrapper(afeId, 0x0015, 0x00, 0, 7)); //pll=0x0; Address(0x15[7:0])
Latte log file --->
SPIWrite 0015,00,0,7 //digtop=0x0; Address(0x15[7:6])
SPIWrite 0015,01,0,7 //pll=0x1; Address(0x15[7:0])
SPIWrite 0077,08,0,7 //Property_54h_27_27=0x1; Address(0x77[7:3])
SPIWrite 0082,0c,0,7 //Property_60h_21_18=0x3; Address(0x82[7:2])
SPIWrite 0077,0b,0,7 //Property_54h_25_16=0x3ff; Address(0x76[1:0],0x77[7:0])
SPIWrite 0076,ff,0,7
SPIWrite 0077,0b,0,7 //Property_54h_26_26=0x0; Address(0x77[7:2])
SPIWrite 0077,0f,0,7 //Property_54h_26_26=0x1; Address(0x77[7:2])
SPIWrite 0077,0b,0,7 //Property_54h_26_26=0x0; Address(0x77[7:2])
SPIWrite 0077,03,0,7 //Property_54h_27_27=0x0; Address(0x77[7:3])
SPIWrite 0082,00,0,7 //Property_60h_21_18=0x0; Address(0x82[7:2])
SPIWrite 0077,00,0,7 //Property_54h_25_16=0x0; Address(0x76[1:0],0x77[7:0])
SPIWrite 0076,00,0,7
Regards,
YS