Oliver Betz

9S08SH Modulo timer sometimes doesn't reset

Discussion created by Oliver Betz on Oct 25, 2010
Latest reply on Nov 30, 2010 by william scheremeta

Hello All,

 

did anybody observe that the modulo timer isn't reliably reset by writing to MTIMMOD?

 

As far as I see, a write to MTIMMOD doesn't reset TOF if the write occurs during an overflow event.

 

Tested with a bus clock and /4 prescaler.

 

Any workaround?

 

Oliver

Outcomes