
Registers
415
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
DDR2/mDDR Memory Controller
Table 14-32. Performance Counter Configuration Register (PCC) Field Descriptions (continued)
Bit
Field
Value
Description
3-0
CNTR1_CFG
0-Fh
Filter configuration for performance counter 1 register (PC1). Refer to
for
details.
Table 14-33. Performance Counter Filter Configuration
Performance Counter Configuration Register (PCC) Bit
Description
CNTRn_CFG
CNTRn_REGION_EN
CNTRn_MSTID_EN
0
0
0 or 1
Counts the total number of READ/WRITE commands the
external memory controller receives.
The size of counter increments are determines by the size of the
transfer and the default burst size (DBS). The counter breaks up
transfers into sizes according to DBS. Therefore, counter
increments for transfers aligned to DBS are equal to the transfer
size divided by the DBS.
1h
0
0
Counts the total number of ACTIVATE commands the
external memory controller issues to DDR2/mDDR memory.
The counter increments by a value of 1 for every request to
read/write data to a closed bank in DDR2/mDDR memory by the
external memory controller.
2h
0 or 1
0 or 1
Counts the total number of READ commands (read accesses)
the DDR2/mDDR memory controller receives.
Counter increments for transfers aligned to the default burst size
(DBS) are equal to the transfer size divided by the DBS.
3h
0 or 1
0 or 1
Counts the total number of WRITE commands the
DDR2/mDDR memory controller receives.
Counter increments for transfers aligned to the default burst size
(DBS) are equal to the transfer size of data written to the
DDR2/mDDR memory controller divided by the DBS.
4h
0
0
Counts the number of external memory controller cycles
(DDR_CLK cycles) that the command FIFO is full.
Use the following to calculate the counter value as a percentage:
% = counter value / total DDR_CLK cycles in a sample period
As the value of this counter approaches 100%, the DDR2/mDDR
memory controller is approaching a congestion point where the
command FIFO is full 100% of the time and a command will have
to wait at the SCR to be accepted in the command FIFO.
5h-7h
0
0
Reserved
8h
0 or 1
0 or 1
Counts the number of commands (requests) in the command
FIFO that require a priority elevation.
To avoid command starvation, the DDR2/mDDR memory
controller can momentarily raise the priority of the oldest
command in the command FIFO after a set number of transfers
have been made. The PR_OLD_COUNT bit field in the peripheral
bus burst priority register (PBBPR) sets the number of the
transfers that must be made before the DDR2/mDDR memory
controller will raise the priority of the oldest command.
9h
0
0
Counts the number of DDR2/mDDR memory controller cycles
(DDR_CLK cycles) that a command is pending in the
command FIFO.
This counter increments every cycle the
command FIFO is not empty.
Use the following to calculate the counter value as a percentage:
% = counter value / total DDR_CLK cycles in sample period
As the value of this counter approaches 100%, the number of
cycles the DDR2/mDDR memory controller has a command in the
command FIFO to service approaches 100%.
Ah-Fh
0
0
Reserved