Table 251. Packet Request - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
IR
Data
instruction
register
1110
IDCODE
1111
BYPASS
Data registers are described in more detail in the Arm
Specification [1].
36.3.8
Serial-wire debug port
The Serial-wire debug (SWD) protocol uses the two following pins:
SWCLK: clock from host to target
SWDIO: bi-directional serial data (100 kΩ pull-up required)
Serial data is transferred LSB first, synchronously with the clock.
Each transfer comprises the three phases listed below:
1.
a packet request (8 bits) transmitted by the host (see
2.
an acknowledge response (3 bits) transmitted by the target (see
3.
data transfer (33 bits) transmitted by the host (in case of a write) or by the target (in
case of a read) (see
The data transfer only occurs if the acknowledge response is OK.
Between each phase, if the direction of the data is reversed, a single clock cycle
turn-around time is inserted.
Bit field
0
1
2
4:3
5
6
7
Table 250. JTAG-DP data registers (continued)
Scan chain
length
ID code
32
0x6BA0 0477: Arm
Bypass
1
A single JTCK cycle delay is inserted between JTDI and JTDO.
Table
253)

Table 251. Packet request

Name
Start
Must be 1.
– 0: DP register access - see
APnDP
– 1: AP register access - see
– 0: Write request
RnW
– 1: Read request
A(3:2)
Address field of the DP or AP registers
Parity
Single bit parity of preceding bits
Stop
0
Park
Not driven by host, must be read as 1 by the target.
RM0461 Rev 5
Description
®
JTAG debug port ID code
®
Debug Interface Architecture
Table
251)
Description
Table 250
for a list of DP registers
Section 36.5: Access port
Debug support (DBG)
Table
252)
1219/1306
1291

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents