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.
I am working on a project for school, using the MSP430G2553 with Code Composer Studio. The problem I am having is this... I used the "__enable_interrupts()" intrinsic command which sets the GIE bit high, but after the register and variable initializations, when my code is running, the GIE bit goes low without any command telling it to do so. I have tried stepping through the code, and it sets it high, so I press "play" and then pause again right after, and the GIE bit is low again. Any ideas as to why this is happening? Also, I have tried to step through the entire code, but I can't get past the initializations. I get an error telling me the code cannot be stepped through. I believe it may be due to the ACLK running on the 32kHz crystal, but am not sure.
Spontaneous clearing of GIE is not a standard feature. From your mentioning of being unable to step, my first guess is that your code is triggering an MCU Reset over and over. This could result from any of a number of things. I suggest you post some of your code.
**Attention** This is a public forum