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.
Tool/software: TI C/C++ Compiler
Hello
I used a simple piece of code from the libraries MSP430F673X_TA0_02.c
TA0CCTL0 = CCIE; // CCR0 interrupt enabled
TA0CCR0 = 50000;
TA0CTL = TASSEL_2 | MC_1 | TACLR; // SMCLK, upmode, clear TAR
__bis_SR_register(GIE);
When I run this code using TIv18.1.1.LTS compiler, then the system just dont boot up or anything, i tried __enable_interrupt(); as well but nothing works.
When I remove __bis_SR_register(GIE); and __enable_interrupt(); from the code, then the system boots up properly and works, but the interrupt on the timer don't work.
I have one Xtal on XIN and XOUT of 32.768kHz and I build the project in "debug" mode
Is there something Im missing about this?
That's the one. That's the ISR that's assigned to any interrupt that doesn't have an ISR written for it.
Unfortunately, there's no easy way to find out what the interrupt was that triggered this, so you'll just have to search for stray IE bit settings. I do think CCIE is OK, though.
[Edit: It could also be a mis-typed _VECTOR name. Those are at least easily located.]
**Attention** This is a public forum