AnsweredAssumed Answered

MC9S12XEP100 Timer TIM Module Debug mode issue.

Question asked by Al M on Mar 23, 2011
Latest reply on Mar 28, 2011 by kef

Hello,

This is my first post on this forums so I will try to make it as short as possible.
I am trying to use the Timer TIM module on the MC9S12XEP100 MCU. However, it seems to be working perfectly during debug mode only, as soon as I disconnect my debugger and run it by using the MCU only, it doesn't work as expected, instead it runs much faster ruining my timing completely.
I am using the timer to generate a 1 wire communication protocol between the MCU and a 1-wire temperature sensor.
Please help me know what do I need to do to setup the TIM timer module correctly to work outside of debug mode. Like I said, it is perfectly fine when the debugger is connected ONLY. The OVF vector and all work perfectly, as soon as I run it without the debugger it doesn't work as expected.
Sincerely,
Al.

Outcomes