I would like to know how is the pin (high, low, Z,...) when the soft is not running?
Only when the alimentation is on.
Please find your Kinetis device Reference Manual. Example: http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K64P144M120SF5RM.pdf?fasp=1&WT_TYPE=Reference%20Manuals…
The Signal Multiplexing and Signal Description chapter will should how each pin is configured by Default.
In general GPIO pins are disabled so High Impedance. Analog pins are enabled.
Retrieving data ...