Hi Javier,
PORTA_PCR0[MUX] can be used to switch function CMP0_IN2(ALT0) and SWD_CLK(ALT3).
Due to the default setting of PTA0, you need to change this setting when you want to use it as CMP0_IN2 function.
Debug port\NMI_b\Reset_b pins are not recommend to use as other function, due to it may cause connect problem when you want to debug it again after flashed. See: Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Javier,
PORTA_PCR0[MUX] can be used to switch function CMP0_IN2(ALT0) and SWD_CLK(ALT3).
Due to the default setting of PTA0, you need to change this setting when you want to use it as CMP0_IN2 function.
Debug port\NMI_b\Reset_b pins are not recommend to use as other function, due to it may cause connect problem when you want to debug it again after flashed. See: Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------