14. DDR3L/DDR4/LPDDR4 controller (DDRCTRL)
14.1 DDRCTRL introduction
The DDRCTRL is a DDR-SDRAM controller. Combined with the DDRPHYC (DDR PHY with PUBL block), it provides a complete memory interface solution for the DDR memory subsystem.
14.2 DDRCTRL features
- • Two 128-bit AXI port interfaces (XPIs)
- • AXI clock asynchronous to the controller
- • Supported standards
- – JEDEC compliant LPDDR4 SDRAM up to 2400 MT/s
- – JEDEC compliant DDR4 SDRAM up to 2400 MT/s with DLL on-range
- – JEDEC compliant DDR3L SDRAM up to 1866 MT/s with DLL on-range
2133 MT/s at customer own risks (out of JEDEC but proposed by memory vendors for small densities) - – Single- or dual-rank for LPDDR4 devices
- – Single- or dual-rank for DDR3L/DDR4 devices
- • 64 bits with DFI 4.0 compliant interface to DDRPHYC
- • Advanced scheduler and SDRAM command generator
- • 1:2 frequency ratio between DDRC clock and DDR PHY/external memory clock
- • Asynchronous clock between AXI ports and DDRC (clock crossing local to XPIs)
- • Programmable full data width (32-bit) or half data width (16-bit)
- • Options to avoid starvation of lower-priority traffic
- • Guaranteed coherency for write-after-read (WAR) and read-after-write (RAW) on AXI ports
- • Programmable support for burst length options (8, 16)
- • Write combine (multiple writes to the same address combined into a single write)
- • Automatic SDRAM power-down entry/exit caused by a lack of transaction arrival for programmable time
- • Automatic clock stop entry/exit caused by lack of transaction arrival
- • Automatic low-power mode operation caused by a lack of transaction arrival for programmable time via hardware low-power interface
- • Programmable paging policy selectable as any of the following:
- – Leave page open after accesses (open page policy).
- – Close page when no further accesses available in the controller for that page.
- – Auto-precharge with each access, with an optimization for page-close mode which leaves the page open after a flush for read-write and write-read collision cases.
- • Self-refresh entry/exit as follows:
- – Automatic self-refresh entry/exit caused by lack of transaction arrival for programmable time
- – Self-refresh entry/exit under software control
- • Explicit SDRAM mode register updates under software control
- • Flexible address mapper logic to allow application specific mapping of (rank,) row, column, bank bits
- • Programmable support for 1T or 2T timing
- • User-selectable refresh control options:
- – Controller-generated auto-refreshes at programmable average intervals
- – Ability to group up to eight controller-generated refreshes together to be issued consecutively (this reduces the frequency of page closings, and increases the overall efficiency)
- – When controller-generated refreshes are grouped, some refreshes can be issued speculatively when the controller is idle for a programmable period of time
- – Ability to disable controller-generated auto-refreshes
- – Ability to issue a refresh through direct software request
14.3 DDRCTRL block diagram
A simplified DDRCTRL block diagram is shown in the figure below.
Figure 42. DDRCTRL block diagram

14.4 DDRCTRL architecture overview
The DDRCTRL block diagram in Figure 42 shows:
- • the AXI port interface (XPI): provides the interface to the AXI port with the AXI bus protocol handling, data buffering and reordering for read data, data bus size/clock domain conversion and memory burst address alignment.
- • the port arbiter (PA): provides latency sensitive, priority-based arbitration between the addresses issued by the XPIs.
- • the DDR controller (DDRC): contains a logical CAM (content addressable memory). This holds information on the commands and is used by the scheduling algorithms to optimally schedule commands to be sent to the PHY, based on priority, bank/rank status and DDR timing constraints.
- • the APB register: contains the software accessible registers.
- • the write data: stored until its associated command is issued to the PHY. The write data buffer is local to the DDRC.
The read data are handled by the response engine in the DDRC, and returned in the order of scheduled read commands on the HIF (host interface). The read data are stored in the read reorder buffer (local to XPI), and returned in order to the AXI ports.
14.4.1 AXI port interface (XPI)
The XPI processes the AXI information: address, burst size, burst length, and burst type. It converts the AXI burst into read/write requests which are forwarded to the PA.
In the opposite direction, the XPI converts the responses from the DDRC into appropriate AXI responses.
Read address channel features
- • Supports any burst length for incremental bursts (≤ 256) and burst with length ≤ 16 for WRAP bursts.
- • The start address can be unaligned to the AXI width.
- • The burst size can be less than the AXI width.
- • The read-address queue (RAQ) is configured with a single queue.
- • The clock crossing is performed in RAQ.
- • The depth of RAQ is set to four.
- • The generation of read request is based on AXI address and burst information, than is divided into packets equal to memory burst length (BL2, BL4, BL8, BL16).
- • In case of an unaligned burst, the first read request is unaligned, and the remaining read requests are aligned.
Note: The device interconnect performs the realignment to a memory burst boundary. It may cause some data beats to be discarded (affecting bandwidth), and introduce additional latency on the read data and response channel.
Write address channel features
- • The write address queue (WAQ) is used to store all addresses for write requests from a given port.
- • There is a single queue for all AXI IDs from a given port.
- • The write address channel behavior is similar to the read address channel.
- • The clock crossing is performed in WAQ.
- • The depth of WAQ is set to four.
Read data and response channels
- • The read data and response channel has a single data storage queue (RDQ).
- • The clock crossing is performed in RDQ.
- • The depth of RDQ is set to 10.
- • The data from different IDs are stored in the same queue, and are returned in the order of read address acceptance.
- • A read reorder buffer is implemented in each port to reorder the read data for that port to the same order as the order of the AXI read commands.
- • The virtual channels and dynamic mapping allow optimum reordering of read data.
14.4.2 Port arbiter (PA)
The PA arbitrates command requests from the two AXI ports to the HIF of the DDR controller. The PA is comprised of multiple tiers of arbitration stages which include:
- • read/write arbitration (single HIF option)
- • two priority level arbitration, based on port aging and expired-VPR/expired-VPW commands (timeout - priority0)
- • two priority level arbitration for read requests based on DDRC read priorities (HPR/LPR-VPR)
- • 32 priority level arbitration based on internal port aging, or 16 priority level arbitration based AXI QoS inputs (programmed in AXI interconnect)
- • round-robin arbitration to resolve ports having the same priority after passing all stages of arbitration
Note: The port aging refers to counting down the time when a port has a request, but is not granted access to the DDRC.
The port timeout refers to when the port age becomes 0, which is also referred as the highest priority -priority0.
The expired-VPR refers to variable priority read commands whose counter has expired. Read/write credits refer to the DDRC 'Credit Mechanism' employed at the HIF interface.
14.4.3 Host interface (HIF)
The HIF is an internal interface to the DDRCTRL (AXI port interface and PA handle all signals on this interface). It is only described for the sake of understanding QoS and of multi-tier arbitration.
The read/write requests and write data are transferred from PA to DDRC using HIF.
The requests are throttled by:
- • a credit mechanism that ensures the buffer space is available for any request made to the DDRC, prior to the request being made
- • an independent stall mechanism that throttles requests when address collisions take place, or whether entering a self-refresh via the software self-refresh.
The read data are sent back via a common response interface
Credit mechanism
The DDRC uses a credit mechanism to ensure that buffers do not overflow. The interface making the request to the DDRC, can only request commands for which it has been granted credits to issue.
The credits are tracked separately for the following three command types:
- • high-priority read (HPR)
- • low-priority read (LPR)
- • write (WR)
The interface logic includes counters to track the number of credits. The credit count increments every time the DDRC issues a credit. VPR commands are counted in the LPR credit bucket. VPW commands are counted in the WR credit bucket.
Read requests
When the LPR or HPR credit count is greater than zero, the interface can issue read requests to the DDRC.
Write requests
When the WR credit count is greater than zero, the interface can issue write requests to the DDRC.
14.4.4 DDR scheduler (DDRC)
The DDRC queues commands for scheduling and for the SDRAM command generation unit. The DDRC includes the following stores:
- • HPR and LPR stores in common read CAM
- • WR store in write CAM
Both CAMs are 16 entries. HPR/LPR split is software programmable.
The DDRC allows the user to manage the TSC (transaction service control) according to QoS and timeouts.
14.5 DDRCTRL functional description
14.5.1 Transaction service control (TSC) and quality of service (QoS)
The TSC allows the user to carefully manage:
- • costly read/write bus turn-around
- • priorities of read requests to generally favor high-priority traffic, while also preventing starvation of low priority traffic
This functionality is implemented in a simple 2-state machine for each traffic type, with completely configurable controls. The states of the 2-state machine determine when reads/writes are serviced, and the relative priority (high-priority versus low-priority reads) at any time.
The transactions are separated into the following read/write classes:
- • low-priority reads (LPR)
- • variable-priority reads (VPR)
- • high-priority reads (HPR)
- • normal-priority writes (NPW)
- • variable-priority writes (VPW)
These traffic classes are determined according to AXI QoS values (AxQOS[3:0]) set by the device AXI interconnect (AXIM) and QoS region settings.
HPR and VPR/LPR are stored in a common read CAM which is split according to LPR_NUM_ENTRIES in DDRCTRL_REGS_SCHED.
VPR commands move to the expired-VPR after a timeout set by RQOS_MAP_TIMEOUTB in DDRCTRL_MP_PCFGQOS1_x. The expired-VPR goes to highest priority (Priority0).
VPW and NPW are stored in a common write CAM. VPW commands go to the expired-VPR after timeout set by WQOS_MAP_TIMEOUT2 in DDRCTRL_MP_PCFGWQOS1_x. Expired-VPW commands go to highest priority (Priority0).
The following registers are related to TSC and QoS control:
- • DDRCTRL_REGS_SCHED: main scheduler control
- • DDRCTRL_REGS_SCHED1: page close timer
- • DDRCTRL_REGS_PERFHPR1: controls HPR starvation and run_length
- • DDRCTRL_REGS_PERFLPR1: controls LPR starvation and run_length
- • DDRCTRL_MP_PCFGR_0/1: AXI port read control for port 0/1
- • DDRCTRL_MP_PCFGW_0/1: AXI port write control for port 0/1
- • DDRCTRL_MP_PCFGQOS0_x or DDRCTRL_MP_PCFGQOS1_x (where x is the port number): AXI port read QoS region mapping for port 0/1 and port timeouts.
- • DDRCTRL_MP_PCFGWQOS0_x or DDRCTRL_MP_PCFGWQOS1_x (where x is the port number): AXI port write QoS region mapping for port 0/1 and port timeouts.
14.5.2 Paging policy options
Open page policy is set by PAGECLOSE = 0 in DDRCTRL_REGS_SCHED. Any bank remains open until there is a need to close it because of a page miss or refresh timeout.
Intelligent precharge is a mid way between open- and close-page policies, set by PAGECLOSE = 1 in DDRCTRL_REGS_SCHED. PAGECLOSE_TIMER value in DDRCTRL_REGS_SCHED1 gives the time waited when there are no page hits to a bank in the CAM, before the auto-precharge or the explicit precharge is scheduled.
This timer allows the page to be kept open for a configurable number of clock cycles after there are no more commands pending in the CAM to a bank. Intelligent precharge is an option between open page and closed page
14.5.3 Power saving features
The DDCRTL supports various methods to save power within the system using power saving opportunities in the SDRAM, the DDRPHYC, and the device.
Precharge power down (PDN)
The DDCRTL automatically puts the SDRAM in PDN under the control of following parameters:
- • POWERDOWN_EN in DDCRTL_REGS_PWRCTRL to enter PDN (PDN entry, PDE) after a number of idle cycle
- • POWERDOWN_TO_X32 in DDCRTL_REGS_PWRTMG: number of idle clocks in multiple of 32 to enter PDN
- • T_XP in DDCRTL_REGS_DRAMTMG1: minimum time to wait after PDN exit (PDX) to any command (DLL stays locked during PDN)
Note: During PDN, refresh commands are performed and clocks must be maintained. The DDCRTL precharges all banks before PDE.
DDR3L slow power down (with MR0[12] =1) is not supported.
Self-refresh (SR)
The SR is a significant power saving opportunity for the SDRAM. During SR, the DDRPHYC provides additional power savings, and the DDCRTL/DDRPHYC clocks can be stopped.
The DDCRTL puts the SDRAM in SR in the following cases:
- • automatic SR, when there are no read/write for a predefined time, controlled by:
- – SELFREF_EN in DDCRTL_REGS_PWRCTRL: to enter SR (SRE) after a number of idle cycle
- – SELFREF_TO_X32 in DDCRTL_REGS_PWRTMG: number of idle clocks in multiple of 32 to enter SR
- • software controlled SR, controlled by SELFREF_SW in DDCRTL_REGS_PWRCTRL: setting this bit is referred as software SRE.
- • hardware controlled SR, supported by the FSM external to the DDCRTL, and under the RCC control (see Section 21: Reset and clock control (RCC) for mode details). When the devices goes in Stop mode, the DDCRTL can put the SDRAM into SR.
Maximum power saving mode (MPSM)
- • MPSM is applicable only to DDR4.
- • These power-saving opportunities are supported but do not present any significant interest because the SDRAM content is lost during DPD (Deep power-down) and MPSM, that are practically not different from shutting down the DDR.
DDR3L/DDR4 DLL off mode
The DDR3L and DDR4 DLL off modes are not supported.
14.5.4 Address mapper
The DDCRTL address mapper converts the AXI port read/write request into row, bank, column (rank if any) SDRAM address at XPI level. The address mapping is very flexible and
defined according to DDRCTRL_REGS_ADDRMAP1 to DDRCTRL_REGS_ADDRMAP11 settings.
14.5.5 DRAM timing parameters
The DDRCTRL schedule commands to the SDRAM according to multiple timing constraints, as programmed in DDRCTRL_REGS_DRAMTMGx, according to SDRAM JEDEC timing parameters versus frequency.
The following registers are related to timings constrains:
- • DDRCTRL_REGS_DRAMTMG0 to DDRCTRL_REGS_DRAMTMG17
- • DDRCTRL_REGS_ODTTMG
- • DDRCTRL_REGS_DFITMG0/1
14.5.6 SDRAM initialization sequence
The initialization is controlled by the DDRPHYC supporting a PUBL built-in initialization sequence for each DDR type, and triggered by PIR registers (see Section 15: DDR physical interface control (DDRPHYC) for more details).
14.5.7 Refresh controls
The refresh can be issued using one of the following method:
- • using the direct software request of the refresh command (DIS_AUTO_REFRESH = 1 in DDRCTRL_REGS_RFSHCTL3)
- • the auto-refresh feature in the DDRCTRL (DIS_AUTO_REFRESH = 0)
Refresh using the direct software request of refresh command
Follow these steps:
- 1. Set DIS_AUTO_REFRESH = 1. DDRCTRL checks for any pending refreshes. Any pending refreshes are issued right away using the 'critical refresh' feature inside the DDRCTRL. After these refreshes are issued, all refresh timers inside the DDRCTRL are reset to 0. They are re-activated only when the auto-refresh feature is enabled.
- 2. The device core must keep track of the refresh requirements of the SDRAM.
- 3. The refresh command can be issued by setting RANK0_REFRESH to 1 in DDRCTRL_REGS_DBGCMD. When the refresh request is stored, the corresponding bit is automatically cleared. The device core can initiate a refresh operation only if RANK0_REFRESH_BUSY = 0 in DDRCTRL_REGS_DBGSTAT. The DDRCTRL issues refresh to the SDRAM at the earliest.
- 4. Software-driven refresh commands are loaded into a 9-entry buffer, and are issued by the DDRCTRL on the DFI as soon as it is legal to do so. If the buffer saturates, RANK0_REFRESH_BUSY remains asserted to prevent software from initiating further refreshes.
Refresh using the auto-refresh feature inside DDRCTRL
The DDRCTRL provides advanced refresh controls. Besides fully-configurable refresh constraints (\(t_{RFC(min)}\) and \(t_{REFI}\)), it can also be programmed to gather refreshes to each rank of the SDRAM, to reduce the bandwidth consumed by refreshes, and to increase the
likelihood that refreshes can be serviced during an idle period. The following registers are related to refresh controls:
- • DDRCTRL_REGS_RFSHCTL0
- • DDRCTRL_REGS_RFSHCTL3
- • DDRCTRL_REGS_RFSHTMG
The purposes of refresh control are the following:
- • reduce the bandwidth impact of refresh cycles
- • increase the likelihood of refreshes being serviced during idle periods
- • provide fine-gain control of the trading-off between above benefits (to gather refreshes) versus the increased worst-case latencies associated with gathering refreshes
For more information, refer to each register description. Beside issuing refresh at regular intervals according to \(t_{RFC(min)}\) and \(t_{REFI}\), several optimization options are possible: burst refresh, speculative refresh, and per-bank refresh (applicable to LPDDR4).
14.5.8 ZQ calibration
This feature is applicable to all DDR types. The DDRCTRL can use the ZQ calibration command to calibrate SDRAM RON (resistor on) and ODT (on-die termination) values over PVT (process, voltage, temperature).
The DDRPHYC supports RON and ODT calibration at initialization (see Section 15: DDR physical interface control (DDRPHYC) for more details).
The DDRCTRL can issue periodic calibrations which take less time at regular interval (ZQCS). The DDRCTRL can also issue a long calibration (ZQCL) after SR exit.
The following registers are related to ZQ calibration controls:
- • DDRCTRL_REGS_ZQCTL0/1/2
- • DDRCTRL_REGS_ZQSTAT
For more information on ZQ Calibration, refer to JEDEC specifications of the corresponding SDRAM.
14.5.9 Register programming
Most registers are static and must be programmed only when DDRCTRL is under reset.
Dynamic registers can be programmed at any time.
Refresh related registers are dynamic registers but the following steps are needed to update them:
- • Change the refresh-related parameter as desired.
- • After the changed register is stable, toggle REFRESH_UPDATE_LEVEL in DDRCTRL_REGS_RFSHCTL3.
Quasi-dynamic parameters can be programmed following the flow described in Figure 43, with the group as listed in the bitfield programming mode:
- • Group 1: parameter that can be written when no read/write traffic is present at DFI (pipeline empty)
- • Group 2: parameter that can be written in self-refresh, DPD, or MPSM
- • Group 3: parameter that can be written when the controller is empty
- • Group 4: parameter that can be written depending on MSTR frequency_mode and MSTR2 target_frequency
Figure 43. Quasi-dynamic register programming

graph TD
subgraph Group1
G1_Init([DDRCTRL_DBG1
DIS_DQ = 1])
G1_Check{Pipeline
empty}
end
subgraph Group2
G2_Init([DDRCTRL_PWRCTRL
SELREF_SW = 1])
G2_Check{Self
refresh}
end
subgraph Group3
G3_Init([DDRCTRL_PCTRL_x
PORT_EN = 0])
G3_Check{Controller
empty}
end
G4_Init[ ]
G1_Check -- Yes --> J1(( ))
G2_Check -- Yes --> J1
G3_Check -- Yes --> J1
G4_Init --> J1
J1 --> Set0([DDRCTRL_REGS_SWCTL
SW_DONE = 0])
Set0 --> Program[Program registers]
Program --> Set1([DDRCTRL_REGS_SWCTL
SW_DONE = 1])
Set1 --> AckCheck{sw_done_ack
== 1}
AckCheck -- Yes --> Reset([DDRCTRL_DBG1
DIS_DQ = 0])
AckCheck -- Yes --> Reset2([DDRCTRL_PWRCTRL
SELREF_SW = 0])
AckCheck -- Yes --> Reset3([DDRCTRL_PCTRL_x
PORT_EN = 0])
AckCheck -- Yes --> G4_End[ ]
MSv70499V1
14.6 DDRCTRL configuration
The DDRCTRL is configured with these major hardware options:
- • DDR mode support: LPDDR4/DDR4/DDR3L
- • frequency ratio: 1:2
- • arbiter: include PA with two AXI ports
- • CAM depth: 32 with bypass enabled
- • single HIF
- • single RAQ per port
14.7 DDCRTL registers
The following variables are considered with fixed values:
- MEMC_NO_OF_ENTRY = 32
14.7.1 DDCRTL master0 register (DDRCTRL_REGS_MSTR)
Address offset: 0x000
Reset value: 0x0304 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DEVICE_CONFIG[1:0] | Res. | Res. | Res. | Res. | ACTIVE_RANKS[1:0] | Res. | Res. | Res. | Res. | BURST_RDWR[3:0] | |||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DLL_OFFSET_MODE | Res. | DATA_BUS_WIDTH[1:0] | Res. | EN_2T_TIMING_MODE | BURST CHOP | Res. | Res. | Res. | LPDDR4 | DDR4 | Res. | Res. | Res. | DDR3L | |
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:30 DEVICE_CONFIG[1:0]: Device configuration
- 00: x4 device
- 01: x8 device
- 10: x16 device
- 11: x32 device
Note: Programming mode: Static.
Bits 29:26 Reserved, must be kept at reset value.
Bits 25:24 ACTIVE_RANKS[1:0]: Only present for multi-rank configurations
- Each bit represents one rank. For two-rank configurations, only bits[25:24] are present.
- 1: Populated
- 0: Unpopulated
- LSB is the lowest rank number. For two ranks, the following combinations are legal:
- 01: One rank
- 11: Two ranks
- Others: reserved
Note: Programming mode: Static.
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 BURST_RDWR[3:0]: SDRAM burst length
- This bitfield controls the burst size used to access the SDRAM. This must match the burst length mode register setting in the SDRAM. For DDR3L, DDR4, this must be set to 0x0100 (BL8).
- For LPDDR4, this must be set to 0x1000 (BL16).
- 0010: Burst length of 4
- 0100: Burst length of 8
- 1000: Burst length of 16 (only supported for LPDDR4)
- Others: reserved
Note: Programming mode: Static.

