SWD / JTAG adapter without resistors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SWD / JTAG adapter without resistors

1,373 Views
alexeypanteleyc
Contributor II

Hello!

Could you please advise if the following schematic is recommended for SWD / JTAG adapted for Kinetis MCUs (MKM33):

HardwareDebugConnections - ** Code Red Support Site **  

Or it's better to use another one?

Is it critical to use pull-up and pull-down resistors for SWCLK and SWDIO lines? May the adapter work without them?

Thanks,

Alexey

Labels (1)
2 Replies

943 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Alexey,

SWD_CLK is pulled down internally, and SWD_IO is pulled up internally. (You can get this information from MKMXXZXXACXX5RM.)

It isn't critical to use pull-up and pull-down resistors for SWCLK and SWDIO lines. The adapter may work without them.

Debug Port Pin Descriptions.png

The external pull-up shown in some diagrams is for potentially noisy environments, and should be on the order of 10kΩ.

From the Kinetis L Quick Reference User Guide (KLQRUG):

SWD KLQRUG.png

The RESET_b pin should have a 100 nF capacitor close to the MCU for transient protection. It has a weak internal
pullup, but an external 4.7 kΩ to 10 kΩ pullup is recommended.(From the Kinetis L Quick Reference User Guide KLQRUG)

RESET_b.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

943 Views
alexeyusoltsev
Contributor IV

 Hi Alexey!

As for SWD you no need to add any resistors. At least it worked for me for kv10,mk10,mk22,kv30,kv31,kl27 MCUs. And dont mess with reset-you need reset_b pin to trace to reset of JTAG.

 Best regards and "yda4i",

Alexey.

0 Kudos
Reply