MKW30Z pin usage PTA0 dual role

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

MKW30Z pin usage PTA0 dual role

477 次查看
lucianfiran
Contributor V

KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0); IAR 7.50;

As PTA0 pin has multiple usage how can someone use the pin for programming / debugging and in release mode as TPM PWM output driving a load.

Is external pull-up required ?

What about mosfet pull-down ?

pastedImage_2.png

Fro MKW30Z the PTA0 is SWD_DIO in debug and TPM1_CH0 in release mode:

pastedImage_3.png

0 项奖励
回复
1 回复

360 次查看
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Dear Lucian Firan,

Hope you are doing great.

In theory you could use this as SWD then as TPM, after using it as SWD  you will have to  disconect the Pull-up resistor in order to use it as  TPM. 

and for your second question I think there will be a problem with the pull down resistor in the Kinetis Peripheral Module Quick Reference there is a section for Hardware considerations there is the debug interface say that the SWD pins require a strong pull resistors (High or Down) to force a known state on these debug input pins.

Have a great day.

Best regards

Jonathan

0 项奖励
回复