This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE7950EVM: How get the configure register value and order of AFE7950 and LMK 04828

Part Number: AFE7950EVM
Other Parts Discussed in Thread: LMK04828, AFE7950

Hi, 

    Ti engineer,

    I'm learning about the chip functions and metrics by using AFE7950EVM and ZCU102!

    I want to configure the internal regisiters of AFE7950 and LMK04828 through FPGA logic!  I can get the AFE7950 configration registers value and order by modifying "LogDumpInst.logFormat = 0x21" in TI_IP_***_ConfigLmk.py! this way I was found through the TI forum. But this way does not obtain the LMK04828 register value and order.

    please let me know what is the correct way to get the configured registers value and order of LMK04828?

    thanks.

 

  • Hi Xiao,

    To generate the required LMK writes you can add the following to the ConfigLMK.py script. Please note that these lines should be added before the ‘AFE.LMK.lmkConfig()’ function. This will generate a file called “Afe79xxPg1_LMK.txt” at the following location: C:\Users\<UserName>\Documents\Texas Instruments\Afe79xxLatte\lib

    lmklogDumpInst=mLogDump.logDump(ASTERIX_DIR+DEVICES_DIR+r"\Afe79xxPg1_LMK.txt")

    lmklogDumpInst.logFormat=0x1 

    lmk.logClassInst = lmklogDumpInst

    lmk.rawWriteLogEn=1

    Regards,

    David Chaparro