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.

MSP430F2416: Unexpected Reset

Part Number: MSP430F2416


Tool/software:

I’m running with a MSP430F2416, and I’m experiencing an unexpected reset of the part.  The time for the unexpected reset to occur varies greatly from test to test without changing any input parameters.  It can take days/weeks for me to capture the unexpected reset.

After the unexpected reset, I log the ‘Interrupt Flag Register 1’ and the only bit I ever see is the OFIFG (oscillator fault) bit.  I’m running off the DCO without an external crystal so I’m ignoring this bit because it is always set anytime I halt the processor and view the register.

As a test of my IFR1 inspection, I’ve proven that an external reset will set the RSTIFG bit in the IFR1 register so I’m confident that I’m reading the IFR1 register correctly after a reset. 

Could you think of anything that could cause a reset of the part without setting a bit in the IFR1 register?

  • Hi TW,

    I think the OFIFG bit will be set when it trigger a reset here, due to at default state, the oscillator is not enabled.

    I then recommend check the voltage supply, maybe any drop makes the device reset.

    Below is what might trigger system reset:

    B.R.

    Sal

  • Hi Sal,

    When I force the voltage off and back on, I see the PORIFG bit set in the Interrupt Flag Register 1.  I do not see this bit set when I am seeing the unexpected resets.  Do you know if this part could ever reset due to voltage and not set the PORIFG bit?

     

    Are there any reset conditions that are known that would not set any bits in this register (aside from the OFIFG as described above)?

    Thanks,

    TW

  • Hi TW,

    Do you know if this part could ever reset due to voltage and not set the PORIFG bit?

    Not aware of anything. I also check the ERRATA, no related issues to this.

    By the way, in system you are using the internal DCO, correct?

    B.R.

    Sal

  • Yes, I am using the internal DCO.  It seems odd that this device can reset without indicating the reason in the Interrupt Flag Register 1.

  • Hi TW,

    That's weird. I aslo have no other idea.

    Does this occurs in mutiply board?

    B.R.

    Sal

**Attention** This is a public forum