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.

[参考译文] PGA900:从哪里可以得到I2C代码PGA900?

Guru**** 2540720 points
Other Parts Discussed in Thread: PGA900

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

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/663671/pga900-where-can-i-get-the-i2c-code-pga900

部件号:PGA900

您好,TI专家,

    我下载 了一个名为 PGA900FirmwareGeneric-1p5的压缩文件,但不能找到I2C输出模式的任何代码,我可以从哪里得到它? 非常感谢。  

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

    如果您的意思是只启用I2C接口,则数字接口配置的功能位于pga900_dif.c文件中,并且pga900_dif.h文件包含了dig_if_CTRL寄存器的定义,以便于访问。

    如果要在微控制器运行时通过I2C输出ADC值,则需要使用COMBUF寄存器。 用于COMBUF访问的shell函数位于pga900_combuf.c和pga900_combuf.h文件中。

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

    您好  ,Scott:

       我明白了,非常感谢您!