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.

MSP430FR5857: Micro-controller Reset Issue

Part Number: MSP430FR5857
Other Parts Discussed in Thread: MSP-EXP430FR5994

Dear Sir/Madam,

I am using MSP430FR5857 micro-controller in my application . I am giving signal to coil of power relay (230V AC) to turn ON and OFF from microcontroller as per the code below

while (1)

{

         delay_time(50000);// 5s delay after both LINE and NEUTRAL off
            P3OUT|=BIT6 ;     // Line Relay ON signal
            delay_time(5000); //Delay of 500ms between Line and Neutral Relay ON signal
            P3OUT|=BIT7 ;      // Neutral Relay ON signal
            delay_time(50000); //Delay of 5s
            delay_time(50000); //Delay of 5s
            delay_time(50000); //Delay of 5s
            delay_time(50000); //Delay of 5s
            delay_time(50000); //Delay of 5s
            P3OUT &= ~BIT6 ;   // Line Relay OFF signal
            delay_time(5000);  //Delay of 500ms between Line and Neutral Relay OFF signal
            P3OUT &= ~BIT7 ;    // Neutral Relay OFF signal

}
The issue is that micro-controller gets Reset some times  when relay ON or relay OFF ,the reset issue is random . i am unable to find the reason for same and how to overcome it .

Please suggest some solution for the same . Hoping to hear from you soon.

**Attention** This is a public forum