Russ Ether

TPM1 and TPM2 counters run at different rates

Discussion created by Russ Ether on Nov 23, 2006
Latest reply on Nov 23, 2006 by Al Char
MC9S08DZ60.
 
TPM1 and TPM2 both set to bus rate clock, prescale=1.
 
TPM1MODH:L and TPM2MODH:L both set to the same values.
 
TPM1 and TPM2 both set to generate interrupts on overflow.
 
ISR's for each have a counter.
 
But the counters run at different rates !     I thought the counter values should be indentical.  What am I missing here?
 
 

Outcomes