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.

[参考译文] AM6442:如何将 WWDT 周期设置为 500ms 或更低?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1655577/am6442-how-to-set-the-wwdt-period-to-500ms-or-less

器件型号: AM6442

大家好、TI 专家。

我尝试使用 MCU+ SDK 中的看门狗驱动程序配置 RTI。

SDK:工业通信 SDK 中包含 MCU+ SDK AM64x (v11.00.00.13)

根据示例代码、当我将 RTI 时钟频率设置为 32552Hz 时、
我无法配置少于 503ms 的周期。

我假设增加时钟频率可以解决此问题、但当我尝试更改传递给函数`SOC_moduleSetClockFrequency`的时钟值时、会发生误差。  

如何将 WWDT 周期设置为 500ms 或更短?

提前感谢您。  


此致、

武田太郎

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

    你好、Takeda Taro、

    您需要集成 SDL WDT 示例以复位 SoC。

    MCU+SDK 将在 WDT 到期后生成中断。

    但是、当内核处于异常状态时、不会触发此中断。

    因此、如果内核卡在异常中、WDT 中断可能不会被命中。 

    ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">为避免这些问题、客户应使用 ESM(错误信令模块)和 WDT。 
    ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">
    ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">请使用提供的 Excel 工作表配置所需频率。
      ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">
    • ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 0px="" 12px;="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">如果为 ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">0 和 1 配置预加载计数值、则 ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">在 32kHz 频率下应实现低于 500ms的超时时间。
    • ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 0px="" 12px;="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">如果为 ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">0 配置预加载计数值、则应 ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 600;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">在 25MHz 处实现 0.3ms 的超时周期
    ",="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">没有选项可以更改 RTI 模块的输入时钟频率,因为它不支持 IP 级时钟倍频/分频。
    ",="" arial,="" sans-serif;="" font-size:="" 14px;="" font-weight:="" 400;="" margin:="" 0px;="" text-decoration:="" none;="" border-bottom:="" 0px="" rgb(10,="" 10,="" 10);"="">

     【常见问题解答】AM64X/AM62X:当 WDT 计时器在 AM64X 和 AM62X 到期时如何复位 SOC? 

    e2e.ti.com/.../3146.Watchdog.xlsx

    此致、

    Anil.  

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

    您好 Anil、

    感谢您的答复。

    按照您的指示、我将时钟设置为 25MHz、这解决了问题。
    附件的 Excel 文件也非常有用。

    非常感谢。


    此致、

    武田太郎