Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE
Dear all,
I have an F280049C launchpad and I want to trigger an ISR using the GPIO59 by applying a 3V to pin11. Unfortunately, the code does not jump into the ISR code and I get the following message:
Can't find a source file at "/home/a0225147/c2000ware/repos/f28004x/release_pkg/driverlib/f28004x/driverlib/interrupt.h"
Locate the file or edit the source lookup path to include its location.
Does anybody know a solution for this?
Below you can find my code:
In Lab.h:
extern interrupt void xint1ISR(void);
in Gpio.c
Interrupt_enable(0x00230104U); // Enable interrupt 1.4
GPIO_enableInterrupt(GPIO_INT_XINT1); // Enables inturrupt in XINT1 XBAR_setInputPin(XBAR_INPUT4, 59); // Connect XBAR to input pin11 GPIO_setInterruptPin(59, GPIO_INT_XINT1); // Connect XINT1 to pin 59 GPIO_setInterruptType(GPIO_INT_XINT1, GPIO_INT_TYPE_BOTH_EDGES); // Enable both edges
in DefaultIsr_5.c
interrupt void xint1ISR(void) // PIE1.8 @ 0x000D4E WAKE interrupt (LPM/WD)
{
Interrupt_clearACKGroup(INTERRUPT_ACK_GROUP1); // Must acknowledge the PIE group
// Next two lines for debug only - remove after inserting your ISR
asm (" ESTOP0"); // Emulator Halt instruction
while(1);
}
Thank you in advance.
Best regards,
Stergios
