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.

[参考译文] MSP430FR2673:在芯片通过看门狗或复位寄存器重新启动后、一些寄存器值不会被清除

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1182999/msp430fr2673-some-of-the-register-values-are-not-cleared-after-the-chip-is-restarted-through-the-watchdog-or-reset-registers

器件型号:MSP430FR2673

大家好、

客户提出的问题需要您的帮助:

我尝试通过 WDT 或配置复位寄存器重新启动430芯片、它确实重新启动并开始运行、但通过仿真发现一些寄存器未被清除、例如 TA1CCR0、只是在重新启动之前保持配置的值。 但是、当我使用断电重启或使用仿真软件在 CCS 仿真期间重新启动时、这些寄存器通常可以被清除。

这种情况的原因可能是什么? 如何解决? 这是我的代码重新启动430。

    else if(reg_data == CMD_RESET)
    {
//        __disable_interrupt();      // disable interrupts
//        WDTCTL = WDT_ARST_1000;
//        while(1){;}
         PMMCTL0 |= PMMSWBOR; // reset system
    }

您可以帮助检查此案例吗?

谢谢、此致、

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

    您好!

    WDT 只触发 PUC、不触发 POR 或 BOR、因此某些寄存器不会复位:

    您可以看到寄存器说明:

    谢谢!

    此致

    Johnson