Hello Reto Cavelti:
In short: as long as the MCU is powered and you consider the pins maximum input voltage ratings then there is no problem in connecting the pins to external signals. You can check the maximum ratings in the datasheet.
Here is the situation and some points to clarify:
- All Digital IO pins (except for JTAG related pins) default to Disabled, which means high-impedance.
- Pins with analog functions default to their analog functionality.
- The MUX field in the register PORTx_PCRn is undefined at reset because some digital pins as JTAG/EzPort and NMI pins default to that particular functionality instead of disabled, but undefined does not mean that pins are randomly configured after reset.
You could get a better understanding of this by looking at the Signal Multiplexing table in the chapter K10 Signal Multiplexing and Pin Assignments of the Reference Manual.
I hope this helps.
:smileyinfo: NOTE: Datasheet and Reference Manual are separate documents. You can get them from the product page -> Documentation tab:
K10_100 |Kinetis K10 100 MHz MCUs|Freescale
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------