KL05, Use the same pin for two things

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KL05, Use the same pin for two things

ソリューションへジャンプ
1,041件の閲覧回数
javierhernande1
Contributor IV

Hello,

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

mkl05.png

BR

ラベル(1)
1 解決策
906件の閲覧回数
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 返信
907件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------