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:从 Latte 中提取寄存器值

Guru**** 2386680 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/rf-microwave-group/rf-microwave/f/rf-microwave-forum/1328311/afe7950evm-extracting-register-values-from-latte

器件型号:AFE7950EVM

如何从 Latte 中提取 AFE 的寄存器值?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、

    您是在问如何从 AFE 读取寄存器还是如何获取寄存器值来配置 AFE?  

    当您在"AFE.deviceBringup()"行"之前将以下内容添加到启动脚本时、可以获得一个包含对 AFE 执行的 SPI 事务的日志文件。

    这将使 SPI  事务包含一个名为"Afe79xxPg1.txt"的日志文件 、以便可以在目录"C:\Users\ \Documents\Texas Instruments\AFE79xxLatte\lib"。

    ##############		Logging		##############
    logDumpInst.setFileName(ASTERIX_DIR+DEVICES_DIR+r"\Afe79xxPg1.txt")
    logDumpInst.logFormat=0x1 #Modify to 0x1 to save register scequence to log file. Script takes more time to execute.
    logDumpInst.rewriteFile=1
    logDumpInst.rewriteFileFormat4=1
    device.optimizeWrites=0
    device.rawWriteLogEn=1

    此致!

    卡米洛