Hi all
I use a ISR generated by the timer1 module, which is set to a period of 200us. Assume I have to align the timer ISRs of several microcontrollers to be synchronized.
Right now I just call Timer_start(TIMER1_HWI) if the concerned timer ISR was too early, so it reloads the TIM register and restarts the timer.
But if the timer ISR is too late, repectively the ISR was not yet triggered although it should already have been triggered at the time of the synchronization (i.e. due to oscillator tolerances), I need to immediately trigger the ISR and reload the TIM register.
Right now, I can't see how to do this.
Can anyone help?
Cheers benjo