2003-10-13 04:40 AM
Syncronize the timer in Output Compare mode
2003-10-09 11:24 PM
I put Timer A in OC mode to create a time-base for the whole program through the OC interrupt. I would like to syncronize this time base with an external syncronization pulse, to which is associated an interrupt.
I chose to read the TAOCR during the syncronisation pulse ISR, to add the delay constant and to reload TAOCR. It doesn't work. Does anybody knows why?2003-10-13 04:40 AM
I suggest to reset the counter when pulse is received and reinitialise the OCMP registers. Counter is reset by writing to the counter low register.