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.

MSP430F6775A: Interrupt vectors

Part Number: MSP430F6775A

Tool/software:

Hi,

I would like to ask is it possible to create custom interrupt vector addresses with custom interrupt functions stored from that address? Or is it all by design fixed. I mean I would like to use button interrupts even when is the main memory which includes the predefined interrupt vectors all blank from other memory section if possible.

  • The F5/F6 series defines a mechanism (SYSRIVECT) for putting the interrupt vectors into RAM. [Ref User Guide (SLAU208Q) Sec 1.3.6.1] I can't tell from the data sheet whether your device implements that mechanism.

    These alternate vectors are (also) in a fixed location -- at the top of RAM -- but they are (thus) modifiable. Until you set the bit (i.e. after Reset) the vectors are still taken from Flash.

    [Edit: Minor clarification.]

  • The header file is the place to look:

    Fullscreen
    1
    2
    3
    $ grep SYSRIVECT msp430f6775.h
    #define SYSRIVECT (0x0001) /* SYS - RAM based interrupt vectors */
    #define SYSRIVECT_L (0x0001) /* SYS - RAM based interrupt vectors */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

**Attention** This is a public forum