About Serial Wire Debug (Swd); Figure 2-3 Typical Swd Connections; Swd Timing Requirements - ARM DSTREAM-ST System And Interface Design Reference Manual

Hide thumbs Also See for DSTREAM-ST:
Table of Contents

Advertisement

2.3

About Serial Wire Debug (SWD)

The following describes the Serial Wire Debug (SWD) connection to a Debug Access Port (DAP).
SWD connections
The diagram shows a typical SWD connection scheme.
SWDIO signal is bidirectional and the functionality is shared with a unidirectional JTAG TMS line.
Ensure that there are no buffers preventing bidirectional communication functionality.
The SWDIO, SWCLK, and SWO signals are typically pulled up on the target to keep them stable
when the debug equipment is not connected.
All pull-up resistors must be in the range 1K-100KΩ.
The VTRef signal is typically connected directly to the VDD rail. If you use a series resistor to
protect against short-circuits, it must have a value no greater than 100Ω.
To improve signal integrity, it is good practice to provide an impedance matching resistor on the
SWDIO and SWO outputs of the processor. The value of these resistors, added to the impedance of
the driver must be approximately equal to 50Ω.

SWD timing requirements

The SWD interface uses only two lines, SWDIO and SWDCLK.
For clarity, the diagrams shown in the following figure separate the SWDIO line to show when it is
driven by either the DSTREAM-ST unit or target:
ARM 100893_0100_00_en
VTREF
SWDIO
SWCLK
SWO
nSRST
GND
Note
Copyright © 2017 ARM Limited or its affiliates. All rights reserved.
2 ARM
VDD
Gnd
Non-Confidential
DSTREAM-ST target interface connections
®
2.3 About Serial Wire Debug (SWD)
Processor/
22R
SWDIO
SWCLK
22R
SWO
Reset
RESET
circuit

Figure 2-3 Typical SWD connections

ARM
ASIC
2-25

Advertisement

Table of Contents
loading

Table of Contents