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.

Disabling the low-side SVS and SVM



Hello good people, I'm trying to disable the low-side SVS and SVM circuitry (to save power) and enable only the high-side SVS POR. But it doesn't work, when i try debugging the code "hangs" and it looks like it gets stuck inside BSP_init(), to clarify a bit further: When debugging, BSP_Init()  (core voltage initialization etc) works fine but trying to execute SVSMLCTL &= ~(SVMLE | SVSLE) seems to fail, and I end up back in BSP_Init(). 

I'm using the MSP430F4538A MCU, and here's an excerpt of my code

void main(void)

{

BSP_Init();

/* Disabling SVSL and SVML prevents them from gating the CPU on wake-up from LPM2, LPM3, and LPM4 */
SVSMLCTL &= ~(SVMLE | SVSLE); // Disable Low side SVS and SVM

/* SVS high-side power-on reset enable */
PMMRIE |= SVSHPE; // If this bit is set, falling below the SVSH voltage level triggers a POR.

...

}

**Attention** This is a public forum