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.

MSP430G2553: MSP430 Interrupt number

Part Number: MSP430G2553

Hi,

using an MSP430G2553 with a USART-Connection, i experience a permantent interrupt, which makes the program to halt.

Providing the programm with all the interrupt service routines that exist, i found, that interrupt 6 is the source.

My question is: what is the interrupt nr. 6? I searched in several Websites, but found no answer.

Yours Mathias

 

  • __interrupt_vector_6 : { KEEP (*(__interrupt_vector_6 )) KEEP (*(__interrupt_vector_adc10)) } > VECT6

  • Thanks for the answer to my question!

    But this does not solve the problem.

    When changing interrupt6 to ADC10_VECTOR as shown below, the program loops again in the "#pragma vector=unused_interrupts" routine.

    So interrupt6 must be something different.

    Is there a document, where the assignation between an interrupt source to the interrupt number can be seen?

    #if 1
    #pragma vector=ADC10_VECTOR
    __interrupt void ADC10_vector (void) {
        _bic_SR_register_on_exit(CPUOFF);       // wake up...
    }
    #else
    #pragma vector=6
    __interrupt void interrupt6 (void) {
        _bic_SR_register_on_exit(CPUOFF);       // wake up...
    }
    #endif

    Mathias from germany

  • The problem is solved. Interrupt number 6 It is the interrupt vector USCIAB0TX.

    Now i can go on to bring the program to run.

    Thanks for your support!

  • An off by one thing. Either your particular compiler counts the vectors from zero or it is old enough that it doesn't include the TRAPINT vector. (See USCI29 errata.)

**Attention** This is a public forum