Hi community
Tools used:
- Beagleboard OMAP35 Revision C4
- TI Code Composer v4
- OMAP35xx Technical Reference Manual SPRUF98K
I followed the TRM to initialize the interrupt controller, and did setup a GPTimer for the interrupt source.
I can see the GPTimer has an overflow (and will generate the overflow interrupt), but my interrupt handler is not executing.
What i did so far:
- Place my IRQ handler into the interrupt vector table
- Initialize the interrupt controller
- Initialize GPTimer1 to 1ms period with overflow interrupt enabled
- Enable the IRQ_GPTIMER1 (37) by setting the bit 5 in the INTCPS_MIR_CLEAR3 register
- Enable the GPTimer1
I read that interrupts are disabled in Code Composer v4 while single stepping, but even if i disable all the breakpoints and run the code, my timer variable does not increase..
Can someone tell me what's my mistake?
If it helps, I could provide you the link to the whole Code Composer v4 project as a zip file.
A) GPTimer1 registers before timer start (see TISR register, no interrupt pending)
B) GPTimer1 registers after the timer has been enabled (see TISR register, overflow interrupt pending), but IRQ handler is not executed