Control Registers
1715
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
RAM Trace Port (RTP)
Table 31-7. RTP Global Control Register (RTPGLBCTRL) Field Descriptions (continued)
Bit
Field
Value
Description
11
DDM_RW
Direct Data Mode
User and privilege mode (read):
0
Read tracing in Direct Data Mode is enabled.
1
Write tracing in Direct Data Mode to DDMW register is enabled.
Privilege mode (write):
0
Enable read tracing in Direct Data Mode. The RW bits in the RTPRAMxREGy registers to be
ignored.
1
Write tracing in Direct Data Mode to DDMW register is enabled. The RW bits in the
RTPRAMxREGy registers to be ignored (
10
TM_DDM
Trace Mode or Direct Data Mode
User and privilege mode (read):
0
Module is configured in Trace Mode.
1
Module is configured in Direct Data Mode.
Privilege mode (write):
0
Configure module to Trace Mode.
1
Configure module to Direct Data Mode.
9-8
PW
Port width. This bit field configures the RTP to the desired port width. Pins that are not used for
functional mode can be used as GIO pins. See
for which pins are used for the port.
0
The RTP is 2 pins wide.
1h
The RTP is 4 pins wide.
2h
The RTP is 8 pins wide.
3h
The RTP is 16 pins wide.
7
RESET
This bit resets the state machine and the registers to their reset value. This reset ensures that
no data left in the FIFOs is shifted out after switching on the module with the ON/OFF bit.
User and privilege mode (read):
0
The RTP module is out of reset.
1
The RTP module is in reset.
Privilege mode (write):
0
Do not reset the module.
1
Reset the module.
6
CONTCLK
Continuous RTPCLK enable.
User and privilege mode (read):
0
The RTPCLK is stopped between transmissions.
1
The RTPCLK is free running.
Privilege mode (write):
0
Stop RTPCLK between transmissions.
1
Configure RTPCLK as free running.
5
HOVF
Halt on overflow. This bit indicates whether the CPU or DMA is halted while only one location in
the FIFO is empty in Trace Mode or Direct Data Mode (read).
User and privilege mode (read):
0
The current data transfer to the FIFO will not be suspended in case of a full FIFO.
1
The current data transfer to the FIFO will be suspended in case of a full FIFO.
Privilege mode (write):
0
The halt on FIFO overflow will be disabled. The data transfer will not be suspended and will be
discarded. Data written to the RTPDDMW register will overwrite the
register.
1
The halt on FIFO overflow will be enabled. Data written to the already full FIFO will be written
once the FIFO is emptied again. The data transfer to the FIFO will be suspended and signaled
to the CPU or other master while there is still data to be shifted out. When there is an empty
FIFO location again, the transfer of the data to the FIFO will be finished.