TAD - Trace and debug control

Configuration interface for trace and debug

Please refer to the Trace section for more information about how to configure the trace and debug interface.

Note: Although there are PSEL registers for the trace port, each function can only be mapped to a single pin due to pin speed requirements. Setting the PIN field to anything else will not have any effect. See Pin assignment chapter for more information

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
TADAPPLICATION0xE0080000HFSNANoTrace and debug control

Register overview

RegisterOffsetTZDescription
CLOCKSTART0x004Start all trace and debug clocks.
CLOCKSTOP0x008Stop all trace and debug clocks.
ENABLE0x500Enable debug domain and aquire selected GPIOs
PSEL.TRACECLK0x504Pin configuration for TRACECLK
PSEL.TRACEDATA00x508Pin configuration for TRACEDATA[0]
PSEL.TRACEDATA10x50CPin configuration for TRACEDATA[1]
PSEL.TRACEDATA20x510Pin configuration for TRACEDATA[2]
PSEL.TRACEDATA30x514Pin configuration for TRACEDATA[3]
TRACEPORTSPEED0x518

Clocking options for the Trace Port debug interface

Reset behavior is the same as debug components

This register is retained.

CLOCKSTART

Address offset: 0x004

Start all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTART
Start1Start all trace and debug clocks.

CLOCKSTOP

Address offset: 0x008

Stop all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSTOP
Stop1Stop all trace and debug clocks.

ENABLE

Address offset: 0x500

Enable debug domain and aquire selected GPIOs

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLE
DISABLED0Disable debug domain and release selected GPIOs
ENABLED1Enable debug domain and aquire selected GPIOs

PSEL.TRACECLK

Address offset: 0x504

Pin configuration for TRACECLK

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Traceclk12

TRACECLK pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA0

Address offset: 0x508

Pin configuration for TRACEDATA[0]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata011

TRACEDATA0 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA1

Address offset: 0x50C

Pin configuration for TRACEDATA[1]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata110

TRACEDATA1 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA2

Address offset: 0x510

Pin configuration for TRACEDATA[2]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata29

TRACEDATA2 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA3

Address offset: 0x514

Pin configuration for TRACEDATA[3]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata38

TRACEDATA3 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

TRACEPORTSPEED (Retained)

Address offset: 0x518

Clocking options for the Trace Port debug interface

Reset behavior is the same as debug components

This register is retained.

Bit number313029282726252423222120191817161514131211109876543210
IDAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWTRACEPORTSPEEDSpeed of Trace Port clock. Note that the TRACECLK pin output will be divided again by two from the Trace Port clock.
64MHz0

Trace Port clock is:

64MHz

32MHz1

Trace Port clock is:

32MHz

16MHz2

Trace Port clock is:

16MHz

8MHz3

Trace Port clock is:

8MHz