Hi,
Finally i gave up. Seems not possibile to solve this problem. Tried with many arrangements included the one suggested in the forum. Also trien with a second and a third launchpad with same behavior.
Now I have a second problem. connected another button on P2.6 and the interrupt i completely ignored fro RTOS.
Not able even to enter the Hwi.
I tried the same setup without rtos and the interrupt firen normally.
Is there any errata about TI-RTOS mentioning this?
The setup is the same for all buttons, some of them:
in .cfg
I set up the Handle
I give GPIO_hwiIntFxn as ISR function
I give interrupt 36
I pass port 2 as parameter
then in main.c
GPIO_setCallback(P2_6, gpioButtonInterrupt);
GPIO_enableInt(P2_6);
Where P2_6 is the name i defined in MSP_EXP430FR5994.h for button on PORT 2.6 and gpioButtonInterrupt is my interrupt servicing routine.
Same arrangement works fine for P5_6, P5_5, P5_3 and P8_3 with their associated interrupt n.
I also tried to isolate the code relative to P2_6 in a new project and got the same result.
I really do not understand what'g going on there? Shoul I give up with TI-RTOS on MSP430?
Cheers
Damiano