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.

[参考译文] TMS570LS3137:TMS570LS3137 TRM 中与 I2C 上的开漏相关的错误?

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/866231/tms570ls3137-error-in-tms570ls3137-trm-in-relation-to-open-drain-on-i2c

器件型号:TMS570LS3137
主题中讨论的其他器件: HALCOGEN

您好!

我在 I2C 部分中发现了 HalCoGen 和 TMS570LS3137的 TRM 之间明显的差异。

当您将光标悬停在开漏复选框上时、会出现一个弹出窗口、显示"Enable open DRAIN output"、我认为这意味着如果您选中该复选框、它将被启用。 生成的代码将1放入 PDR 寄存器中。 但是、当您查看 TRM (spnu499C - 2018年3月、第1606页)时、会发现1 -开漏功能已禁用。

什么是正确的、HalCoGen 还是 TRM?

此致

Andy

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

    尊敬的 Andy:

    向 I2CPDR 写入"1"是为了启用开漏功能。