你(们)好
我使用外部晶体连接到 MCU 系统时钟。 它的运行频率@ 100MHz。 我想知道以下项目
如何使用 driverlib 来设置看门狗复位时间间隔1ms 秒
2. WDCNTR 是只读的?
BR
HK Woo
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.
你(们)好
我使用外部晶体连接到 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
您好!
[引用 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