Internal Pull-Up And Pull-Down Resistors On Jtag Pins; Swj Debug Port Connection With Standard Jtag Connector; Figure 13. Jtag Connector Implementation - ST STM32L152-EVAL Application Note

Getting started with hardware development
Hide thumbs Also See for STM32L152-EVAL:
Table of Contents

Advertisement

Debug management
5.3.3

Internal pull-up and pull-down resistors on JTAG pins

The JTAG input pins must not be floating since they are directly connected to flip-flops which
control the debug mode features. Special care must be taken with the SWCLK/TCK pin that
is directly connected to the clock of some of these flip-flops.
To avoid any uncontrolled I/O levels, the STM32L1xxx embeds internal pull-up and pull-
down resistors on the JTAG input pins:
JNTRST: internal pull-up
JTDI: internal pull-up
JTMS/SWDIO: internal pull-up
TCK/SWCLK: internal pull-down
Once a JTAG I/O is released by the user software, the GPIO controller takes control again.
The reset states of the GPIO control registers put the I/Os in the following equivalent states:
JNTRST: input pull-up
JTDI: input pull-up
JTMS/SWDIO: input pull-up
JTCK/SWCLK: input pull-down
JTDO: input floating
The software can then use these I/Os as standard GPIOs.
Note:
The JTAG IEEE standard recommends to add pull-up resistors on TDI, TMS and nTRST
but, there is no special recommendation for TCK. However, for the STM32L1xxx, an
integrated pull-down resistor is used for JTCK.
Having embedded pull-up and pull-down resistors removes the need to add external
resistors.
5.3.4

SWJ debug port connection with standard JTAG connector

Figure 13

Figure 13. JTAG connector implementation

22/30
shows the connection between the STM32L1xxx and a standard JTAG connector.
Doc ID 17496 Rev 5
AN3216

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L152-EVAL and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32l152vbStm32l1 seriesStm32l152vbt6

Table of Contents