The PIT_0 timer interrupt is triggered only once after the reset and then not anymore. How to ensure that the timer retriggers every milisecond or second?
I am trying to use the example created by the SPC5 studio with interrupts. It has a PIT_0 (vector 227) configured. What i observed is that the interrupt is triggered only once after the application starts and is not triggered any more. As far as I understand from the datasheet, the respective interrupt register bit is to be reset by writing 1 to it and then the interrupt is cleared and ready to be retriggered. On the same lines I also configured the STM interrupt but it has the same behaviour. After the application starts interrupt is triggered once and not anymore. Could someone please help and let me know what are all the necessary steps in initialisation and while clearing the interrupt so that the ISR is triggered everytime the timer has met its criteria.
Kind regards,
Fahad

