AnsweredAssumed Answered

Timer malfunction 9S12DP512

Question asked by Gilbert Gagne on Mar 28, 2011
Latest reply on Mar 28, 2011 by kef

My application also uses the Modulus system which generates an interrupt when downcounter reaches zero. The counter automatically reloads. This may or may not be related to the following problem.


The ECT_16B8C Block User Guide V01.02 states "When TFFCA bit in TSCR register is set, a read from an input capture channel ($10-$1F) will cause the corresponding channel flag CnF to be cleared".


The Timer oscillator in this application freeruns and is used for input capture interrupts.  If the TFFCA bit in TSCR1 is set to provide fast interrupt flag clearing on input capture, then the micro will hang up. A better solution, but which takes more time, is to clear the TFLG1 interrupt flag in the interrupt service routine.


Does anyone know if this is a defect in the chip?