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 SVMHIFG interrupt fires on power up



Hello Jesse Frey (1474738)  and Cameron LaFollette (3712600) ,

I am also facing related problem, My PMM configuration is

 PMMCTL0_H=PMMPW_H;
          PMMCTL0_L|=PMMCOREV_3;
          //check voltage level
          switch(PMMCTL0&PMMCOREV_3)
          {
            //settings for highest core voltage settings
            case PMMCOREV_3:
              //setup high side supervisor and monitor
              SVSMHCTL=SVMHE|SVSHE|SVSHRVL_3|SVSMHRRL_7;
            break;
          }
          //clear interrupt flags
          PMMIFG&=~(SVMLIFG|SVMHIFG|SVMHVLRIFG|SVMLVLRIFG);
          //setup interrupts
          PMMRIE|=SVMLIE|SVMHIE|SVMHVLRIE|SVMLVLRIE;
          //lock PMM
          PMMCTL0_H=0;

and 

My ISR is 

#pragma vector = SYSNMI_VECTOR
__interrupt void SYS_NMI(void)
{
  switch(SYSSNIV)
  	  {
		case SYSSNIV_SVMLIFG:
		break;
		case SYSSNIV_SVMHIFG:
			 write_SegC();     //Funtion to be called
		break;
		case SYSSNIV_DLYLIFG:
		break;
		case SYSSNIV_DLYHIFG:
		break;
		case SYSSNIV_VMAIFG:
		break;
	        case SYSSNIV_JMBINIFG:
		break;
		case SYSSNIV_JMBOUTIFG:
		break;
		case SYSSNIV_VLRLIFG:
		  PMMCTL0_H=PMMPW_H;
		  //clear interrupt flags
		  PMMIFG&=~(SVMLIFG|SVMLVLRIFG);
		  //lock PMM
		  PMMCTL0_H=0;
		break;
		case SYSSNIV_VLRHIFG:
		  PMMCTL0_H=PMMPW_H;
		  //clear interrupt flags
		  PMMIFG&=~(SVMHIFG|SVMHVLRIFG);
		  //lock PMM
		  PMMCTL0_H=0;
		break;
  	  }
}

Problem I am facing is I want to go into write_SegC() function while my supply goes down but instead of this it goes into it while I power it up.

Thanks

Regards

Abhishek 

**Attention** This is a public forum