Hey there Kinetis lovers! We in the Systems Engineering team for Kinetis Microcontrollers see all kinds of situations that customers get into, and none can be particularly troubling like how the reset pin is handled. The purpose of this document is to provide a list of Frequency Asked Questions (FAQ) that we get here in the Kinetis Systems Engineering department. This is intended to be a living list and as such, may in no way be complete. However we hope that you will find the below questions and answers useful.
Q: Do I need to connect the reset signal to be able to debug a Kinetis device?
This is a commonly asked question. Strictly speaking, you do not need to connect the device reset line of a Kinetis device to the debug connector to be able to debug. The debug port MDM-AP register allows the processor to be held in reset by means of setting the System Reset Request bit using just the SWD_CLK and SWD_DIO lines.
However, before deciding to omit the reset line from your debug connector you should give some careful thought to how this may impact the ability to program and debug the device in certain scenarios.
Some Kinetis devices allow the reset function of the reset pin to be disabled. In this case you can only use the SWD signals as a means of resetting the device via the MDM-AP. If you change the SWD pin function in addition to disabling the reset pin then you must provide a backdoor means of re-enabling the SWD function if you want to be able to reprogram the device.
Hi Chris
If I do not use the RESET pin in my application, can I left it floating? If so, must I need to disable it?
I took this from the KL02 RM:
6.2.2.1 External pin reset (RESET_b)
This pin is open drain and has an internal pullup device. Asserting RESET_b wakes the device from any mode.
The RESET_b pin can be disabled by programming RESET_PIN_CFG option bit to 0. When this option is selected, there could be a short period of contention during a POR
ramp where the device drives the pin-out low prior to establishing the setting of this option and releasing the reset function on the pin.
Do you know how long this contention takes? Can this contention be problem for a coin battery application?
Thank you
Andre VB
Hi Andre,
The RESET pin will drive low during powerup when VDD is between the VPOR voltage (around 1V) and VLVR (around 2.6V). So, the time is determined by the ramp time of the power supply. The internal pullup resistor value is higher at low voltages, so it will be closer to the high end of the spec during this period, perhaps 50k ohms. Unless RESET is disabled in code, it will also drive low for any fault that asserts reset. Probably the best thing to do in your case is: do not use an external pullup or capacitor, disable the RESET function on the GPIO pin, and change the MUX value in the PCR register to 0 during initialization. The result is a floating GPIO pin, which is recommended for unused pins.
Regards,
John
Hi John
I want to change the MUX value in the PCR register to 0 during initialization, please how can I modify the value of the register
Regards,
Andy