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.

External Interrupt on Motorware (LAUNCHXL-F28027F)

Other Parts Discussed in Thread: LAUNCHXL-F28027F, MOTORWARE, CONTROLSUITE

Hello,

I am using a custom board based on the LAUNCHXL-F28027F and I'm having trouble configuring an external interrupt on GPIO12.

I am able to read from the GPIO, but I need an external interrupt and I cant find how to assign an specific function as the interruption service routine.

Does anyone knows the correct way to configure the GPIO? How to assign an specific function to the interrupt vector?

I am using Motorware 16, lab10a as a base program, the latest CCS.

Thank you,

Humberto Politi.

  • I believe in hal.c you would have to assign
    GPIO_setExtInt(obj->gpioHandle,GPIO_Number_12, CPU_ExtIntNumber_1);


    the controlSUITE code is slightly different naming than MotorWare , but it gives an example of using the external interrupt
    C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_examples_drivers\external_interrupt