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.

[参考译文] CCS/TMS570LS0432:使用 GPIO 的软件 I2C 代码

Guru**** 2331900 points
Other Parts Discussed in Thread: TMS570LS0432, BQ34Z100-G1
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/597480/ccs-tms570ls0432-code-for-software-i2c-using-gpio

器件型号:TMS570LS0432
主题中讨论的其他器件: BQ34Z100-G1

工具/软件:Code Composer Studio

您好!

我使用的是 BQ34Z100-G1电量监测计 IC 和 TMS570LS0432微控制器。

BQ34Z100-G1仅支持 I2C 协议、TMS570LS0432支持 CAN、SPI、UART。 那么、我如何才能传达这2个 IC?

通过 Google、我知道我们可以通过在微控制器上实施软件 I2C 来实现这一目标。

是否有人可以共享他们用于在 TMS570LS0432上实现软件 I2C 的代码?

谢谢

Ritul Shah

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

    您认为 TMS570LS0432没有 I2C 模块是对的。 可以使用 LS0432器件上提供的 NHET 模块来实现 I2C 主器件。

    您可以在这篇文章中找到有关 NHET I2C 的详细信息。

    e2e.ti.com/.../1032239
    e2e.ti.com/.../383830

    此致、