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.

MSP430F6779A: Can CPU OFF in the Status Register be set automatically after the Vcore shuts down?

Part Number: MSP430F6779A

Hi,

I have question about the CPU stop execution in the situation steps below (voltage supply not stable).
1) DVCC > 3.0 V
2) Vcore settings PMM_setVCore(PMM_CORE_LEVEL_2)
3) Setting the MCLK frequency to 16 Mhz.
4) DVCC drops to 2.1 V
5) MCU stops processing (suspect CPU OFF bit = 1)

Because the voltage at the Vcore pin was measured as 1.92 V.

Can CPU OFF in the Status Register be set automatically after the Vcore shuts down?

User guide info

Some source code

mclkFreq = ((uint32_t)16777216)

PMM_setVCore(PMM_CORE_LEVEL_2);

UCS_turnOnLFXT1(UCS_XT1_DRIVE_0, UCS_XCAP_0);

UCS_initClockSignal(
       UCS_FLLREF,
       UCS_XT1CLK_SELECT,
       UCS_CLOCK_DIVIDER_1);

UCS_initClockSignal(
       UCS_ACLK,
       UCS_XT1CLK_SELECT,
       UCS_CLOCK_DIVIDER_1);

UCS_initFLLSettle(
        mclkFreq/1000,
        mclkFreq/32768);

  • Hi Tink,

    According my understanding, CPUOFF is the bit to control whether CPU is work, it doesn't represent the CPU status. So, the answer I suppose is no.

    If you find it something different, welcome share the details here. Thanks!

    B.R.

    Sal

  • Hi Sal,

    Thank for information.

    In my assumption in this situation the MCU is operating outside of the recommended voltage.

    (For MCLK 16 Mhz, Vcore =2 required >= 2.2 V but this situation 2.1 V)

    Therefore, unpredictable results may occur, including the CPUOFF bit being set unexpectedly. Do you think so?

  • Hi Tink,

    It's a over spec conditions, whcih represent unpredictable results may occur. Due to I do not find the description that this bit will be automatically set by hardware after CPU turned off. So I think there might be a unpredictable results that CPU is turned off but CPUOFF=0.

    Therefore, unpredictable results may occur, including the CPUOFF bit being set unexpectedly.

    As for this, I think it is also possible. We cannot guarantee the operating status of the CPU when the voltage is insufficient.

    B.R.

    Sal

**Attention** This is a public forum