Other Parts Discussed in Thread: CODECOMPOSER
Tool/software:
Hi,
the MC very often simply stops. The main program ends after the initialisation of interrupts in
__bis_SR_register(GIE);
while(1){
__no_operation();
}After some communication via I2C, the MC stops in the line __no_operation. If no programming adapter is connected, it also executes a different number of communications and then stops working. I suspect that this is at the same point.
If the CodeComposer is connected, I see the value 0x0009 in the SR register. Which register should you also look at?
I have also tried to end the main programme with
__bis_SR_register(LPM0_bits+GIE);
The effect is the same. The breakpoints are all deleted.
Does anyone have any ideas on how to investigate the problem?
Thank you very much for your support.