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.

[参考译文] MSP432E401Y:如何在启动时测试看门狗计时器复位?

Guru**** 2543300 points
Other Parts Discussed in Thread: MSP432E401Y

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1013773/msp432e401y-how-to-test-for-watchdog-timer-reset-on-start-up

器件型号:MSP432E401Y

你(们)好  

我将 MSP432E401Y 与 CCS v10上的 TI-RTOS 搭配使用。

MCU 上电时、软件是否可以确定看门狗定时器复位是否是导致下电上电的原因?

我在任何看门狗寄存器中都看不到要轮询的任何标志。

我的 MCU 通电有多种原因、包括休眠结束时。

此致、

Andrew

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

    Andrew、您好、请检查是否有4.2.7 RESC 寄存器。 WDT0和 WDT1可以指示看门狗定时器超时并产生了复位

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

    谢谢 你,李晓东。  

    我已经对它进行了测试、它工作正常。

        if( HWREG(SYSCTL_RESC) & SYSCTL_RESC_WDT0 )
        {
            Print_DeBug( "\r\n>> Watchdog Timer CRASH !!!\r\n\r\n" );
            HWREG(SYSCTL_RESC) = HWREG(SYSCTL_RESC) & 0xFFFFFFF7;
        }