MKW30Z pin usage PTA0 dual role

cancel
Showing results for 
Search instead for 
Did you mean: 

MKW30Z pin usage PTA0 dual role

142 Views
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 Kudos
1 Reply

25 Views
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 Kudos