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.

[参考译文] RM46L852:DS2482

Guru**** 2609285 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/756488/rm46l852-ds2482

器件型号:RM46L852

您好!

此论坛中是否有人开发了一种应用、将 德州 Hercules 作为主 I2C、将主1Wire DS2482 Maxim 作为 I2C 从器件?

谢谢、再见

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

    遗憾的是、我不知道 DS2482与连接到它的单线从器件进行通信的任何特定示例代码。 我们有使用中断模式和轮询模式的 I2C 主器件 TX/RX 示例代码。 您可以修改这些示例代码以进行1线写操作和1线读操作。 DS2482数据表中定义了单线通信协议。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    DS2482具有一个连接到 MCU 的 I2C 接口。 您可以使用 QJ 引用的 I2C TX/RX 示例与 DS2482从器件通信。

    此致、
    Sunil