Content originally posted in LPCWare by JasonBourne on Wed Mar 19 01:01:55 MST 2014
Hi,
I seem to have found what was creating the problem for me, hopefully it helps someone else: I was not clearing the interrupt when entering the timer IRQ. In the end, something like:
void TIMER32_0_IRQHandler (void)
{
Chip_TIMER_ClearMatch(LPC_TIMER32_0,MATCH_NUM);
// ETC
}
In some driver modules it seems that it is not necessary to clear the interrupt but in the case of the timer it needs to be forced.
Regards