This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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
Ok, thanks. I'll check the ePWM module out. Problem is, that in our 100-pin housing the ePWM modules 2-11 are already in used by other things. Maybe ePWM 1 and 12 are available internally?!
Concerning Timer1 module - what about writung directly to the TIM register while the timer is running?
cheers benjo