Other Parts Discussed in Thread: HALCOGEN,
Tool/software: TI-RTOS
I created a simple project with HALCOGEN for TMS570LS04x for Hercules LaunchPad development board with FreeRTOS support. I wanted just to blink the GIOA2 LED while pressing GIOA7 button on the board. In HALCOGEN I enabled interrupt for GIOA7 button triggered on falling edge then I generated the code for Code Composer Studio. In CCS I've added some code for blinking GIOA2 LED. I set the breakpoint in GIOA ISR handler.
The problem I've got is that the GIOA ISR is not fired at all. I mean the TMS570 CPU should set interrupt flag on channel 9 and fire my ISR for GIOA. Instead of it I noticed that I get interrupt flag on channel 23 (GIOB) in vimREG->INTREQ0 register.
I've checked VIM interrupt channel mapping and there is everything ok. It means that there is mapping INT_REQ9 -> INT_CHAN9 and INT_REQ23->INT_CHAN23. So when I press the GIOA7 button I should get interrupt on channel 9 but it appears as a interrupt on channel 23.
How to explain this effect?