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.

[参考译文] DRV2605EVM-CT:在Devkit源代码中错误地定义了BlankingTime_Long

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

https://e2e.ti.com/support/motor-drivers-group/motor-drivers/f/motor-drivers-forum/657204/drv2605evm-ct-blankingtime_long-incorrectly-defined-in-the-devkit-source

部件号:DRV2605EVM-CT
主题中讨论的其他部件: DRV2605

此定义在Devkit中不正确,
#Define BlankingTime_Long (0x06)
3 <<2应为C
#Define BlankingTime_Long (0x0C)

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

    我不太理解你的问题。 您能否提供更多详细信息?

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

    在DRV2605EVM-CT_REVA_Firmware_1v0中

    DRV2605.h

    第293行

    #Define BlankingTime_VeryShort (0x00)
    #Define BlankingTime_Short (0x04)(定义空白时间短)
    #Define BlankingTime_Medium (0x08)
    #Define BlankingTime_Long (0x06)

    BlankingTime_Long不正确。

    3 << 2是C而不是6

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

    正确,正确的值是0x0C。 感谢您指出这一点,我们将修复。

    此致
    Jos é Luis Figueroa
    应用工程师