AnsweredAssumed Answered

cannot change the modulo value of counter

Question asked by Julian Cox on Mar 7, 2018
Latest reply on Mar 9, 2018 by Alice_Yang

I am using a free running counter on a S08QE16 cpu to generate a periodic interrupt every 4ms. The interrupt occurs every 8ms irrespective of the value I set for "Period/offset" for component FC1 using device TMP10.


With the settings shown above I still get an interrupt every 8ms.

By examining the timer registers (using a breakpoint) the counter is counting, but TMP1MOD contains the value 0x0000. If I then enter a value of 0x8000 into TMP1MOD I get the timing I need. In the hardware initialisation code there is only an instruction to set  TMPMOD to 0x0000. Do we have a problem with ProcessorExpert?