Fred Talbot

MCF51QE128RM Reset on input

Discussion created by Fred Talbot on Feb 14, 2008
Latest reply on Feb 20, 2008 by Fred Talbot
Hi, I'm working on a MCF51QE128RM with CW for Microcontrollers V6.1 and there's an input in Port D (PTDD4) that result in a reset when I push the button liked to the input repeatidly.

The port is configure in input with an internal pull-up. I have disable the interrupt for the input by setting KBI2SC, KBI2PE and KBI2ES to 0x00.

When in debug, I notice that in the command window, there is a message saying "Frequency change to ~8978805hz" when the device reset. This is not the frequency I have set the device to, and when I'm starting the debuger, there's a message saying "Frequency change to ~22109775hz" which is the right frequency.

Also, when the device is halted in debug, I'm pushing the button repeatidly and the device reset. I had the reset on low voltage disabled, and it doesn't fix the problem. I also have others inputs on the Port D using the same button and they are working fine.

Thank you and have a nice day

Fred Talbot

Message Edited by FredT on 2008-02-14 01:52 PM