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.

[参考译文] TMS320F280025:看门狗复位时间间隔

Guru**** 2563990 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025704/tms320f280025-watchdog-reset-time-interval

器件型号:TMS320F280025

你(们)好

我使用外部晶体连接到 MCU 系统时钟。 它的运行频率@ 100MHz。 我想知道以下项目

如何使用 driverlib 来设置看门狗复位时间间隔1ms 秒

2. WDCNTR 是只读的?

BR

HK Woo

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

    您好!

    [引用 userid="46959" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025704/tms320f280025-watchdog-reset-time-interval ]1.How to set watchdog reset time interval 1ms seconds using driverlib

    看门狗模块有两个时钟分频器、用于调整时钟以管理 WD 超时。 器件 TRM 的"看门狗计时器"部分提供了相关详细信息。 我们有用于对这些时钟分频器(SYSCTL_setWatchdogPredivider、 SYSCTL_setWatchdogPrescaler)进行编程的 driverlib 函数、但用户需要计算要编程的值。

    [引用 userid="46959" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025704/tms320f280025-watchdog-reset-time-interval ]2.WDCNTR 为只读?[/quot]

    是的、它是只读寄存器。  

    此致、

    Vivek Singh

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

    Vivek

    我只想确认如何计算看门狗时间复位间隔。 我将使用以下公式来实现它

    (1/10M)*预分频器值*预分频器值* 256 =看门狗复位时间间隔

    正确吗?

    此外、我想知道内部时钟源+-4%的最大容差是多少? 我无法从 TRM 中找到任何信息

    BR

    HK Woo

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

    您好!

    [引用 userid="46959" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025704/tms320f280025-watchdog-reset-time-interval/3792452 #3792452"]

    我只想确认如何计算看门狗时间复位间隔。 我将使用以下公式来实现它

    (1/10M)*预分频器值*预分频器值* 256 =看门狗复位时间间隔

    [/报价]

    是的、正确。

    [引用 userid="46959" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025704/tms320f280025-watchdog-reset-time-interval/3792452 #3792452">此外、我想知道内部时钟源的最大容差为+-4%吗? 我无法从 TRM中找到任何信息

    此信息位于 器件数据表的"7.11.3.5.1 INTOSC 特性"部分

    此致、

    Vivek Singh

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

    Vivek

    感谢您的回复。 最后一个问题看门狗使用哪个内部振荡器?

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

    INTOSC1

    此致、

    Vivek Singh