Debug Peripherals Registers
251
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.3.35 TCR Register (Offset = E80h) [reset = 00000000h]
TCR is shown in
and described in
ITM Trace Control Register. Use this register to configure and control ITM transfers. Note 1: You can only
write to this register in privilege mode. Note 2: DWT is not enabled in the ITM block. However, DWT
stimulus entry into the FIFO is controlled by DWTENA. If DWT requires timestamping, the TSSEN bit must
be set.
Figure 2-151. TCR Register
31
30
29
28
27
26
25
24
RESERVED
R/W-0h
23
22
21
20
19
18
17
16
BUSY
ATBID
R/W-0h
R/W-0h
15
14
13
12
11
10
9
8
RESERVED
TSPRESCALE
R/W-0h
R/W-0h
7
6
5
4
3
2
1
0
RESERVED
SWOENA
DWTENA
SYNCENA
TSENA
ITMENA
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
Table 2-164. TCR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-24
RESERVED
R/W
0h
23
BUSY
R/W
0h
Set when ITM events present and being drained.
22-16
ATBID
R/W
0h
ATB ID for CoreSight system.
15-10
RESERVED
R/W
0h
9-8
TSPRESCALE
R/W
0h
TSPrescale Timestamp prescaler.
0b (R/W) = no prescaling
1b (R/W) = divide by 4
10b (R/W) = divide by 16
11b (R/W) = divide by 64
7-5
RESERVED
R/W
0h
4
SWOENA
R/W
0h
Enables asynchronous clocking of the timestamp counter.
3
DWTENA
R/W
0h
Enables the DWT stimulus.
2
SYNCENA
R/W
0h
Enables sync packets for TPIU.
1
TSENA
R/W
0h
Enables differential timestamps. Differential timestamps are emitted
when a packet is written to the FIFO with a non-zero timestamp
counter, and when the timestamp counter overflows. Timestamps
are emitted during idle times after a fixed number of two million
cycles. This provides a time reference for packets and inter-packet
gaps. If SWOENA (bit [4]) is set, timestamps are triggered by activity
on the internal trace bus only. In this case there is no regular
timestamp output when the ITM is idle.
0
ITMENA
R/W
0h
Enable ITM. This is the master enable, and must be set before ITM
Stimulus and Trace Enable registers can be written.