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.

MSP432 port9 -interrupt configuration

Hi,

I have few pins on gpio9 as key inputs.

1. does msp432 support interrupt on GPIO9

2. if Yes any sample configuration code available / ISR vector .

  • Hi Jvps!

    The MSP432P401R supports interrupts on port 1, 2, 3, 4, 5 and 6.

    Dennis
  • thanks Dennis for your mail.

    but at the pinmux tool and a datasheet it indicates the interrupt can be configured.

    this below is from the Technical reference document

    this below is pinmux tool generated  code
    void PinMuxConfig(void)
    {
        //
        // Configure as output pins for P9.2
        //
        P9DIR |= BIT2;
        //
        // Configure as pull-up resistor enabled pins for P9.2
        //
        P9REN |= BIT2;
        //
        // Enable interrrupt for P9.2
        //
        P9IE |= BIT2;
        //
        // Select interrrupt edge (high-to-low) for P9.2
        //
        P9IES |= BIT2;
    }

    kindly correct my understanding if I am missing some thing.

  • Unfortunately I don't know the pinmux tool ;\

    The technical reference manual / user's guide covers a wide range of processors (in general - the MSP432P401R is the only one for now in this case). The information given in the datasheet for a specific device overrules this information or at least limits the manual in it's applicability. There may be devices having ten ports with interrupt capability later. If you have a look into the datasheet for the MSP432P401R you can see that only port 1, 2, 3, 4, 5 and 6 support interrupts. Even the first page mentions 48 I/Os with interrupt capability.

    Dennis

**Attention** This is a public forum