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.

Compiler/msp432P401r: Interrupt support Problem on GPIO_PORT7 to 10

Part Number: msp432P401r

Tool/software: TI C/C++ Compiler

In MSP432 DriverLib, the MAP_Interrupt_enableInterrupt( INT_PORT6) can only support up to gpio_port_p6, How can I use it for GPIO_PORT_P9? 

  • P7-P10 don't have interrupt capability. See also SLAS826G Table 4-2.
  • Philip, just to confirm, Bruce's comment is correct. You will have to look to use another port.
  • thanks,

    But, in msp432p401r_classic.h file,  P7IV, P8IV, P9IV and P10IV are defined.

    In SLAU356F–March 2015–Revised March 2017, section 10.4.1 PxIV Register: Port X Interrupt Vector Register (X = 1, 2, 3, 4, 5, 6, 7, 8, 9 or 10)

    It seems for me, port 7-10 interrupts are there, but Driverlib doesn't support it.

  • Philip,

    Thanks for pointing that out. I'm going to submit to remove that from there. (FYI, we are on version H of SLAU356.

    Also, we recommend not using the TRM for the specific device. Some of these things are device dependent. For the device specific interrupt capabilities, you should refer to the datasheet: http://www.ti.com/lit/ds/symlink/msp432p401r.pdf

    In the datasheet on Section Table4-2 you can note that Port 7, 8, 9 and 10 do not have port interrupt capability, but Port 1-6 do.

    Also, another good place to view this is the NVIC interrupt table, seen below. Any other xIV registers you have seen have been removed explicitly from the older .h files (msp432p401r_classic.h) and have been updated when we aligned our .h files to be CMSIS compliant (like msp432p401r.h). The rest of the reserved sections are for expand-ability in our architecture for new devices.

**Attention** This is a public forum