KL05, Use the same pin for two things

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KL05, Use the same pin for two things

跳至解决方案
1,037 次查看
javierhernande1
Contributor IV

Hello,

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

mkl05.png

BR

标签 (1)
1 解答
902 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
903 次查看
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!
-----------------------------------------------------------------------------------------------------------------------