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: Startup from AUXVCC1

Part Number: MSP430F6779A


I have two power suplies for my board, external 3.2V and local (battery connected to AUXVCC1 through switch). Core clock is 20MHz. Program starts when I apply external power to DVCC, and I see initial screen on LCD, VCORE=1.9V. When I power board from AUXVCC1 (external 3.2V is not present) I see 3.2V at VDSYS (pin 23) and 1.4V at VCORE (pin 26). Voltage at DVCC and AVCC is 0.4V, and LCD signals COMxx and Sxx are low. What configuration should be done for startup from AUXVCC1 and then full operation?

  • Hello,

    Some interactions among fSYS, VCORE, VDSYS, SVMH , and AUXxLVL must be considered. Please see the section 4.2.5 in MSP430x5xx and MSP430x6xx Family User's Guide (Rev. Q) for more details.

      

  • Thanks for responce.

    I decided to try example 3 from 4.2.13.3 and wrote simple main function:

    void main(void)

    {

    StopWatchDog; // stop internal watchgog

    PMMCTL0_H   = 0xA5;

    PMMCTL0_L  &= 0xFC;  // PMMCORELEV = 0

    SVSMHCTL_L &= 0xF8;  // SVSMHRRL = 0

    SVSMHCTL   |= SVSMHACE + SVSHE; // enable automatic control

    SVSMLCTL   |= SVSMLACE; // enable automatic control

    AUXCTL0_H   = 0xA5;

    AUXCTL2     = 0x0001;// AUX0LVL=1,  AUX1LVL=0, AUX2LVL=0

    AUXCTL0_L  &= 0xFE;  // unlock AUX

    InitLCD();          // init LCD

    DisplayAll();      // display all segments

    for(;;);

    }

    I intended to set automatic hardware controlled mode.

    It works when I apply 3.2V to DVCC. It does not work when I apply 3.2V to AUXVCC1. 

    I tried other configurations for SVM and AUX. Nothing helps.

    Accordingly to section 4.2.1 chip must start from AUXVCC1 when DVCC is not present.

    I wonder if core starts at all. What voltage should be at DVCC when chip starts from AUXVCC1?

  • What's the core voltage? If the supplies (DVCC/AVCC and AUXVCC1) differ by less than 100 mV, the selected supply can be either DVCC/AVCC or AUXVCC1. The supply with the higher voltage is selected only if the difference is greater than 100 mV.

  • DVCC is not present (external supply is off). AUXVCC1 is 3.2V. VDSYS is 3.2V.  VCORE is 1.4V. Core starts, but i/o does not operate (LCD, buttons) because DVCC is absent. I placed diod between VDSYS and DVCC.

    Now DVCC is sourced by external power module or by AUXVCC1 via VDSYS. I dont know if this is good idea, but it works :).

**Attention** This is a public forum