MKW30Z pin usage PTA0 dual role

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

MKW30Z pin usage PTA0 dual role

672件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
1 返信

555件の閲覧回数
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 件の賞賛
返信