KL05, Use the same pin for two things

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KL05, Use the same pin for two things

Jump to solution
1,042 Views
javierhernande1
Contributor IV

Hello,

It's possible to use the PTA0 for use SWD_CLK and CMP0_IN2 so?

mkl05.png

BR

Labels (1)
1 Solution
907 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Javier,

PORTA_PCR0[MUX] can be used to switch function CMP0_IN2(ALT0) and SWD_CLK(ALT3).

PTA0.png

PORTx_PCRn[MUX].png

Due to the default setting of PTA0, you need to change this setting when you want to use it as CMP0_IN2 function.

Table 3-47. Ports Summary.png

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
908 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Javier,

PORTA_PCR0[MUX] can be used to switch function CMP0_IN2(ALT0) and SWD_CLK(ALT3).

PTA0.png

PORTx_PCRn[MUX].png

Due to the default setting of PTA0, you need to change this setting when you want to use it as CMP0_IN2 function.

Table 3-47. Ports Summary.png

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!
-----------------------------------------------------------------------------------------------------------------------