SBAU412A November 2022 – May 2024 AFE7900 , AFE7903 , AFE7906 , AFE7920 , AFE7921 , AFE7950
In the AFE79xx GUI the below lines can be added in order to enable the logging of the LMK SPI writes. These should be added before AFE.LMK.lmkConfig() line or AFE.deviceBringup().
lmklogDumpInst=mLogDump.logDump(ASTERIX_DIR+DEVICES_DIR+r"\Afe79xxPg1_LMK.txt")
lmklogDumpInst.logFormat=0x1
lmk.logClassInst = lmklogDumpInst
lmk.rawWriteLogEn=1
After running the script in the AFE79xxGUI a file, named “Afe79xxPg1_LMK.txt", containing the registers writes for the LMK will be generated in the following folder: ‘C:\Users\<UserName>\Documents\Texas Instruments\Afe79xxLatte\lib’