Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN
主题中讨论的其他器件: HALCOGEN
您好!
我想重置 TMS570LS3137控制器的看门狗计时器。 您能提供帮助吗?
此致、
罗尼
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.
Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN
您好!
我想重置 TMS570LS3137控制器的看门狗计时器。 您能提供帮助吗?
此致、
罗尼
您好、Rohini、
您可以参考 HALCoGen 中的 DWWD (数字窗口看门狗)示例


在此示例中、它们在 RTI compare0处理程序中重新加载看门狗计数器5次、并且在5次之后、它们有意停止重新加载看门狗计数器以生成 NMI 处理程序。
如果在停止重新加载看门狗计数器后给出复位作为输入方式、您也可以在这里生成复位、而不是 NMI 中断。

--
谢谢、此致、
Jagadish。
您好、Rohini、
[引用 userid="509434" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1163536/tms570ls3137-how-to-reset-watchdog-timer-for-controller/4377305 #4377305)]您能否向我说明如何禁用控制器的看门狗。 [/报价]默认情况下、看门狗仅处于禁用状态。 当我们调用 dwdCounterEnable 函数时、它将被启用、该函数写入 DWDCTRL 寄存器以启用它。

但一旦启用、则意味着它只能通过系统复位禁用。
--
谢谢、此致、
Jagadish。