- Bit 15 DLL_OFF_MODE:
1: When the DDRCTRL and DRAM has to be put in DLL-off mode for low frequency operation
0: To put DDRCTRL and DRAM in DLL-on mode for normal frequency operation
Note: Programming mode: Quasi-dynamic Group 2. - Bit 14 Reserved, must be kept at reset value.
- Bits 13:12 DATA_BUS_WIDTH[1:0]: Proportion of DQ bus width that is used by the SDRAM
00: 32 bits
01: 16 bits
10: 8 bits (supported for DDR3L half populated)
Note: Programming mode: Static. - Bit 11 Reserved, must be kept at reset value.
- Bit 10 EN_2T_TIMING_MODE:
0: DDRCTRL uses 1T timing.
1: DDRCTRL uses 2T timing.
In 2T timing, all command signals (except chip select) are held for two clocks on the SDRAM bus. Chip select is asserted on the second cycle of the command.
2T timing is not supported in LPDDR4 mode and in shared-AC dual channel mode (register value is don't care).
Note: Programming mode: Static. - Bit 9 BURSTCHOP: Burst chop (BC4 or 8 on-the-fly) enable in DDR3L/DDR4
Burst chop for reads is exercised only:
• in HIF configurations (DDRCTRL_REGS_INCL_ARB not set)
• in full bus width mode (DATA_BUS_WIDTH = 00 in this register)
BC4 (fixed) mode is not supported.
Note: Programming mode: Static. - Bits 8:6 Reserved, must be kept at reset value.
- Bit 5 LPDDR4: Selects LPDDR4 SDRAM
1: LPDDR4 SDRAM device
0: Non-LPDDR4 device
Note: Programming mode: Static. - Bit 4 DDR4: Selects DDR4 SDRAM
1: DDR4 SDRAM device
0: Non-DDR4 device
Note: Programming mode: Static. - Bits 3:1 Reserved, must be kept at reset value.
- Bit 0 DDR3L: Selects DDR3L SDRAM
1: DDR3L SDRAM device
0: Non-DDR3L SDRAM device
Note: Programming mode: Static.
14.7.2 DDRCTRL operating mode status register (DDRCTRL_REGS_STAT)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | SELFREF_CAM_NOT_EMPTY | Res. | Res. | SELFREF_STATE[1:0] | Res. | Res. | SELFREF_TYPE[1:0] | Res. | OPERATING_MODE[2:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 SELFREF_CAM_NOT_EMPTY: Self-refresh (SR) with CAMs not empty
Set to 1 when SR is entered but CAMs are not drained. Cleared after exiting SR.
Note: Programming mode: Static.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:8 SELFREF_STATE[1:0]: SR or SRPD (SR power-down) for LPDDR4
This bitfield is used for frequency change and MRR/MRW access during SR.
00: SDRAM not in SR
01: SR 1
10: SRPD
11: SR 2
Note: Programming mode: Static.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:4 SELFREF_TYPE[1:0]: Flags if SR (except LPDDR4), or SRPD (LPDDR4) is entered, and if it is under automatic SR control only or not
00: SDRAM is not in SR (except LPDDR4) or SRPD (LPDDR4).
11: SDRAM is in SR (except LPDDR4) or SRPD(LPDDR4), which was caused by automatic SR only. If retry is enabled, this ensures that the SR entry (SRE) command is executed correctly without parity error.
10: SDRAM is in SR (except LPDDR4) or SRPD (LPDDR4), which was not caused solely under automatic SR control. It may have been caused by hardware low-power interface and/or software (SELFREF_SW in DDDCTRL_REGS_PWRCTL). If retry is enabled, this ensures that the SRE command is executed correctly without parity error.
01: SDRAM is in SR, which is caused by PHY master request.
Note: Programming mode: Static.
Bit 3 Reserved, must be kept at reset value.
Bits 2:0 OPERATING_MODE[2:0]:
DDR3L design:
00: Init
01: Normal
10: PDN
11: SR
DDR4 design:
000: Init
001: Normal
010: PDN
011: SR
Others: reserved
LPDDR4 design:
000: Init
001: Normal
010: PDN
011: SR/SRSRPD
Others: reserved
14.7.3 DDRCTRL mode read/write control 0 register (DDRCTRL_REGS_MRCTRL0)
Address offset: 0x010
Reset value: 0x0000 0030
Note: Do not enable more than one of the following bitfields simultaneously: SW_INIT_INT, PDA_EN, and MPR_EN
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MR_W R | PBA_M ODE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rs | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR_ADDR[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | MR_RANK[1:0] | SW_INI T_INT | PDA_E N | MPR_E N | MR_TY PE | ||||
| r | r | r | r | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 MR_WR: Mode register (MR) read or write
Setting this bit to 1 triggers a mode register read or write operation.
When the MR operation is complete, the DDRCTRL automatically clears this bit.
The other bitfields of this register must be written in a separate APB transaction, before setting this MR_WR bit.
It is recommended NOT to set this signal if in init operating mode.
Note: Programming mode: Dynamic.
Bit 30 PBA_MODE: PBA access execution
When setting this bit to 1 along with setting PDA_EN to 1, the DDRCTRL initiates PBA (per buffer addressability) access instead of PDA (per DRAM addressability) access.
The completion of PBA access is confirmed by PODA_DONE in DDRCTRL_REGS_MRSTAT in the same way as PDA.
0: PDA
1: PBA
Note: Programming mode: Dynamic.
Bits 29:16 Reserved, must be kept at reset value.
Bits 15:12 MR_ADDR[3:0]: MR address to be written to
0000: MR0
0001: MR1
0010: MR2
0011: MR3
0100: MR4
0101: MR5
0110: MR6
0111: MR7
Don't care for LPDDR4 (see MR_DATA in DDRCTRL_REGS_MRCTRL1 for mode register addressing in LPDDR4).
Note: Programming mode: Dynamic.
Bits 11:6 Reserved, must be kept at reset value.
Bits 5:4 MR_RANK[1:0]: Rank accessed by MR_WR in this register
For multi-rank UDIMMs/RDIMMs/LRDIMMs, which implement address mirroring, it may be necessary to access ranks individually.
Examples (assuming DDRCTRL is configured for two ranks):
0x1: Select rank 0 only
0x2: Select rank 1 only
0x3: Select ranks 0 and 1
Note: Programming mode: Dynamic.
Bit 3 SW_INIT_INT: Software intervention enable
This bit indicates whether a software intervention is allowed through
DDRCTRL_REGS_MRCTRL0/1 before automatic SDRAM initialization routine or not.
For DDR4, this bit can be used to initialize the DDR4 RCD (MR7) before automatic SDRAM initialization.
For LPDDR4, this bit can be used to program additional mode registers before automatic SDRAM initialization if necessary. In LPDDR4 dual channel mode, this bit must be programmed to both channels beforehand.
This bit must be cleared to 0 after completing software operation. Otherwise, the SDRAM initialization routine does not restart.
0: Software intervention not allowed
1: Software intervention allowed
Note: Programming mode: Dynamic.
Bit 2 PDA_EN: Mode register operation is MRS in PDA mode or not
0: MRS
1: MRS in PDA
When PBA_MODE = 1 in this register, PBA access is initiated instead of PDA access.
Note: Programming mode: Dynamic.
Bit 1 MPR_EN: Mode register operation is MRS or WR/RD for MPR (only supported for DDR4)
0: MRS
1: WR/RD for MPR
Note: Programming mode: Dynamic.
Bit 0 MR_TYPE: Mode register operation is read or write (only for LPDDR4/DDR4)
0: Write
1: Read
Note: Programming mode: Dynamic.
14.7.4 DDRCTRL mode read/write control 1 register
(DDRCCTRL_REGS_MRCTRL1)
Address offset: 0x014
Reset value: 0x0000 0000
| RM0457 14.7.4 | column_2 | Bit 1 Bit 0 | MPR_EN 0: MRS MR_TYPE 0: Write 1: Read | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_DATA[17:16 | |
| rw rw | rw rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 MR_DATA[15:0] | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| Bits 17:0 | MR_DATA[17:0] | : Mode register write data for all non-LPDDR4 modes | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 MR_W |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | PDA_D | R_BUS | |||||||
| ONE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||||||
| r r | r r | ||||||||||||||
| RM0457 Rev 5 | 463/ | 5881 |
Bits 31:18 Reserved, must be kept at reset value.
Bits 17:0 MR_DATA[17:0]: Mode register write data for all non-LPDDR4 modes
This bitfield is 18-bit wide in configurations with DDR4 support, and 16-bit in all other configurations.
For LPDDR4, MRCTRL1[15:0] are interpreted as:
- • [15:8]: MR address
- • [7:0]: MR data for writes, don't care for reads
Note: Programming mode: Dynamic.
14.7.5 DDRCTRL mode register read/write status register
(DDRCCTRL_REGS_MRSTAT)
Address offset: 0x018
Reset value: 0x0000 0000
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 PDA_DONE: Initiate an MR write operation in PDA/PBA mode only if this bit is low
This bit goes high when three consecutive MRS commands related to the PDA/PBA mode are issued to the SDRAM.
This bit goes low when PDA_EN becomes 0 in DDRCTRL_REGS_MRCTRL0.
It is recommended to write 0 to PDA_EN after PDA_DONE bit goes high in order to prepare to perform PDA operation next time.
0: Mode register write operation related to PDA/PBA is in progress or has not started yet.
1: Mode register write operation related to PDA/PBA has competed.
Note: Programming mode: Dynamic.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 MR_WR_BUSY: Initiate an MR write operation only if this bit is low
This bit goes high in the clock after the DDRCTRL accepts the MRW/MRR request.
This bit is low when the MRW/MRR command is issued to the SDRAM.
It is recommended not to perform MRW/MRR commands when this bit is high.
0: The device can initiate a mode register write operation.
1: Mode register write operation is in progress.
Note: Programming mode: Dynamic.
14.7.6 DDRCTRL mode register read/write control 2 register (DDRCTRL_REGS_MRCTRL2)
Address offset: 0x01C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MR_DEVICE_SEL[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR_DEVICE_SEL[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 MR_DEVICE_SEL[31:0]: Device selection during the MRS that happens in PDA mode
Each bit is associated with one device (bit[0] corresponds to device 0, bit[1] to device 1 and so on). For each bit:
1: MRS command must be applied to that device.
0: MRS commands must be skipped for that device.
Note: Programming mode: Dynamic.
14.7.7 DDRCTRL temperature derate enable register (DDRCTRL_REGS_DERATEEN)
Address offset: 0x020
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | DERATE_MR4_PAUSE_FC | DERATE_MR4_TUF_DIS | Res. | RC_DERATE_VALUE[2:0] | DERATE_BYTE[3:0] | Res. | DERATE_VALUE[1:0] | DERATE_ENABLE | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:14 Reserved, must be kept at reset value.
Bit 13 DERATE_MR4_PAUSE_FC: Pauses MR4 reads
Must only be set to 1 as part of frequency change procedures, if DERATE_ENABLE = 1 in this register.
Note: Programming mode: Dynamic.
Bit 12 DERATE_MR4_TUF_DIS: Disables use of MR4 TUF flag (MR4[7])
For LPDDR4, it is recommended to set this bit to 1. This affects both the periodic derate logic (DERATE_ENABLE) and DDCRTL_REGS_DERATE_TEMP_LIMIT_INTR in DDCRTL_REGS_DERATESTAT.
0: Use MR4 TUF flag (MR4[7]).
1: Do not use MR4 TUF Flag (MR4[7]).
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 11 Reserved, must be kept at reset value.
Bits 10:8 RC_DERATE_VALUE[2:0]: Derate value of \(t_{RC}\) for LPDDR4
The required cycles for derating can be determined by dividing 3.75 ns by the core_ddrc_core_clk period, and rounding it up to the next integer.
This bitfield must be set to the previous value - 1.
000: Derating uses +1.
001: Derating uses +2.
010: Derating uses +3.
011: Derating uses +4.
100: Derating uses +5.
101: Derating uses +6.
110: Derating uses +7.
111: Derating uses +8.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:4 DERATE_BYTE[3:0]: MRR data used for derating
Note: Programming mode: Static.
Bit 3 Reserved, must be kept at reset value.
Bits 2:1 DERATE_VALUE[1:0]: Derate value
The required cycles for derating can be determined by dividing 1.875 ns by the core_ddrc_core_clk period, and rounding it up to the next integer.
This bitfield must be set to the previous value - 1.
00: Derating uses +1.
01: Derating uses +2.
10: Derating uses +3.
11: Derating uses +4.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 0 DERATE_ENABLE: Enables derating
This bit must be set to 0 for non-LPDDR4 mode.
0: Timing parameter derating is disabled.
1: Timing parameter derating is enabled using MR4 read value.
Note: Programming mode: Dynamic.
14.7.8 DDRCTRL temperature derate interval register (DDRCTRL_REGS_DERATEINT)
Address offset: 0x024
Reset value: 0x0080 0000
| 14.7.8 | column_2 | Bits 2:1 Bit 0 | column_4 | column_5 | column_6 | column_7 | : Derate value | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| Bits 31:0 | MR4_READ_INTERVAL[31:0] | : Interval between two MR4 reads | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 DERAT E_TEM P_LIMI | 1 DERAT E_TEM | 0 DERAT E_TEM |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P_LIMI T_INTR _CLR | P_LIMI T_INTR _EN | |
| rc_w1 | rc_w1 | rw |
Bits 31:0 MR4_READ_INTERVAL[31:0]: Interval between two MR4 reads
This bitfield value is used to derate the timing parameters.
This register must not be set to zero. Unit: DFI clock cycles
Note: Programming mode: Static.
14.7.9 DDRCTRL temperature derate control register (DDRCTRL_REGS_DERATECTL)
Address offset: 0x02C
Reset value: 0x0000 0001

Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DERATE_TEMP_LIMIT_INTR_FORCE: Interrupt force bit for DERATE_TEMP_LIMIT_INTR
Setting this bit to 1 causes the DERATE_TEMP_LIMIT_INTR output pin to be asserted.
At the end of the interrupt force operation, the DDCRTL automatically clears this bit.
Note: Programming mode: Dynamic.
Bit 1 DERATE_TEMP_LIMIT_INTR_CLR: Interrupt clear bit for DERATE_TEMP_LIMIT_INTR
At the end of the interrupt clear operation, the DDCRTL automatically clears this bit.
Note: Programming mode: Dynamic.
Bit 0 DERATE_TEMP_LIMIT_INTR_EN: Interrupt enable bit for DERATE_TEMP_LIMIT_INTR
1: Enabled
0: Disabled
Note: Programming mode: Dynamic.
14.7.10 DDCRTL low-power control register (DDRCTRL_REGS_PWRCTL)
Address offset: 0x030
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPDDR4_SR_ALLOWED | DIS_CAM_DRAIN_SELFREF | STAY_IN_SELFREF | SELFREF_SW | Res. | EN_DFIDRAM_CLK_DISABLE | Res. | POWERDOW_N_EN | SELFREF_EN |
| rw | rw | rw | rw | rw | rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 LPDDR4_SR_ALLOWED: Transition from SRPD to SR, and back to SRPD allowed
This bit cannot be modified while SELFREF_SW = 1 in this register.
0: SRPD -> SR -> SRPD not allowed
1: SRPD -> SR -> SRPD allowed
Note: Programming mode: Dynamic.
Bit 7 DIS_CAM_DRAIN_SELFREF: Skipping CAM draining allowed when entering SR
This bit cannot be modified while SELFREF_SW = 1 in this register.
0: CAMs must be empty before entering SR.
1: CAMs are not empty before entering SR (not supported).
Note: Programming mode: Dynamic.
Bit 6 STAY_IN_SELFREF: SR state transition
SR is an intermediate state to enter/exit SRPD state for LPDDR4. This bit controls transition from SR state.
1: Transition from SR not allowed
0: Transition from SR allowed
Note: Programming mode: Dynamic.
Bit 5 SELFREF_SW: SR state entry
A value of 1 to this bit causes the system to move to SR state immediately, as long as it is not in init operating mode. This is referred to as software entry/exit to SR.
1: Software entry to SR
0: Software exit from SR
Note: Programming mode: Dynamic.
Bit 4 Reserved, must be kept at reset value.
Bit 3 EN_DFI_DRAM_CLK_DISABLE: dfi_dram_clk_disable enable
Enables the assertion of dfi_dram_clk_disable whenever a clock is not required by the SDRAM.
0: dfi_dram_clk_disable is never asserted.
1: Assertion of dfi_dram_clk_disable as follows: In DDR3L and DDR4, can only be asserted in SR. In LPDDR4, can be asserted in SRPD, in PDN, and during normal operation (clock Stop).
Note: Programming mode: Dynamic.
Bit 2 Reserved, must be kept at reset value.
Bit 1 POWERDOWN_EN: PDN enable
If this bit is set to 1, the DDCRTL goes into PDN after a programmable number of cycles: maximum idle clocks before power down = POWERDOWN_TO_X32 in DDCRTL_REGS_PWRTMG.
This bit can be reprogrammed during the course of normal operation.
Note: Programming mode: Dynamic.
Bit 0 SELFREF_EN: SDRAM into SR enable
If this bit is set to 1, the DDCRTL puts the SDRAM into SR after a programmable number of cycles: maximum idle clocks before SR = PWRTMG.SELFREF_TO_X32 in DDCRTL_REGS.
This bit can be reprogrammed during the course of normal operation.
Note: Programming mode: Dynamic.
14.7.11 DDCRTL low-power timing register (DDRCTRL_REGS_PWRTMG)
Address offset: 0x034
Reset value: 0x0040 2010
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TO_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POWERDOWN_TO_X32[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 SELFREF_TO_X32[7:0]: Maximum idle clocks before SR
After this number of clocks of the DDRC command channel being idle, the DDRCTRL automatically puts the SDRAM into SR.
The DDRC command channel is considered idle when there are no HIF commands outstanding. This must be enabled by PWRCTL.SELFREF_EN in DDRCTRL_REGS.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
Bits 15:5 Reserved, must be kept at reset value.
Bits 4:0 POWERDOWN_TO_X32[4:0]: Maximum idle clocks before PDN
After this number of clocks of the DDRC command channel being idle, the DDRCTRL automatically puts the SDRAM into PDN.
The DDRC command channel is considered idle when there are no HIF commands outstanding. This must be enabled by POWERDOWN_EN in DDRCTRL_REGS_PWRCTL.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
14.7.12 DDRCTRL hardware low-power control register (DDRCTRL_REGS_HWLPCTL)
Address offset: 0x038
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | HW_LP_IDLE_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HW_LP_EXIT_IDLE_EN | HW_LP_EN |
| rw | rw | ||||||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 HW_LP_IDLE_X32[11:0]: Hardware idle period
The CACTIVE_DDRC output is driven low if the DDRC command channel is idle for the number of cycles defined in this bitfield, if not in init operating mode.
The DDRC command channel is considered idle when there are no HIF commands outstanding.
The hardware idle function is disabled when this bitfield = 0 (1 is an illegal value).
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Static.
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 HW_LP_EXIT_IDLE_EN: CACTIVE_IN_DDRC pin enable
When this bit is set to 1, the CACTIVE_IN_DDRC pin of the DDRC can be used to exit from the automatic clock stop, automatic power down, or automatic SR.
This does not cause exit of SR that was caused by hardware low-power interface, and/or software (see SELREF_SW in DDRCTRL_REGS_PWRCTL).
Note: Programming mode: Static.

Bit 0 HW_LP_EN: Hardware low-power interface enable
Note: Programming mode: Quasi-dynamic Group 2.
14.7.13 DDRCTRL refresh control 0 register (DDRCTRL_REGS_RFSHCTL0)
Address offset: 0x050
Reset value: 0x8021 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| REFRESH_TO_AB_X32[4:0] | Res. | Res. | Res. | REFRESH_MARGIN[3:0] | Res. | Res. | Res. | REFRESH_TO_X1_X32[4] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| REFRESH_TO_X1_X32[3:0] | Res. | Res. | REFRESH_BURST[5:0] | Res. | PER_BANK_REFRESH | AUTO_REFAB_EN[1:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:27 REFRESH_TO_AB_X32[4:0]: When the DDRCTRL switches automatically from per-bank to all-bank refresh (if enabled by AUTO_REFAB_EN[1:0]), it will use this register to determine when to perform speculative all-bank refreshes.
If the refresh timer (\(t_{RFCnom}\), also known as \(t_{REFI}\)) has expired at least once, then a speculative refresh may be performed.
A speculative refresh is a refresh performed at a time when refresh would be useful. When the SDRAM bus is idle for a period of time determined by REFRESH_TO_AB_X32[4:0] and the refresh timer has expired at least once since the last refresh, then a speculative refresh is performed.
Speculative refreshes continues successively until there are no refreshes pending or until new reads or writes are issued to the DDRCTRL.
FOR PERFORMANCE ONLY.
Unit: multiples of 32 DFI clock cycles.
Note: Programming mode: Dynamic - Refresh related.
Bits 26:24 Reserved, must be kept at reset value.
Bits 23:20 REFRESH_MARGIN[3:0]: DFI clock cycles before the critical refresh or page timer expires
A critical refresh must be issued before this threshold is reached. It is recommended not to change from the default value 0x2. It must always be less than internally used \(t_{rfc\_nom}/32n\) that is equal to:
- • \(T_{RFC\_NOM\_X1\_X32} * 32\) in DDRCTRL_REGS_RFSHTMG if \(T_{RFC\_NOM\_X1\_SEL} = 0\) in the same register
- • \(T_{RFC\_NOM\_X1\_X32}\) if \(T_{RFC\_NOM\_X1\_SEL} = 1\) (for LPDDR4 per-bank refresh only)
- • In LPDDR4, \(t_{rfc\_nom}\) can be divided by four if derating is enabled by DERATE_ENABLE = 1 in DDRCTRL_REGS_DERATEEN.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Dynamic - Refresh related.
Bits 19:17 Reserved, must be kept at reset value.
Bits 16:12 REFRESH_TO_X1_X32[4:0]:
If the refresh timer (\(t_{RFCnom}\), also known as \(t_{REFI}\)) has expired at least once, a speculative refresh can be performed.
A speculative refresh is a refresh performed at a time when refresh is useful. When the SDRAM bus is idle for a period of time determined by this field, and the refresh timer has expired at least once since the last refresh, then a speculative refresh is performed.
Speculative refreshes continue successively until there are no refreshes pending or until new reads or writes are issued to the DDRCTRL.
Unit: DFI clock cycles or multiples of 32 DFI clock cycles, depending on \(T_{RFC\_NOM\_X1\_SEL}\) in DDRCTRL_REGS_RFSHTMG.
Note: Programming mode: Dynamic - Refresh related.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:4 REFRESH_BURST[5:0]:
This bitfield + 1 is the number of refresh timeouts that can be accumulated before traffic is blocked, and refreshes are forced to execute.
Closing pages to perform a refresh is a one-time penalty that must be paid for each group of refreshes. Performing refreshes in a burst reduces then the per-refresh penalty of these page closings.
Higher numbers for this bitfield slightly increase utilization. Lower numbers decrease the worst-case latency associated with refreshes.
00000: Single refresh
00001: Burst-of-2 refresh
...
00111: Burst-of-8 refresh
- • For more information on burst refresh feature, see section 3.9 of DDR2 JEDEC specification (JESD79-2F.pdf).
- • For DDR3L, the refresh is always per-rank and not per-bank. The rank refresh can be accumulated over \(8 * t_{REFI}\) cycles using the burst refresh feature.
- • In DDR4 mode, according to the fine-granularity feature, eight refreshes can be postponed in 1X mode, 16 refreshes in 2X mode, and 32 refreshes in 4X mode.
- • If using PHY-initiated updates, care must be taken in the setting of this bitfield to ensure that \(t_{RFCmax}\) is not violated due to a PHY-initiated update occurring shortly before a refresh burst is due. In this situation, the refresh burst is delayed until the PHY-initiated update is complete.
- • In per-bank refresh mode of LPDDR4 (PER_BANK_REFRESH = 1 in this register), 64 refreshes can be postponed.
Note: Programming mode: Dynamic - Refresh related.
Bit 3 Reserved, must be kept at reset value.
Bit 2 PER_BANK_REFRESH:
Per bank refresh allows traffic to flow to other banks (supported by all LPDDR4 devices).
1: Per bank refresh
0: All bank refresh
Note: Programming mode: Static.
Bits 1:0 AUTO_REFAB_EN[1:0]: Enables automatic switching from per-bank to all-bank refresh when the derated refresh period is small.
Automatically switches back to per-bank refresh when the derated refresh period is no longer small.
This register should be programmed to 00 if PER_BANK_REFRESH = 0.
This register should be programmed to 00 for LPDDR4 2Gb and 4Gb.
0x0: Disable automatic switching
0x3: Reserved
0x1: Enable automatic switching when the derated refresh period is \(t_{REFI}/2\) or lower
0x2: Enable automatic switching when the derated refresh period is \(t_{REFI}/4\)
Note: Programming mode: Static.
14.7.14 DDRCTRL refresh control 1 register (DDRCTRL_REGS_RFSHCTL1)
Address offset: 0x054
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | REFRESH_TIMER1_START_VALUE_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | REFRESH_TIMER0_START_VALUE_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 REFRESH_TIMER1_START_VALUE_X32[11:0]: Refresh timer start for rank 1 (only present in multirank configurations)
This is useful in staggering the refreshes to multiple ranks to help traffic to proceed.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Dynamic - Refresh related.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0 REFRESH_TIMER0_START_VALUE_X32[11:0]: Refresh timer start for rank 0 (only present in multirank configurations)
This is useful in staggering the refreshes to multiple ranks to help traffic to proceed.
Unit: multiples of 32 DFI clock cycles.
Note: Programming mode: Dynamic - Refresh related.
14.7.15 DDRCTRL refresh control 3 register (DDRCTRL_REGS_RFSHCTL3)
Address offset: 0x060
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_MODE[2:0] | Res. | Res. | REFRESH_UPDATE_LEVEL | DIS_AUTO_REFRESH | ||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:4 REFRESH_MODE[2:0]: Fine granularity refresh mode
This bitfield must be set up while the controller is in reset, or while the controller is in SR mode. Changing this during normal operation is not allowed.
Only fixed 1x mode is supported if DIS_AUTO_REFRESH = 1 in this register.
This bitfield has effect only if a DDR4 SDRAM device is in use (DDR4 = 1 in DDRACTRL_REGS_MSTR).
000: Fixed 1x (normal mode)
001: Fixed 2x
010: Fixed 4x
101: Enable on-the-fly 2x (not supported)
110: Enable on-the-fly 4x (not supported)
Others: reserved
Note: Programming mode: Quasi-dynamic Group 2.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 REFRESH_UPDATE_LEVEL: Refresh register update
Toggle this bit (either from 0 to 1 or from 1 to 0) to indicate that the refresh registers have been updated.
This bit must not be toggled when the DDRC is in reset (core_ddrc_rstn = 0).
The refresh registers are automatically updated when exiting reset.
Note: Programming mode: Dynamic.
Bit 0 DIS_AUTO_REFRESH: Auto-refresh disable
When this bit is 1, the auto-refresh generated by the DDRACTRL is disabled. In this case, the device must generate refreshes using RANKx_REFRESH in DDRACTRL_REGS_DBGCMD.
When this bit transitions from 0 to 1, any pending refreshes are immediately scheduled by the DDRACTRL. For DDR4 only, if the FGR mode is enabled (REFRESH_MODE > 0 in DDRACTRL_REGS_RFSHCTL3), DISABLE AUTO-REFRESH is not supported, and this bit must be set to 0.
This bit can be changed on-the-fly.
Note: Programming mode: Dynamic - Refresh related.
14.7.16 DDRCTRL refresh timing register (DDRCTRL_REGS_RFSHTMG)
Address offset: 0x064
Reset value: 0x0062 008C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| T_RFC_NOM_X1_SEL | Res. | Res. | Res. | T_RFC_NOM_X1_X32[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | T_RFC_MIN[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 T_RFC_NOM_X1_SEL:
This bit specifies whether values of T_RFC_NOM_X1_X32 in this register and REFRESH_TO_X1_X32 in DDRCTRL_REGS_RFSHCTL0 are x1 or x32. This applies only when per-bank refresh is enabled (PER_BANK_REFRESH = 1 in DDRCTRL_REGS_RFSHCTL0). Otherwise, x32 register values are used, and this bit is ignored.
0: x32 register values
1: x1 register values
Note: Programming mode: Dynamic - Refresh related.
Bits 30:28 Reserved, must be kept at reset value.
Bits 27:16 T_RFC_NOM_X1_X32[11:0]: Average time interval between refreshes per rank (7.8 µs for DDR3L and DDR4, see JEDEC specification for LPDDR4)
If DDRCTRL operates in 1:2 mode, set this bitfield to \(\text{RoundDown}(\text{RoundDown}(t_{\text{REFI}} / t_{\text{CK}}) / 2)\). In previous cases, if T_RFC_NOM_X1_SEL = 0 in this register, divide the previous result by 32 and round down.
For LPDDR4:
- • If using all-bank refreshes (PER_BANK_REFRESH = 0 in DDRCTRL_REGS_RFSHCTL0), use \(t_{\text{REFIab}}\) in the previous calculations.
- • If using per-bank refreshes (PER_BANK_REFRESH = 1), use \(t_{\text{REFIpb}}\) in the previous calculations.
For DDR4 mode, \(t_{\text{REFI}}\) value is different depending on the refresh mode. The appropriate value must be programmed from the specification based on the value programmed in the refresh-mode register.
Notes:
- • This bitfield value must be greater than 0x1.
- • If T_RFC_NOM_X1_SEL = 1, this bitfield must be greater than T_RFC_MIN in this register.
- • If T_RFC_NOM_X1_SEL = 0, this bitfield * 32 must be greater than T_RFC_MIN.
- • In non-DDR4 or DDR4 fixed 1x mode, this bitfield must be less than or equal to 0xFFE.
- • In DDR4 fixed 2x mode, this bitfield must be less than or equal to 0x7FF.
- • In DDR4 fixed 4x mode, this bitfield must be less than or equal to 0x3FF.
- Unit: DFI clock cycles or multiples of 32 DFI clock cycles, depending on T_RFC_NOM_X1_SEL.
Note: Programming mode: Dynamic - Refresh related.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 T_RFC_MIN[9:0]: \(t_{RFCmin}\), minimum time from refresh to refresh or activate
If the DDRCTRL operates in 1:2 mode, set this bitfield to \(RoundUp(RoundUp(t_{RFCmin} / t_{CK}) / 2)\).
In LPDDR4 mode:
- • If using all-bank refreshes, \(t_{RFCmin}\) in previous equations is equal to \(t_{RFCab}\).
- • If using per-bank refreshes, \(t_{RFCmin}\) in previous equations is equal to \(t_{RFCpb}\).
In DDR4 mode, \(t_{RFCmin}\) in previous equations is different depending on the refresh mode (fixed 1x, 2x, 4x) and device density. The appropriate value must be programmed from the specification based on refresh mode and device density used.
Unit: DFI clock cycles.
Note: Programming mode: Dynamic - Refresh related.
14.7.17 DDRCTRL refresh timing1 register (DDRCTRL_REGS_RFSHTMG1)
Address offset: 0x068
Reset value: 0x008C 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_PBR2PBR[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 T_PBR2PBR[7:0]: \(t_{pbR2pbR}\) for LPDDR4
Per-bank refresh to per-bank refresh different bank time.
If DDRCTRL operates in 1:2 mode, set this bitfield to \(RoundUp(RoundUp(t_{pbR2pbR} / t_{CK}) / 2)\).
\(t_{pbR2pbR}\) in previous equations is different depending on the device density.
The appropriate value must be programmed from the specification.
This bitfield is valid only in LPDDR4 per-bank refresh mode
(PER_BANK_REFRESH_MODE = 1 in DDRCTRL_REGS_RFSHCTL0).
Note: Programming mode: Dynamic - Refresh related.
Bits 15:0 Reserved, must be kept at reset value.
14.7.18 DDRCTRL SDRAM initialization 0 register (DDRCTRL_REGS_INIT0)
Address offset: 0x0D0
Reset value: 0x0002 004E
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SKIP_DRAM_INIT[1:0] | Res. | Res. | Res. | Res. | POST_CKE_X1024[9:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | PRE_CKE_X1024[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:30 SKIP_DRAM_INIT[1:0]: SDRAM initialization routine
If the lower bit of this bitfield is 1, the SDRAM initialization routine is skipped. The upper bit decides in which state the controller starts up when a reset is removed.
00: The SDRAM initialization routine is run after power-up.
01: The SDRAM initialization routine is skipped after power-up. The controller starts up in normal mode.
11: The SDRAM initialization routine is skipped after power-up. The controller starts up in SR mode
Others: Reserved
Note: Programming mode: Quasi-dynamic Group 2.
Bits 29:26 Reserved, must be kept at reset value.
Bits 25:16 POST_CKE_X1024[9:0]: Number of cycles to wait after driving CKE high to start the SDRAM initialization sequence
LPDDR4 typically requires this bitfield to be programmed for a delay of 2 µs.
If the DDRCTRL operates in 1:2 mode, set this bitfield to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: multiples of 1024 DFI clock cycles.
Note: Programming mode: Static.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0 PRE_CKE_X1024[11:0]: Number of cycles to wait after reset before driving CKE high to start the SDRAM initialization sequence
LPDDR4: tINIT3 of 2 ms (min)
If the DDRCTRL operates in 1:2 mode, set this bitfield to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: multiples of 1024 DFI clock cycles.
Note: Programming mode: Static.

14.7.19 DDRCTRL SDRAM initialization 1 register (DDRCTRL_REGS_INIT1)
Address offset: 0x0D4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAM_RSTN_X1024[8:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRE_OCD_X32[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:25 Reserved, must be kept at reset value.
Bits 24:16 DRAM_RSTN_X1024[8:0]: Number of cycles to assert SDRAM reset signal during the init sequence
This bitfield must be set to a minimum of 1. If the DDCRTL operates in 1:2 mode, set this bitfield to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: multiples of 1024 DFI clock cycles.
Note: Programming mode: Static.
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 PRE_OCD_X32[3:0]: Wait period before driving the OCD complete command to SDRAM
Set this bitfield to zero, except if any specific requirement.
Unit: multiples of 32 DFI clock cycles.
Note: Programming mode: Static.
14.7.20 DDRCTRL SDRAM initialization 3 register (DDRCTRL_REGS_INIT3)
Address offset: 0x0DC
Reset value: 0x0000 0510
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MR[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EMR[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 MR[15:0]:
DDR3L/DDR4: Value loaded into MR0 register
LPDDR4: Value to write to MR1 register
Note: Programming mode: Quasi-dynamic Group 1, Group 4.
Bits 15:0 EMR[15:0]:
DDR3L/DDR4: Value to write to MR1 register (set bit 7 to 0)
LPDDR4: Value to write to MR2 register
Note: Programming mode: Quasi-dynamic Group 4.
14.7.21 DDRCTRL SDRAM initialization 4 register (DDRCTRL_REGS_INIT4)
Address offset: 0x0E0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EMR2[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EMR3[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 EMR2[15:0]:
DDR3L/DDR4: Value to write to MR2 register
LPDDR4: Value to write to MR3 register
Note: Programming mode: Quasi-dynamic Group 4.
Bits 15:0 EMR3[15:0]:
DDR3L/DDR4: Value to write to MR3 register
LPDDR4: Value to write to MR13 register
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.22 DDRCTRL SDRAM initialization 5 register (DDRCTRL_REGS_INIT5)
Address offset: 0x0E4
Reset value: 0x0010 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEV_ZQINIT_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 DEV_ZQINIT_X32[7:0]: \(t_{ZQINIT}\), ZQ initial calibration
DDR3L typically requires 512 SDRAM clock cycles.
DDR4 requires 1024 SDRAM clock cycles.
If the DDRCTRL operates in 1:2 mode, set this bitfield to JEDEC spec value divided by 2, and round it up to the next integer value.
Unit: multiples of 32 DFI clock cycles.
Note: Programming mode: Static.
Bits 15:0 Reserved, must be kept at reset value.
14.7.23 DDRCCTRL SDRAM initialization 6 register (DDRCCTRL_REGS_INIT6)
Address offset: 0x0E8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MR4[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR5[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 MR4[15:0]:
DDR4: Value to be loaded into SDRAM MR4 registers
LPDDR4: Value to be loaded into SDRAM MR11 registers
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:0 MR5[15:0]:
DDR4: Value to be loaded into SDRAM MR5 registers
LPDDR4: Value to be loaded into SDRAM MR12 registers
Note: Programming mode: Quasi-dynamic Group 1, Group 4.
14.7.24 DDRCCTRL SDRAM initialization 7 register (DDRCCTRL_REGS_INIT7)
Address offset: 0x0EC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MR22[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MR6[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 MR22[15:0]:
LPDDR4: Value to be loaded into SDRAM MR22 registers
Note: Programming mode: Quasi-dynamic Group 4.
Bits 15:0 MR6[15:0]:
DDR4: Value to be loaded into SDRAM MR6 registers
LPDDR4: Value to be loaded into SDRAM MR14 registers
Note: Programming mode: Quasi-dynamic Group 4.
14.7.25 DDRCTRL rank control register (DDRCTRL_REGS_RANKCTL)
Address offset: 0x0F4
Reset value: 0x0000 066F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | DIFF_RANK_WR_GAP_MSB | Res. | DIFF_RANK_RD_GAP_MSB | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MAX_RANK_WR[3:0] | DIFF_RANK_WR_GAP[3:0] | DIFF_RANK_RD_GAP[3:0] | MAX_RANK_RD[3:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:27 Reserved, must be kept at reset value.
Bit 26 DIFF_RANK_WR_GAP_MSB: 1-bit extension to be used when DIFF_RANK_WR_GAP in this register needs to be set to a value greater than 0xF. Only present for multirank configurations. Note: Programming mode: Quasi-dynamic Group 2.
Bit 25 Reserved, must be kept at reset value.
Bit 24 DIFF_RANK_RD_GAP_MSB: 1-bit extension to be used when DIFF_RANK_RD_GAP in this register needs to be set to a value greater than 0xF. Only present for multi-rank configurations. Note: Programming mode: Quasi-dynamic Group 2.
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:12 MAX_RANK_WR[3:0]: Maximum number of writes that can be scheduled consecutively to the same rank (only present for multirank configurations). Writes to the same rank can be performed back-to-back. Writes to different ranks require additional gap dictated by DIFF_RANK_WR_GAP in this register. This avoids possible data bus contention, and gives PHY enough time to switch the delay when changing ranks. The DDRCTRL arbitrates bus accesses on a cycle-by-cycle basis: after a write is scheduled, there are few clock cycles (determined by DIFF_RANK_WR_GAP) in which only writes from the same rank can be scheduled. This prevents writes from other ranks from having fair access to the data bus. After this number is reached, a delay equal to DIFF_RANK_WR_GAP is inserted by the scheduler to give all ranks a fair opportunity to be scheduled. Higher numbers increase bandwidth utilization. Lower numbers increase fairness. This feature can be disabled by setting this bitfield to 0. In this case, the DDRCTRL stays on the same rank as long as commands are available for it. Note: Programming mode: Static.
Bits 11:8 DIFF_RANK_WR_GAP[3:0]: Number of clocks of gap in data responses when performing consecutive writes to different ranks (only present for multirank configurations)
This bitfield is used to switch the delays in the PHY to match the rank requirements.
This value must consider both PHY requirement and ODT requirement.
- • PHY requirement (\(t_{phy\_wrcsgap}\))
- If write preamble is set to \(2 \cdot t_{CK}\) (DDR4 only), this bitfield must be increased by 1.
- Write preamble is always set to \(2 \cdot t_{CK}\) for LPDDR4.
- If write postamble is set to \(1.5 \cdot t_{CK}\) (LPDDR4 only), this bitfield must be increased by 1.
- • ODT requirement: This bitfield takes care of the ODT switch off timing requirement when switching ranks during writes.
- For LPDDR4, with DQ ODT enabled, this bitfield must be a minimum of \(ODTL_{off} - ODTL_{on} - BL/2 + 1\).
- For other cases, this bitfield must be a minimum of WR_ODT_HOLD-BL/2 (in
DDRCTRL_REGS_ODTCFGR). - If the
DDRCTRLoperates in 1:2 mode, set this field to the larger value divided by two and round it up to the next integer. - After PHY has completed training, the programmed value may need to be increased.
- If a value greater than 0xF is needed,
DIFF_RANK_WR_GAP_MSBmust be used as extension. The maximum supported value is:
- • for DFI 1:2 mode, \((DIFF\_RANK\_WR\_GAP\_MSB, DIFF\_RANK\_WR\_GAP) < 0x11\).
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2.
Bits 7:4 DIFF_RANK_RD_GAP[3:0]: Number of clocks of gap in data responses when performing consecutive reads to different ranks (only present for multi-rank configurations)
This bitfield is used to switch the delays in the PHY to match the rank requirements.
This value must consider both PHY requirement and ODT requirement.
- • PHY requirement (\(t_{phy\_rdcsgap}\))
- If read preamble is set to \(2 \cdot t_{CK}\) (DDR4 only), this bitfield must be increased by 1.
- If read postamble is set to \(1.5 \cdot t_{CK}\) (LPDDR4 only), this bitfield must be increased by 1.
- • ODT requirement - This bitfield takes care of the ODT switch off timing requirement when switching ranks during reads.
- This bitfield must be a minimum of RD_ODT_HOLD-BL/2 (in
DDRCTRL_REGS_ODTCFGR). - If the
DDRCTRLoperates in 1:2 mode, set this bitfield to the larger value divided by 2, and round it up to the next integer. - After PHY has completed training, the programmed value may need to be increased.
- If a value greater than 0xF is needed,
DIFF_RANK_RD_GAP_MSBmust be used as extension. The maximum supported value is:
- This bitfield must be a minimum of RD_ODT_HOLD-BL/2 (in
- • for DFI 1:2 mode, \((DIFF\_RANK\_WR\_GAP\_MSB, DIFF\_RANK\_WR\_GAP) < 0x11\).
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2.
Bits 3:0 MAX_RANK_RD[3:0]: Maximum number of reads that can be scheduled consecutively to the same rank (only present for multirank configurations)
Reads to the same rank can be performed back-to-back. Reads to different ranks require additional gap dictated by DIFF_RANK_RD_GAP in this register. This avoids possible data bus contention, and gives PHY enough time to switch the delay when changing ranks.
The DDRCTRL arbitrates bus accesses on a cycle-by-cycle basis: after a read is scheduled, there are few clock cycles (determined by DIFF_RANK_WR_GAP) in which only reads from the same rank can be scheduled. This prevents reads from other ranks from having fair access to the data bus.
After this number is reached, a delay equal to DIFF_RANK_RD_GAP is inserted by the scheduler to give all ranks a fair opportunity to be scheduled. Higher numbers increase bandwidth utilization. Lower numbers increase fairness.
This feature can be disabled by setting this bitfield to 0. In this case, the DDRCTRL stays on the same rank as long as commands are available for it.
Note: Programming mode: Static.
14.7.26 Rank control 1 register (DDRCTRL_REGS_RANKCTL1)
Address offset: 0x0F8
Reset value: 0x0000 0008
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR2RD_DR[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:6 Reserved, must be kept at reset value.
Bits 5:0 WR2RD_DR[5:0]: Minimum time from write command to read command on different physical ranks.
This must include time for bus turn-around between ranks and all PHY and system requirements.
After the PHY has completed training, the value programmed may need to be increased.
The following calculations are minimum values, and do not include the PHY/system requirements: \(WL + BL/2 - RL + WR\_POSTAMBLE + RD\_PREAMBLE\)
If using DDR4-LRDIMM, the following has to be satisfied: \(t_{RPRE}/2 + BL/2 + 2.7 - (CL - CWL)\)
If the calculated value is less than BL/2 (including negative values), the value should be BL/2.
When the controller is operating in 1:2 frequency ratio mode, divide the value calculated using the above equation by 2, and round it up to next integer.
For DDR4, this register value must be smaller than or equal to WR2RD_S[5:0].
For other protocols, this register value must be smaller than or equal to WR2RD[5:0].
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
14.7.27 DDRCCTRL SDRAM timing 0 register (DDRCCTRL_REGS_DRAMTMG0)
Address offset: 0x100
Reset value: 0x0F10 1B0F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | WR2PRE[6:0] | Res. | Res. | T_FAW[5:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | T_RAS_MAX[6:0] | Res. | Res. | T_RAS_MIN[5:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 WR2PRE[6:0]: Minimum time between write and precharge to same bank
Specifications: \(WL + BL / 2 + t_{WR} = \text{approximately 8 cycles} + 15 \text{ ns} = 14 \text{ clocks @400MHz}\) and less for lower frequencies.
where:
- • WL: Write latency
- • BL: Burst length, must match the value programmed in the BL bit of the mode register to the SDRAM. BST (burst terminate) is not supported.
- • \(t_{WR}\): Write recovery time, comes directly from the SDRAM specification
Add one extra cycle for LPDDR4 for this parameter.
If the DDRCCTRL operates in 1:2 mode, 1T mode, divide the previous value by 2 (no round-up).
If the DDRCCTRL operates in 1:2 mode, 2T mode or LPDDR4 mode, divide the previous value by 2, and round it up to the next integer value.
For DDR4, LPDDR4, use nWR (WR) instead of \(t_{WR}\) to calculate the value of this bitfield.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 T_FAW[5:0]: \(t_{FAW}\), valid only when 8 or more banks (or banks x bank groups) are present
In 8-bank design, at most 4 banks must be activated in a rolling window of \(t_{FAW}\) cycles.
If the DDRCCTRL operates in 1:2 mode, set this bitfield to \(t_{FAW} / 2\), and round up to next integer value. In a 4-bank design, set this bitfield to 0x1.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 15 Reserved, must be kept at reset value.
Bits 14:8 T_RAS_MAX[6:0]: \(t_{RASmax}\), max time between activate and precharge to same bank
This is the maximum time that a page can be kept open. This bitfield minimum value is 1 (0 is invalid).
If the DDRCCTRL operates in 1:2 mode, this bitfield must be set to
\(\text{RoundDown}((\text{RoundDown}(t_{RASmax} / t_{CK} / 1024) - 1) / 2)\).
Unit: multiples of 1024 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 T_RAS_MIN[5:0]: \(t_{RASmin}\), minimum time between activate and precharge to same bank
If the DDCCTRL operates in 1:2 mode, 1T mode, set this bitfield to \(RoundDown(RoundUp(t_{RASmin} / t_{CK}) / 2)\).
If the DDCCTRL operates in 1:2 mode, 2T mode or LPDDR4 mode, set this bitfield to \(RoundUp(RoundUp(t_{RASmin} / t_{CK}) / 2)\).
Unit: DFI clock cycles.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.28 DDCCTRL SDRAM timing 1 register (DDRCTRL_REGS_DRAMTMG1)
Address offset: 0x104
Reset value: 0x0008 0414
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_XP[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | RD2PRE[5:0] | Res. | T_RC[6:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:21 Reserved, must be kept at reset value.
Bits 20:16 T_XP[4:0]: \(t_{XP}\), minimum time after PDN exit to any operation
For DDR3L, this bitfield must be set to \(t_{XPDLL}\) if slow PDN exit is selected in MR0[12].
If C/A parity for DDR4 is used, set this bitfield to \((t_{XP+PL})\).
For LPDDR4 with \(t_{CKELPD}\) specified, set this bitfield to the larger of \(t_{XP}\) and \(t_{CKELPD}\).
If the DDCCTRL operates in 1:2 mode, set this bitfield to \((t_{XP} / 2)\), and round it up to the next integer value.
Units: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 RD2PRE[5:0]: \(t_{RTP}\), minimum time from read to precharge of same bank
For DDR3L: \(t_{AL} + \max(RoundUp(t_{RTP} / t_{CK}), 4)\)
For DDR4: \(\max[t_{AL} + \max(RoundUp(t_{RTP} / t_{CK}), 4)]\) or \([RL + BL / 2 - t_{RP}]\).
For LPDDR4: \(BL / 2 + \max(RoundUp(t_{RTP} / t_{CK}), 8) - 8\)
If the DDCCTRL operates in 1:2 mode, 1T mode, divide the previous value by 2 (no round-up).
If the DDCCTRL operates in 1:2 mode, 2T mode or LPDDR4 mode, divide the previous value by 2, and round it up to the next integer value.
For DDR4, use RTP instead of \(t_{RTP}\) to calculate the value of this parameter.
Unit: DFI clock cycles
Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bit 7 Reserved, must be kept at reset value.
Bits 6:0 T_RC[6:0]: \(t_{RC}\), minimum time between activates to same bank
If the DDCCTRL operates in 1:2 mode, set this bitfield to \((t_{RC} / 2)\), and round up to next integer value. Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.29 DDCRTL SDRAM timing 2 register (DDRCTRL_REGS_DRAMTMG2)
Address offset: 0x108
Reset value: 0x0305 060D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | WRITE_LATENCY[5:0] | Res. | Res. | READ_LATENCY[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | RD2WR[5:0] | Res. | Res. | WR2RD[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:24 WRITE_LATENCY[5:0]: Time from write command to write data on SDRAM interface
This bitfield must be set to WL.
If the DDCRTL operates in 1:2 mode, divide the value calculated using the previous equation by two, and round it up to next integer.
This bitfield is not required for DDR3L, as the DFI read and write latencies defined in DFITMG0 and DFITMG1 are sufficient for this protocol.
For all protocols, in addition to programming this bitfield, it is necessary to program DFITMG0 and DFITMG1 to control the read and write latencies.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 READ_LATENCY[5:0]: Time from read command to read data on SDRAM interface
This bitfield must be set to RL.
If the DDCRTL operates in 1:2 mode, divide the value calculated using the previous equation by two, and round it up to next integer.
This bitfield is not required for DDR3L, as the DFI read/write latencies defined in DDCRTL_REGS_DFITMG0/1 registers are sufficient for this protocol.
For all protocols, in addition to setting this bitfield, DDCRTL_REGS_DFITMG0/1 must be programmed to control the read and write latencies.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 RD2WR[5:0]: Minimum time from read command to write command
This bitfield must include time for bus turnaround (both within ranks and between ranks), and all PHY and system requirements.
After the PHY has completed training, this bitfield may need to be increased.
The following calculations give minimum values (not including PHY/system requirements):
For DDR3L: RL+BL/2+2-WL
For DDR4: RL+BL/2+1+WR_PREAMBLE-WL
For LPDDR4 (DQ ODT disabled):
\(RL + BL/2 + \text{RoundUp}(t_{DQSCKmax} / t_{CK}) + WR\_PREAMBLE + RD\_POSTAMBLE - WL\)
For LPDDR4 (DQ ODT enabled): \(RL + BL/2 + \text{RoundUp}(t_{DQSCKmax} / t_{CK}) +\)
\(RD\_POSTAMBLE - ODTLon - \text{RoundUp}(t_{ODTonmin} / t_{CK}) + 1\),
where:
- • WL: Write latency
- • BL: Burst length, must match the value programmed in the BL bit of the mode register to the SDRAM.
- • RL: Read latency = CAS latency
- • WR_PREAMBLE: 1 (\(1t_{CK}\) write preamble), 2 (\(2t_{CK}\) write preamble). This is unique to DDR4 and LPDDR4.
- • RD_POSTAMBLE: 0.5 (\(0.5t_{CK}\) read postamble), 1.5 (\(1.5t_{CK}\) read postamble). This is unique to LPDDR4.
For LPDDR4, if derating is enabled (DERATEEN.derate_enable = 1), derated \(t_{DQSCKmax}\) must be used.
If the DDCRTL operates in 1:2 mode, divide the value calculated using the previous equation by two, and round it up to next integer.
Depending on the PHY, if using LRDIMM, it may be necessary to adjust the value of this parameter to compensate for the extra cycle of latency through the LRDIMM.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 WR2RD[5:0]:
In DDR4, minimum time from write command to read command for same bank group.
In other protocols, minimum time from write command to read command. This must include time for bus turnaround and all PHY and system requirements.
After the PHY has completed training, the value programmed may need to be increased.
The following calculations give minimum values (not including PHY/system requirements):
DDR4: \(CWL + PL + BL / 2 + t_{WTR\_L}\)
LPDDR4: \(WL + BL / 2 + t_{WTR} + 1\)
Others: \(CWL + BL / 2 + t_{WTR}\)
Where:
- • CWL: CAS write latency
- • WL: Write latency
- • PL: Parity latency
- • BL: Burst length, must match the value programmed in the BL bit of the mode register to the SDRAM
- • \(t_{WTR\_L}\): Internal write to read command delay for same bank group. This comes directly from the SDRAM specification
- • \(t_{WTR}\): Internal write to read command delay. This comes directly from the SDRAM specification. Add one extra cycle for LPDDR4 operation.
WTR_L must be increased by one if DDR4 2tCK write preamble is used.
If the DDRCCTRL operates in 1:2 mode, divide the value calculated using the previous equation by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
14.7.30 DDRCCTRL SDRAM timing 3 register (DDRCCTRL_REGS_DRAMTMG3)
Address offset: 0x10C
Reset value: 0x0050 400C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res | Res | T_MRW[9:0] | Res | Res | T_MRD[5:4] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| T_MRD[3:0] | Res. | Res. | T_MOD[9:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:20 T_MRW[9:0]: Time to wait after a mode register write or read (MRW or MRR)
LPDDR4: Set this to the larger of \(t_{MRW}\) and \(t_{MRWCKEL}\).
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:12 T_MRD[5:0]: \(t_{MRD}\), number of cycles to wait after a mode register write or read
Depending on the connected SDRAM, \(t_{MRD}\) represents:
- • DDR3L/4: Time from MRS to MRS command
- • LPDDR4: Time from MRS to non-MRS command
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{MRD} / 2)\), and round it up to the next integer value.
If CAL mode is enabled (DFI_T_CMD_LAT > 0 in DDRCTRL_REGS_DFITMG1), \(t_{CAL}\) (= DFI_CMD_LAT in DDRCTRL_REGS_DFITMG1) must be added to the previous calculations.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:0 T_MOD[9:0]: \(t_{MOD}\), number of cycles between load mode command and following non-load mode command (only in DDR3L and DDR4)
If CAL mode is enabled (DFI_T_CMD_LAT > 0 in DDRCTRL_REGS_DFITMG1), \(t_{CAL}\) (= DFI_CMD_LAT in DDRCTRL_REGS_DFITMG1) must be added to the previous calculations.
If the DDRCTRL operates in 1:2, set this bitfield to \((t_{MOD} / 2)\), and round it up to the next integer value.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.31 DDRCTRL SDRAM timing 4 register (DDRCTRL_REGS_DRAMTMG4)
Address offset: 0x110
Reset value: 0x0504 0405
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | T_RCD[4:0] | Res. | Res. | Res. | Res. | T_CCD[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_RRD[3:0] | Res. | Res. | Res. | T_RP[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 T_RCD[4:0]: \(t_{RCD} - t_{AL}\), minimum time from activate to read or write command to same bank
If the DDRCTRL operates in 1:2 mode, set this bitfield to \(((t_{RCD} - t_{AL}) / 2)\), and round it up to the next integer value.
Minimum value allowed for this register is 1, which implies minimum \((t_{RCD} - t_{AL})\) value to be two when the DDRCTRL operates in 1:2 mode.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 T_CCD[3:0]:
For DDR4, \(t_{CCD\_L}\), minimum time between two reads or two writes for same bank group.
For other protocols, \(t_{CCD}\), minimum time between two reads or two writes.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{CCD\_L} / 2 \text{ or } t_{CCD} / 2)\), and round it up to the next integer value.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 T_RRD[3:0]:
For DDR4, \(t_{RRD\_L}\), minimum time between activates from bank a to bank b for same bank.
For other protocols, \(t_{RRD}\), minimum time between activates from bank a to bank b.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{RRD\_L} / 2 \text{ or } t_{RRD} / 2)\), and round it up to the next integer value.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 T_RP[4:0]: \(t_{RP}\), minimum time from single-bank precharge to activate of same bank
If the DDRCTRL operates in 1:2 mode, set this bitfield to
\(\text{RoundDown}(\text{RoundUp}(t_{RP} / t_{CK}) / 2) + 1\).
If the DDRCTRL operates in 1:2 mode in LPDDR4, set this bitfield to
\(\text{RoundUp}(\text{RoundUp}(t_{RP} / t_{CK}) / 2)\).
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.32 DDRCTRL SDRAM timing 5 register (DDRCTRL_REGS_DRAMTMG5)
Address offset: 0x114
Reset value: 0x0505 0403
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | T_CKSRX[3:0] | Res. | T_CKSRE[6:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | T_CKESR[5:0] | Res. | Res. | Res. | T_CKE[4:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 T_CKSRX[3:0]: Time before SR exit that CK is maintained as a valid clock before issuing SRX
This bitfield specifies the clock stable time before SRX. The recommended settings are:
- LPDDR4: \(t_{CKCKEH}\)
- DDR3L and DDR4: \(t_{CKSRX}\)
If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 23 Reserved, must be kept at reset value.
- Bits 22:16 T_CKSRE[6:0]: Time after SR entry that CK is maintained as a valid clock
This bitfield specifies the clock disable delay after SRE. The recommended settings are: - • LPDDR4: \(t_{CKELCK}\)
- • DDR3L and DDR4 (no RDIMM): \(\text{Max}(10 \text{ ns}, 5 t_{CK})\)
- If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two and round it up to next integer.
Unit: DFI clock cycles.
Note: Programming mode: Quasi-dynamic Group 2, Group 4. - Bits 15:14 Reserved, must be kept at reset value.
- Bits 13:8 T_CKESR[5:0]: Minimum CKE low width for SR or SRPD entry to exit timing in memory clock cycles
The recommended settings are: - • LPDDR4: \(\text{Max}(t_{CKE}, t_{SR})\)
- • DDR3L and DDR4 (no RDIMM): \(t_{CKE} + 1\)
- If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: DFI clock cycles.
Note: Programming mode: Quasi-dynamic Group 2, Group 4. - Bits 7:5 Reserved, must be kept at reset value.
- Bits 4:0 T_CKE[4:0]: Minimum number of cycles of CKE high/low during PDN and SR
The recommended settings are: - • LPDDR4: \(\text{Max}(t_{CKE}, t_{SR})\)
- • DDR3L and DDR4: \(t_{CKE}\)
- If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.33 DDRCTRL SDRAM timing 6 register (DDRCTRL_REGS_DRAMTMG6)
Address offset: 0x118
Reset value: 0x0202 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CKCSX[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 T_CKCSX[3:0]: time before clock Stop exit that CK is maintained as a valid clock before issuing clock Stop exit
This bitfield specifies the clock stable time before next command after clock Stop exit.
The recommended settings for LPDDR4 is \(t_{XP} + 2\).
If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.34 DDRCTRL SDRAM timing 7 register (DDRCTRL_REGS_DRAMTMG7)
Address offset: 0x11C
Reset value: 0x0000 0202
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_CKPDE[3:0] | Res. | Res. | Res. | Res. | T_CKPDx[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:8 T_CKPDE[3:0]: Time after PDN entry that CK is maintained as a valid clock
This bitfield specifies the clock disable delay after PDE. The recommended settings are:
- • LPDDR4: \(t_{CKELCK}\).
- • DDR4 SDRAM: this bitfield must be set to the same value as T_CKSRE in DDRCTRL_REGS_DRAMTMG5.
If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 T_CKPDx[3:0]: Time before PDN exit that CK is maintained as a valid clock before issuing PDX
This bitfield specifies the clock stable time before PDX. The recommended settings are:
- • LPDDR4: \(t_{CKCKEH}\).
- • DDR4 SDRAM: this bitfield must be set to the same value as T_CKSRX in DDRCTRL_REGS_DRAMTMG5.
If the DDRCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.35 DDRCTRL SDRAM timing 8 register (DDRCTRL_REGS_DRAMTMG8)
Address offset: 0x120
Reset value: 0x0303 4405
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | T_XS_FAST_X32[6:0] | Res. | T_XS_ABORT_X32[6:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | T_XS_DLL_X32[6:0] | Res. | T_XS_X32[6:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 T_XS_FAST_X32[6:0]: \(t_{XS\_FAST}\), exit SR to ZQCL, ZQCS and MRS (only CL, WR, RTP mode)
This is applicable to only ZQCL/ZQCS commands. Ensure this bitfield ≤ T_XS_X32.
If the DDRCTRL operates in 1:2 mode, set this bitfield to the previous value divided by two, and round it up to next integer.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 23 Reserved, must be kept at reset value.
Bits 22:16 T_XS_ABORT_X32[6:0]: \(t_{XS\_ABORT}\), exit SR to commands not requiring a locked DLL in SR abort
Ensure this bitfield ≤ T_XS_X32.
If the DDRCTRL operates in 1:2 mode, set this bitfield to the previous value divided by two, and round it up to next integer.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 15 Reserved, must be kept at reset value.
Bits 14:8 T_XS_DLL_X32[6:0]: \(t_{XSDLL}\), exit SR to commands requiring a locked DLL (only for DDR3L and DDR4 SDRAMs)
If the DDRCTRL operates in 1:2 mode, set this bitfield to the previous value divided by two, and round it up to next integer.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 7 Reserved, must be kept at reset value.
Bits 6:0 T_XS_X32[6:0]: \(t_{XS}\), exit SR to commands not requiring a locked DLL (only for DDR3L and DDR4 SDRAMs)
If the DDRCTRL operates in 1:2 mode, set this bitfield to the previous value divided by two, and round it up to next integer.
Unit: Multiples of 32 DFI clock cycles.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.36 DDRCTRL SDRAM timing 9 register (DDRCTRL_REGS_DRAMTMG9)
Address offset: 0x124
Reset value: 0x0004 040D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | DDR4_WR_PREAMBLE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CCD_S[2:0] | ||
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_RRD_S[3:0] | Res. | Res. | WR2RD_S[5:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 Reserved, must be kept at reset value.
Bit 30 DDR4_WR_PREAMBLE: DDR4 write preamble mode
0: 1tCK preamble
1: 2tCK preamble
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 29:19 Reserved, must be kept at reset value.
Bits 18:16 T_CCD_S[2:0]: tCCD_S, minimum time between two reads/writes for different bank group
If the DDRCTRL operates in 1:2 mode, set this bitfield to (tCCD_S / 2), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 T_RRD_S[3:0]: tRRD_S, minimum time between activates for different bank group
If the DDRCTRL operates in 1:2 mode, set this bitfield to (tRRD_S / 2), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 WR2RD_S[5:0]: Minimum time from write command to read command for different bank group
This must include time for bus turn-around and all PHY and system requirements.
After the PHY has completed training, the value programmed may need to be increased.
The following calculations gives minimum values (not including PHY/system requirements):
Where:
- • CWL: CAS write latency
- • PL: Parity latency
- • BL: Burst length, must match the value programmed in the BL bit of the mode register to the SDRAM
- • \(t_{WTR\_S}\): Internal write to read command delay for different bank group. This comes directly from the SDRAM specification.
\(t_{WTR\_S}\) must be increased by one if DDR4 2\(t_{CK}\) write preamble is used.
If the DDCRTL operates in 1:2 mode, divide the value calculated using the previous equation by two, and round it up to next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 2, Group 4.
14.7.37 DDCRTL SDRAM timing 10 register (DDRCTRL_REGS_DRAMTMG10)
Address offset: 0x128
Reset value: 0x001C 180A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_SYNC_GEAR[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | T_CMD_GEAR[4:0] | Res. | Res. | Res. | Res. | T_GEAR_SETUP[1:0] | T_GEAR_HOLD[1:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:21 Reserved, must be kept at reset value.
Bits 20:16 T_SYNC_GEAR[4:0]: Time between MRS command and the sync pulse time
This must be even number of clocks.
For DDR4-2666 and DDR4-3200, this parameter is defined as \(t_{MOD(min)} + 4nCK\),
with \(t_{MOD(min)} = \text{Max}(24nCK, 15 \text{ ns})\). The maximum value for this register is 24+4 = 28.
If the DDCRTL operates in 1:2 mode, set this bitfield to \((t_{SYNC\_GEAR} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 T_CMD_GEAR[4:0]: sync pulse to first valid command
For DDR4-2666 and DDR4-3200, this parameter is defined as
\(t_{MOD(min)} = \text{Max}(24nCK, 15 \text{ ns})\). The maximum value for this bitfield is 24.
If the DDCRTL operates in 1:2 mode, set this bitfield to \((t_{CMD\_GEAR} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:2 T_GEAR_SETUP[1:0]: Geardown setup time
Minimum value of this bitfield is 1 (0 is invalid).
For DDR4-2666 and DDR4-3200, this parameter is defined as 2 clocks.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{GEAR\_setup} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 1:0 T_GEAR_HOLD[1:0]: Geardown hold time
Minimum value of this bitfield is 1 (0 is invalid).
For DDR4-2666 and DDR4-3200, this parameter is defined as 2 clocks.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{GEAR\_hold} / 2)\), and round it up to the next integer value.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.38 DDRCTRL SDRAM timing 11 register
(DDRCTRL_REGS_DRAMTMG11)
Address offset: 0x12C
Reset value: 0x440C 021C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | POST_MPSM_GAP_X32[6:0] | Res. | Res. | Res. | T_MPX_LH[4:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | T_MPX_S[1:0] | Res. | Res. | Res. | T_CKMPE[4:0] | |||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 POST_MPSM_GAP_X32[6:0]: \(t_{XMPDLL}\), minimum exit MPSM to commands requiring a locked DLL
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{XMPDLL} / 2)\), and round it up to the next integer.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 T_MPX_LH[4:0]: \(t_{MPX\_LH}\), minimum CS_n low hold time to CKE rising edge
If the DDRCTRL operates in 1:2 mode, set this bitfield to \(\text{RoundUp}(t_{MPX\_LH} / 2) + 1\).
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:8 T_MPX_S[1:0]: \(t_{MPX\_S}\), minimum time CS setup time to CKE
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{MPX\_S} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 T_CKMPE[4:0]: \(t_{CKMPE}\), minimum valid clock requirement after MPSM entry
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{CKMPE} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.39 DDRCTRL SDRAM timing 12 register (DDRCTRL_REGS_DRAMTMG12)
Address offset: 0x130
Reset value: 0x1A02 0010
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | T_WR_MPR[5:0] | Res. | Res. | Res. | Res. | Res. | Res. | T_CMDCKE[1:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_MRD_PDA[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:24 T_WR_MPR[5:0]: Cycles between MPR write and other commands (DDR4 only)
Set this bitfield to \(t_{MOD} + AL\).
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{WR\_MPR} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 23:18 Reserved, must be kept at reset value.
Bits 17:16 T_CMDCKE[1:0]: \(t_{CMDCKE}\), delay from valid command to CKE input low
Set this bitfield to \(\text{Max}(t_{ESCKE}, t_{CMDCKE})\).
If the DDRCTRL operates in 1:2 mode, divide this value by two, and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 15:5 Reserved, must be kept at reset value.
Bits 4:0 T_MRD_PDA[4:0]: \(t_{MRD\_PDA}\), cycle time of mode register set command in PDA mode
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{MRD\_PDA} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.40 DDRCTRL SDRAM timing 13 register
(DDRCTRL_REGS_DRAMTMG13)
Address offset: 0x134
Reset value: 0x1C20 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | ODTLOFF[6:0] | Res. | Res. | T_CCD_MW[5:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_PPD[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 Reserved, must be kept at reset value.
Bits 30:24 ODTLOFF[6:0] : ODTLOff, latency from CAS-2 command to ODTOff reference (only LPDDR4)If the DDRCTRL operates in 1:2 mode, set this bitfield to (ODTLOff / 2), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.Bits 23:22 Reserved, must be kept at reset value.
Bits 21:16 T_CCD_MW[5:0] : \(t_{CCDMW}\) , minimum time from write or masked write to masked write command for same bank (only LPDDR4)If the DDRCTRL operates in 1:2 mode, set this bitfield to ( \(t_{CCDMW}\) / 2), and round it up to the next integer.Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.Bits 15:3 Reserved, must be kept at reset value.
Bits 2:0 T_PPD[2:0] : \(t_{PPD}\) , minimum time from precharge to precharge command (only LPDDR4)If the DDRCTRL operates in 1:2 mode, set this bitfield to ( \(t_{PPD}\) / 2), and round it up to the next integer.Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.14.7.41 DDRCTRL SDRAM timing 14 register
(DDRCTRL_REGS_DRAMTMG14)
Address offset: 0x138
Reset value: 0x0000 00A0
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | T_XSR[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:0 T_XSR[11:0]: \(t_{XSR}\), exit SR time to any command (only LPDDR4)
If the DDCCTRL operates in 1:2 mode, divide the previous value by two, and round it up to the next integer. The 0xFF value is illegal for this bitfield.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.42 DDCCTRL SDRAM timing 15 register (DDRCTRL_REGS_DRAMTMG15)
Address offset: 0x13C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EN_DF I_LP_T _STAB | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_STAB_X32[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bit 31 EN_DFI_LP_T_STAB:
1: Enable using \(t_{STAB}\) when exiting DFI LP. This must be set when the PHY stops the clock during DFI LP to save the maximum power.
0: Disable using \(t_{STAB}\) when exiting DFI LP.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 30:8 Reserved, must be kept at reset value.
Bits 7:0 T_STAB_X32[7:0]: \(t_{STAB}\), stabilization time
It is required in the following cases for DDR3L and DDR4 RDIMM:
• when exiting power saving mode, if the clock is stopped. After reenabling it, the clock must be stable for a time specified by \(t_{STAB}\).
• when an input clock frequency change (DDR4)
• after issuing control words that refer to clock timing (spec: 6 μs for DDR3L, 5 μs for DDR4)
If the DDCCTRL operates in 1:2 mode, set this bitfield to recommended value divided by two, and round it up to next integer.
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.

14.7.43 DDRCTRL ZQ control 0 register (DDRCTRL_REGS_ZQCTL0)
Address offset: 0x180
Reset value: 0x0200 0040
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DIS_A UTO_Z Q | DIS_S RX_ZQ CL | ZQ_RE SISTO R_SHA RED | DIS_M PSMX_ ZQCL | Res. | T_ZQ_LONG_NOP[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | T_ZQ_SHORT_NOP[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 DIS_AUTO_ZQ:
- 1: Disable DDRCTRL generation of ZQCS/MPC(ZQ calibration) command.
ZQ_CALIB_SHORT in DDRCTRL_REGS_DBGCMD can be used instead to issue ZQ calibration request from APB module. - 0: Internally generate ZQCS/MPC (ZQ calibration) commands based on T_ZQ_SHORT_INTERVAL_X1024 in DDRCTRL_REGS_ZQCTL1.
Note: Programming mode: Dynamic.
Bit 30 DIS_SRX_ZQCL:
- 1: Disable issuing a ZQCL/MPC(ZQ calibration) command at SR or SRPD exit.
- 0: Enable issuing a ZQCL/MPC(ZQ calibration) command at SR or SRPD exit.
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bit 29 ZQ_RESISTOR_SHARED:
- 1: Denotes that ZQ resistor is shared between ranks.
ZQinit/ZQCL/ZQCS/MPC(ZQ calibration) commands are sent to one rank at a time with \(t_{ZQinit}\), \(t_{ZQCL}\), \(t_{ZQCS}\), \(t_{ZQCAL}\), and \(t_{ZQLAT}\) met between commands (so that commands to different ranks do not overlap). - 0: ZQ resistor is not shared.
Note: Programming mode: Static.
Bit 28 DIS_MPSMX_ZQCL: Only for DDR4
- 1: Disable issuing a ZQCL command at MPS (maximum power saving) mode exit.
- 0: Enable issuing a ZQCL command at MPS mode exit.
Caution: The software can send ZQCS after exiting MPS mode.
Note: Programming mode: Static.
Bit 27 Reserved, must be kept at reset value.
Bits 26:16 T_ZQ_LONG_NOP[10:0]: DFI clock cycles of NOP required after ZQCL (ZQ calibration long)
\(t_{ZQoper}\) for DDR3L/DDR4, \(t_{ZQCAL}\) for LPDDR4. MPC(ZQ Start) command is issued to the SDRAM.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{ZQoper} / 2 \text{ or } t_{ZQCAL} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 T_ZQ_SHORT_NOP[9:0]: DFI clock cycles of NOP required after ZQCS (ZQ calibration short) \(t_{ZQCS}\) for DDR3L/DDR4, \(t_{ZQLAT}\) for LPDDR4. MPC(ZQ Latch) command is issued to SDRAM.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{ZQCS} / 2 \text{ or } t_{ZQLAT} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Static.
14.7.44 DDRCTRL ZQ control 1 register (DDRCTRL_REGS_ZQCTL1)
Address offset: 0x184
Reset value: 0x0200 0100
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | T_ZQ_RESET_NOP[9:0] | T_ZQ_SHORT_INTERVAL_X1024[19:16] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| T_ZQ_SHORT_INTERVAL_X1024[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:20 T_ZQ_RESET_NOP[9:0]: \(t_{ZQReset}\), DFI clock cycles of NOP required after ZQReset (ZQ calibration reset) command is issued to SDRAM
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{ZQReset} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 19:0 T_ZQ_SHORT_INTERVAL_X1024[19:0]: Average interval to wait between automatically issuing ZQCS (ZQ calibration short) and MPC(ZQ calibration) commands to DDR3L/DDR4/LPDDR4 devices
Meaningless if DIS_AUTO_ZQ = 1 in DDRCTRL_REGS_ZQCTL0.
Unit: multiples of 1024 DFI clock cycles
Note: Programming mode: Static.
14.7.45 DDRCTRL ZQ control 2 register (DDRCTRL_REGS_ZQCTL2)
Address offset: 0x188
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 ZQ_RESET: ZQ Reset operation
Setting this bit to 1 triggers a ZQ Reset operation.
When the ZQ Reset operation is complete, the DDCRTL automatically clears this bit.
It is recommended NOT to set this bit if in init, SR (except LPDDR4), SRPD (LPDDR4), or DPD operating modes.
For SR (except LPDDR4) or SRPD (LPDDR4), ZQ Reset is scheduled after SR (except LPDDR4) or SPRD(LPDDR4) has been exited.
For DPN, ZQ Reset is not scheduled, although ZQ_RESET_BUSY is deasserted in DDCRTL_REGS_ZQSTAT.
Note: Programming mode: Dynamic.
14.7.46 DDCRTL ZQ status register (DDRCTRL_REGS_ZQSTAT)
Address offset: 0x18C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ZQ_RESET_BUSY |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 ZQ_RESET_BUSY: ZQ Reset operation possible only if this bit is low
This bit goes high in the clock after the DDCRTL accepts the ZQ Reset request.
It goes low when the ZQ Reset command is issued to the SDRAM, and the associated NOP period is over. It is recommended not to perform ZQ Reset commands when this bit is high.
0: AZQ Reset operation can be initiated.
1: A ZQ Reset operation is in progress.
Note: Programming mode: Dynamic.

14.7.47 DDRCTRL DFI timing 0 register (DDRCTRL_REGS_DFITMG0)
Address offset: 0x190
Reset value: 0x0702 0002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | DFI_T_CTRL_DELAY[4:0] | DFI_R DDATA _USE_ DFI_P HY_CL K | DFI_T_RDDATA_EN[6:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DFI_W RDATA _USE_ DFI_P HY_CL K | Res. | DFI_TPHY_WRDATA[5:0] | Res. | Res. | DFI_TPHY_WRLAT[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 DFI_T_CTRL_DELAY[4:0]: DFI clock cycles after an assertion or deassertion of DFI control signals
Control signals at the PHY-DRAM interface reflect this assertion or deassertion.
If the DFI clock and the memory clock are not phase-aligned, this timing parameter must be rounded up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
Bit 23 DFI_RDDATA_USE_DFI_PHY_CLK: dfi_rddata_en, dfi_rddata, or dfi_rddata_valid generated
This bit selects whether DFI_T_RDDATA_EN value in this register is in terms of HDR (DFI clock) or SDR (DFI PHY clock) cycles:
- 0: HDR (DFI clock) cycles
- 1: SDR (DFI PHY clock) cycles
- If a Synopsys DWC gen2 multiPHY is used, this bit must be 0.
Note: Programming mode: Static.
Bits 22:16 DFI_T_RDDATA_EN[6:0]: Time from the assertion of a read command on the DFI interface to the assertion of dfi_rddata_en
Refer to Section 15: DDR physical interface control (DDRPHYC) for correct value.
This bitfield corresponds to the DFI parameter trddata_en.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on DFI_RDDATA_USE_DFI_PHY_CLK in this register
Note: Programming mode: Quasi-dynamic Group 1, Group 4.
Bit 15 DFI_WRDATA_USE_DFI_PHY_CLK: dfi_wrdata_en, dfi_wrdata, or dfi_wrdata_mask generated
This bit selects whether DFI_TPHY_WRLAT and DFI_TPHY_WRDATA values in this register are in terms of HDR (DFI clock) or SDR (DFI PHY clock) cycles.
0: HDR (DFI clock) cycles
1: SDR (DFI PHY clock) cycles
If a Synopsys DWC gen2 multiPHY is used, this bit must be 0.
Note: Programming mode: Static.
Bit 14 Reserved, must be kept at reset value.
Bits 13:8 DFI_TPHY_WRDATA[5:0]: \(t_{\text{PHY\_WRDATA}}\), number of clock cycles between dfi_wrdata_en assertion and associated write data driven on dfi_wrdata
Refer to Section 15: DDR physical interface control (DDRPHYC) for correct value.
The maximum supported value is 8.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on DFI_WRDATA_USE_DFI_PHY_CLK in this register
Note: Programming mode: Quasi-dynamic Group 4.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 DFI_TPHY_WRLAT[5:0]: \(t_{\text{PHY\_WRLAT}}\), write latency
Number of clocks from write command to write data enable (dfi_wrdata_en).
For LPDDR4, DFI_TPHY_WRLAT > 60 is not supported.
Unit: DFI clock cycles or DFI PHY clock cycles, depending on DFI_WRDATA_USE_DFI_PHY_CLK in this register
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.48 DDRCTRL DFI timing 1 register (DDRCTRL_REGS_DFITMG1)
Address offset: 0x194
Reset value: 0x0000 0404
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DFI_T_CMD_LAT[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_WRDATA_DELAY[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DFI_T_DRAM_CLK_DISABLE[4:0] | Res. | Res. | Res. | DFI_T_DRAM_CLK_ENABLE[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:28 DFI_T_CMD_LAT[3:0]: Number of DFI PHY clock cycles between when dfi_cs assertion and when the associated command is driven
This bitfield is used for CAL mode, and must be set to 0 or \(t_{\text{CAL}}\), which matches the CAL mode register setting in the DRAM (valid range: 0 to 8).
If the PHY can add the latency for CAL mode, this bitfield must be set to 0.
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 27:21 Reserved, must be kept at reset value.
Bits 20:16 DFI_T_WRDATA_DELAY[4:0]: \(t_{\text{WRDATA\_DELAY}}\), DFI clock cycles between dfi_wrdata_en assertion, and when the corresponding write data transfer is completed on the DRAM bus
For more information on correct value, see PHY specification.
For DFI 3.0 PHY, set this bitfield to \(t_{\text{WRDATA\_DELAY}}\) (new parameter introduced in DFI 3.0).
For DFI 2.1 PHY, set this bitfield to \(t_{\text{PHY\_WRDATA}}\) + (delay of DFI write data to the DRAM).
Value to be programmed is in terms of DFI clocks, not PHY clocks.
In FREQ_RATIO = 2, divide recommended value by two, and round it up to next integer.
If DFI_WRDATA_USE_DFI_PHY_CLK = 1 in DDCRTL_REGS_DFITMG0, add 1 to the value.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 DFI_T_DRAM_CLK_DISABLE[4:0]: DFI clock cycles from dfi_dram_clk_disable assertion on the DFI until the clock to the DRAM memory devices, at the PHY-DRAM boundary
This bitfield maintains a low value on CLK. If the DFI clock and the memory clock are not phase-aligned, this timing parameter must be rounded up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 DFI_T_DRAM_CLK_ENABLE[4:0]: DFI clock cycles from dfi_dram_clk_disable deassertion on the DFI until the first valid rising edge of the clock to the DRAM memory devices, at the PHY-DRAM boundary
If the DFI clock and the memory clock are not phase aligned, this timing parameter must be rounded up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 4.
14.7.49 DDRCTRL DFI low-power configuration 0 register (DDRCTRL_REGS_DFILPCFG0)
Address offset: 0x198
Reset value: 0x0700 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | DFI_TLP_RESP[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DFI_LP_WAKEUP_SR[3:0] | Res. | Res. | Res. | DFI_LP_EN_S_R | DFI_LP_WAKEUP_PD[3:0] | Res. | Res. | Res. | DFI_LP_EN_P_D | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 DFI_TLP_RESP[4:0]: tLP_RESP, DFI clock cycles setting for DFI
Same value is used for both PDN, SR, DPD, and MPS modes.
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 23:16 Reserved, must be kept at reset value.

Bits 15:12 DFI_LP_WAKEUP_SR[3:0]: \(t_{LP\_WAKEUP}\), DFI clock cycles to drive on dfi_lp_wakeup signal when SR is entered
0000: 16 cycles
0001: 32 cycles
0010: 64 cycles
0011: 128 cycles
0100: 256 cycles
0101: 512 cycles
0110: 1024 cycles
0111: 2048 cycles
1000: 4096 cycles
1001: 8192 cycles
1010: 16384 cycles
1011: 32768 cycles
1100: 65536 cycles
1101: 131072 cycles
1110: 262144 cycles
1111: Unlimited
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 11:9 Reserved, must be kept at reset value.
Bit 8 DFI_LP_EN_SR: DFI low-power interface handshaking during SR entry/exit
0: Disabled
1: Enabled
Note: Programming mode: Static.
Bits 7:4 DFI_LP_WAKEUP_PD[3:0]: \(t_{LP\_WAKEUP}\), DFI clock cycles to drive on dfi_lp_wakeup signal when PDN is entered
0000: 16 cycles
0001: 32 cycles
0010: 64 cycles
0011: 128 cycles
0100: 256 cycles
0101: 512 cycles
0110: 1024 cycles
0111: 2048 cycles
1000: 4096 cycles
1001: 8192 cycles
1010: 16384 cycles
1011: 32768 cycles
1100: 65536 cycles
1101: 131072 cycles
1110: 262144 cycles
1111: Unlimited
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 DFI_LP_EN_PD: DFI low-power interface handshaking during PDN entry/exit
0: Disabled
1: Enabled
Note: Programming mode: Static.
14.7.50 DDRCTRL DFI update 0 register (DDRCTRL_REGS_DFIUPD0)
Address offset: 0x1A0
Reset value: 0x0040 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DIS_A UTO_C TRLUP D | DIS_A UTO_C TRLUP D_SRX | CTRLU PD_PR E_SRX | Res. | Res. | Res. | DFI_T_CTRLUP_MAX[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUP_MIN[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 DIS_AUTO_CTRLUPD:
- 1: Disable the automatic DFI_CTRLUPD_REQ generation. The DDRCTRL must issue this signal using CTRLUPD in DDRCTRL_REGS_DBGCMD.
- 0: DDRCTRL issues DFI_CTRLUPD_REQ periodically.
Note: Programming mode: Quasi-dynamic Group 3.
Bit 30 DIS_AUTO_CTRLUPD_SRX:
- 1: Disable the automatic DFI_CTRLUPD_REQ generation by the DDRCTRL at SR exit.
- 0: DDRCTRL issues a DFI_CTRLUPD_REQ before or after exiting SR, depending on CTRLUPD_PRE_SRX in this register.
Note: Programming mode: Static.
Bit 29 CTRLUPD_PRE_SRX: DFI_CTRLUPD_REQ requirements at SRX
- 0: Send DFI_CTRLUPD_REQ after SRX.
- 1: Send DFI_CTRLUPD_REQ before SRX.
- If DIS_AUTO_CTRLUPD_SRX = 1, this bit has no impact (no DFI_CTRLUPD_REQ issued).
- For STM32MP23/25xx, keep the default value 0x0.
Note: Programming mode: Static.
Bits 28:26 Reserved, must be kept at reset value.
Bits 25:16 DFI_T_CTRLUP_MAX[9:0]: Maximum number of DFI clock cycles that DFI_CTRLUPD_REQ signal can assert
- The lowest value to assign to this bitfield is 0x40.
- Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:0 DFI_T_CTRLUP_MIN[9:0]: Minimum number of DFI clock cycles to which
the DFI_CTRLUPD_REQ signal must be asserted
The DDRCTRL expects the PHY to respond within this time. If the PHY does not respond, the DDRCTRL deasserts DFI_CTRLUPD_REQ after DFI_T_CTRLUP_MIN + 2 cycles.
The lowest value to assign to this variable is 0x1.
Unit: DFI clock cycles
Note: Programming mode: Static.
14.7.51 DDRCTRL DFI update 1 register (DDRCTRL_REGS_DFIUPD1)
Address offset: 0x1A4
Reset value: 0x0001 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0]: Minimum amount of time between DDRCTRL initiated DFI update requests (which is executed whenever the DDRCTRL is idle)
Set this bitfield higher to reduce the frequency of update requests, which can have a small impact on the latency of the first read request when the DDRCTRL is idle.
The minimum allowed value for this bitfield is 1.
Unit: multiples of 1024 DFI clock cycles
Note: Programming mode: Static.
Bits 15:8 Reserved, must be kept at reset value.
Bits 7:0 DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0]: Maximum amount of time between DDRCTRL initiated DFI update requests
This timer resets with each update request. When the timer expires, DFI_CTRLUPD_REQ is sent, and the traffic is blocked until the DFI_CTRLUPD_ACKx is received.
The PHY can use this idle time to recalibrate the delay lines to the DLLs. The DFI controller update is also used to reset PHY FIFO pointers in case of data capture errors.
Updates are required to maintain calibration over PVT, but frequent updates may impact performance. The minimum allowed value for this bitfield is 1.
This bitfield must be greater than DFI_T_CTRLUPD_INTERVAL_MIN_X1024.
Unit: multiples of 1024 DFI clock cycles
Note: Programming mode: Static.
14.7.52 DDRCTRL DFI update 2 register (DDRCTRL_REGS_DFIUPD2)
Address offset: 0x1A8
Reset value: 0x8000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DFI_P HYUPD _EN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bit 31 DFI_PHYUPD_EN: Enables the support for acknowledging PHY-initiated updates
0: Disabled
1: Enabled
Note: Programming mode: Static
Bits 30:0 Reserved, must be kept at reset value.
14.7.53 DDRCTRL DFI miscellaneous control register (DDRCTRL_REGS_DFIMISC)
Address offset: 0x1B0
Reset value: 0x0000 0041
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DFI_FREQUENCY[4:0] | LP_OP TIMIZE D_WRI TE | DIS_D YN_AD R_TRI | DFI_INI T_STA RT | CTL_ID LE_EN | Res. | DFI_D ATA_C S_POL ARITY | PHY_D BI_MO DE | DFI_INI T_COM PLETE _EN | ||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:8 DFI_FREQUENCY[4:0]: System operating frequency
The number of supported frequencies and the mapping of signal values to clock frequencies are defined by the PHY.
Note: Programming mode: Quasi-dynamic Group 1
Bit 7 LP_OPTIMIZED_WRITE:
1: LPDDR4 write DQ is set to 0xF8 if masked write with enabling DBI.
0: LPDDR4 write DQ is set to 0xFF.
Note: Programming mode: Quasi-dynamic Group 3
- Bit 6 DIS_DYN_ADR_TRI:
- 1: PHY specific dynamic tristating is disabled (specific feature to some Synopsys PHYs).
- 0: A special IDLE command is issued on the DFI while dfi_cs is inactive state, so that the PHY can detect it to turn the command/address bus Hi-Z.
- It is recommended to leave this bit to its default value
- Note: Programming mode: Quasi-dynamic Group 3
- Bit 5 DFI_INIT_START: PHY init start request
- When asserted, this bit triggers the PHY init start request.
- Note: Programming mode: Quasi-dynamic Group 3
- Bit 4 CTL_IDLE_EN: Enables support of ctl_idle signal (non-DFI related pin specific to certain Synopsys PHYs)
- This bit must be kept at reset value.
- Note: Programming mode: Static
- Bit 3 Reserved, must be kept at reset value.
- Bit 2 DFI_DATA_CS_POLARITY: Polarity of dfi_wrdata_cs and dfi_rddata_cs signals
- 0: Active low
- 1: Active high
- Note: Programming mode: Static
- Bit 1 PHY_DBI_MODE: DBI implemented in DDRC or PHY
- 0: DDRC implements DBI functionality.
- 1: PHY implements DBI functionality.
- Note: Programming mode: Static
- Bit 0 DFI_INIT_COMPLETE_EN: PHY initialization complete enable
- When asserted, the dfi_init_complete signal can be used to trigger SDRAM initialization.
- Note: Programming mode: Quasi-dynamic Group 3
14.7.54 DDRCTRL DFI timing 2 register (DDRCTRL_REGS_DFITMG2)
Address offset: 0x1B4
Reset value: 0x0000 0202
| RM0457 | column_2 | Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 | column_4 | DFI_INIT_START CTL_IDLE_EN Synopsys PHYs) 0: Active low 1: Active high PHY_DBI_MODE | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | DFI_TPHY_RDCSLAT[6:0] | Res. | Res. | DFI_TPHY_WRCSLAT[5:0] | |||||||||||
| rw | rw Bits 31:15 | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| Bits 14:8 | DFI_TPHY_RDCSLAT[6:0] | : tPHY_RDCSLAT, DFI PHY clock cycles between read command sent | |||||||||||||
| Refer to | Section 15: DDR physical interface control (DDRPHYC) | for the correct value. | |||||||||||||
| RM0457 Rev 5 | 509/ | 5881 |
Bits 31:15 Reserved, must be kept at reset value.
- Bits 14:8 DFI_TPHY_RDCSLAT[6:0]: \(t_{PHY\_RDCSLAT}\), DFI PHY clock cycles between read command sent on the DFI control interface, and associated dfi_rddata_cs signal asserted
- Refer to Section 15: DDR physical interface control (DDRPHYC) for the correct value.
- Unit: DFI PHY clock cycles
- Note: Programming mode: Quasi-dynamic Group 2, Group 4.
Bits 7:6 Reserved, must be kept at reset value.

Bits 5:0 DFI_TPHY_WRCSLAT[5:0]: \(t_{PHY\_WRCSLAT}\), DFI PHY clock cycles between write command sent on the DFI control interface, and associated dfi_wrdata_cs signal asserted.
Refer to Section 15: DDR physical interface control (DDRPHYC) for the correct value.
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 2, Group 4.
14.7.55 DDRCTRL DFI timing 3 register (DDRCTRL_REGS_DFITMG3)
Address offset: 0x1B8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_GEARDOWN_DELAY[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 DFI_T_GEARDOWN_DELAY[4:0]: Delay from dfi_geardown_en assertion to the time of the PHY being ready to receive commands
Refer to Section 15: DDR physical interface control (DDRPHYC) for the correct value.
If the DDRCTRL operates in 1:2 mode, set this bitfield to \((t_{geardown\_delay} / 2)\), and round it up to the next integer.
Unit: DFI clock cycles
Note: Programming mode: Static
14.7.56 DDRCTRL DFI status register (DDRCTRL_REGS_DFISTAT)
Address offset: 0x1BC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_LP_ACK | DFI_INIT_COMPLETE |
| r | r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DFI_LP_ACK:
Stores the value of dfi_lp_ack input to the controller
Note: Programming mode: Dynamic
Bit 0 DFI_INIT_COMPLETE: Status flag that announces when DFI initialization is completed
The DFI INIT is triggered by dfi_init_start signal. This flag is polled to know when the initialization is done.
Note: Programming mode: Dynamic
14.7.57 DDRCTRL DM/DBI control register (DDRCTRL_REGS_DBICTL)
Address offset: 0x1C0
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_DB I_EN | WR_D BI_EN | DM_EN |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 RD_DB_I_EN: Read DBI enable signal in DDRC
- 0: Read DBI disabled
- 1: Read DBI enabled
This bit must be set at the same value as DRAM mode register.
- • DDR4: MR5 bit A12. When x4 devices are used, this signal must be set to 0.
- • LPDDR4: MR3[6]
Note: Programming mode: Quasi-dynamic Group 1
Bit 1 WR_DB_I_EN: Write DBI enable signal in DDRC
- 0: Write DBI disabled
- 1: Write DBI enabled
This bit must be set at the same value as DRAM mode register.
- • DDR4: MR5 bit A11. When x4 devices are used, this signal must be set to 0.
- • LPDDR4: MR3[7]
Note: Programming mode: Quasi-dynamic Group 1
Bit 0 DM_EN: DM enable signal in DDRC
- 0: DM disabled
- 1: DM enabled
This bit must be set at the same logical value as DRAM mode register.
- • DDR4: MR5 bit A10. When x4 devices are used, this signal must be set to 0.
- • LPDDR4: inverted value of MR13[5] (opposite polarity from this bit)
Note: Programming mode: Static
14.7.58 DDRCTRL DFI PHY master register (DDRCTRL_REGS_DFIPHYMSTR)
Address offset: 0x1C4
Reset value: 0x8000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DFI_PHYMSTR_BLK_REF_X32[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_P HYMST R_EN |
| rw | |||||||||||||||
Bits 31:24 DFI_PHYMSTR_BLK_REF_X32[7:0]: Maximum number of DFI clock cycles that are needed to send pending refreshes before starting SR entry process
This bitfield must be used at default value (0x80) unless Synopsys suggests to change it.
00000000: 0 DFI clock cycles (no delay)
00000001: 32 DFI clock cycles
...
11111111: 8160 DFI clock cycles
Unit: multiples of 32 DFI clock cycles
Note: Programming mode: Static
Bits 23:1 Reserved, must be kept at reset value.
Bit 0 DFI_PHYMSTR_EN: PHY master interface enable
0: Disabled
1: Enabled
Note: Programming mode: Static
14.7.59 DDRCTRL address map 0 register (DDRCTRL_REGS_ADDRMAP0)
Address offset: 0x200
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_CS_BIT0[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 ADDRMAP_CS_BIT0[4:0]:
This bitfield selects the HIF address bit used as rank address bit 0.
Valid range: 0 to 29, and 31
Internal base: 6
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 31: rank address bit 0 is set to 0.
Note: Programming mode: Static
14.7.60 DDRCTRL address map 1 register (DDRCTRL_REGS_ADDRMAP1)
Address offset: 0x204
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_BANK_B2[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | ADDRMAP_BANK_B1[5:0] | Res. | Res. | ADDRMAP_BANK_B0[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:22 Reserved, must be kept at reset value.
Bits 21:16 ADDRMAP_BANK_B2[5:0]:
This bitfield selects the HIF address bit used as bank address bit 2.
Valid range: 0 to 31, and 63
Internal base: 4
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 63: bank address bit 2 is set to 0.
Note: Programming mode: Static
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:8 ADDRMAP_BANK_B1[5:0]:
This bitfield selects the HIF address bits used as bank address bit 1.
Valid range: 0 to 32, and 63
Internal base: 3
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 63: bank address bit 1 is set to 0.
Note: Programming mode: Static
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:0 ADDRMAP_BANK_B0[5:0]:
This bitfield selects the HIF address bits used as bank address bit 0.
Valid range: 0 to 32, and 63
Internal base: 2
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 63: bank address bit 0 is set to 0.
Note: Programming mode: Static

14.7.61 DDRCTRL address map 2 register (DDRCTRL_REGS_ADDRMAP2)
Address offset: 0x208
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | ADDRMAP_COL_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B4[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADDRMAP_COL_B3[4:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B2[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_COL_B5[3:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 5.
- • Half bus width mode: selects the HIF address bit used as column address bit 6.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 7.
- Valid range: 0 to 7, and 15
Internal base: 5
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 15: the column address bit is set to 0.
Note: Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_COL_B4[3:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 4.
- • Half bus width mode: selects the HIF address bit used as column address bit 5.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 6.
- Valid range: 0 to 7, and 15
Internal base: 4
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, this bitfield is set to 15: the column address bit is set to 0.
Note: Programming mode: Static
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 ADDRMAP_COL_B3[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 3.
- • Half bus width mode: selects the HIF address bit used as column address bit 4.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 5.
- Valid range: 0 to 7
Internal base: 3
The selected HIF address bit is determined by adding the internal base to this bitfield value.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_COL_B2[3:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 2.
- • Half bus width mode: selects the HIF address bit used as column address bit 3.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 4.
Valid range: 0 to 7
Internal base: 2
The selected HIF address bit is determined by adding the internal base to this bitfield value.
Note: Programming mode: Static
14.7.62 DDRCTRL address map 3 register (DDRCTRL_REGS_ADDRMAP3)
Address offset: 0x20C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | ADDRMAP_COL_B9[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B8[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADDRMAP_COL_B7[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B6[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 ADDRMAP_COL_B9[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 9.
- • Half bus width mode: selects the HIF address bit used as column address bit 11.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 13.
Valid range: 0 to 7 and 31
Internal base: 9
The selected HIF address bit is determined by adding the internal base to this bitfield value.
- • Per JEDEC DDR3L specification, column address bit 10 is reserved for indicating auto-precharge. Hence no source address bit can be mapped to column address bit 10.
- • If column bit 9 is the highest column address bit, it must map to the highest valid HIF address bit (\(x = \text{the highest valid HIF address bit} - \text{internal base}\)).
- • If column bit 9 is the second highest column address bit, it must map to the second highest valid HIF address bit (\(x = \text{the highest valid HIF address bit} - 1: \text{internal base}\)).
- • If column bit 9 is the third highest column address bit, it must map to the third highest valid HIF address bit. (\(x = \text{the highest valid HIF address bit} - 2: \text{internal base}\))
If unused, set this bitfield to 31: the column address bit is set to 0.
Note: Programming mode: Static
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 ADDRMAP_COL_B8[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 8.
- • Half bus width mode: selects the HIF address bit used as column address bit 9.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 11.
Valid range: 0 to 7, and 31
Internal base: 8
The selected HIF address bit is determined by adding the internal base to this bitfield value.
- • Per JEDEC DDR3L specification, column address bit 10 is reserved for indicating auto-precharge. Hence no source address bit can be mapped to column address bit 10.
- • If column bit 8 is the second highest column address bit, it must map to the second highest valid HIF address bit (\(x = \text{the highest valid HIF address bit } 1: \text{ internal base}\)).
- • If column bit 8 is the third highest column address bit, it must map to the third highest valid HIF address bit (\(x = \text{the highest valid HIF address bit } 2: \text{ internal base}\)).
- If unused, set this bitfield to 31: the column address bit is set to 0.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 ADDRMAP_COL_B7[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 7.
- • Half bus width mode: selects the HIF address bit used as column address bit 8.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 9.
Valid range: 0 to 7, and 31
Internal base: 7
The selected HIF address bit is determined by adding the internal base to this bitfield value.
- • If column bit 7 is the third highest column address bit, it must map to the third highest valid HIF address bit (\(x = \text{the highest valid HIF address bit } 2: \text{ internal base}\)).
- If unused, set this bitfield to 31: the column address bit is set to 0.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 ADDRMAP_COL_B6[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 6.
- • Half bus width mode: selects the HIF address bit used as column address bit 7.
- • Quarter bus width mode: selects the HIF address bit used as column address bit 8.
Valid range: 0 to 7 and 31
Internal base: 6
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 31: the column address bit is set to 0.
Note: Programming mode: Static14.7.63 DDRCCTRL address map 4 register (DDRCCTRL_REGS_ADDRMAP4)
Address offset: 0x210
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADDRMAP_COL_B11[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B10[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:8 ADDRMAP_COL_B11[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 13.
- • Half bus width mode: unused (see below the value to set to make it unused)
- • Quarter bus width mode: unused (see below the value to set to make it unused)
Valid range: 0 to 7 and 31
Internal base: 11
The selected HIF address bit is determined by adding the internal base to this bitfield value.
- • Per JEDEC DDR3L specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
- • If column bit 11 is the highest column address bit, it must map to the highest valid HIF address bit (\(x = \text{the highest valid HIF address bit: internal base}\)).
- • If column bit 11 is the second highest column address bit, it must map to the second highest valid HIF address bit (\(x = \text{the highest valid HIF address bit 1: internal base}\)).
- • If column bit 11 is the third highest column address bit, it must map to the third highest valid HIF address bit (\(x = \text{the highest valid HIF address bit 2: internal base}\)).
If unused, set this bitfield to 31: the column address bit is set to 0.
Note: Programming mode: Static
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 ADDRMAP_COL_B10[4:0]:
- • Full bus width mode: selects the HIF address bit used as column address bit 11.
- • Half bus width mode: selects the HIF address bit used as column address bit 13.
- • Quarter bus width mode: unused (see below the value to set to make it unused)
- Valid range: 0 to 7, and 31.
Internal base: 10
The selected HIF address bit is determined by adding the internal base to this bitfield value. - • Per JEDEC DDR3L specification, column address bit 10 is reserved for indicating auto-precharge, and hence no source address bit can be mapped to column address bit 10.
- • If column bit 10 is the highest column address bit, it must map to the highest valid HIF address bit (x = the highest valid HIF address bit: internal base).
- • If column bit 10 is the second highest column address bit, it must map to the second highest valid HIF address bit (x = the highest valid HIF address bit 1: internal base).
- • If column bit 10 is the third highest column address bit, it must map to the third highest valid HIF address bit (x = the highest valid HIF address bit 2: internal base).
- If unused, set this bitfield to 31: the column address bit is set to 0.
Note: Programming mode: Static
14.7.64 DDRCTRL address map 5 register (DDRCTRL_REGS_ADDRMAP5)
Address offset: 0x214
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B11[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B2_10[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B1[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B0[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B11[3:0]:
- This bitfield selects the HIF address bit used as row address bit 11.
Valid range: 0 to 11, and 15
Internal base: 17
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 11 is set to 0.
Note: Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B2_10[3:0]:
- This bitfield selects the HIF address bits used as row address bits 2 to 10.
Valid range: 0 to 11, and 15
Internal base: 8 (for row address bit 2), 9 (for row address bit 3), 10 (for row address bit 4) and so on, increasing to 16 (for row address bit 10)
The selected HIF address bit is determined by adding the internal base to this bitfield value.
When this bitfield is set to 15, values of row address bits 2 to 10 are defined by DDCRTL_REGS_ADDRMAP9/10/11 registers.
Note: Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B1[3:0]:
This bitfield selects the HIF address bits used as row address bit 1.
Valid range: 0 to 11
Internal base: 7
The selected HIF address bit is determined by adding the internal base to this bitfield value.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B0[3:0]:
This bitfield selects the HIF address bits used as row address bit 0.
Valid range: 0 to 11
Internal base: 6
The selected HIF address bit is determined by adding the internal base to this bitfield value.
Note: Programming mode: Static
14.7.65 DDRCTRL address map 6 register (DDRCTRL_REGS_ADDRMAP6)
Address offset: 0x218
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| LPDDR34_3GB_6GB_12GB[2:0] | Res. | ADDRMAP_ROW_B15[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B14[3:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B13[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B12[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:29 LPDDR34_3GB_6GB_12GB[2:0]: Density size/channel for LPDDR4 SDRAM device in use
When LPDDR4 device is used:
000: No LPDDR4 SDRAM 3-, 6, or 12-Gbyte device. All addresses are valid.
001: LPDDR4 SDRAM 3-Gbyte device with x16 mode. Every address having row[14:13] = 0b11 is considered as invalid.
010: LPDDR4 SDRAM 6-Gbyte device with x16 mode, or 3-Gbyte device with byte mode. Every address having row[15:14] = 0b11 is considered as invalid.
011: LPDDR4 SDRAM 12-Gbyte device with x16 mode, or 6-Gbyte device with byte mode. Every address having row[16:15] = 0b11 is considered as invalid.
101: LPDDR4 SDRAM 12-Gbyte device with byte mode. Every address having row[17:16] = 0b11 is considered as invalid.
Note: Programming mode: Static
Bit 28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B15[3:0]:
This bitfield selects the HIF address bit used as row address bit 15.
Valid range: 0 to 11, and 15
Internal base: 21
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 15 is set to 0.
Note: Programming mode: Static

Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B14[3:0]:
This bitfield selects the HIF address bit used as row address bit 14.
Valid range: 0 to 11, and 15
Internal base: 20
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 14 is set to 0.
Note: Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B13[3:0]:
This bitfield selects the HIF address bit used as row address bit 13.
Valid range: 0 to 11, and 15
Internal base: 19
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 13 is set to 0.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B12[3:0]:
This bitfield selects the HIF address bit used as row address bit 12
Valid range: 0 to 11, and 15
Internal base: 18
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 12 is set to 0.
Note: Programming mode: Static
14.7.66 DDRCTRL address map 7 register (DDRCTRL_REGS_ADDRMAP7)
Address offset: 0x21C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res | Res | Res | Res | ADDRMAP_ROW_B17[3:0] | Res | Res | Res | Res | ADDRMAP_ROW_B16[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B17[3:0]:
This bitfield selects the HIF address bit used as row address bit 17.
Valid range: 0 to 11, and 15
Internal base: 23
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 17 is set to 0 for DDR4, or set to 1 for LPDDR4 backward compatibility.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B16[3:0]:
This bitfield selects the HIF address bit used as row address bit 16.
Valid range: 0 to 11, and 15
Internal base: 22
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 15: the row address bit 16 is set to 0.
Note: Programming mode: Static14.7.67 DDRCTRL address map 8 register (DDRCTRL_REGS_ADDRMAP8)
Address offset: 0x220
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | ADDRMAP_BG_B1[5:0] | Res. | Res. | ADDRMAP_BG_B0[5:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:14 Reserved, must be kept at reset value.
Bits 13:8 ADDRMAP_BG_B1[5:0]:
This bitfield selects the HIF address bits used as bank group address bit 1.
Valid range: 0 to 32, and 63
Internal base: 3
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 63: the bank group address bit 1 is set to 0.
Note: Programming mode: StaticBits 7:6 Reserved, must be kept at reset value.
Bits 5:0 ADDRMAP_BG_B0[5:0]:
This bitfield selects the HIF address bits used as bank group address bit 0
Valid range: 0 to 32, and 63
Internal base: 2
The selected HIF address bit is determined by adding the internal base to this bitfield value.
If unused, set this bitfield to 63: the bank group address bit 0 is set to 0.
Note: Programming mode: Static14.7.68 DDRCTRL address map 9 register (DDRCTRL_REGS_ADDRMAP9)
Address offset: 0x224
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B4[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B3[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B2[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||

Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B5[3:0]:
This bitfield selects the HIF address bits used as row address bit 5.
Valid range: 0 to 11
Internal base: 11
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B4[3:0]:
This bitfield selects the HIF address bits used as row address bit 4
Valid range: 0 to 11
Internal base: 10
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B3[3:0]:
This bitfield selects the HIF address bits used as row address bit 3
Valid range: 0 to 11
Internal base: 9
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B2[3:0]:
This bitfield selects the HIF address bits used as row address bit 2
Valid range: 0 to 11
Internal base: 8
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
14.7.69 DDRCTRL address map 10 register (DDRCTRL_REGS_ADDRMAP10)
Address offset: 0x228
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B9[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B8[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ADDRMAP_ROW_B7[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B6[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 ADDRMAP_ROW_B9[3:0]:
This bitfield selects the HIF address bits used as row address bit 9
Valid range: 0 to 11
Internal base: 15
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 ADDRMAP_ROW_B8[3:0]:
This bitfield selects the HIF address bits used as row address bit 8
Valid range: 0 to 11
Internal base: 14
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:8 ADDRMAP_ROW_B7[3:0]:
This bitfield selects the HIF address bits used as row address bit 7
Valid range: 0 to 11
Internal base: 13
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15
in DDRCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B6[3:0]:
This bitfield selects the HIF address bits used as row address bit 6
Valid range: 0 to 11
Internal base: 12
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15 in DDRCCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
14.7.70 DDRCCTRL address map 11 register (DDRCCTRL_REGS_ADDRMAP11)
Address offset: 0x22C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B10[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 ADDRMAP_ROW_B10[3:0]:
This bitfield selects the HIF address bits used as row address bit 10
Valid range: 0 to 11
Internal base: 16
The selected HIF address bit is determined by adding the internal base to this bitfield value.
This bitfield is used only when ADDRMAP_ROW_B2_10 = 15 in DDRCCTRL_REGS_ADDRMAP5.
Note: Programming mode: Static
14.7.71 DDRCCTRL ODT configuration register (DDRCCTRL_REGS_ODTCFG)
Address offset: 0x240
Reset value: 0x0400 0400
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | WR_ODT_HOLD[3:0] | Res. | Res. | Res. | WR_ODT_DELAY[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | RD_ODT_HOLD[3:0] | Res. | RD_ODT_DELAY[4:0] | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:28 Reserved, must be kept at reset value.
- Bits 27:24 WR_ODT_HOLD[3:0]: DFI PHY clock cycles to hold ODT for a write command
The minimum supported value is 2.
Recommended values:
DDR3L: BL8 - 0x6
DDR4: BL8 - 5 + WR_PREAMBLE with WR_PREAMBLE = 1 (1tCK write preamble),
or 2 (2tCK write preamble)
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 4. - Bits 23:21 Reserved, must be kept at reset value.
- Bits 20:16 WR_ODT_DELAY[4:0]: DFI PHY clock cycles, from issuing a write command to setting ODT values associated with this command
ODT setting must remain constant for the entire time that DQS is driven by the DDRCTRL.
Recommended values:
DDR3L: 0x0
DDR4: DFI_T_CMD_LAT in DDRCTRL_REGS_DFITMG1 (to adjust for CAL mode)
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 4. - Bits 15:12 Reserved, must be kept at reset value.
- Bits 11:8 RD_ODT_HOLD[3:0]: DFI PHY clock cycles to hold ODT for a read command
The minimum supported value is 2.
Recommended values:
DDR3L: BL8 - 0x6
DDR4: BL8 - 5 + RD_PREAMBLE with RD_PREAMBLE = 1 (1tCK read preamble),
or 2 (2tCK read preamble)
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 4. - Bit 7 Reserved, must be kept at reset value.
- Bits 6:2 RD_ODT_DELAY[4:0]: DFI PHY clock cycles, from issuing a read command to setting ODT values associated with that command
ODT setting must remain constant for the entire time that DQS is driven by the DDRCTRL.
Recommended values:
DDR3L: CL - CWL
DDR4: CL - CWL - RD_PREAMBLE + WR_PREAMBLE + DFI_T_CMD_LAT (to adjust for CAL mode) with
• DFI_T_CMD_LAT in DDRCTRL_REGS_DFITMG1
• WR_PREAMBLE = 1 (1tCK write preamble), or 2 (2tCK write preamble)
• RD_PREAMBLE = 1 (1tCK read preamble), or 2 (2tCK read preamble)
If (CL - CWL - RD_PREAMBLE + WR_PREAMBLE) < 0, the DDRCTRL does not support ODT for read operation.
Unit: DFI PHY clock cycles
Note: Programming mode: Quasi-dynamic Group 1, Group 4. - Bits 1:0 Reserved, must be kept at reset value.
14.7.72 DDRCTRL ODT/rank map register (DDRCTRL_REGS_ODTMAP)
Address offset: 0x244
Reset value: 0x0000 2211
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | RANK1_RD_ODT[1:0] | Res. | Res. | RANK1_WR_ODT[1:0] | Res. | Res. | RANK0_RD_ODT[1:0] | Res. | Res. | RANK0_WR_ODT[1:0] | ||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:14 Reserved, must be kept at reset value.
Bits 13:12 RANK1_RD_ODT[1:0]: Remote ODTs to turn on during a read from rank 1
Each rank has a remote ODT (in the SDRAM), which can be turned on by setting the appropriate bit in this bitfield.
Rank 0 is controlled by the LSB. Rank 1 is controlled by the MSB.
For each rank, set its bit to 1 to enable its ODT.
Note: Programming mode: Static.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:8 RANK1_WR_ODT[1:0]: Remote ODTs to turn on during a write to rank 1
Each rank has a remote ODT (in the SDRAM), which can be turned on by setting the appropriate bit in this bitfield.
Rank 0 is controlled by the LSB; rank 1 is controlled by bit next to the LSB, and so on.
For each rank, set its bit to 1 to enable its ODT.
Note: Programming mode: Static.
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:4 RANK0_RD_ODT[1:0]: Remote ODTs to turn on during a read from rank 0
Each rank has a remote ODT (in the SDRAM), which can be turned on by setting the appropriate bit in this bitfield.
Rank 0 is controlled by the LSB; rank 1 is controlled by bit next to the LSB, and so on.
For each rank, set its bit to 1 to enable its ODT.
Note: Programming mode: Static.
Bits 3:2 Reserved, must be kept at reset value.
Bits 1:0 RANK0_WR_ODT[1:0]: Remote ODTs to turn on during a write to rank 0
Each rank has a remote ODT (in the SDRAM), which can be turned on by setting the appropriate bit in this bitfield.
Rank 0 is controlled by the LSB; rank 1 is controlled by bit next to the LSB, and so on.
For each rank, set its bit to 1 to enable its ODT.
Note: Programming mode: Static.
14.7.73 DDRCTRL scheduler control register (DDRCTRL_REGS_SCHED)
Address offset: 0x250
Reset value: 0x8000 101C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OPT_VPRW_SCH | RDWR_IDLE_GAP[6:0] | GO2CRITICAL_HYSTERESIS[7:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LPDDR4_OPT_ACT_TIMING | Res. | Res. | LPR_NUM_ENTRIES[4:0] | AUTOPRE_RM_W | Res. | Res. | OPT_WRCAM_FILL_LEVEL | RDWR_SWITCH_POLICY_SEL | PAGECLOSE | PREFER_WRITE | Res. | ||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bit 31 OPT_VPRW_SCH: Optimize exVPR/exVPW scheduling.
Program to 1 can improve utilization as other traffic class can utilize bandwidth while pages for exVPR/exVPW are being prepared or ranks/banks for exVPR/exVPW are being refreshed, but it can delay execution of exVPR/exVPW due to delay of Activate by read/write command of other traffic class.
Programming Mode: Static.
0: When any exVPR/exVPW are pending on CAM, read/write command of all other traffic class are masked to be scheduled
1: When any exVPR/exVPW are pending as page-hit, read/write command of all other traffic class are masked to be scheduled.
Note: Programming mode: Static.
Bits 30:24 RDWR_IDLE_GAP[6:0]:
When the preferred transaction store is empty for these many clock cycles, switch to the alternate transaction store if it is non-empty.
The read transaction store (both high and low priority) is the default preferred transaction store. The write transaction store is the alternative store. When prefer write over read is set, this is reversed.
0x0: The transaction store switching happens immediately when the switching conditions become true.
Unit: DFI clock cycles
Note: Programming mode: Static.
Bits 23:16 GO2CRITICAL_HYSTERESIS[7:0]: Not used
Note: Programming mode: Static.
Bit 15 LPDDR4_OPT_ACT_TIMING: Optimized ACT timing control for LPDDR4
In LPDDR4, RD/WR/ACT takes 4 cycles. To stream read/write, there is only a 4-cycle space between reads and writes.
If ACT is scheduled out after RD/WR with 1-, 2-, or 3-cycle gap, the next RD/WR may be pushed by 1, 2, or 3 cycles, and create a gap on DQ.
When this bit is set, ACT is not scheduled out with the 1-, 2-, and 3-cycle gap.
If enabled, there may be performance impact especially for random traffic (latency/utilization).
1: Enable this feature.
0: Disable this feature.
This bit is ignored when LPDDR4 = 0 in DDRCTRL_REGS_MSTR.
Note: Programming mode: Static.
Bits 14:13 Reserved, must be kept at reset value.
Bits 12:8 LPR_NUM_ENTRIES[4:0]: Number of entries in the low-priority transaction store
This bitfield value + 1 gives the number of entries in the low-priority transaction store.
(1 - this bitfield) is the number of entries available in the high-priority transaction store.
Setting this bitfield to the maximum value allocates all entries to the low-priority transaction store. Setting this bitfield to 0 allocates one entry to the low-priority transaction store, and the rest to the high-priority transaction store.
Note: Programming mode: Static.
Bit 7 AUTOPRE_RMW: Selection of the hif_cmd_autopre behavior if a RMW is received on HIF with hif_cmd_autopre = 1
- 1: Apply auto-precharge only for write part of RMW.
- 0: Apply auto-precharge for both read and write parts of RMW.
Note: Programming mode: Static.
Bits 6:5 Reserved, must be kept at reset value.
Bit 4 OPT_WRCAM_FILL_LEVEL: Enable the feature of optimized write CAM fill level by switching to write when write CAM reaches certain fill level set in DDRCTRL_REGS_SCHED3.WRCAM_HIGHTHRESH.
When it is enabled, write starvation timer and write transaction counter automatically are not used. They are only active when the feature is disabled.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
- 0: Disabled
- 1: Enabled
Note: Programming mode: Static.
Bit 3 RDWR_SWITCH_POLICY_SEL: Selects read write switching policy.
- 1: Select "enhanced" read write switching policy
- 0: Select "original" read write switching policy
Note: Programming mode: Static.
Bit 2 PAGECLOSE:
1: The bank is kept open only while there are page hit transactions available in the CAM to this bank. The last read or write command in the CAM with a bank and page hit is executed with auto-precharge if PAGECLOSE_TIMER = 0 in DDRCTRL_REGS_SCHED1.
Even if this bit is set to 1 and PAGECLOSE_TIMER = 0, an explicit precharge (and not auto-precharge) may be issued in some cases where there is a mode switch between write and read, or between LPR and HPR.
0: The bank remains open until there is a need to close it (to open a different page, or for page timeout or refresh timeout). This is also known as open-page policy, which can be overridden by setting the per-command-autopre bit on the HIF interface (hif_cmd_autopre).
This provides a midway between open- and close-page policies.
Note: Programming mode: Quasi-dynamic Group 3.
Bit 1 PREFER_WRITE:
If this bit is set, the bank selector prefers writes over reads. For debug purpose only.
Note: Programming mode: Static.
Bit 0 Reserved, must be kept at reset value.
14.7.74 DDRCTRL scheduler control 1 register (DDRCTRL_REGS_SCHED1)
Address offset: 0x254
Reset value: 0x0000 2000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OPT_HIT_GT_HPR | PAGE_HIT_LIMIT_RD[2:0] | Res. | PAGE_HIT_LIMIT_WR[2:0] | Res. | VISIBLE_WINDOW_LIMIT_RD[2:0] | Res. | VISIBLE_WINDOW_LIMIT_WR[2:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DELAY_SWITCH_WRITE[3:0] | Res. | Res. | Res. | Res. | PAGECLOSE_TIMER[7:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bit 31 OPT_HIT_GT_HPR: Optimize the priority between page-hit LPR and page-miss HPR.
This is to choose trade-off between HPR latency and total utilization.
0: Page-miss HPR has priority (default). HPR latency can be better than 1 because HPR has priority over LPR.
1: Page-hit LPR has priority. DRAM utilization can be better than 0 because number of ACT-PRE is reduced.
It is recommended to enable page-hit limiter so that once page-hit limiter is expired, HPR can have priority.
Note: Programming mode: Static.
Bits 30:28 PAGE_HIT_LIMIT_RD[2:0]: Page-hit limiter for read.
When certain number of read commands are scheduled out without ACT for a bank (schedule page-hit commands), all entries belonging to the bank priority are increased equal to page-hit entry even if these are page-miss so that oldest entry belonging to the bank can be served regardless of page-hit/page-miss.
The priority is reset once any ACT/PRE/AP is served to the bank.
0x0: Disable this feature
0x1: 4
0x2: 8
0x3: 16
0x4: 32
Other: Reserved
Note: Programming mode: Static.
Bit 27 Reserved, must be kept at reset value.
Bits 26:24 PAGE_HIT_LIMIT_WR[2:0]: Page-hit limiter for write.
When certain number of write commands are scheduled out without ACT for a bank (schedule page-hit commands), all entries belonging to the bank priority are increased equal to page-hit entry even if these are page-miss so that oldest entry belonging to the bank can be served regardless of page-hit/page-miss.
The priority is reset once any ACT/PRE/AP is served to the bank.
0x0: Disable this feature
0x1: 4
0x2: 8
0x3: 16
0x4: 32
Others: Reserved
Note: Programming mode: Static.
Bit 23 Reserved, must be kept at reset value.
Bits 22:20 VISIBLE_WINDOW_LIMIT_RD[2:0]: Visible window limiter for read.
This is to prevent extreme starvation against other entries within a CAM.
Each read CAM entry has a counter, it is set to the value programmed in this register when command is pushed and is counted-down when newer read CAM entry is scheduled-out.
The counter represents starvation within RD CAM in terms of number of commands to be over taken.
When the counter reaches 0, the entry becomes expired-VPR to eliminate more starvation.
0x0: Disable this feature
0x1: 31
0x2: 63
0x3: 127
0x4: 255
Others: Reserved
Note: Programming mode: Static.
Bit 19 Reserved, must be kept at reset value.
Bits 18:16 VISIBLE_WINDOW_LIMIT_WR[2:0]: Visible window limiter for write.
This is to prevent extreme starvation against other entries within a CAM.
Each write CAM entry has a counter, it is set to the value programmed in this register when command is pushed and is counted-down when newer write CAM entry is scheduled-out.
The counter represents starvation within WR CAM in terms of number of commands to be over taken.
When the counter reaches 0, the entry becomes expired-VPW to eliminate more starvation.
0x0: Disable this feature
0x1: 31
0x2: 63
0x3: 127
0x4: 255
Others: Reserved
Note: Programming mode: Static.
Bits 15:12 DELAY_SWITCH_WRITE[3:0]: Indicates the number of cycles to delay switching read to write mode when write page-hit request is there and no read page-hit request is there.
Setting higher value may reduce number of read to write switching but increase read to write turn-around time.
The register indicates the number of cycles.
0: no delay
1: 2 cycles delay
2: 4 cycles delay
3: 6 cycles delay
4: 8 cycles delay
...
15: 30 cycles delay
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 11:8 Reserved, must be kept at reset value.
Bits 7:0 PAGECLOSE_TIMER[7:0]:
This bitfield works in conjunction with PAGECLOSE in DDRCTRL_REGS_SCHED. It has meaning only if PAGECLOSE = 1.
0: An auto-precharge can be scheduled for last read or write command in the CAM with a bank and page hit. Sometimes an explicit precharge is scheduled instead of the auto-precharge (see PAGECLOSE description for more details).
> 0: An auto-precharge is not scheduled for last read or write command in the CAM with a bank and page hit. A timer is started instead, with this bitfield as initial value. There is a timer on a per bank basis. This timer decrements unless the next read or write in the CAM to a bank is a page hit. It gets reset to this bitfield value if the next read or write in the CAM to a bank is a page hit. Once the timer reached zero, an explicit precharge is attempted to be scheduled.
Unit: DFI clock cycles
Note: Programming mode: Static.
14.7.75 DDRCTRL high priority read CAM 1 register (DDRCTRL_REGS_PERFHPR1)
Address offset: 0x25C
Reset value: 0x0F00 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HPR_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 HPR_XACT_RUN_LENGTH[7:0]: Transactions serviced once HPR queue goes critical
This bitfield is the smaller of this number and the number of transactions available.
Unit: transaction
Note: Programming mode: Quasi-dynamic Group 3.
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 LPR_MAX_STARVE[15:0]: DFI clocks that HPR queue can be starved before it goes critical
The minimum valid functional value for this bitfield is 0x1. Programming it to 0x0 disables the starvation functionality.
During normal operation, this function must not be disabled as it causes excessive latencies.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 3.
14.7.76 DDRCTRL low-priority read CAM 1 register (DDRCTRL_REGS_PERFLPR1)
Address offset: 0x264
Reset value: 0x0F00 007F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| LPR_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LPR_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 LPR_XACT_RUN_LENGTH[7:0]: Transactions serviced once LPR queue goes critical
This bitfield is the smaller of this number and the number of transactions available.
Unit: transaction
Note: Programming mode: Quasi-dynamic Group 3.
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 LPR_MAX_STARVE[15:0]: DFI clocks that LPR queue can be starved before it goes critical
The minimum valid functional value for this bitfield is 0x1. Programming it to 0x0 disables the starvation functionality.
During normal operation, this function must not be disabled as it causes excessive latencies.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 3.
14.7.77 DDRCTRL write CAM 1 register (DDRCTRL_REGS_PERFWR1)
Address offset: 0x26C
Reset value: 0x0F00 007F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| W_XACT_RUN_LENGTH[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| W_MAX_STARVE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:24 W_XACT_RUN_LENGTH[7:0]: Transactions serviced once the WR queue goes critical
This bitfield is the smaller of this number and the number of transactions available.
Unit: transaction
Note: Programming mode: Quasi-dynamic Group 3.
Bits 23:16 Reserved, must be kept at reset value.
Bits 15:0 W_MAX_STARVE[15:0]: DFI clocks that the WR queue can be starved before it goes critical
The minimum valid functional value for this bitfield is 0x1. Programming it to 0x0 disables the starvation functionality.
During normal operation, this function must not be disabled as it causes excessive latencies.
Unit: DFI clock cycles
Note: Programming mode: Quasi-dynamic Group 3.
14.7.78 Scheduler control 3 register (DDRCCTRL_REGS_SCHED3)
Address offset: 0x270
Reset value: 0x0404 0208
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | RD_PGHIT_NUM_THRESH[4:0] | Res. | Res. | Res. | WR_PGHIT_NUM_THRESH[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | WRCAM_HIGHTHRESH[4:0] | Res. | Res. | Res. | WRCAM_LOWTHRESH[4:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 RD_PGHIT_NUM_THRESH[4:0]: Switch to read mode once number of read page-hit request exceeds the threshold set in the register during waiting \(t_{W2R}\).
Setting to 0 disables the feature.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 WR_PGHIT_NUM_THRESH[4:0]: Switch to write mode once number of write page-hit request exceeds threshold set in this register during waiting delay_switch_write timeout.
Setting to 0 disables the feature.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 WRCAM_HIGHTHRESH[4:0]: The high threshold used in optimized write CAM fill level.
When (MEMC_NO_OF_ENTRY - (number of loaded entries) < wrcam_highthresh), switch to write mode and prepare banks for write direction if no Exp-VPR or read collision is there.
wrcam_highthresh must be set to a smaller value than wrcam_lowthresh.
This feature is enabled when opt_wrcam_fill_level is 1.
Note: Programming mode: Static.
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 WRCAM_LOWTHRESH[4:0]: The low threshold used in optimized write CAM fill level.
When (MEMC_NO_OF_ENTRY - (number of loaded entries) < wrcam_lowthresh), keep to write mode and stop to prepare banks for read direction if no Exp-VPR or read collision is there.
This feature is enabled when opt_wrcam_fill_level is 1.
Note: Programming mode: Static.
14.7.79 Scheduler control 4 register (DDRCTRL_REGS_SCHED4)
Address offset: 0x274
Reset value: 0x0840 0810
| column_1 | column_2 | Bits 4:0 | there. | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WR_PAGE_EXP_CYCLES[7:0] | RD_PAGE_EXP_CYCLES[7:0] | ||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| Bits 31:24 | WR_PAGE_EXP_CYCLES[7:0] | : Indicates the number of cycles to keep the bank opened for | |||||||||||||
| Bits 23:16 | RD_PAGE_EXP_CYCLES[7:0] | : Indicates the number of cycles to keep the bank opened for | |||||||||||||
| Bits 15:8 | WR_ACT_IDLE_GAP[7:0] | : Indicates the number of cycles when write direction has no request | |||||||||||||
| Bits 7:0 | RD_ACT_IDLE_GAP[7:0] | : Indicates the number of cycles when read direction has no request |
Bits 31:24 WR_PAGE_EXP_CYCLES[7:0]: Indicates the number of cycles to keep the bank opened for write direction in read mode when both directions has request to the bank.
The register indicates the number of cycle.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 23:16 RD_PAGE_EXP_CYCLES[7:0]: Indicates the number of cycles to keep the bank opened for read direction in write mode when both directions has request to the bank.
The register indicates the number of cycle.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 15:8 WR_ACT_IDLE_GAP[7:0]: Indicates the number of cycles when write direction has no request to start preparing bank for read direction.
The register indicates the number of cycle.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
Bits 7:0 RD_ACT_IDLE_GAP[7:0]: Indicates the number of cycles when read direction has no request to start preparing bank for write direction.
The register indicates the number of cycle.
If RDWR_SWITCH_POLICY_SEL = 0, this register is ignored.
Note: Programming mode: Static.
14.7.80 DDRCTRL debug 0 register (DDRCTRL_REGS_DBG0)
Address offset: 0x300
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_M AX_RA NK_W R_OPT | DIS_M AX_RA NK_RD _OPT | Res. | DIS_C OLLISI ON_PA GE_OP T | Res. | DIS_A CT_BY PASS | DIS_R D_BYP ASS | DIS_W C |
| rw | rw | rw | rw | rw | rw |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 DIS_MAX_RANK_WR_OPT: Disable optimized max_rank_wr and max_logical_rank_wr
This bit is for debug purpose only. For normal operation, this bit must be set to 0.
Note: Programming mode: Static.
Bit 6 DIS_MAX_RANK_RD_OPT: Disable optimized max_rank_rd and max_logical_rank_rd .
This bit is for debug purpose only. For normal operation, this bit must be set to 0.
Note: Programming mode: Static.
Bit 5 Reserved, must be kept at reset value.
Bit 4 DIS_COLLISION_PAGE_OPT:
0: The auto-precharge is disabled for the flushed command in a collision case.
Collision cases are write followed by read to the same address, read followed by write to the same address, or write followed by write to same address with DIS_WC = 1 in this register (where same address comparisons exclude the two address bits representing critical word).
For debug purpose only.
Note: Programming mode: Static.
Bit 3 Reserved, must be kept at reset value.
Bit 2 DIS_ACT_BYPASS:
Only present in designs supporting activate bypass.
1: Disable bypass path for high-priority read activates.
For debug purpose only.
Note: Programming mode: Static.
Bit 1 DIS_RD_BYPASS:
Only present in designs supporting read bypass.
1: Disable bypass path for high-priority read page hits.
For debug purpose only.
Note: Programming mode: Static.
Bit 0 DIS_WC:
1: Disable write combine.
For debug purpose only.
Note: Programming mode: Static.
14.7.81 DDRCTRL debug 1 register (DDRCTRL_REGS_DBG1)
Address offset: 0x304
Reset value: 0x0000 0000
| column_1 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIS_HI | DIS_D |
| F F | Q Q | ||||||||||||||
| rw rw | rw rw | ||||||||||||||
| 31 | 30 | 29 WR_D | 28 RD_DA | 27 | 26 DBG_ | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TA_PIP | WR_Q | DBG_S | |||||||||||||
| Res. | Res. | PELIN E_EMP | ELINE_ | Res. | _EMPT | D_Q_E MPTY | TALL | Res. | Res. | DBG_W_Q_DEPTH[5:0] | |||||
| EMPTY EMPTY | Y Y | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | DBG_LPR_Q_DEPTH[5:0] | Res. | Res. | DBG_HPR_Q_DEPTH[5:0] | ||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DIS_HIF:
1: DDRCTRL asserts the HIF command signal hif_cmd_stall. The DDRCTRL ignores hif_cmd_valid and all other associated request signals.
This bit is intended to be switched on-the-fly.
Note: Programming mode: Dynamic.
Bit 0 DIS_DQ:
1: DDRCTRL does not dequeue any transaction from the CAM. Bypass is also disabled. All transactions are queued in the CAM. No reads or writes are issued to SDRAM as long as this bit is asserted.
This bit can be used to prevent reads or writes being issued by the DDRCTRL, which makes it safe to modify some fields associated with reads/writes.
After setting this bit, it is strongly recommended to poll WR_DATA_PIPELINE_EMPTY and RD_DATA_PIPELINE_EMPTY in DDRCTRL_REGS_DBGCAM, before making changes to any register which affect reads and writes. This ensures that the relevant logic in the DDRC is idle. This bit is intended to be switched on-the-fly.
Note: Programming mode: Dynamic.
14.7.82 DDRCTRL CAM debug register (DDRCTRL_REGS_DBGCAM)
Address offset: 0x308
Reset value: 0x0000 0000
Bits 31:30 Reserved, must be kept at reset value.
- Bit 29 WR_DATA_PIPELINE_EMPTY: Empty write data pipeline on the DFI interface
This bit is intended to be polled at least twice after setting DIS_DQ
in DDRCTRL_RGES_DBG1, to ensure that all remaining commands/data have completed.
Note: Programming mode: Dynamic. - Bit 28 RD_DATA_PIPELINE_EMPTY: Empty read data pipeline on the DFI interface
This bit is intended to be polled at least twice after setting DIS_DQ
in DDRCTRL_RGES_DBG1, to ensure that all remaining commands/data have completed.
Note: Programming mode: Dynamic. - Bit 27 Reserved, must be kept at reset value.
- Bit 26 DBG_WR_Q_EMPTY:
1: All write command queues and write data buffers inside the DDRC are empty.
Use-case: When the DDRCTRL enters SR using the low-power entry sequence, the following
is expected:- • All commands in its queues are executed.
- • Write command queue and data buffers are empty.
Note: Programming mode: Dynamic. - Bit 25 DBG_RD_Q_EMPTY:
1: All read command queues and read data buffers inside DDRC are empty.
Use-case: When the DDRCTRL enters SR using the low-power entry sequence, the following
is expected:- • All commands in its queues are executed.
- • Write command queue and data buffers are empty.
Note: Programming mode: Dynamic. - Bit 24 DBG_STALL: Stall (for debug purpose only)
Note: Programming mode: Dynamic. - Bits 23:22 Reserved, must be kept at reset value.
- Bits 21:16 DBG_W_Q_DEPTH[5:0]: Write queue depth (for debug purpose only)
Note: Programming mode: Dynamic. - Bits 15:14 Reserved, must be kept at reset value.
- Bits 13:8 DBG_LPR_Q_DEPTH[5:0]: Low-priority read queue depth (for debug purpose only)
Note: Programming mode: Dynamic. - Bits 7:6 Reserved, must be kept at reset value.
- Bits 5:0 DBG_HPR_Q_DEPTH[5:0]: High-priority read queue depth (for debug purpose only)
Note: Programming mode: Dynamic.
14.7.83 DDRCTRL command debug register (DDRCTRL_REGS_DBGCMD)
Address offset: 0x30C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLU PD | ZQ_CA LIB_SH ORT | Res. | Res. | RANK1 _REFR ESH | RANK0 _REFR ESH |
| rs | rs | rs | rs |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 CTRLUPD: dfi_ctrlupd_req to the PHY
1: The DDRCTRL issues a dfi_ctrlupd_req to the PHY. When this request is stored in the DDRCTRL, this bit is automatically cleared. This operation must only be performed when DIS_AUTO_CTRLUPD = 1 in DDRCTRL_REGS_DFIUPD0.
Note: Programming mode: Dynamic.
Bit 4 ZQ_CALIB_SHORT: ZQCS/MPC command to the SDRAM
1: The DDRCTRL issues a ZQCS (ZQ calibration short)/MPC (ZQ calibration) command to the SDRAM. When this request is stored in the DDRCTRL, the bit is automatically cleared. This operation can be performed only when DIS_AUTO_ZQ = 1 in DDRCTRL_REGS_ZQCTL0.
It is recommended NOT to set this bit if in Init, in SR (except LPDDR4), or SRPD (LPDDR4).
For SR (except LPDDR4) or SRPD (LPDDR4), ZQCS is scheduled after SR (except LPDDR4) or SPRD (LPDDR4) has been exited.
Note: Programming mode: Dynamic.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 RANK1_REFRESH: Refresh to rank 1
1: The DDRCTRL issues a refresh to rank 1.
Writing to this bit causes RANK1_REFRESH_BUSY to be set in DDRCTRL_REGS_DBGSTAT. When RANK1_REFRESH_BUSY is cleared, the command has been stored in the DDRCTRL.
For 3DS configuration, refresh is sent to rank index 1.
This operation can be performed only when DIS_AUTO_REFRESH = 1 in DDRCTRL_REGS_RFSHCTL3.
It is recommended NOT to set this bit if in Init mode.
Note: Programming mode: Dynamic.
Bit 0 RANK0_REFRESH: Refresh to rank 0
1: The DDRCTRL issues a refresh to rank 0.
Writing to this bit causes RANK0_REFRESH_BUSY to be set in DDRCTRL_REGS_DBGSTAT. When RANK0_REFRESH_BUSY is cleared, the command has been stored in the DDRCTRL.
For 3DS configuration, refresh is sent to rank index 1.
This operation can be performed only when DIS_AUTO_REFRESH = 1 in DDRCTRL_REGS_RFSHCTL3.
It is recommended NOT to set this bit if in Init mode.
Note: Programming mode: Dynamic.
14.7.84 DDRCTRL status debug register (DDRCTRL_REGS_DBGSTAT)
Address offset: 0x310
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLU PD_BU SY | ZQ_CA LIB_SH ORT_B USY | Res. | Res. | RANK1 _REFR ESH_B USY | RANK0 _REFR ESH_B USY |
| r | r | r | r |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 CTRLUPD_BUSY: CTRLUPD operation
The device can initiate a CTRLUPD operation only if this bit is low. This bit goes high in the clock after the DDRCTRL accepts the CTRLUPD request. It goes low when the CTRLUPD operation is initiated in the DDRCTRL.
It is recommended NOT to perform CTRLUPD operations when this bit is high.
0: The device can initiate a CTRLUPD operation.
1: No CTRLUPD operation has been initiated yet in the DDRCTRL.
Note: Programming mode: Dynamic.
Bit 4 ZQ_CALIB_SHORT_BUSY: ZQCS operation
The device can initiate a ZQCS (ZQ calibration short) operation only if this bit is low. This bit goes high in the clock after the DDRCTRL accepts the ZQCS request. It goes low when the ZQCS operation is initiated in the DDRCTRL.
It is recommended NOT to perform ZQCS operations when this bit is high.
0: The device can initiate a ZQCS operation.
1: No ZQCS operation has been initiated yet in the DDRCTRL.
Note: Programming mode: Dynamic.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 RANK1_REFRESH_BUSY: rank1_refresh operation
The device can initiate a rank1_refresh operation (refresh operation to rank 1) only if this bit is low. This bit goes high in the clock after RANK1_REFRESH is set in DDRCTRL_REGS_DBGCMD. It goes low when rank1_refresh operation is stored in the DDRCTRL.
It is recommended NOT to perform rank1_refresh operations when this bit is high.
0: The device can initiate a rank1_refresh operation.
1: No rank1_refresh operation has been stored yet in the DDRCTRL.
Note: Programming mode: Dynamic.
Bit 0 RANK0_REFRESH_BUSY: rank0_refresh operation
The device can initiate a rank0_refresh operation (refresh operation to rank 1) only if this bit is low. This bit goes high in the clock after RANK0_REFRESH is set in DDRCTRL_REGS_DBGCMD. It goes low when rank0_refresh operation is stored in the DDRCTRL.
It is recommended NOT to perform rank1_refresh operations when this bit is high.
0: The device can initiate a rank0_refresh operation.
1: No rank0_refresh operation has been stored yet in the DDRCTRL.
Note: Programming mode: Dynamic.
14.7.85 DDRCTRL software programming control enable register (DDRCTRL_REGS_SWCTL)
Address offset: 0x320
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_D ONE |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SW_DONE: Enable quasi-dynamic register programming outside reset
0: Quasi-dynamic programming enabled. Set back this bit to 1 once programming is done.
Note: Programming mode: Dynamic.
14.7.86 DDRCTRL software programming control status register (DDRCTRL_REGS_SWSTAT)
Address offset: 0x324
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_D ONE_A CK |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SW_DONE_ACK: Register programming done
This bit is the echo of SW_DONE in DDRACTRL_REGS_SWCTL.
Wait for SW_DONE = 1 to propagate to SW_DONE_ACK at the end of the programming sequence. This ensures that the correct register values are propagated to the destination clock domains.
Note: Programming mode: Static.
14.7.87 DDRACTRL statics write enable register (DDRACTRL_REGS_SWCTLSTATIC)
Address offset: 0x328
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_STATIC_UNLOCK |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SW_STATIC_UNLOCK: Enables static register programming outside reset
1: Static register programming enabled. Set this bit back to 0 once programming is done.
Note: Programming mode: Dynamic.
14.7.88 DDRACTRL AXI poison configuration register (DDRACTRL_REGS_POISONCFG)
Address offset: 0x36C
Reset value: 0x0011 0011
This register is common to all AXI ports.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_CLR | Res. | Res. | Res. | RD_POISON_INTR_EN | Res. | Res. | Res. | RD_POISON_SLVERR_EN |
| rc_w1 | rw | rw | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_CLR | Res. | Res. | Res. | WR_POISON_INTR_EN | Res. | Res. | Res. | WR_POISON_SLVERR_EN |
| rc_w1 | rw | rw |
Bits 31:25 Reserved, must be kept at reset value.
- Bit 24 RD_POISON_INTR_CLR: Interrupt clear for read transaction poisoning
1, 2, or 3 clock cycles for correct value to propagate to the DDRCTRL logic, and to clear the interrupts. The DDRCTRL automatically clears this bit.
Note: Programming mode: Dynamic. - Bits 23:21 Reserved, must be kept at reset value.
- Bit 20 RD_POISON_INTR_EN: Interrupts for read transaction poisoning enable
1: Enable interrupts for read transaction poisoning.
Note: Programming mode: Dynamic. - Bits 19:17 Reserved, must be kept at reset value.
- Bit 16 RD_POISON_SLVERR_EN: SLVERR response for read transaction poisoning enable
1: Enable SLVERR response for read transaction poisoning.
Note: Programming mode: Dynamic. - Bits 15:9 Reserved, must be kept at reset value.
- Bit 8 WR_POISON_INTR_CLR: Interrupt clear for write transaction poisoning
1, 2, or 3 clock cycles for correct value to propagate to the DDRCTRL logic, and to clear the interrupts. The DDRCTRL automatically clears this bit.
Note: Programming mode: Dynamic. - Bits 7:5 Reserved, must be kept at reset value.
- Bit 4 WR_POISON_INTR_EN: Interrupts for write transaction poisoning enable
1: Enable interrupts for write transaction poisoning.
Note: Programming mode: Dynamic. - Bits 3:1 Reserved, must be kept at reset value.
- Bit 0 WR_POISON_SLVERR_EN: SLVERR response for write transaction poisoning enable
1: Enable SLVERR response for write transaction poisoning.
Note: Programming mode: Dynamic.
14.7.89 DDRCTRL AXI poison status register (DDRCTRL_REGS_POISONSTAT)
Address offset: 0x370
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_1 | RD_POISON_INTR_0 |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_1 | WR_POISON_INTR_0 |
| r | r |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 RD_POISON_INTR_1: Read transaction poisoning error interrupt for port 1
This bit is an APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port read address channel.
The interrupt is cleared by RD_POISON_INTR_CLR in DDRCTRL_REGS_POISONCFG, then the value is propagated to the APB clock.
Note: Programming mode: Dynamic.
Bit 16 RD_POISON_INTR_0: Read transaction poisoning error interrupt for port 0
This bit is an APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port read address channel.
The interrupt is cleared by RD_POISON_INTR_CLR in DDRCTRL_REGS_POISONCFG, then the value is propagated to the APB clock.
Note: Programming mode: Dynamic.
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 WR_POISON_INTR_1: Write transaction poisoning error interrupt for port 1
This bit is an APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port read address channel.
The interrupt is cleared by WR_POISON_INTR_CLR in DDRCTRL_REGS_POISONCFG, then the value is propagated to the APB clock.
Note: Programming mode: Dynamic.
Bit 0 WR_POISON_INTR_0: Write transaction poisoning error interrupt for port 0
This bit is an APB clock copy (double register synchronizer) of the interrupt asserted when a transaction is poisoned on the corresponding AXI port read address channel.
The interrupt is cleared by WR_POISON_INTR_CLR in DDRCTRL_REGS_POISONCFG, then the value is propagated to the APB clock.
Note: Programming mode: Dynamic.
14.7.90 DDRCTRL temperature derate status register (DDRCTRL_REGS_DERATESTAT)
Address offset: 0x3F0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_TEMP_LIMIT_INTR |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DERATE_TEMP_LIMIT_INTR: Derate temperature interrupt
This bit indicates that the LPDDR4 SDRAM temperature operating limit is exceeded. It is set to 1 when the value read from MR4[2:0] is 0b000 or 0b111. This bit is cleared by DERATE_TEMP_LIMIT_INTR_CLR in DDRCTRL_REGS_DERATECTL.
Note: Programming mode: Static.
14.7.91 DDRCTRL port status register (DDRCTRL_MP_PSTAT)
Address offset: 0x3FC
Reset value: 0x0000 0000
| column_1 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WR_P WR_P | WR_P WR_P | ||||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ORT_B | ORT_B |
| USY_1 USY_1 | USY_0 USY_0 | ||||||||||||||
| r r | r r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RD_PO RD_PO | RD_PO RD_PO | ||||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RT_BU SY_1 | RT_BU SY_0 |
| r r | r r | ||||||||||||||
| Bits 31:18 | Reserved, must be kept at reset value. | ||||||||||||||
| Bit 17 | WR_PORT_BUSY_1 | : Indicates if there are outstanding writes for AXI port 1. | |||||||||||||
| Bit 16 | WR_PORT_BUSY_0 | : Indicates if there are outstanding writes for AXI port 0. | |||||||||||||
| Bits 15:2 | Reserved, must be kept at reset value. | ||||||||||||||
| Bit 1 | RD_PORT_BUSY_1 | : Indicates if there are outstanding reads for AXI port 1. | |||||||||||||
| Bit 0 | RD_PORT_BUSY_0 | : Indicates if there are outstanding reads for AXI port 0. | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| BL_EX | PAGEM | GO2C | |||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | P_MO | Res. | Res. | Res. | ATCH_ | Res. | Res. | Res. | RITICA |
| DE | LIMIT | L_EN | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bits 31:9 | Reserved, must be kept at reset value. |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 WR_PORT_BUSY_1: Indicates if there are outstanding writes for AXI port 1.
Note: Programming mode: Dynamic.
Bit 16 WR_PORT_BUSY_0: Indicates if there are outstanding writes for AXI port 0.
Note: Programming mode: Dynamic.
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 RD_PORT_BUSY_1: Indicates if there are outstanding reads for AXI port 1.
Note: Programming mode: Dynamic.
Bit 0 RD_PORT_BUSY_0: Indicates if there are outstanding reads for AXI port 0.
Note: Programming mode: Dynamic.
14.7.92 DDRCTRL port common configuration register (DDRCTRL_MP_PCCFG)
Address offset: 0x400
Reset value: 0x0000 0000
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 BL_EXP_MODE: Burst length expansion mode
0: (default value) XPI expands every AXI burst into multiple HIF commands, using the memory burst length as a unit.
1: The XPI uses half of the memory burst length as a unit. This applies to both reads and writes.
When DATA_BUS_WIDTH = 0 in DDRCTRL_REGS_MSTR, setting this bit has no effect. This can be used in order to avoid or minimize \(t_{ccd\_l}\) penalty in DDR4, and \(t_{ccd\_mw}\) penalty in LPDDR4. Setting this bit is then only recommended for DDR4 or LPDDR4.
If DM_EN = 0 in DDRCTRL_REGS_DBICTL, this functionality is not supported if the DCI (data channel interleave) is enabled.
Note: Programming mode: Static.
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 PAGEMATCH_LIMIT: Page match four limit
1: Limit to four the number of consecutive same page DDRC transactions that can be granted by the port arbiter, when the page match feature is enabled.
0: No limit imposed on number of consecutive same page DDRC transactions
Note: Programming mode: Static.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 GO2CRITICAL_EN:
1: (enabled) Set co_gs_go2critical_wr and co_gs_go2critical_lpr/co_gs_go2critical_hpr signals going to DDRC based on urgent input (awurgent, arurgent) coming from AXI master.
0: (disabled) co_gs_go2critical_wr and co_gs_go2critical_lpr/co_gs_go2critical_hpr signals at DDRC are driven to 0.
Note: Programming mode: Static.
14.7.93 DDRCTRL port x configuration read register (DDRCTRL_MP_PCFGR_x)
Address offset: 0x404 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| RM0457 | column_2 | Bit 8 Bits 7:5 Bit 4 Bits 3:1 Bit 0 | writes. | BL_EXP_MODE | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RRB_LOCK_THRESHOLD[3:0] | Res. | Res. | Res. | Res. | |||
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RD_PO | RD_PO | RD_PO | |||||||||||||
| RT_PA | RT_UR | RT_AG | |||||||||||||
| Res. | Res. | Res. | RD_PORT_PRIORITY[9:0] | ||||||||||||
| GEMAT | GENT_ | ING_E | |||||||||||||
| CH_EN | EN | N | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| RM0457 Rev 5 | 545/ | 5881 |
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:20 RRB_LOCK_THRESHOLD[3:0]: Specifies the RRB lock threshold in configurations that disable read data interleaving.
Threshold is specified in terms of the HIF bursts that belong to the same AXI transaction. RRB locks onto VC only when this specified number of HIF bursts are returned by DDRC. RRB lock occurs earlier in cases where the AXI transaction itself is shorter and the total number of corresponding HIF bursts are below the programmed threshold and all of them are returned by DDRC.
When N is programmed in this field, the threshold will be set to N+1 bursts. Max thresholding is up to 16 bursts.
Note: Programming mode: Static.
Bits 19:15 Reserved, must be kept at reset value.
Bit 14 RD_PORT_PAGEMATCH_EN: Page match feature enable
1: Enable the page match feature. If enabled, once a requesting port is granted, the port is kept granted if the following immediate commands are to the same memory page (same rank, same bank and same row). See also PAGEMATCH_LIMIT in DDRCTRL_MP_PCCFG.
Note: Programming mode: Static.
Bit 13 RD_PORT_URGENT_EN: AXI urgent sideband signal (arurgent) enable
1: Enables arurgent. When enabled and arurgent is asserted by the master, the port becomes the highest priority, and co_gs_go2critical_lpr/co_gs_go2critical_hpr signal to the DDRC is asserted if enabled by GO2CRITICAL_EN in DDRCTRL_MP_PCCFG.
The arurgent signal can be asserted anytime, and as long as required, independently of address handshaking (not associated with any particular command).
Note: Programming mode: Static.
Bit 12 RD_PORT_AGING_EN: Aging function for the read channel enable
1: Enable the aging function for the read channel of the port.
Note: Programming mode: Static.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:0 RD_PORT_PRIORITY[9:0]: Initial load value of read aging counters
These counters are loaded in parallel after reset, or after each grant to corresponding port. The aging counters down count every clock cycle where the port requests but is not granted. The higher significant 5 bits of the counter set the priority of the read channel of a given port.
- • The port priority increases as the higher significant 5 bits of the counter start to decrease.
- • When the aging counter becomes 0, the corresponding port channel has the highest priority level (timeout condition - priority0).
- • For multi-port configurations, aging counters cannot be used to set port priorities when external dynamic priority inputs (arqos) are enabled (timeout still applicable).
- • For single-port configurations, aging counters are only used when they timeout (become 0) to force read-write direction switching. In this case, external dynamic priority input, arqos (for reads only), can still be used to set the DDRC read priority (two priority levels: low-priority read, LPR, and high-priority read, HPR) on a command-by-command basis.
The two LSBs of this bitfield are tied internally to 0b00.
Note: Programming mode: Static.
14.7.94 DDRCTRL port x configuration write register (DDRCTRL_MP_PCFGW_x)
Address offset: 0x408 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 4000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | WR_P ORT_P AGEM ATCH_ EN | WR_P ORT_U RGENT_ EN | WR_P ORT_A GING_ EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 WR_PORT_PAGEMATCH_EN: Page match feature enable
1: Enable the page match feature. If enabled, once a requesting port is granted, the port is kept granted if the following immediate commands are to the same memory page (same rank, same bank and same row). See also PAGEMATCH_LIMIT in DDRCTRL_MP_PCCFG.
Note: Programming mode: Static.
Bit 13 WR_PORT_URGENT_EN: AXI urgent sideband signal (awurgent) enable
1: Enable awurgent. When enabled and awurgent is asserted by the master, the port becomes the highest priority, and co_gs_go2critical_wr signal to DDRC is asserted if enabled by GO2CRITICAL_EN in DDRCTRL_MP_PCCFG.
The awurgent signal can be asserted anytime and as long as required, independently of address handshaking (not associated with any particular command).
Note: Programming mode: Static.
Bit 12 WR_PORT_AGING_EN: Aging function enable for the write channel
1: Enable the aging function for the write channel of the port.
Note: Programming mode: Static.
Bits 11:10 Reserved, must be kept at reset value.
Bits 9:0 WR_PORT_PRIORITY[9:0]: Initial load value of write aging counters
These counters are loaded in parallel after reset, or after each grant to corresponding port. The aging counters down count every clock cycle where the port requests but is not granted. The higher significant 5 bits of the write aging counter set the initial priority of the write channel of a given port.
- • The port priority increases as the higher significant 5 bits of the counter start to decrease. When the aging counter becomes 0, the corresponding port channel has the highest priority level.
- • For multi-port configurations, aging counters cannot be used to set port priorities when external dynamic priority inputs (awqos) are enabled (timeout still applicable).
- • For single-port configurations, aging counters are only used when they timeout (become 0) to force read-write direction switching.
- The two LSBs of this bitfield are tied internally to 0b00.
Note: Programming mode: Static.
14.7.95 DDRCTRL port x control register (DDRCTRL_MP_PCTRL_x)
Address offset: 0x490 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 PORT_EN: Enable the AXI port x.
Note: Programming mode: Dynamic.
14.7.96 DDRCTRL port x read QoS configuration 0 register (DDRCTRL_MP_PCFGQOS0_x)
Address offset: 0x494 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION1[1:0] | Res. | Res. | RQOS_MAP_REGION0[1:0] | ||
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:22 Reserved, must be kept at reset value.
Bits 21:20 RQOS_MAP_REGION1[1:0]: Traffic class of region 1
00: LPR
01: VPR
10 HPR
Note: Programming mode: Quasi-dynamic Group 3.
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:16 RQOS_MAP_REGION0[1:0]: Traffic class of region 0
V00: LPR
01: VPR
10 HPR
Note: Programming mode: Quasi-dynamic Group 3.
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 RQOS_MAP_LEVEL1[3:0]: Separation level1 that gives the end of region 0 mapping
The start of region 0 is 0. Possible values for level1 are 0 to 13 (for dual RAQ), or 0 to 14 (for single RAQ) which corresponds to arqos.
For PA, arqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
Note: Programming mode: Quasi-dynamic Group 3.
14.7.97 DDRCTRL port x read QoS configuration 1 register (DDRCTRL_MP_PCFGQOS1_x)
Address offset: 0x498 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:27 Reserved, must be kept at reset value.
Bits 26:16 RQOS_MAP_TIMEOUTR[10:0]: Timeout value for transactions mapped to red address queue
Note: Programming mode: Quasi-dynamic Group 3.
Bits 15:11 Reserved, must be kept at reset value.
Bits 10:0 RQOS_MAP_TIMEOUTB[10:0]: Timeout value for transactions mapped to blue address queue
Note: Programming mode: Quasi-dynamic Group 3.
14.7.98 DDRCTRL port x write QoS configuration 0 register (DDRCTRL_MP_PCFGWQOS0_x)
Address offset: 0x49C + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0E00
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2[1:0] | Res. | Res. | WQOS_MAP_REGION1[1:0] | Res. | Res. | WQOS_MAP_REGION0[1:0] | |||
| rw | rw | rw | rw | rw | rw | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2[3:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:26 Reserved, must be kept at reset value.
- Bits 25:24 WQOS_MAP_REGION2[1:0]: Traffic class of region 2
00: NPW
01: VPW
When VPW support is disabled (DDRCTRL_REGS_VPW_EN = 0), and this bitfield is set to 01 (VPW), the VPW traffic is aliased to NPW traffic.
Note: Programming mode: Quasi-dynamic Group 3. - Bits 23:22 Reserved, must be kept at reset value.
- Bits 21:20 WQOS_MAP_REGION1[1:0]: Traffic class of region 1
00: NPW
01: VPW
When VPW support is disabled (DDRCTRL_REGS_VPW_EN = 0), and this bitfield is set to 01 (VPW), the VPW traffic is aliased to NPW traffic.
Note: Programming mode: Quasi-dynamic Group 3. - Bits 19:18 Reserved, must be kept at reset value.
- Bits 17:16 WQOS_MAP_REGION0[1:0]: Traffic class of region 0
00: NPW
01: VPW
When VPW support is disabled (DDRCTRL_REGS_VPW_EN = 0), and this bitfield is set to 01 (VPW), the VPW traffic is aliased to NPW traffic.
Note: Programming mode: Quasi-dynamic Group 3. - Bits 15:12 Reserved, must be kept at reset value.
- Bits 11:8 WQOS_MAP_LEVEL2[3:0]: Separation level2 that indicates the end of region 1 mapping
The start of region 1 is (level1 + 1). Possible values for level2 are (level1 + 1) to 14, which corresponds to awqos. Region2 starts from (level2 + 1) up to 15.
For PA, awqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
WQOS_MAP_LEVEL1 and WQOS_MAP_LEVEL2 must have distinct values.
Note: Programming mode: Quasi-dynamic Group 3. - Bits 7:4 Reserved, must be kept at reset value.
- Bits 3:0 WQOS_MAP_LEVEL1[3:0]: Separation level indicating the end of region 0 mapping
The start of region 0 is 0. Possible values for level1 are 0 to 13 which corresponds to awqos.
For PA, awqos values are used directly as port priorities, where the higher the value corresponds to higher port priority.
WQOS_MAP_LEVEL1 and WQOS_MAP_LEVEL2 must have distinct values.
Note: Programming mode: Quasi-dynamic Group 3.
14.7.99 DDRCTRL port x write QoS configuration 1 register
(DDRCTRL_MP_PCFGWQOS1_x)
Address offset: 0x4A0 + 0xB0 * x, (x = 0 to 1)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:27 Reserved, must be kept at reset value.
Bits 26:16 WQOS_MAP_TIMEOUT2[10:0]: Timeout value for write transactions in region 2
Note: Programming mode: Quasi-dynamic Group 3.
Bits 15:11 Reserved, must be kept at reset value.
Bits 10:0 WQOS_MAP_TIMEOUT1[10:0]: Timeout value for write transactions in region 0 and 1
Note: Programming mode: Quasi-dynamic Group 3.
14.7.100 DDRCTRL version number register
(DDRCTRL_MP_DDRCTRL_VER_NUMBER)
Address offset: 0xFF0
Reset value: 0x3339 312A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VER_NUMBER[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VER_NUMBER[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 VER_NUMBER[31:0]: Device version number
This is in ASCII format, with each byte corresponding to a character of the version number
Note: Programming mode: Static.
14.7.101 DDRCTRL version type register (DDRCTRL_MP_DDRCTRL_VER_TYPE)
Address offset: 0xFF4
Reset value: 0x6761 2A2A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| VER_TYPE[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VER_TYPE[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 VER_TYPE[31:0]: Device version type value
This is in ASCII format, with each byte corresponding to a character of the version type
Note: Programming mode: Static.
14.7.102 DDRCTRL register map
Table 61. DDRCTRL register map and reset values
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | DDRCTRL_REGS_MSTR | DEVICE_CONFIG [1:0] | Res | Res | Res | Res | ACTIVE_RANKS [1:0] | Res | Res | Res | Res | BURST_RDWR [3:0] | DLL_OFF_MODE | Res | DATA_BUS_WIDTH [1:0] | Res | EN_2T_TIMING_MODE | BURSTCHOP | Res | Res | Res | LPDDR4 | DDR4 | Res | Res | Res | DDR3L | ||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||
| 0x004 | DDRCTRL_REGS_STAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_CAM_NOT_EMPTY | Res. | Res. | SELFREF_STATE[1:0] | Res. | Res. | Res. | SELFREF_TYPE[1:0] | Res. | OPERATING_MODE[2:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x008 - 0x00C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x010 | DDRCTRL_REGS_MRCTRL0 | MR_WR | PBA_MODE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_ADDR [3:0] | Res. | Res. | Res. | Res. | Res. | Res. | MR_RANK [1:0] | SW_INIT_INT | PDA_EN | MPR_EN | MR_TYPE | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||

Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x014 | DDRCTRL_REGS_MRCTRL1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_DATA[17:0] | |||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x018 | DDRCTRL_REGS_MRSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PDA_DONE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MR_WR_BUSY |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x01C | DDRCTRL_REGS_MRCTRL2 | MR_DEVICE_SEL[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x020 | DDRCTRL_REGS_DERATEEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_MR4_PAUSE_FC | DERATE_MR4_TUF_DIS | Res. | RC_DERATE_VALUE[2:0] | DERATE_BYTE[3:0] | Res. | DERATE_VALUE[1:0] | DERATE_ENABLE | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x024 | DDRCTRL_REGS_DERATEINT | MR4_READ_INTERVAL[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x028 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x02C | DDRCTRL_REGS_DERATECTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_TEMP_LIMIT_INTR_FORCE | DERATE_TEMP_LIMIT_INTR_CLR | DERATE_TEMP_LIMIT_INTR_EN |
| Reset value | 0 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x030 | DDRCTRL_REGS_PWRCTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EN_DFI_DRAM_CLK_DISABLE | POWERDOWN_EN | SELFREF_EN | |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x034 | DDRCTRL_REGS_PWRTMG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SELFREF_TO_X32[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POWERDOWN_TO_X32[4:0] | |||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x038 | DDRCTRL_REGS_HWLPCTL | Res. | Res. | Res. | Res. | HW_LP_IDLE_X32[11:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HW_LP_EXIT_IDLE_EN | HW_LP_EN | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |||||||||||||||||||
| 0x03C - 0x04C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x050 | DDRCTRL_REGS_RFSHCTL0 | REFRESH_TO_AB_X32[4:0] | Res. | Res. | Res. | REFRESH_MARGIN[3:0] | Res. | Res. | Res. | REFRESH_TO_X1_X32[4:0] | Res. | Res. | REFRESH_BURST[5:0] | Res. | PER_BANK_REFRESH | AUTO_REFAB_EN[1:0] | |||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x054 | DDRCTRL_REGS_RFSHCTL1 | Res. | Res. | Res. | Res. | REFRESH_TIMER1_START_VALUE_X32[11:0] | Res. | Res. | Res. | Res. | REFRESH_TIMER0_START_VALUE_X32[11:0] | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||
| 0x058 - 0x05C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x060 | DDRCTRL_REGS_RFSHCTL3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REFRESH_MODE[2:0] | Res. | Res. | REFRESH_UPDATE_LEVEL | DIS_AUTO_REFRESH | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
Table 61. DDRCCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x064 | DDRCCTRL_REGS_RFSHTMG | T_RFC_NOM_X1_SE | Res. | Res. | Res. | Res. | T_RFC_NOM_X1_X32[11:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_RFC_MIN[9:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | ||||||||||
| 0x068 | DDRCCTRL_REGS_RFSHTMG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_PBR2PBR[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0x06C - 0x0CC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x0D0 | DDRCCTRL_REGS_INIT0 | SKIP_DRAM_INIT [1:0] | Res. | Res. | Res. | Res. | Res. | POST_CKE_X1024[9:0] | Res. | Res. | Res. | Res. | Res. | PRE_CKE_X1024[11:0] | |||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | ||||||||||
| 0x0D4 | DDRCCTRL_REGS_INIT1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAM_RSTN_X1024[8:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRE_OCD_X32[3:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x0D8 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x0DC | DDRCCTRL_REGS_INIT3 | MR[15:0] | EMR[15:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||
| 0x0E0 | DDRCCTRL_REGS_INIT4 | EMR2[15:0] | EMR3[15:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x0E4 | DDRCCTRL_REGS_INIT5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEV_ZQINIT_X32[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x0E8 | DDRCCTRL_REGS_INIT6 | MR4[15:0] | MR5[15:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x0EC | DDRCCTRL_REGS_INIT7 | MR22[15:0] | MR6[15:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x0F0 | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x0F4 | DDRCTRL_REGS_RANKCTL | Res. | Res. | Res. | Res. | Res. | DIFF_RANK_WR_GAP_MSB | Res. | DIFF_RANK_RD_GAP_MSB | Res. | Res. | Res. | Res. | Res. | Res. | MAX_RANK_WR[3:0] | DIFF_RANK_WR_GAP[3:0] | DIFF_RANK_RD_GAP[3:0] | MAX_RANK_RD[3:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | ||||||||||||||||
| 0x0F8 | DDRCTRL_REGS_RANKCTL1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR2RD_DR[5:0] | |||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x0FC | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x100 | DDRCTRL_REGS_DRAMTMG0 | Res. | WR2PRE[6:0] | Res. | Res. | T_FAW[5:0] | Res. | T_RAS_MAX[6:0] | Res. | Res. | T_RAS_MIN[5:0] | |||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | ||||||||
| 0x104 | DDRCTRL_REGS_DRAMTMG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_XP[4:0] | Res. | Res. | RD2PRE[5:0] | Res. | T_RC[6:0] | |||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | ||||||||||||||||
| 0x108 | DDRCTRL_REGS_DRAMTMG2 | Res. | Res. | WRITE_LATENCY[5:0] | Res. | Res. | Res. | READ_LATENCY[5:0] | Res. | Res. | RD2WR[5:0] | Res. | Res. | WR2RD[5:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | ||||||||||
| 0x10C | DDRCTRL_REGS_DRAMTMG3 | Res. | Res. | T_MRW[9:0] | Res. | Res. | T_MRD[5:0] | Res. | Res. | T_MOD[9:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |||||||
| 0x110 | DDRCTRL_REGS_DRAMTMG4 | Res. | Res. | Res. | T_RCD[4:0] | Res. | Res. | Res. | Res. | T_CCD[3:0] | Res. | Res. | Res. | Res. | T_RRD[3:0] | Res. | Res. | Res. | T_RP[4:0] | |||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | ||||||||||||||||
| 0x114 | DDRCTRL_REGS_DRAMTMG5 | Res. | Res. | Res. | Res. | T_CKSRX[3:0] | Res. | T_CKSRE[6:0] | Res. | Res. | T_CKESR[5:0] | Res. | Res. | Res. | T_CKE[4:0] | |||||||||||||||||||
| Reset value | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | ||||||||||||
| 0x118 | DDRCTRL_REGS_DRAMTMG6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CKCSX[3:0] | ||||||
| Reset value | 0 | 1 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x11C | DDRCTRL_REGS_DRAMTMG7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CKPDE[3:0] | Res. | Res. | Res. | Res. | T_CKPD[X3:0] | ||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | ||||||||||||||||||||||||||
| 0x120 | DDRCTRL_REGS_DRAMTMG8 | Res. | T_XS_FAST_X32[6:0] | Res. | T_XS_ABORT_X32[6:0] | Res. | T_XS_DLL_X32[6:0] | Res. | T_XS_X32[6:0] | |||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | ||||||

Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x124 | DDRCTRL_REGS_DRAMTMG9 | Res. | DDR4_WR_PREAMBLE | T_CCD_S[2:0] | T_RRD_S[3:0] | WR2RD_S[5:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | ||||||||||||||||||||
| 0x128 | DDRCTRL_REGS_DRAMTMG10 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_SYNC_GEAR[4:0] | T_CMD_GEAR[4:0] | Res. | Res. | Res. | Res. | T_GEAR_SETUP[1:0] | T_GEAR_HOLD[1:0] | ||||||||||||||
| Reset value | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | ||||||||||||||||||||
| 0x12C | DDRCTRL_REGS_DRAMTMG11 | Res. | POST_MPSM_GAP_X32[6:0] | Res. | Res. | Res. | T_MPX_LH[4:0] | T_MPX_S[1:0] | Res. | Res. | T_CKMPE[4:0] | |||||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | |||||||||||||||
| 0x130 | DDRCTRL_REGS_DRAMTMG12 | Res. | Res. | T_WR_MPR[5:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_CMDCKE[1:0] | T_MRD_PDA[4:0] | |||||||||||||||||||||
| Reset value | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x134 | DDRCTRL_REGS_DRAMTMG13 | Res. | ODTLOFF[6:0] | Res. | Res. | T_CCD_MW[5:0] | T_PPD[2:0] | |||||||||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||
| 0x138 | DDRCTRL_REGS_DRAMTMG14 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_XSR[11:0] | |||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x13C | DDRCTRL_REGS_DRAMTMG15 | EN_DFL_LP_T_STAB | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | T_STAB_X32[7:0] | |||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x140 - 0x17C | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x180 | DDRCTRL_REGS_ZQCTL0 | DIS_AUTO_ZQ | DIS_SRX_ZQCL | ZQ_RESISTOR_SHARED | DIS_MPSMX_ZQCL | Res. | T_ZQ_LONG_NOP[10:0] | Res. | Res. | Res. | Res. | Res. | Res. | T_ZQ_SHORT_NOP[9:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||
Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x184 | DDRCTRL_REGS_ZQCTL1 | Res. | Res. | T_ZQ_RESET_NOP[9:0] | T_ZQ_SHORT_INTERVAL_X1024[19:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| 0x188 | DDRCTRL_REGS_ZQCTL2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 0 | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x18C | DDRCTRL_REGS_ZQSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 0 | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x190 | DDRCTRL_REGS_DFITMG0 | Res. | Res. | Res. | DFI_T_CTRL_DELAY[4:0] | DFI_RDDATA_USE_DFI_PHY_CLK | DFI_T_RDDATA_EN[6:0] | DFI_WRDATA_USE_DFI_PHY_CLK | Res. | DFI_TPHY_WRDATA[5:0] | Res. | Res. | DFI_TPHY_WRLAT[5:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | |||||
| 0x194 | DDRCTRL_REGS_DFITMG1 | DFI_T_CMD_LAT[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_WRDATA_DELAY[4:0] | Res. | Res. | Res. | DFI_T_DRAM_CLK_DISABLE[4:0] | Res. | Res. | Res. | DFI_T_DRAM_CLK_ENABLE[4:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |||||||||||||
| 0x198 | DDRCTRL_REGS_DFILPCFG0 | Res. | Res. | Res. | DFI_TLP_RESP[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_LP_WAKEUP_SR[3:0] | Res. | Res. | Res. | DFI_LP_EN_SR | DFI_LP_WAKEUP_PD[3:0] | Res. | Res. | Res. | DFI_LP_EN_PD | ||||||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x19C | Reserved | Reserved | |||||||||||||||||||||||||||||||

Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x1A0 | DDRCTRL_REGS_DFIUPD0 | DIS_AUTO_CTRLUPD | DIS_AUTO_CTRLUPD_SRX | CTRLUPD_PRE_SRX | Res. | Res. | Res. | DFI_T_CTRLUPD_MAX[9:0] | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_MIN[9:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |||||||||
| 0x1A4 | DDRCTRL_REGS_DFIUPD1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MIN_X1024[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_CTRLUPD_INTERVAL_MAX_X1024[7:0] | |||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||
| 0x1A8 | DDRCTRL_REGS_DFIUPD2 | DFI_PHYUPD_EN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x1AC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x1B0 | DDRCTRL_REGS_DFIIMISC | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_FREQUENCY[4:0] | LP_OPTIMIZED_WRITE | DIS_DYN_ADR_TRI | DFI_INIT_START | CTL_IDLE_EN | Res. | DFI_DATA_CS_POLARITY | PHY_DBI_MODE | DFI_INIT_COMPLETE_EN | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||
| 0x1B4 | DDRCTRL_REGS_DFITMG2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_TPHY_RDCSLAT[6:0] | Res. | Res. | DFI_TPHY_WRCSLAT[5:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ||||||||||||||||||||
| 0x1B8 | DDRCTRL_REGS_DFITMG3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_T_GEARDOWN_DELAY[4:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x1BC | DDRCTRL_REGS_DFISTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_LP_ACK | DFI_INIT_COMPLETE | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x1C0 | DDRCTRL_REGS_DBICTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_DBI_EN | WR_DBI_EN | DM_EN |
| Reset value | 0 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x1C4 | DDRCTRL_REGS_DFIPHYMSTR | DFI_PHYMSTR_BLK_REF_X32[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DFI_PHYMSTR_EN | |||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||||||||||||||||||
| 0x1C8 - 0x1FC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x200 | DDRCTRL_REGS_ADDRMAP0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_CS_BIT0[4:0] | |||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x204 | DDRCTRL_REGS_ADDRMAP1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_BANK_B2[5:0] | Res. | Res. | Res. | Res. | ADDRMAP_BANK_B1[5:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_BANK_B0[5:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x208 | DDRCTRL_REGS_ADDRMAP2 | Res. | Res. | Res. | Res. | ADDRMAP_COL_B5[3:0] | Res. | Res. | Res. | Res. | ADDRMAP_COL_B4[3:0] | Res. | Res. | Res. | ADDRMAP_COL_B3[4:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_COL_B2[3:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x20C | DDRCTRL_REGS_ADDRMAP3 | Res. | Res. | Res. | ADDRMAP_COL_B9[4:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_COL_B8[4:0] | Res. | Res. | Res. | ADDRMAP_COL_B7[4:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_COL_B6[4:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x210 | DDRCTRL_REGS_ADDRMAP4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_COL_B11[4:0] | Res. | Res. | Res. | Res. | Res. | ADDRMAP_COL_B10[4:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
Table 61. DDDRCTRL register map and reset values (continued)
| RM0457 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Offset Register name | 31 3 0 | 2 9 | 2 8 | 2 7 2 6 2 5 2 4 | 2 3 2 2 21 2 0 19 18 17 16 | 15 | 14 | 13 12 1 1 10 9 8 | 7 | 6 | 5 4 3 2 1 | 0 |
| DDRCTRL_REGS | R e s. R e s. | R e s. | R e s. | [3:0] | R e s. R e s. R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | |
| OW_ R B 2_10 A D D R M A P _ | ||||||||||||
| OW_ 0 R B A D D R M A P _ | ||||||||||||
| OW_ R B1 1 A D D R M A P _ | ||||||||||||
| OW_ R B1 A D D R M A P _ | ||||||||||||
| Reset value | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | ||||||||
| 3G 6G B_12G B_ B L P D D R3 4 _ | ||||||||||||
| DDRCTRL_REGS | [2:0] | R e s. | R e s. R e s. R e s. R e s. | R e s. | R e s. | R e s. R e s. | R e s. | R e s. | R e s. R e s. | |||
| OW_ B15[3:0] R A D D R M A P _ | ||||||||||||
| OW_ R B14[3:0] A D D R M A P _ | ||||||||||||
| OW_ R B13[3:0] A D D R M A P _ | ||||||||||||
| OW_ R B12[3:0] A D D R M A P _ | ||||||||||||
| Reset value | 0 0 | 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | ||||||
| DDRCTRL_REGS | R e s. R e s. | R e s. | R e s. | R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. | R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | |
| OW_ R B17 A D D R M A P _ | ||||||||||||
| OW_ B16 R A D D R M A P _ | ||||||||||||
| Reset value | 0000 | 0000 | ||||||||||
| DDRCTRL_REGS | ADDRMAP_BG | ADDRMAP_BG | ||||||||||
| _ADDRMAP8 | R e s. R e s. | R e s. | R e s. | R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. | _B1[5:0] | R e s. | R e s. | _B0[5:0] | |
| 0x220 Reset value | 0 0 0 0 0 0 | 0 0 0 0 0 0 | ||||||||||
| DDRCTRL_REGS | R e s. R e s. | R e s. | R e s. | [3:0] | R e s. R e s. R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | |
| OW_ R B A D D R M A P 5 _ | ||||||||||||
| OW_ R B 3 A D D R M A P _ | ||||||||||||
| OW_ R B 4 A D D R M A P _ | ||||||||||||
| OW_ 2 R B A D D R M A P _ | ||||||||||||
| Reset value | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | ||||||||
| DDRCTRL_REGS | R e s. R e s. | R e s. | R e s. | [3:0] | R e s. R e s. R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | R e s. | R e s. | R e s. R e s. [3:0] | |
| OW_ R B 9 A D D R M A P _ | ||||||||||||
| OW_ R B 8 A D D R M A P _ | ||||||||||||
| OW_ R B 7 A D D R M A P _ | ||||||||||||
| OW_ 6 R B A D D R M A P _ | ||||||||||||
| Reset value | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | ||||||||
| RM0457 Rev 5 | 561/ 5881 |
Table 61. DDDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x22C | DDRCTRL_REGS_ADDRMAP11 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADDRMAP_ROW_B10[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x230 - 0x23C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x240 | DDRCTRL_REGS_ODTCFG | Res. | Res. | Res. | Res. | WR_ODT_HOLD[3:0] | Res. | Res. | Res. | WR_ODT_DELAY[4:0] | Res. | Res. | Res. | Res. | RD_ODT_HOLD[3:0] | Res. | RD_ODT_DELAY[4:0] | Res. | Res. | Res. | Res. | ||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x244 | DDRCTRL_REGS_ODTMAP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RANK1_RD_ODT[1:0] | Res. | Res. | RANK1_WR_ODT[1:0] | Res. | Res. | Res. | Res. | RANK0_RD_ODT[1:0] | Res. | Res. | RANK0_WR_ODT[1:0] | Res. | Res. | |
| Reset value | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0x248 - 0x24C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x250 | DDRCTRL_REGS_SCHED | OPT_VPRW_SCH | RDWR_IDLE_GAP[6:0] | GO2CRITICAL_HYSTERESIS[7:0] | LPDDR4_OPT_ACT_TIMING | Res. | Res. | LPR_NUM_ENTRIES[4:0] | AUTOPRE_RMW | Res. | Res. | OPT_WRCAM_FILL_LEVEL | RDWR_SWITCH_POLICY_SEL | PAGECLOSE | PREFER_WRITE | Res. | |||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | ||||||||
| 0x254 | DDRCTRL_REGS_SCHED1 | OPT_HIT_GT_HPR | PAGE_HIT_LIMIT_RD[2:0] | Res. | PAGE_HIT_LIMIT_WR[2:0] | Res. | VISIBLE_WINDOW_LIMIT_RD[2:0] | Res. | VISIBLE_WINDOW_LIMIT_WR[2:0] | DELAY_SWITCH_WRITE[3:0] | Res. | Res. | Res. | Res. | PAGECLOSE_TIMER[7:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x258 | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x25C | DDRCTRL_REGS_PERFHPR1 | HPR_XACT_RUN_LENGTH[7:0] | Res | Res | Res | Res | Res | Res | Res | Res | HPR_MAX_STARVE[15:0] | |||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||||
| 0x260 | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x264 | DDRCTRL_REGS_PERFLPR1 | LPR_XACT_RUN_LENGTH[7:0] | Res | Res | Res | Res | Res | Res | Res | Res | LPR_MAX_STARVE[15:0] | |||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||
| 0x268 | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x26C | DDRCTRL_REGS_PERFWR1 | W_XACT_RUN_LENGTH[7:0] | Res | Res | Res | Res | Res | Res | Res | Res | W_MAX_STARVE[15:0] | |||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||
| 0x270 | DDRCTRL_REGS_SCHED3 | Res. | Res. | Res. | RD_PGHT_NUM_THRESH[4:0] | Res. | Res. | Res. | WR_PGHT_NUM_THRESH[4:0] | Res. | Res. | Res. | WRCAM_HIGHTHRESH[4:0] | Res. | Res. | Res. | WRCAM_LOWTHRESH[4:0] | |||||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | ||||||||||||||
| 0x274 | DDRCTRL_REGS_SCHED4 | WR_PAGE_EXP_CYCLES[7:0] | RD_PAGE_EXP_CYCLES[7:0] | WR_ACT_IDLE_GAP[7:0] | RD_ACT_IDLE_GAP[7:0] | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||
| 0x278 - 0x2FC | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x300 | DDRCTRL_REGS_DBG0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
| 0x304 | DDRCTRL_REGS_DBG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x308 | DDRCTRL_REGS_DBGCAM | Res. | Res. | WR_DATA_PIPELINE_EMPTY | RD_DATA_PIPELINE_EMPTY | Res. | DBG_WR_Q_EMPTY | DBG_RD_Q_EMPTY | DBG_STALL | Res. | Res. | DBG_W_Q_DEPTH[5:0] | Res. | Res. | DBG_LPR_Q_DEPTH[5:0] | Res. | Res. | DBG_HPR_Q_DEPTH[5:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x30C | DDRCTRL_REGS_DBGCMD | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLUPD | ZQ_CALIB_SHOR | RANK1_REFRESH | RANK0_REFRESH | ||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x310 | DDRCTRL_REGS_DBGSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CTRLUPD_BUSY | ZQ_CALIB_SHORT_BUSY | RANK1_REFRESH_BUSY | RANK0_REFRESH_BUSY | ||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x314 - 0x31C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x320 | DDRCTRL_REGS_SWCTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_DONE | |
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x324 | DDRCTRL_REGS_SWSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_DONE_ACK | |
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x328 | DDRCTRL_REGS_SWCTLSTATIC | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SW_STATIC_UNLOCK | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x32C - 0x368 | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 61. DDCRTL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x36C | DDRCTRL_REGS_POISONCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_CLR | Res. | Res. | Res. | RD_POISON_INTR_EN | Res. | Res. | Res. | RD_POISON_SIVERR_EN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_CLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_SIVERR_EN |
| Reset value | 0 | 1 | 1 | 0 | 1 | ||||||||||||||||||||||||||||
| 0x370 | DDRCTRL_REGS_POISONSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_POISON_INTR_1 | RD_POISON_INTR_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_POISON_INTR_1 | WR_POISON_INTR_0 |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x374 - 0x3EC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x3F0 | DDRCTRL_REGS_DERATESTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DERATE_TEMP_LIMIT_INTR | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x3F4 - 0x3F8 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x3FC | DDRCTRL_MP_PSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_BUSY_1 | WR_PORT_BUSY_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RD_PORT_BUSY_1 | RD_PORT_BUSY_0 |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x400 | DDRCTRL_MP_PCCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BL_EXP_MODE | Res. | Res. | Res. | PAGEMATCH_LIMIT | Res. | Res. | Res. | GO2CRITICAL_EN |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x404 | DDRCTRL_MP_PCFGR_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RRB_LOCK_THRESHOLD[3:0] | Res. | Res. | Res. | Res. | Res. | RD_PORT_PAGEMATCH_EN | RD_PORT_URGENT_EN | RD_PORT_AGING_EN | Res. | Res. | RD_PORT_PRIORITY[9:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x408 | DDRCTRL_MP_PCFGW_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_PAGEMATCH_EN | WR_PORT_URGENT_EN | WR_PORT_AGING_EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x40C - 0x48C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x490 | DDRCTRL_MP_PCTRL_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x494 | DDRCTRL_MP_PCFGQOS0_0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION1 [1:0] | Res. | Res. | Res. | Res. | RQOS_MAP_REGION0 [1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1 [3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x498 | DDRCTRL_MP_PCFGQOS1_0 | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | |||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
| 0x49C | DDRCTRL_MP_PCFGWQOS0_0 | Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2 [1:0] | Res. | Res. | WQOS_MAP_REGION1 [1:0] | Res. | Res. | Res. | Res. | WQOS_MAP_REGION0 [1:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2 [3:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1 [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x4A0 | DDRCTRL_MP_PCFGWQOS1_0 | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | Res. | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | |||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x4A4 - 0x4B0 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x4B4 | DDRCTRL_MP_PCFGR_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RRB_LOCK_THRESHOLD[3:0] | Res. | Res. | Res. | Res. | Res. | RD_PORT_PAGEMATCH_EN | RD_PORT_URGENT_EN | RD_PORT_AGING_EN | Res. | Res. | RD_PORT_PRIORITY[9:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x4B8 | DDRCTRL_MP_PCFGW_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WR_PORT_PAGEMATCH_EN | WR_PORT_URGENT_EN | WR_PORT_AGING_EN | Res. | Res. | WR_PORT_PRIORITY[9:0] | |||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x4BC - 0x53C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x540 | DDRCTRL_MP_PCTRL_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORT_EN |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x544 | DDRCTRL_MP_PCFGQOS0_1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION1 [1:0] | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_REGION0 [1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_LEVEL1 [3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x548 | DDRCTRL_MP_PCFGQOS1_1 | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTR[10:0] | Res. | Res. | Res. | Res. | Res. | RQOS_MAP_TIMEOUTB[10:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||
| 0x54C | DDRCTRL_MP_PCFGWQOS0_1 | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_REGION2 [1:0] | Res. | Res. | WQOS_MAP_REGION1 [1:0] | Res. | Res. | WQOS_MAP_REGION0 [1:0] | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL2 [3:0] | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_LEVEL1 [3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
Table 61. DDRCTRL register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x550 | DDRCTRL_MP_PCFGWQOS1_1 | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT2[10:0] | Res. | Res. | Res. | Res. | Res. | WQOS_MAP_TIMEOUT1[10:0] | ||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||
| 0x554 - 0xFEC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0xFF0 | DDRCTRL_MP_DDRCTRL_VER_NUMBER | VER_NUMBER[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | |
| 0xFF4 | DDRCTRL_MP_DDRCTRL_VER_TYPE | VER_TYPE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | |
Refer to Section 2.4 for the register boundary addresses.
