14. DDR physical interface control (DDRPHYC)

Portions Copyright (c) Synopsys, Inc. All rights reserved. Used with permission.

14.1 DDRPHYC features

14.2 DDRPHYC block diagram

The DDRPHYC block diagram is shown in Figure 40.

The DDRPHYC is composed of:

Figure 40. DDRPHYC block diagram

Block diagram of DDRPHYC showing internal components like DDRCTRL, PUB, PHY Micro controller Unit (PMU), and the DDRPHY physical interface with various AC4X and DBYTE blocks.

The diagram illustrates the DDRPHYC block structure. On the left, the DDRCTRL block is connected to the DFI0 block within the PUB (Peripheral Unit Block). The PUB also contains a vertical stack of JTAG, TDR, and APB blocks. Below DFI0 are DCCM and ICCM blocks, each connected to an SRAM block. The PHY Micro controller Unit (PMU) is also part of the PUB. The PUB connects to the DDRPHY block, which contains the DDRPHY physical interface. This interface consists of a vertical bus with bidirectional connections to DBYTE 0, AC4X 0, AC4X 1, AC4X 2, AC4X 3, AC4X 4, AC4X 5, AC4X 6, AC4X 7, and DBYTE 1 blocks. Each of these blocks has a thick green arrow pointing to the right, representing the external physical interface. The reference code MSv73115V1 is located at the bottom right of the diagram.

Block diagram of DDRPHYC showing internal components like DDRCTRL, PUB, PHY Micro controller Unit (PMU), and the DDRPHY physical interface with various AC4X and DBYTE blocks.

14.3 DDRPHYC SDRAM interface

The DDRPHYC SDRAM interfaces are listed in the table below.

Table 60. Function of DDRPHYC pins versus DDR protocol

Pin namePin function according to protocolComment
LPDDR4DDR4DDR3L
DDR_RESETNRESET_NRESET_NRESET_N-
-MTEST1ALERT/MTEST1ERR/MTEST1Not available on STM32MP21xx
DDR_VREF---Not used(1)

Table 60. Function of DDRPHYC pins versus DDR protocol (continued)

Pin namePin function according to protocolComment
LPDDR4DDR4DDR3L
DDR_ZQ---240 Ω 1% to GND
DDR_A0CKEA0CKE0CKE0-
DDR_A1-CKE1CKE1CKEA1 and CKE1 are not supported in STM32MP21xx.
DDR_A2CAA[0]CS_N0CS_N0-
DDR_A3CAA[1]ODT0ODT0-
DDR_A4CLKA_TCLK0_TCLK0_T-
DDR_A5CLKA_CCLK0_CCLK0_C-
DDR_A6CSA0CS_N1CS_N1CS_N1 is not supported in STM32MP21xx.
DDR_A7-ODT1ODT1CAS1 and ODT1 are not supported in STM32MP21xx.
DDR_A8CAA[2]A[9]A[9]-
DDR_A9CAA[3]A[12]A[12]-
DDR_A10CAA[4]A[11]A[11]-
DDR_A11CAA[5]A[7]A[7]-
DDR_A12-A[8]A[8]-
DDR_A13-A[6]A[6]CKEB1 is not supported in STM32MP21xx.
DDR_A14-A[5]A[5]-
DDR_A15-A[4]A[4]-
DDR_A16-BG[1]BA[2]BG1 is supported with DDR4 x8 addressing.
DDR_A17-ACT_NA[14]-
DDR_A18-BG[0]A[15]-
DDR_A19-PARPARCSB1 and PAR are not supported in STM32MP21xx.
DDR_A20-A[3]A[3]-
DDR_A21-A[2]A[2]-
DDR_A22-A[1]A[1]-
DDR_A23-BA[1]BA[1]-
DDR_A25-A[13]A[13]-
DDR_A26-BA[0]BA[0]-
DDR_A27-A[10]A[10]-
DDR_A28-A[0]A[0]-

Table 60. Function of DDRPHYC pins versus DDR protocol (continued)

Pin namePin function according to protocolComment
LPDDR4DDR4DDR3L
DDR_A29-CAS_N/A[15]CAS_N-
DDR_A30-WE_N/A[14]WE_N-
DDR_A31-RAS_N/A[16]RAS_N-
DDR_DQ[7] to DDR_DQ[0]Any to any DQ mapping within the byte lane is supported.-
DDR_DM0DMI0_ADMBI0_nDML-
DDR_DQS0PDQS0_t_ADQS0_tDQSL-
DDR_DQS0NDQS0_c_ADQS0_cDQSL#-
DDR_DQ[15] to DDR_DQ[8]Any to any DQ mapping within the byte lane is supported.-
DDR_DM1DMI1_ADMBI1_nDMU-
DDR_DQS1PDQS1_t_ADQS1_tDQSU-
DDR_DQS1NDQS1_c_ADQS1_cDQSU#-

1. For observation only.

14.4 DDRPHY functional overview

The DDRPHY includes the following components:

14.4.1 MASTER

The MASTER block contains the PLL, the primary voltage reference, thermal calibration, reset, and I/O cells for test and control.

The reset takes the asynchronous reset pin, the PwrOk pin, and dfi_reset_n signal, combines them, and synchronizes to the DFI clock. This is used by ACX4 and DBYTE.

14.4.2 ACX4

The DDR SDRAM address/command PHY (ACX4) provides an address and command interface to the external SDRAM memories. Figure 41 shows the organization of the ACX4.

The address/command (AC) consists of multiple design slices. The AC slice is used for all address and command and clk/cs/odt signals. Each slice contains all logic required for both output (address/command) and input (loopback) paths of the respective signals.

This configuration of DDRPHYC uses eight ACX4 macros

Figure 41. ACX4 component organization

Block diagram of ACX4 component organization showing multiple AC slices (AC[0] to AC[7]) connected to PUB and BUMPS blocks via driver/receiver pairs.

The diagram illustrates the internal structure of the DDRPHYACX4 block. On the left, a vertical bus labeled 'PUB' provides input signals: PubTxDatLn7[3:0], PubTxDatLn2[3:0], PubTxDatLn1[3:0], and PubTxDatLn0[3:0]. Each signal path enters an 'AC slice' (AC[7], AC[2], AC[1], AC[0] respectively). Each AC slice is connected to a driver/receiver pair (labeled 'drv/rcvr') which then connects to a block labeled 'BP_AC' (BP_AC7, BP_AC2, BP_AC1, BP_AC0). On the right, a vertical bus labeled 'BUMPS' is connected to these BP_AC blocks. Vertical ellipses indicate that there are more slices and connections between the shown ones. The entire assembly is enclosed in a box labeled 'DDRPHYACX4' at the bottom left. A reference code 'MSv68322V1' is located at the bottom right of the diagram area.

Block diagram of ACX4 component organization showing multiple AC slices (AC[0] to AC[7]) connected to PUB and BUMPS blocks via driver/receiver pairs.

14.4.3 DBYTE

The DDR SDRAM data PHY (DBYTE) provides data interface to one byte and matching strobe of an external SDRAM memory.

On the writing path, the controlled data pipeline logic inside the DBYTE slice converts the DFI-rate signals from the PUB to double-data rate (DDR) signals going to the SDRAM.

On the reading path, the read data from the SDRAM is written using the DQS clock into a four-deep asynchronous FIFO that is implemented inside the DQ slice, and read using the controller clock. A per-bit delay line at the input of the DQ slice is used to optionally deskew the read data with respect to the read strobe in order to maximize the read data eye.

14.4.4 PHY clocking

Figure 42 presents the PHY clocking distribution. The main input clock is the DFI clock, coming from the DDRSS PLL2 (configured through RCC dedicated registers).

In the MASTER, the embedded PLL multiplies the DFI clock by four, and is fed to ACX4 and DBYTE macros.

Figure 42. PHY clocking distribution

Figure 42. PHY clocking distribution diagram. The diagram shows a clock distribution path starting from DFI_clk and DFI_bypass_pclk inputs. These inputs feed into a PLL block within the MASTER macro. The output of the PLL is Pclk, which is distributed to the ACX4 and DBYTE macros. The Pclk signal is shown entering the ACX4 macros and the DBYTE macros. The DBYTE macros also show DqsU and DqsL signals. The diagram is labeled MSv68321V1.
Figure 42. PHY clocking distribution diagram. The diagram shows a clock distribution path starting from DFI_clk and DFI_bypass_pclk inputs. These inputs feed into a PLL block within the MASTER macro. The output of the PLL is Pclk, which is distributed to the ACX4 and DBYTE macros. The Pclk signal is shown entering the ACX4 macros and the DBYTE macros. The DBYTE macros also show DqsU and DqsL signals. The diagram is labeled MSv68321V1.

Only one side of the MASTER Pclk tree is represented. The MASTER feeds the clock to the ACX4 on both sides. Only the ACX4 closest to each DBYTE on each side feeds the clock to the DBYTE. All other PclkDbyte are left unconnected.

Note: For a data transfer less than 600 MT/s, the MASTER inner PLL can be bypassed. In this case, the clock coming from the DFI_Bypass_pclk is fed to the ACX4, and then to the DBYTE. A specific register in the DDRSS registers must be enabled for this purpose.

14.4.5 PUB (PHY utility block)

The PUB provides control and configuration for all the PHY hard macros (MASTER, 8x ACX4, 2x DBYTE). It handles the following functions for the PHY:

The PUB supports a DFI 4.0 interface with the DDRCTRL. Its registers are accessible through an APB interface. It also provides a JTAG interface for test purposes.

The PUB includes a programmable microcontroller unit (PMU) to support the training. Once the PHY is initialized and the firmware is loaded in the IMEM and DMEM, the PMU executes the training firmware, and is then shutdown.

14.4.6 PHY and SDRAM initialization

The figure below presents the initialization flow for the whole DDRSS.

Figure 43. DDRSS boot sequence

Diagram showing the DDRSS boot sequence steps (1-11) and corresponding DRAM states (RESET, IDLE, Self-Refresh).
DDRSS boot sequenceDRAM state
1. DDRSS And DRAM forced in reset state (MRSTn = 0 and DDR_NOTRESET = 0)RESET
2. DDRSS PLL2 configuration (RCC register programming)
3. Configure controller static registers. The controller remains idle during next PHY init steps.
4. Configure PHY PUB registers
5. Load ARC processor IMEM (instruction memory)
6. Load ARC processor DMEME (data memory) including message block
7. Start ARC processor training firmware PHY PLL lock, PHY DLL and I/O caLibration, DRAM initializaton, and DRAM /IO calibration. Successive DRAM training sequences.IDLE
8. Configure the PIE (PHY initialization engine) that manages PHY states and periodic recalibration sequences.Self-Refresh
9. PHY initialization to mission mode through DFI init interface controller assert its dfi_init_start signalIDLE
10. Configure controller to mission mode. Exit from SR state. Enable periodic refresh mode. Clear all pending interruptions.Self-Refresh
IDLE
11. Mission mode – Traffic start. Enable XPI ports.ACTIVE
Diagram showing the DDRSS boot sequence steps (1-11) and corresponding DRAM states (RESET, IDLE, Self-Refresh).

MSv68324V2

Details on the boot sequence are the following:

  1. 1. Bring up the power: power supplies can come up and stabilize in any order.
  2. 2. Through RCC registers, program the PLL2 to the desired frequency, and wait for the PLL to be locked. Meanwhile, DDRCTRL and DDRPHYC are kept under reset.
  3. 3. Configure the controller static registers: once the controller is configured, its XPI ports remain disabled while the DDRPHYC initialization and training is not completed.
  4. 4. Configure the PUB registers.
  5. 5. Load the PMU instruction memory: before the PHY training firmware can be run, the firmware program image must be loaded into the instruction memory SRAM. This is provided by the STM32CubeMx tool. After this stage, the PHY clock frequency (PLL2 setting through the RCC registers) must run at the desired frequency.
  6. 6. Load the PMU data memory (DMEM). In order to run the firmware, some information must be given about the system, the memory configuration, and the memory training steps to run.
  7. 7. Start the PMU training firmware: the training firmware can now be run. It configures the PHY PLL, calibrates the PHY DLL and I/Os, initializes the DRAM and calibrates DRAM I/Os, and runs the successive SDRAM training stages, depending on the SDRAM connected.
  8. 8. Once the firmware training is completed, the PMU is shutdown, and the retraining is performed by the PHY init engine. The PIE also manages the PHY state. Hence PIE registers must be written. Meanwhile the SDRAM is in SR.
  9. 9. PHY initialization to the mission mode: the controller sets the PHY into the mission mode through the DFI interface (dfi_init_start signal).
  10. 10. Configure the controller to the mission mode: gets the controller out of SR, and enables the periodic refresh. Clears all pending interruptions generated during the training (if any).
  11. 11. The DDRSS is ready to the mission mode: enables the controller AXI ports.

14.4.7 DRAM initialization sequence

This section describes the successive steps to initialize the DRAM. All training steps are common to LPDDR4, DDR4, DDR3, except the command address training (Section 14.4.9) which is only for LPDDR4.

The DDR initialization sequence is provided by the STM32CubeMx: the training firmware, including data and sequence is provided by the STM32CubeMx according to configuration input from the user. The explanations hereafter provide details to help understanding the initialization sequence, but the different steps of the sequence are abstracted to the user through the STM32CubeMx.

The DDRPHYC training sequence must be performed in the order described in this section. The proper operation is not guaranteed if any training stages are skipped or executed out of sequence. Each subsequent step is dependent on the DDRPHYC register values, internal states, and configurations (of both the DDRPHYC and the DRAMs) that are set during prior steps. Stopping and resuming training is not supported. The reconfiguration of the DDRPHYC or DRAM between, or during, training steps is not supported. The violation of any of these requirements may result in an inoperable memory system.

14.4.8 Device initialization

The device initialization performs the basic initialization of the DDRPHYC and DRAM that is required before any training stage is run. The initialization includes tasks such as locking the internal PLL and DLLs to the current input clock, and calculates the parameters to accelerate future lock operations, resetting the DRAMS, and writing the appropriate mode registers (MR). The training may modify the initial MRs from the values provided in the message block to avoid putting the DRAMs into an untrainable state.

14.4.9 Command address (CA) training

This step is only for LPDDR4.

During the CA training, the DRAM is put into a mode where the command/address lines are sampled and fed back on the DQ lines. A series of bit patterns are sent with varying timing to determine the valid delay range for each bit. The timing is then set to the optimal value for each bit.

This step compensates for the differences between CK signals and command/address signals to the DRAM devices.

A single delay for each ANIB is calculated by finding the time where all bits of each ANIB are sampled correctly at each device, and changing the delay of the ANIB signals to place the middle of this region as close to the edge of the clock used to capture the values.

Note: The LPDDR4 specification requires that the DRAM uses a slower frequency clock prior to training the command bus. The DDRPHYC has dedicated circuits to generate a divided down clock that is designed to meet these requirements, without the user having to change the input clock to the DDRPHYC.

14.4.10 Read gate training

The goal of read gate training (RxEn training) is to determine the round-trip latency, including RCAS latency, between the DDRPHYC and the DRAM. The round-trip latency must be known so that the DDRPHYC receivers are activated by the read gate at the right time in order to capture the full burst of read data. All DBYTE instances can be trained in parallel, but each rank must be trained independently.

This step compensates the delay for the read command to reach each DRAM, and to have the DQS pulse for the read return to the DDRPHYC. This delay does include all DRAM DQS related parameters such as \(t_{DQSCK}\). This delay does not include the read CAS latency, which is known ahead of time.

A delay is calculated for each nibble of each DBYTE to each timing group by finding the time of the first rising edge of DQS for each timing group, and changing the delay of the RxEnb to place it as close to the middle of the DQS preamble as possible.

14.4.11 Write leveling fine phase training

The write leveling fine grain phase is performed first.

The goal of write leveling fine phase training is to align DQS rising edge with the MEMCLK rising edge at each DRAM device. The write leveling fine phase training is required to compensate for any analog phase differences between MEMCLK and DQS distribution.

This fine training ensures that the edges are aligned correctly, but not necessarily at the correct WCAS latency. The coarse part of the write leveling training calculates the delay to

ensure the edges aligned with the correct WCAS latency. See JEDEC specifications for example timing diagrams.

This step compensates for the phase difference between the CK signal and the DQS at each DRAM. A delay is calculated for each DBYTE to each timing group by using the write leveling mode of DRAMs to place the DQS rising edge as close as possible to the CK rising edge.

14.4.12 Read deskew

The read DQ deskew training compensates for the delay differences, primarily caused by board routing and DRAM DQ output skew, among the DQ lanes during reads. The read deskew must not be skipped in silicon, even on systems without much skew between lanes. The failure to run read deskew can cause part of the read-eye to be missed by later stages, leading to non-optimal results.

The read deskew training is implemented by using per lane delays to align the beginnings of the passing regions for each nibble. Because the read enable and write leveling are completed, the read deskew can send simple writes and reads to the devices to collect data on the skews, such as using MPR pattern as 0xB2B2. The firmware sets up the chosen pattern, forces the receive clock delay to 0, and then runs an in-phase left search, to find the largest passing per-lane delays for every lane. Any nibble, which lanes all succeed in finding a left edge, has all per-lane delays recorded while the failing lanes continue to try incrementally a larger receive clock delay, extending the search range, until every nibble finds a working set of per-lane delays.

This step compensates for the delay difference between DQ signals from each DRAM, and ensures the full receive-eye exists at positive rxclkdlys. A delay is calculated for each signal in each DBYTE from each timing group to align all the DQ signals with each other as close as possible.

14.4.13 Read 1D (SI friendly) training

The read 1D fine training is done so that reads can be trained to work and perform further training to properly train the write operations. The result of this training is not guaranteed to be optimal but is guaranteed to work well enough to perform the write training.

Once the write training is complete, the read DQ/DQS timing can be optimized further with longer more complex patterns to a final trained position. The firmware implements this step of training by programming a pattern into an MPR, then running an automatic eye search using the read clock delay. The results of the automatic eye search are then used to write the read clock delay values to their eye midpoints.

This step compensates for the delay difference between the DQ and the DQS signals from each DRAM device. This step also moves the sampling edge of DQS to the center of the DQ eye. A delay is calculated for the upper and lower nibble of each DBYTE separately by calculating the compound eye for all signals in each nibble and centering the sampling edge of DQS in this eye.

14.4.14 Write leveling coarse delay training

The TX DQS is phase-aligned to MEMCLK during the write leveling fine phase training (Section 14.4.11), but the TX DQS latency may not match the CAS write latency. As the TX DQS delay is already phase-aligned, it can be incorrect by some integer multiple of MEMCLK periods.

During initialization, the course search calculates an educated guess for the delay between the transmitted DQS and DQ signals. This delay works for writes but is not delay margin optimized. The coarse search writes a relatively slow square wave to the rank being trained and then reads back the values. The DDRPHYC generates extra DQS pulses to ensure that DRAMs see enough DQS pulses during the time of the write even if the timing is off.

Any error in the comparisons between what is written to the DRAM and what is read out can be attributed to a coarse offset between DQS and MEMCLK signals. The firmware adds to the DQS delay currently set, and reruns the square wave write/read sequence to check if the new delay has fixed the errors. The firmware continues to loop, adding delay, until the data comes back without issue. If all reasonable delay settings fail to return the data as it was written, the firmware terminates the training. The delays start to be unreasonable around the 20 UI mark. Such a large delay likely means something has gone wrong.

This step compensates for the delay difference between the CK signal and the DQS at each DRAM. A delay is calculated for each DBYTE to each timing group by using the write leveling mode of the DRAMs to place the rising edge of DQS as close as possible to the rising edge of CK.

14.4.15 Write 1D training

At this point, the user can safely read back arbitrary data from DRAM, even if the read training is not perfectly centered on the read eye. The objective of this training is to center the write DQ timing in the write DQS eye (write DQS timing is set in the write leveling steps). The DDRPHYC has per-lane write DQ adjustment, allowing all the lanes to simultaneously train to their own value.

The write DQ/DQS delay center training is implemented by an automatic eye search that varies the delay on the write DQ signals. Once the automatic eye search has completed, the resulting eye mid-points are written to the DQ delay DDRPHYC register.

This step compensates for the delay difference between DQ and DQS signals to each DRAM. This step also moves the center of each DQ eye to sampling edge of DQS.

14.4.16 Read 1D training (optimized delay centering)

This training stage is almost the same as the read 1D (SI friendly) (Section 14.4.13) delay centering presented above but using longer more complex data patterns known as PRBS patterns. The complex PRBS patterns are used to obtain a more accurate estimate of the mission mode eye and to optimize the DQS position for electrically stressful patterns. Like the write DQ/DQS delay centering, all lanes are trained in parallel, but each nibble shares a common read delay setting. If read DBI is enabled the DBI lanes are trained at the same time as the DQ lanes.

This step compensates for the delay difference between DQ and DQS signals from each DRAM. This step also moves the sampling edge of DQS to the center of the DQ eye. A delay is calculated the upper and lower nibble of each DBYTE separately by calculating the compound eye for all signals in each nibble and centering the sampling edge of DQS in this eye.

14.4.17 Max read latency training

When reading data from the DRAMs, the received data is temporarily buffered in an internal receive data FIFO. After a short period, called the read latency, the data in the FIFO is

guaranteed to be valid. The read latency training stage finds the smallest read latency that works for all FIFOS in the DDRPHYC, limiting the system memory latency.

The training is done by setting the read latency very low, then incrementing it while repeatedly performing reads. Most of these reads fail because the read latency is too small. As the read latency approaches the minimum correct value, the reads on some bytes begins to pass. Once the read passes on all bytes, the firmware stops searching, and adds an offset passed in through the message block field “DFIMRLMargin”. By default, the DDRPHYC trains all max read latency to the same value, ensuring all data are aligned on the DFI.

14.5 DDRPHYC registers

14.5.1 DDRPHYC MtestMuxSel register (DDRPHYC_ANIBx_MTESTMUXSEL)

Address offset: 0x068 + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 0000

Digital observation pin control

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTESTMUXSEL[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 MTESTMUXSEL[5:0]:

Controls for the 64-1 mux for asynchronous data to the digital observation pin.

0x0: Drives 0 from this chiplet (allows flat OR of pass-through information).

0x01 to 0x1F: Selects local data from AC, DBYTE, and MASTER macros.

0x20: Drives 0 from PUB synthesized logic path into mux.

0x21 to 0x3F: Selects local data from PUB AC, DBYTE, and MASTER synthesized logic.

Others: Reserved

14.5.2 DDRPHYC AForceDrvCont register (DDRPHYC_ANIBx_AFORCEDRVCONT)

Address offset: 0x09C + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 0000

Force address/command driven (lanes A3-A0)

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AFORCEDRVCONT[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 AFORCEDRVCONT[3:0]:

Forces continuous drive, per-lane, of the ACX4 instance controlled by this register.

Setting this register causes the PHY to drive the target lane when dfi_init_complete = 1.

Bit [0]: Controls lane 0 of the target ACX4.

Bit [1]: Controls lane 1 of the target ACX4.

Bit [2]: Controls lane 2 of the target ACX4.

Bit [3]: Controls lane 3 of the target ACX4.

14.5.3 DDRPHYC AForceTriCont register (DDRPHYC_ANIBx_AFORCETRICON)

Address offset: 0x0A0 + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 0000

Force address/command tristate (lanes A3-A0)

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AFORCETRICON[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 AFORCETRICON[3:0]:

Forces tristate control, per-lane, of the ACX4 instance controlled by this register.

Setting this register causes the PHY to tristate the target lane when dfi_init_complete = 1.

Bit [0]: Controls lane 0 of the target ACX4.

Bit [1]: Controls lane 1 of the target ACX4.

Bit [2]: Controls lane 2 of the target ACX4.

Bit [3]: Controls lane 3 of the target ACX4.

14.5.4 DDRPHYC address Tx impedance control register
(DDRPHYC_ANIBx_ATXIMPEDANCE)

Address offset: 0x10C + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 03FF

Tx impedance of address driver cells

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.ADRVSTRENN[4:0]ADRVSTRENP[4:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bits 9:5 ADRVSTRENN[4:0]: 5-bit bus used to select the target pull-down output impedance

00000: 120.0 Ω
00001: 60.0 Ω
00011: 40.0 Ω
00111: 30.0 Ω
01111: 24.0 Ω
11111: 20.0 Ω

Bits 4:0 ADRVSTRENP[4:0]: 5-bit bus used to select the target pull-up output impedance

00000: 120.0 Ω
00001: 60.0 Ω
00011: 40.0 Ω
00111: 30.0 Ω
01111: 24.0 Ω
11111: 20.0 Ω

14.5.5 DDRPHYC ATestPrbsErr register
(DDRPHYC_ANIBx_ATESTPRBSERR)

Address offset: 0x14C + 0x4000 * x, (x = 0 to 7)

Reset value: 0XXXXX XXXX

Address loopback PRBS error status for an entire ACX4.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATESTPRBSERR[3:0]
rrrr

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 ATESTPRBSERR[3:0]: Overall error indicator for each PRBS bump checker
Bit[0]: Lane 0 error status (1 = errors found, 0 = no errors)
Bit[1]: Lane 1 error status
Bit[2]: Lane 2 error status
Bit[3]: Lane 3 error status

14.5.6 DDRPHYC address Tx slew rate and predriver control register (DDRPHYC_ANIBx_ATXSLEWRATE)

Address offset: 0x154 + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 07FF

Controls slew rates of address/command/memclk drivers. Tx predriver cal trims driver timing to account for clock duty-cycle variation.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.ATXPREDRVMODE[2:0]ATXPREN[3:0]ATXPREP[3:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:8 ATXPREDRVMODE[2:0]:

Controls predrivers to adjust timing of turn-on/-off of pull-up/-down segments.

- Recommended settings if the ANIB drives CK pins:

- Recommended settings if the ANIB does not drive CK pins:

Bits 7:4 ATXPREN[3:0]: 4-bit binary trim for the driver pull-down slew rate
0000 has a slower slew rate than 1111.

Bits 3:0 ATXPREP[3:0]: 4-bit binary trim for the driver pull-up slew rate
0000 has a slower slew rate than 1111.

14.5.7 DDRPHYC ATestPrbsErrCnt register (DDRPHYC_ANIBx_ATESTPRBSERRCNT)

Address offset: 0x158 + 0x4000 * x, (x = 0 to 7)

Reset value: 0xXXXX XXXX

Address loopback test result

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
ATESTPRBSERRCNT[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 ATESTPRBSERRCNT[15:0]: Overall error indicator for each PRBS bump checker

Bit [3:0]: Lane 0 error count

Bit [7:4]: Lane 1 error count

Bit [11:8]: Lane 2 error count

Bit [15:12]: Lane 3 error count

14.5.8 DDRPHYC ATxDly register (DDRPHYC_ANIBx_ATXDLY)

Address offset: 0x200 + 0x4000 * x, (x = 0 to 7)

Reset value: 0x0000 0000

Address/command delay

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.ATXDLY[6:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:0 ATXDLY[6:0]: Trained for LPDDR4 to generate timed address and command signals to the DRAMs (per ACX4)

For DDR3/DDR4, it is recommended that ACX4 address and commands have its ATxDly configured to 0x0. The four signals generated by an ACX4 have a common timing.

Bit[6]: Coarse delay (one unit of delay is 1 UI).

Bit[5]: Reserved.

Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32).

Note: The target ACX4 used for the memory clock generation must have its ATxDly configured to 0x0.

14.5.9 DDRPHYC DBYTE module disable register (DDRPHYC_DBYTEx_DBYTEMISCMODE)

Address offset: 0x40000 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0000

Controls the DBYTE enable/disable state.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBYTE
DISAB
LE
Res.Res.
rw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 DBYTEDISABLE: DBYTE disable

If DBYTE is not enabled, it receives no clocks, and remains in reset.

0: DBYTE enabled

1: DBYTE disabled

Note: This bit must only be changed at PHY initialization step C.

Bits 1:0 Reserved, must be kept at reset value.

14.5.10 DDRPHYC MtestMuxSel register (DDRPHYC_DBYTEx_MTESTMUXSEL)

Address offset: 0x40068 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0000

Digital observation pin control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTESTMUXSEL[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 MTESTMUXSEL[5:0]:

Controls for the 64-1 mux for asynchronous data to the digital observation pin.

0x0: Drives 0 from this chiplet (allows flat 'OR' of pass-through information).

0x01 to 0x1F: Selects local data from AC, DBYTE, and MASTER macros.

0x20: Drives 0 from PUB synthesized logic path into mux.

0x21 to 0x3F: Selects local data from PUB AC, DBYTE, and MASTER synthesized logic.

14.5.11 DDRPHYC DFIMRL register (DDRPHYC_DBYTEx_DFIMRL)

Address offset: 0x40080 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0006

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIMRL[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 DFIMRL[4:0]: DFI maximum read latency (MRL)

This bit must be trained to ensure that the Rx-data FIFO is not read until after all DBYTEs have their read data valid. This gives the value (units of two memory clocks), between dfi_rddata_en and dfi_rddata_valid.

A unit change in the LSB is a change in MRL of two memory clocks.

14.5.12 DDRPHYC VrefDAC0_ry register (DDRPHYC_DBYTEx_VREFDAC0_Ry)

Address offset: 0x40100 + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 8)

Reset value: 0x0000 0000

PHY Rx \(V_{REF}\) DAC control for DQ receiver.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.VREFDAC0[6:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:0 VREFDAC0[6:0]: PHY Rx \(V_{REF}\) DAC control for rxdq cell internal \(V_{REF}\)

DAC control for rxdq cell internal \(V_{REF}\), trained by firmware. \(V_{REF}\) generators have different ranges, depending on the mission mode settings for

- [DqDqsRcvCntrl:MajorMode,DqDqsRcvCntrl]: ExtVrefRange]

[000,0]: \(V_{REF} = V_{DDQ} \times (0.287 + VREFDAC0[6:0] \times 0.00330)\)

[000,1]: \(V_{REF} = V_{DDQ} \times (0.250 + VREFDAC0[6:0] \times 0.00385)\)

[011,0]: \(V_{REF} = V_{DDQ} \times (0.510 + VREFDAC0[6:0] \times 0.00345)\)

[011,1]: \(V_{REF} = V_{DDQ} \times (0.453 + VREFDAC0[6:0] \times 0.00385)\)

[010,0]: \(V_{REF} = V_{DDQ} \times (0.047 + VREFDAC0[6:0] \times 0.00367)\)

Others: Reserved

14.5.13 DDRPHYC data Tx impedance controls register (DDRPHYC_DBYTEx_TXIMPEDANCECTRL0_By)

Address offset: 0x40104 + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 1)

Reset value: 0x0000 0FFF

Tx DQ driver impedance when equalization is enabled per nibble

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.DRVSTRENDQN[5:0]DRVSTRENDQP[5:0]
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:6 DRVSTRENDQN[5:0]: 6-bit bus used to select the target pull-down output impedance

Note: See DrvStrenDqP for list of possible impedances.

Bits 5:0 DRVSTRENDQP[5:0]: 6-bit bus used to select the target pull-down output impedance

ST logo
ST logo

14.5.14 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL_By)

Address offset: 0x4010C + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 1)

Reset value: 0x0000 05B0

Connected to the Rx DQS and Rw DQ mode selects and trim controls, per nibble

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.GAINCURRADJ[4:0]MAJORMODEDBYTE[2:0]DFECTRL[1:0]EXTVREFRANGESELANALOGVREF
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:7 GAINCURRADJ[4:0]:

Adjusts gain current of RX amplifier stage. It is recommended to use default values for this bitfield.

Bits 6:4 MAJORMODEDBYTE[2:0]: Selection of the major mode of operation for the receiver

These settings are determined by PHY configuration based on DRAM protocol.

000: Input signal is terminated/referenced to \(V_{DDQ}/2\) (or unterminated).

010: Input signal is terminated/referenced to \(V_{SSQ}\).

011: Input signal is terminated/referenced to \(V_{DDQ}\).

Other: Reserved

Bits 3:2 DFECTRL[1:0]:

00: DFE off

01: DFE on

10: Train DFE0 amplifier

11: Train DFE1 amplifier

Note: These settings are determined by PHY training firmware, and must not be overridden.

Bit 1 EXTVREFRANGE: Extends the range available in the local per-bit VREF generator.

Bit 0 SELANALOGVREF:

Setting this bit forces the local per-bit \(V_{REF}\) generator to pass the global VREFA to the samplers.

14.5.15 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL1)

Address offset: 0x40128 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0400

Various controls of Rx DQS and Rx DQ cells.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.ENLPR
EQPDR
RXPAD
STANDBYEN
POWEDOW
NRCV
RDQS
POWERDOWNRCVR[8:0]
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bit 11 ENLPREQPD: not used

Bit 10 RXPADSTANDBYEN: Enables rxdq/rxdqs Standby power savings, per pad-group.

Bit 9 POWERDOWNRCVRDQS: Active high signal which powers down the receiver

After this bit is deasserted, the receiver cannot be used for a minimum of 100 ns.

This control powers down both upper and lower DQS receivers.

If X4TG = 0x0 in DDRPHYC_MASTER0_MASTERX4CONFIG, the upper DQS receiver is powered down.

Bits 8:0 POWERDOWNRCVR[8:0]: Active high signal which powers down the receiver

After this bitfield is deasserted, the receiver cannot be used for a minimum of 100 ns.

7:0 -> dq[7:0]

8 -> dbi

14.5.16 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL2)

Address offset: 0x40130 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0000

Control for an aggressive power-saving feature to power down DQ and DQS receiver cells dynamically.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENRXA
GRESS
IVEPDR
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 ENRXAGGRESSIVEPDR:

14.5.17 DDRPHYC TX ODT driver strength control register (DDRPHYC_DBYTEx_TXODTDRVSTREN_By)

Address offset: 0x40134+0x4000*x+0x400*y, (x = 0 to 1; y = 0 to 1)

Reset value: 0x0000 0000

Selects desired impedance value for Host ODT, per nibble. Must be set by user before PHY initialization. Setting for each protocol:

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.ODTSTRENN[5:0]ODTSTRENP[5:0]
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:6 ODTSTRENN[5:0]: ODT pull-down impedance selection

[ODTSTREN120N[2:0], ODTSTREN240N[1:0], ODTSTREN480N[0:0]]

000_00_0 = High impedance

000_00_1 = 480 Ω

000_01_0 = 240 Ω

000_01_1 = 160 Ω

001_00_0 = 120 Ω

001_00_1 = 96.0 Ω

001_01_0 = 80.0 Ω

001_01_1 = 68.6 Ω

011_00_0 = 60.0 Ω

011_00_1 = 53.3 Ω

011_01_0 = 48.0 Ω

011_01_1 = 43.6 Ω

111_00_0 = 40.0 Ω

111_00_1 = 36.9 Ω

111_01_0 = 34.3 Ω

111_01_1 = 32.0 Ω

111_11_0 = 30.0 Ω

111_11_1 = 28.2 Ω

Bits 5:0 ODTSTRENP[5:0]: ODT pull-up impedance selection
[ODTSTREN120P[2:0], ODTSTREN240P[1:0], ODTSTREN480P[0:0]]
000_00_0 = High impedance
000_00_1 = 480 Ω
000_01_0 = 240 Ω
000_01_1 = 160 Ω
001_00_0 = 120 Ω
001_00_1 = 96.0 Ω
001_01_0 = 80.0 Ω
001_01_1 = 68.6 Ω
011_00_0 = 60.0 Ω
011_00_1 = 53.3 Ω
011_01_0 = 48.0 Ω
011_01_1 = 43.6 Ω
111_00_0 = 40.0 Ω
111_00_1 = 36.9 Ω
111_01_0 = 34.3 Ω
111_01_1 = 32.0 Ω
111_11_0 = 30.0 Ω
111_11_1 = 28.2 Ω

14.5.18 DDRPHYC status of RX FIFO consistency checks register (DDRPHYC_DBYTEx_RXFIFOCHECKSTATUS)

Address offset: 0x40158 + 0x4000 * x, (x = 0 to 1)

Reset value: 0XXXXX XXXX

When a PhyRxFifoCheck interrupt is posted, these bits indicate which pair of FIFO pointers do not match as expected. The non-zero pointer values can be read from DDRPHYC_DBYTEx_RXFIFOCHECKERRVALUES. Setting PHYRXFIFOCHECKCLR in DDRPHYC_MASTER0_PHYINTERRUPTCLEAR clears these bits.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIF
OLOC
UERR
RXFIF
OLOC
ERR
rr

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 RXFIFOLOCUERR:

If this bit is set, the read pointer (DFI side) on the read FIFO associated with data bits [7:4] did not match. The write pointer (DQS side) on the read FIFO associated with data bits [7:4].

Bit 0 RXFIFOLOCERR:

If this bit is set, the read pointer (DFI side) on the read FIFO associated with data bits [3:0] did not match. The write pointer (DQS side) on the read FIFO associated with data bits [3:0].

ST logo
ST logo

14.5.19 DDRPHYC captured values associated with an RxFIFO consistency error register (DDRPHYC_DBYTEx_RXFIFOCHECKERRVALUES)

Address offset: 0x4015C + 0x4000 * x, (x = 0 to 1)

Reset value: 0xXXXX XXXX

Contains the value of the FIFO pointer for the first mismatch captured in DDRPHYC_DBYTEx_RXFIFOCHECKSTATUS. Setting PHYRXFIFOCHECKCLR in DDRPHYC_MASTER0_PHYINTERRUPTCLEAR clears these bits.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RXFIFOWRLOCUERRVALUE[3:0]RXFIFORDLOCUERRVALUE[3:0]RXFIFOWRLOCERRVALUE[3:0]RXFIFORDLOCERRVALUE[3:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 RXFIFOWRLOCUERRVALUE[3:0]: First error value captured for the write pointer (DQS side) on the read FIFO associated with data bits [7:4]

Bits 11:8 RXFIFORDLOCUERRVALUE[3:0]: First error value captured for the read pointer (DFI side) on the read FIFO associated with data bits [7:4]

Bits 7:4 RXFIFOWRLOCERRVALUE[3:0]: First error value captured for the write pointer (DQS side) on the read FIFO associated with data bits [3:0]

Bits 3:0 RXFIFORDLOCERRVALUE[3:0]: First error value captured for the read pointer (DFI side) on the read FIFO associated with data bits [3:0]

14.5.20 DDRPHYC data receive FIFO pointer values register (DDRPHYC_DBYTEx_RXFIFOINFO)

Address offset: 0x40160 + 0x4000 * x, (x = 0 to 1)

Reset value: 0xXXXX XXXX

Provides visibility of the read and write pointers of the Rx FIFOs for debug purposes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RXFIFOWRLOCU[3:0]RXFIFORDLOCU[3:0]RXFIFOWRLOC[3:0]RXFIFORDLOC[3:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 RXFIFOWRLOCU[3:0]: Mission mode write pointer of the upper-nibble Rx FIFO

Bits 11:8 RXFIFORDLOCU[3:0]: Mission mode read pointer of the upper-nibble Rx FIFO

Bits 7:4 RXFIFOWRLOC[3:0]: Mission mode write pointer of the lower-nibble Rx FIFO

Bits 3:0 RXFIFORDLOC[3:0]: Mission mode read pointer of the lower-nibble Rx FIFO

14.5.21 DDRPHYC Rx FIFO visibility register
(DDRPHYC_DBYTEx_RXFIFOVISIBILITY)

Address offset: 0x40164 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0000

Allows the contents of the data Rx FIFO to be read via RXFIFOCONTENTSDBI, RXFIFOCONTENTSDQ7654, RXFIFOCONTENTSDQ3210 bitfields. The FIFO must be quiescent (no actual operations in progress, while reading the FIFO): read from the Rx FIFO must be after the max-read-latency (DFIMRL) time.

Procedure to read the contents of the entire Rx FIFO:

  1. 1. Wait for any outstanding reads to complete (min 2*DFIMRL MemClks).
  2. 2. Read and store RXFIFOWRLOC[3:0] and RXFIFOWRLOCU[3:0] (must be equal).
  3. 3. Perform four BL8 memory reads.
  4. 4. Wait at least 2 * DFIMRL MemClks.
  5. 5. For (INIB = 0, INIB < 8, INIB++) - [
    1. a) MYRDPTR[2:0] = (stored RXFIFOWRLOC[3:0]>>1) + INIB (can wrap 7 to 0)
    2. b) Write addr = RXFIFOVISIBILITY, data = [RXFIFORDEN = 0, RXFIFORDPTROVR = 1, RXFIFORDPTR = myRdPtr]
    3. c) Write addr = RXFIFOVISIBILITY, data = [RXFIFORDEN = 1, RXFIFORDPTROVR = 1, RXFIFORDPTR = myRdPtr].
    4. d) Write addr = RXFIFOVISIBILITY, data = [RXFIFORDEN = 0, RXFIFORDPTROVR = 1, RXFIFORDPTR = myRdPtr].
    5. e) Wait for 8 DfiClk.
    6. f) Read addr = RXFIFOCONTENTSDBI.
    7. g) Read addr = RXFIFOCONTENTSDQ7654.
    8. h) Read addr = RXFIFOCONTENTSDQ3210.
    9. i) Unpack/align resulting data as described in descriptions of RXFIFOCONTENTS registers, and map according to the configuration of Dq<7..0>LnSel[2:0]. -].
  6. 6. Evaluate/compare with data that travels through normal read path (dfi_read_data_dbi,dfi_read_data).
  7. 7. Write [RXFIFORDEN = 0, RXFIFORDPTROVR = 0, RXFIFORDPTR = 0].
  8. 8. PHY is now available for normal mission-mode operation.
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFORDENRXFIFORDPTROVRRXFIFORDPTR[2:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bit 4 RXFIFORDEN:

Pulse [set 0-->1-->0] this bit to capture the FIFO contents.

Bit 3 RXFIFORDPTROVR:

This bit is programmable as follows:

0: Normal operation - Mission mode read pointer is enabled.

1: Override - Control of the Rx FIFO read pointer is ceded to this bit.

Bits 2:0 RXFIFORDPTR[2:0]:

If RXFIFORDPTROVR is set, this bitfield selects the Rx FIFO entry. This bitfield addresses 4-bit units of the 8x4b (32 entry) FIFO:

\(rdfifo\_nibble\_address[2:0] = RXFIFORDPTR[2:0]\).

For example, RXFIFORDPTR[2:0] = 2 enables reading bit-entries 11..8.

The exact location of read data depends on the prior history of reads and PHY initialization.

14.5.22 DDRPHYC Rx FIFO content DQ321x register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ3210)

Address offset: 0x40168 + 0x4000 * x, (x = 0 to 1)

Reset value: 0XXXXX XXXX

Rx FIFO contents, lane[3:0].

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RXFIFOCONTENTSDQ3210[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 RXFIFOCONTENTSDQ3210[15:0]: Window into the contents of the Rx FIFO, as controlled by RXFIFOVISIBILITY.

This bitfield reads 4 bits at a time from lane0..3, from the four FIFO entries addressed by \(rdfifo\_nibble\_address[2:0] = RXFIFORDPTR[2:0]\).

\([15:12] = [lane3\_ui3, lane3\_ui2, lane3\_ui1, lane3\_ui0]\) where ui0 is the first occurring bit

\([11:8] = [lane2\_ui3, lane2\_ui2, lane2\_ui1, lane2\_ui0]\)

\([7:4] = [lane1\_ui3, lane1\_ui2, lane1\_ui1, lane1\_ui0]\)

\([3:0] = [lane0\_ui3, lane0\_ui2, lane0\_ui1, lane0\_ui0]\)

Note: The DBYTE lane of a given index is not the same as a memory DQ of the same index unless the Dq<7..0>LnSel[2:0] have their default/reset value.

14.5.23 DDRPHYC Rx FIFO content DQ7654 register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ7654)

Address offset: 0x4016C + 0x4000 * x, (x = 0 to 1)

Reset value: 0xXXXX XXXX

Rx FIFO contents, lane[7:4].

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RXFIFOCONTENTSDQ7654[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 RXFIFOCONTENTSDQ7654[15:0]: Window into the contents of the Rx FIFO as controlled by RXFIFOVISIBILITY.

This bitfield reads 4 bits at a time from lane4..7 from the four FIFO entries addressed by rdfifo_nibble_address[2:0] = RXFIFORDPTR[2:0].

[15:12] = [lane7_ui3, lane7_ui2, lane7_ui1, lane7_ui0]

[11: 8] = [lane6_ui3, lane6_ui2, lane6_ui1, lane6_ui0]

[7: 4] = [lane5_ui3, lane5_ui2, lane5_ui1, lane5_ui0]

[3: 0] = [lane4_ui3, lane4_ui2, lane4_ui1, lane4_ui0]

Note: The DBYTE lane of a given index is not the same as a memory DQ of the same index unless the Dq<7..0>LnSel[2:0] have their default/reset value.

14.5.24 DDRPHYC Rx FIFO content DBI register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDBI)

Address offset: 0x40170 + 0x4000 * x, (x = 0 to 1)

Reset value: 0xXXXX XXXX

Rx FIFO contents, DBI.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RXFIFOCONTENTSDBI[3:0]
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.rrrr

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 RXFIFOCONTENTSDBI[3:0]: Window into the contents of the Rx FIFO, as controlled by RXFIFOVISIBILITY.

This bitfield reads 4 bits at a time from DBI, from the four FIFO entries addressed by rdfifo_nibble_address[2:0] = RXFIFORDPTR[2:0].

[3: 0] = [dbi_ui3, dbi_ui2, dbi_ui1, dbi_ui0]

Note: The DBYTE DBI lane is the same as the memory DBI; it is not subject to mapping using Dq<7..0>LnSel[2:0] as the DQ are.

14.5.25 DDRPHYC Tx slew rate controls register
(DDRPHYC_DBYTEx_TXSLEWRATE_By)

Address offset: 0x4017C+0x4000*x+0x400*y, (x = 0 to 1; y = 0 to 1)

Reset value: 0x0000 07FF

Controls slew rates of DQ/DQS drivers per nibble. Tx predriver cal trims driver timing to account for clock duty cycle variation.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.TXPREDRVMODE[2:0]TXPREN[3:0]TXPREP[3:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:8 TXPREDRVMODE[2:0]:

Controls predrivers to adjust timing of turn-on and turn-off of pull-up and pull-down segments.
Recommended settings:

Bits 7:4 TXPREN[3:0]: 4-bit binary trim for the driver pull -own slew rate

0000 has a slower slew rate than 1111.

Bits 3:0 TXPREP[3:0]: 4-bit binary trim for the driver pull-up slew rate

0000 has a slower slew rate than 1111.

14.5.26 DDRPHYC RxPBDlyTgx_r0 register
(DDRPHYC_DBYTEx_RXPBDLYTG0_Ry)

Address offset: 0x401A0+0x4000*x+0x400*y, (x = 0 to 1; y = 0 to 8)

Reset value: 0x0000 0000

Read DQ per-bit BDL delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RXPBDLYTG0_R0[6:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:0 RXPBDLYTG0_R0[6:0]: Read DQ per-bit BDL delay (timing group 0)

Trained to deskew the read DQ data that are sampled by the incoming per-nibble read DQS, to improve the composite eye. The unit of change is an LSB in the control of the delay circuit, and is not denominated in units of UI.

Note: Timing group 0 = RANK0.

14.5.27 DDRPHYC RxPBDlyTg1_rx register
(DDRPHYC_DBYTEx_RXPBDLYTG1_Ry)

Address offset: 0x401A4 + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 8)

Reset value: 0x0000 0000

Read DQ per-bit BDL delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RXPBDLYTG1_R0[6:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:0 RXPBDLYTG1_R0[6:0]: Read DQ per-bit BDL delay (timing group 1)

Note: Trained to deskew the read DQ data that are sampled by the incoming per-nibble read DQS, to improve the composite eye. The unit of change is a LSB in the control of the delay circuit, and is not denominated in units of UI. Timing group 1 = RANK1.

14.5.28 DDRPHYC RxEnDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXENDLYTG0_U0)

Address offset: 0x40200 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Trained receive enable delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.RXENDLYTG0_U0[10:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:0 RXENDLYTG0_U0[10:0]: Trained receive enable delay (timing group 0)
Trained to set the delay from the memory-read command to the signal enabling the read DQS to generate read-data strobes. The trained read DQS enable asserts during the read DQS preamble and deasserts at the end of the read burst.
- Bit[10:6]: Coarse delay (one unit of delay is 1 UI)
- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)
- Bit[5]: Reserved
Note: Timing group 0 = RANK0.

14.5.29 DDRPHYC RxEnDlyTg1_ux register
(DDRPHYC_DBYTEx_RXENDLYTG1_U0)

Address offset: 0x40204 + 0x4000 * x, (x = 0 to 1)
Reset value: 0x0000 0100
Trained receive enable delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.RXENDLYTG1_U0[10:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:0 RXENDLYTG1_U0[10:0]: Trained receive enable delay (timing group 1)
Trained to set the delay from the memory-read command to the signal enabling the read DQS to generate read-data strobes. The trained read DQS enable asserts during the read DQS preamble and deasserts at the end of the read burst.
- Bit[10:6]: Coarse delay (one unit of delay is 1 UI)
- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)
- Bit[5]: Reserved
Note: Timing group 1 = RANK1.

14.5.30 DDRPHYC RxClkDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXCLKDLYTG0_U0)

Address offset: 0x40230 + 0x4000 * x, (x = 0 to 1)
Reset value: 0x0000 0010
Trained read DQS to RxClk delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG0_U0[5:0]
rwrwrwrwrwrw
ST logo
ST logo

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKDLYTG0_U0[5:0]: Trained read DQS to RxClk delay (timing group 0)

Trained to generate read DQ receive clock from the received read DQS. RxClk Delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 0 = RANK0.

14.5.31 DDRPHYC RxClkDlyTg1_ux register
(DDRPHYC_DBYTEx_RXCLKDLYTG1_U0)

Address offset: 0x40234 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS to RxClk delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG1_U0[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKDLYTG1_U0[5:0]: Trained read DQS to RxClk delay (timing group 1)

Trained to generate read DQ receive clock from the received read DQS. RxClk Delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 1 = RANK1.

14.5.32 DDRPHYC RxClkcDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG0_U0)

Address offset: 0x40240 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS_c to RxClkc delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKCDLYTG0_U0[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKCDLYTG0_U0[5:0]: Trained read DQS_c to RxClkc delay (timing group 0)

Trained to generate read DQ receive clock from the received read DQS_c. RxClkc delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 0 = RANK0.

14.5.33 DDRPHYC RxClkcDlyTg1_ux register (DDRPHYC_DBYTEx_RXCLKCDLYTG1_U0)

Address offset: 0x40244 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS_c to RxClkc delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKCDLYTG1_U0[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKCDLYTG1_U0[5:0]: Trained read DQS_c to RxClkc delay (timing group 1)

Trained to generate read DQ receive clock from the received read DQS_c. RxClkc delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 1 = RANK1.

14.5.34 DDRPHYC DqLnSel register (DDRPHYC_DBYTEx_DQyLNSEL)

Address offset: 0x40280 + 0x4000 * x + 0x4 * y, (x = 0 to 1; y = 0 to 7)

Reset value: 0x0000 0000, 0x0000 0001, 0x0000 0002, 0x0000 0003, 0x0000 0004, 0x0000 0005, 0x0000 0006, 0x0000 0007

Maps PHY DQ lane to memory DQy.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DQyLNSEL[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 DQYLNSEL[2:0]:

Supports mapping of PHY DQ to DRAM DQ within a byte (swizzle). Intended to undo the swizzle of board-level phy-to-dram connections such that MRR operations of binary counters return correct values.

This bitfield is per-DBYTE such that the swizzle may be different per DBYTE.

Each bit in a byte set of DqyLnSel must have a unique value within the set.

For example, if, on a DBYTE, PHY lane 3 is connected to memory DQY (on this DBYTE), then DQYLNSEL[2:0] for this DBYTE must be 3.

14.5.35 DDRPHYC TxDqDlyTgx_r0 register
(DDRPHYC_DBYTEx_TXDQDLYTG0_Ry)

Address offset: 0x40300 + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 8)

Reset value: 0x0000 0010

Write DQ delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.TXDQDLYTG0_R0[8:0]
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:0 TXDQDLYTG0_R0[8:0]: Write DQ delay (timing group 0)

Trained to center the delay between the write DQ to the write DQS. Tx DQ delay (9 bits, includes 3-bit coarse and 6-bit fine delays).

- Bit[8:6]: Coarse delay (one unit of delay is 1 UI)

- Bit[4:0]: Fine (fractional UI) delay (one unit of delay is one-thirty second of a UI = UI/32)

Note: - Bit[5]: Reserved Timing group 0 = RANK0.

14.5.36 DDRPHYC TxDqDlyTg1_rx register
(DDRPHYC_DBYTEx_TXDQDLYTG1_Ry)

Address offset: 0x40304 + 0x4000 * x + 0x400 * y, (x = 0 to 1; y = 0 to 8)

Reset value: 0x0000 0010

Write DQ delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.TXDQDLYTG1_R0[8:0]
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:0 TXDQDLYTG1_R0[8:0]: Write DQ delay (timing group 1)

Trained to center the delay between the write DQ to the write DQS. Tx DQ Delay (9 bits, includes 3-bit coarse and 6-bit fine delays).

- Bit[8:6]: Coarse delay (one unit of delay is 1 UI)

- Bit[4:0]: Fine (fractional UI) delay (one unit of delay is one-thirty second of a UI = UI/32)

Note: - Bit[5]: Reserved Timing group 1 = RANK1.

14.5.37 DDRPHYC TxDqsDlyTgx_u0 register
(DDRPHYC_DBYTEx_TXDQSDLYTG0_U0)

Address offset: 0x40340 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Write DQS delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.TXDQSDLYTG0_U0[9:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bits 9:0 TXDQSDLYTG0_U0[9:0]: Write DQS delay (timing group 0)

Trained to set the delay from the memory-write command to the signal driving the write DQS. Tx DQS delay (10 bits, includes coarse and fine delays).

- Bit[9:6]: Coarse delay (one unit of delay is 1 UI)

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

Note: This register is per nibble, per timing-group. Timing group 0 = RANK0.

14.5.38 DDRPHYC TxDqsDlyTg1_ux register
(DDRPHYC_DBYTEx_TXDQSDLYTG1_U0)

Address offset: 0x40344 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Write DQS delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.TXDQSDLYTG1_U0[9:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bits 9:0 TXDQSDLYTG1_U0[9:0]: Write DQS delay (timing group 1)
Trained to set the delay from the memory-write command to the signal driving the write DQS.
Tx DQS delay (10 bits, includes coarse and fine delays).
- Bit[9:6]: Coarse delay (one unit of delay is 1 UI)
- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)
- Bit[5]: Reserved
Note: This register is per nibble, per timing-group. Timing group 1 = RANK1.

14.5.39 DDRPHYC debug status of the DBYTE LCDL register (DDRPHYC_DBYTEx_DXLCDLSTATUS)

Address offset: 0x40390 + 0x4000 * x, (x = 0 to 1)

Reset value: 0XXXXX XXXX

Status of DBYTE macro LCDL selected by LcdlStatusSel register, that is per DBYTE.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.DXLCDLLIVELOCKDXLCDLSTICKYUNLOCKDXLCDLSTICKYLOCKDXLCDLPHDSNAPVALDXLCDLFINESNAPVAL[9:0]
rrrrrrrrrrrrrr

Bits 31:14 Reserved, must be kept at reset value.

14.5.40 DDRPHYC RxEnDlyTgx_u1 register
(DDRPHYC_DBYTEx_RXENDLYTG0_U1)

Address offset: 0x40600 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Trained receive enable delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.RXENDLYTG0_U1[10:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:0 RXENDLYTG0_U1[10:0]: Trained receive enable delay (timing group 0)

Trained to set the delay from the memory-read command to the signal enabling the read DQS to generate read-data strobes. The trained read DQS enable asserts during the read DQS preamble and deasserts at the end of the read burst.

Note: Timing group 0 = RANK0.

14.5.41 DDRPHYC RxEnDlyTg1_u1 register
(DDRPHYC_DBYTEx_RXENDLYTG1_U1)

Address offset: 0x40604 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Trained receive enable delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.RXENDLYTG1_U1[10:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:0 RXENDLYTG1_U1[10:0]: Trained receive enable delay (timing group 1)

Trained to set the delay from the memory-read command to the signal enabling the read DQS to generate read-data strobes. The trained read DQS enable asserts during the read DQS preamble and deasserts at the end of the read burst.

Note: Timing group 1 = RANK1.

14.5.42 DDRPHYC RxClkDlyTgx_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG0_U1)

Address offset: 0x40630 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS to RxClk delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG0_U1[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKDLYTG0_U1[5:0]: Trained read DQS to RxClk delay (timing group 0)

Trained to generate read DQ receive clock from the received read DQS. RxClk delay (6 bits, fine delay only).

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 0 = RANK0.

14.5.43 DDRPHYC RxClkDlyTg1_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG1_U1)

Address offset: 0x40634 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS to RxClk delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG1_U1[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKDLYTG1_U1[5:0]: Trained read DQS to RxClk delay (timing group 1)

Trained to generate read DQ receive clock from the received read DQS. RxClk delay (6 bits, fine delay only).

There is no coarse delay field: the max configurable delay is 31/32 UI.

Note: Timing group 1 = RANK1.

14.5.44 DDRPHYC RxClkcDlyTgx_u1 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG0_U1)

Address offset: 0x40640 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS_c to RxClkc delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKCDLYTG0_U1[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKCDLYTG0_U1[5:0]: Trained read DQS_c to RxClkc delay (timing group 0)

Trained to generate read DQ receive clock from the received read DQS_c. RxClkc delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field (the max configurable delay is 31/32 UI).

Note: Timing group 0 = RANK0.

14.5.45 DDRPHYC RxClkcDlyTg1_u1 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG1_U1)

Address offset: 0x40644 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0010

Trained read DQS_c to RxClkc delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKCDLYTG1_U1[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 RXCLKCDLYTG1_U1[5:0]: Trained read DQS_c to RxClkc delay (timing group 1)

Trained to generate read DQ receive clock from the received read DQS_c. RxClkc delay (6 bits, fine delay only).

- Bit[4:0]: Fine delay (one unit of delay is one-thirty second of a UI = UI/32)

- Bit[5]: Reserved

There is no coarse delay field (the max configurable delay is 31/32 UI).

Note: Timing group 1 = RANK1.

14.5.46 DDRPHYC TxDqsDlyTgx_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG0_U1)

Address offset: 0x40740 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Write DQS delay (timing group 0).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.TXDQSDLYTG0_U1[9:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bits 9:0 TXDQSDLYTG0_U1[9:0]: Write DQS delay (timing group 0)

Trained to set the delay from the memory-write command to the signal driving the write DQS.

Tx DQS delay (10 bits, includes coarse and fine delays)

Note: This register is per nibble, per timing-group. Timing group 0 = RANK0.

14.5.47 DDRPHYC TxDqsDlyTg1_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG1_U1)

Address offset: 0x40744 + 0x4000 * x, (x = 0 to 1)

Reset value: 0x0000 0100

Write DQS delay (timing group 1).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.TXDQSDLYTG1_U1[9:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bits 9:0 TXDQSDLYTG1_U1[9:0]: Write DQS delay (timing group 1)

Trained to set the delay from the memory-write command to the signal driving the write DQS.

Tx DQS delay (10 bits, includes coarse and fine delays).

Note: This register is per nibble, per timing-group. Timing group 1 = RANK1.

14.5.48 DDRPHYC Rx FIFO pointer initialization control register (DDRPHYC_MASTER0_RXFIFOINIT)

Address offset: 0x80000

Reset value: 0x0000 0000

This register enables overrides of the PHY RXDATAFIFO pointers.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.INHIBITRXFIFORDRXFIFOINITPTR
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 INHIBITRXFIFORD: Reserved for training firmware use
Setting this inhibits reads of the PHYRXDATAFIFO.

Bit 0 RXFIFOINITPTR:

Setting this bit resets the PHY RXDATAFIFO read and write pointers. This bit must be cleared to return to normal operation. This is not required in normal operation, but can be used instead of a dfi_ctrlupdate (for controllers that do not support ctrlupdate).

14.5.49 DDRPHYC ForceClkDisable register (DDRPHYC_MASTER0_FORCECLKDISABLE)

Address offset: 0x80004

Reset value: 0x0000 0000

Clock gating control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FORCECLKDISABLE[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 FORCECLKDISABLE[3:0]:

This bitfield forces the gating of MEMCLKs driven from the PHY.

14.5.50 DDRPHYC ForceInternalUpdate register (DDRPHYC_MASTER0_FORCEINTERNALUPDATE)

Address offset: 0x8000C

Reset value: 0x0000 0000

This register used by training firmware to force an internal PHY update event.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FORCE
INTER
NALUP
DATE
rw

Bits 31:1 Reserved, must be kept at reset value.

14.5.51 DDRPHYC read-only displays PHY configuration register (DDRPHYC_MASTER0_PHYCONFIG)

Address offset: 0x80010

Reset value: 0xXXXX X128

Displays PHY configuration.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.PHYCONFIGDFI[1:0]PHYCONFIGBYTES[3:0]PHYCONFIGANIBS[3:0]
rrrrrrrrrr

Bits 31:10 Reserved, must be kept at reset value.

Bits 7:4 PHYCONFIGDBYTES[3:0]:

Returns the following value depending on the define:

Bits 3:0 PHYCONFIGANIBS[3:0]:

Returns the following value depending on the define:

14.5.52 DDRPHYC PHY general configuration register (DDRPHYC_MASTER0_PGCR)

Address offset: 0x80014

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLK
RISEF
ALLMO
DE
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 RXCLKRISEFALLMODE:

Controls independent training for RxClk_c and RxClk_t.

0: Independent training for RxClk_c and RxClk_t is disabled (default value).

1: Independent training for RxClk_c and RxClk_t is enabled.

14.5.53 DDRPHYC test bump control1 register (DDRPHYC_MASTER0_TESTBUMPCNTRL1)

Address offset: 0x8001C

Reset value: 0x0000 0B03

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
TESTPOWERGATEENTESTEXTVREFRANGETESTSELEXTERNALVREFTESTGAINCURRADJ[4:0]TESTANALOGOUTCTRL[3:0]TESTBIASBYPASSENTESTMAJORMODE[2:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 TESTPOWERGATEEN: Do not use, for debug only

Bit 14 TESTEXTVREFRANGE:

Setting this bit extends the VREF DAC range for debug.
Must be set to zero in mission mode when MemAlert is enabled.

Bit 13 TESTSELEXTERNALVREF: Do not use, for debug only

Bits 12:8 TESTGAINCURRADJ[4:0]:

Adjust gain and current of analog observe RX amplifier stage at analog test point.
Recommended mission mode default = 0x01011.

Bits 7:4 TESTANALOGOUTCTRL[3:0]: Reserved and returns zero on reads.

Bit 3 TESTBIASBYPASSEN: Do not use, for debug only

Bits 2:0 TESTMAJORMODE[2:0]:

Selects the major mode of operation for the receiver. These modes are mutually exclusive.
011: Setting for DDR4 systems to receive Alert_n
Others: Reserved

14.5.54 DDRPHYC impedance calibration clock ratio register (DDRPHYC_MASTER0_CALUCLKINFO)

Address offset: 0x80020

Reset value: 0x0000 0320

Informs the impedance calibration engine about frequency of DfiClk.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CALUCLKTICKSPER1US[10:0]
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

ST logo
ST logo

Bits 10:0 CALUCLKTICKSPER1US[10:0]:

Must be programmed to the number of DfiClks in 1 µs (rounded up), with minimum value of 24.

- if (DfiClk < 24MHz) CalUclkInfo = 24

- else CalUclkInfo = (number of DfiClks in 1 µs)

14.5.55 DDRPHYC test bump control register (DDRPHYC_MASTER0_TESTBUMPCNTRL)

Address offset: 0x80028

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.FORCE
MTEST
ONALE
RT
TESTBUMPDATASEL[5:0]TESTB
UMPT
OGGL
E
TESTBUMPEN[1:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bit 9 FORCEMTESTONALERT:

When set, this bit causes the digital observation output pin to be driven onto BP_ALERT_N.

Bits 8:3 TESTBUMPDATASEL[5:0]: RVSD

Bit 2 TESTBUMPTOGGLE:

Controls the output function of the signal. Digital observation pin, if available in the PHY configuration.

0: The output is tristate.

1: The output is selected by MtestMuxSel.

Bits 1:0 TESTBUMPEN[1:0]:

Controls the output function of the signal BP_ALERT_N.

TestBumpEn Value on [BP_ALERT_N] | output

00: High-z

01: Pllout-divided-by-2, works up to full data rate.

10: PllDigTst[1], works up to 400 MHz.

11: PllDigTst[1], works up to 400 MHz.

14.5.56 DDRPHYC Seq0BDLY0 register (DDRPHYC_MASTER0_SEQ0BDLY0)

Address offset: 0x8002C

Reset value: 0x0000 0000

PHY initialization engine (PIE) delay register 0.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SEQ0BDLY0[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SEQ0BDLY0[15:0]: PIE delay register 0

This bitfield is available for selection by the NOP and WAIT instructions in the PIE for the delay value. Programmed by dwc_ddrphy_phyinit_l_loadPIEImage() to support frequency changes.

Programming bit[3,2,1,0]:

Bit: Required delay | Programmed value

14.5.57 DDRPHYC Seq0BDLY1 register (DDRPHYC_MASTER0_SEQ0BDLY1)

Address offset: 0x80030

Reset value: 0x0000 0000

PIE delay register 1.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SEQ0BDLY1[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SEQ0BDLY1[15:0]: PIE delay register 1

This bitfield is available for selection by the NOP and WAIT instructions in the PIE for the delay value. Programmed by dwc_ddrphy_phyinit_l_loadPIEImage() to support frequency changes.

Programming bit[3,2,1,0]:

Bit: Required delay | Programmed value

14.5.58 DDRPHYC Seq0BDLY2 register (DDRPHYC_MASTER0_SEQ0BDLY2)

Address offset: 0x80034

Reset value: 0x0000 0000

PIE delay register 2

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SEQ0BDLY2[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SEQ0BDLY2[15:0]: PIE delay register 2

This bitfield is available for selection by the NOP and WAIT instructions in the PIE for the delay value. Programmed by dwc_ddrphy_phyinit_l_loadPIEImage() to support frequency changes.

Programming bit[3,2,1,0]:

Bit: Required delay | Programmed value

14.5.59 DDRPHYC Seq0BDLY3 register (DDRPHYC_MASTER0_SEQ0BDLY3)

Address offset: 0x80038

Reset value: 0x0000 0000

PIE delay register 3.

31302928272625242322212019181716
ResResResResResResResResResResResResResResResRes
1514131211109876543210
SEQ0BDLY3[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SEQ0BDLY3[15:0]: PIE delay register 3

This bitfield is available for selection by the NOP and WAIT instructions in the PIE for the delay value. Programmed by dwc_ddrphy_phyinit_l_loadPIEImage() to support frequency changes.

Programming bit[3,2,1,0]:

Bit: Required delay | Programmed value

14.5.60 DDRPHYC PHY alert status bit register (DDRPHYC_MASTER0_PHYALERTSTATUS)

Address offset: 0x8003C

Reset value: 0XXXXX XXXX

This read-only register represents the status of the ALERT_N pin to the PHY.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYALERT
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PHYALERT: Current state of ALERT_N

14.5.61 DDRPHYC setup intervals for DFI PHY master operation register (DDRPHYC_MASTER0_PPTTRAINSETUP)

Address offset: 0x80040

Reset value: 0x0000 0000

For LPDDR4 some tracking is required periodically using the DFI PHY MASTER interface. This register control the interval. Setting this register to 0 completely disables the MASTER. Programmed by dwc_ddrphy_phyinit_l_loadPIEImage() to support LPDDR4 DRAM drift compensation.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYMSTRMAXREQTOACK[2:0]PHYMSTRTRAININTERVAL[3:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:4 PHYMSTRMAXREQTOACK[2:0]: Max time from tdfi_phymstr_req asserted to tdfi_phymstr_ack asserted.

If the request is not acknowledged by this time, dfi_error is asserted.

000: Disable PHY MASTER.

001: Set tPHYMSTR_resp. = 512 MEMCLKs.

010: Set tPHYMSTR_resp. = 1024 MEMCLKs.

011: Set tPHYMSTR_resp. = 2048 MEMCLKs.

100: Set tPHYMSTR_resp. = 4096 MEMCLKs.

101: Set tPHYMSTR_resp. = 8192 MEMCLKs.

110: Set tPHYMSTR_resp. = 32768 MEMCLKs.

111: Reserved

Note: The above are nominal values. The actual values are reduced by \((2 + (DWC\_DDRPHY\_PIPE\_DFI\_MISC * MEMCLK/DfiCtIClk)) * 2\) This signal interacts with dfi_phyupd_req.

Bits 3:0 PHYMSTRTRAININTERVAL[3:0]: Time between the end of one training, and the start of the next.

As per section 11 of the preliminary DFI 4.0 Specification, V2, it is the max expected time from dfi_init_complete asserted to tdfi_phymstr_ack asserted.

0000: Disable PHY MASTER.

0001: PHY MASTER request interval = 524288 MEMCLKs.

0010: PHY MASTER request interval = 1048576 MEMCLKs.

0011: PHY MASTER request interval = 2097152 MEMCLKs.

0100: PHY MASTER request interval = 4194304 MEMCLKs.

0101: PHY MASTER request interval = 8388608 MEMCLKs.

0110: PHY MASTER request interval = 16777216 MEMCLKs.

0111: PHY MASTER request interval = 33554432 MEMCLKs.

1000: PHY MASTER request interval = 67108864 MEMCLKs.

1001: PHY MASTER request interval = 134217728 MEMCLKs.

1010: PHY MASTER request interval = 268435456 MEMCLKs.

Other: Reserved

14.5.62 DDRPHYC ATestMode control register
(DDRPHYC_MASTER0_ATESTMODE)

Address offset: 0x80048

Reset value: 0x0000 0000

Controls for address command loopback. This register is written by ATE firmware.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATESTMODESEL[2:0]ATEST
CLKEN
ATEST
PRBSE
N
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:2 ATESTMODESEL[2:0]: Master mode select for ATest (loopback)

000: Mission mode, all ATest disabled, loopback receivers powered down

001: External loopback mode [Single data rate pattern - dfi_cas sent to all lanes]

010: Internal loopback mode [Single data rate pattern]

011: Internal loopback mode [Double data rate pattern]

100: External loopback mode [Single data rate pattern - corresponding DFI signal sent to each lane]

Bit 1 ATESTCLKEN: Not used

Bit 0 ATESTPRBSEN:

Enables loopback PRBS7 testing of all the DDR output pins.

The asserting edge resets all the individual. TestPrbsErrCnt and there is no other reset for the TestPrbsErrCnt.

14.5.63 DDRPHYC TxCalBinP register
(DDRPHYC_MASTER0_TXCALBINP)

Address offset: 0x80050

Reset value: 0XXXXX XXXX

TX P impedance calibration observation

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINP[4:0]
rrrrr

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 TXCALBINP[4:0]: Binary result of the 31-bit thermometer pull-up code

14.5.64 DDRPHYC TxCalBinN register (DDRPHYC_MASTER0_TXCALBINN)

Address offset: 0x80054

Reset value: 0xXXXX XXXX

TX N impedance calibration observation

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINN[4:0]
rrrrr

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 TXCALBINN[4:0]: Binary result of the 31-bit thermometer pull-down code

14.5.65 DDRPHYC TX P impedance calibration override register (DDRPHYC_MASTER0_TXCALPOVR)

Address offset: 0x80058

Reset value: 0x0000 0000

Override values for TxCalBinP register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCAL
BINPO
VREN
TXCALBINPOVRVAL[4:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bit 5 TXCALBINPOVREN:

Bits 4:0 TXCALBINPOVRVAL[4:0]: Binary value which can override TXCALBINP bitfiled
Calibrator results if TXCALBINPOVREN bit is set.

14.5.66 DDRPHYC TX N impedance calibration override register (DDRPHYC_MASTER0_TXCALNOVR)

Address offset: 0x8005C

Reset value: 0x0000 0000

Override values for TXCALBINN bitfield.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCAL
BINNO
VREN
TXCALBINNOVRVAL[4:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bit 5 TXCALBINNOVREN:
1: Use the override value present in TXCALBINNOVRVAL bitfield.
0: reserved.

Bits 4:0 TXCALBINNOVRVAL[4:0]: Binary value which can override TXCALBINN bitfield
Calibrator results if TXCALBINNOVREN bit is set.

ST logo
ST logo

14.5.67 DDRPHYC enables for update and low-power interfaces for DFI0 and DFI1 register (DDRPHYC_MASTER0_DFIMODE)

Address offset: 0x80060

Reset value: 0x0000 0001

Each bit enables the PHY update, PHY MASTER update, and low-power logic for the respective interfaces.

There are three valid configurations:

This register interacts with the DWC_DDRPHY_DFI1_EXISTS define as follows:

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFI1O
VERRI
DE
DFI1E
NABLE
DFI0E
NABLE
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 DFI1OVERRIDE:

Controls the PHY logic associated with both DFI0 and DFI1.

Bit 1 DFI1ENABLE:

Enables operation for the PHY logic associated with DFI1.

Bit 0 DFI0ENABLE:

Enables operation for the PHY logic associated with DFI0.

14.5.68 DDRPHYC mode select register for MEMCLK/address/command tristate register (DDRPHYC_MASTER0_TRISTATEMODECA)

Address offset: 0x80064

Reset value: 0x0000 0000

This register is used to control the PHY dynamic address/command tristate feature, and the stopped MEMCLK state.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CKDISVAL[1:0]DDR2T
MODE
DISDY
NADRT
RI
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:2 CKDISVAL[1:0]:

The PHY provides four memory clocks (0 to 3).

Note: The non-toggling differential memory clock [CK_t[n],CK_c[n]] can be driven with any combination, LL,LH,HL,HH; the default [CK_t[n], CK_c[n]] = LH.

Bit 1 DDR2TMODE:

Must be set to 1 for dynamic tristate to work when CA bus is 2T or Geardown mode.
This bit has no effect when DISDYNADRTRI == 1.

Bit 0 DISDYNADRTRI:

When this bit is set, the dynamic tristate feature is disabled (on by default). This feature must be disabled for these modes:

When this bit =0 (default):

When in this mode, the controller must avoid sending the above patterns with any rank selected (for example: NOPs sent by the controller must have BA0 set to a non-zero value).

14.5.69 DDRPHYC MtestMuxSel register
(DDRPHYC_MASTER0_MTESTMUXSEL)

Address offset: 0x80068

Reset value: 0x0000 0000

Digital observation pin control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTESTMUXSEL[5:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 MTESTMUXSEL[5:0]:

Controls for the 64-1 mux for asynchronous data to the digital observation pin.

0x0: Drive 0 from this device (allows flat 'OR' of pass-through information).

0x01 to 0x1F: Select local data from AC/DBYTE/MASTER macro.

0x20: Drive 0 from PUB synth logic path into mux.

0x21 to 0x3F: Select local data from PUB AC/DBYTE/MASTER synthesized logic.

14.5.70 DDRPHYC MtestPgminfo register
(DDRPHYC_MASTER0_MTESTPGMINFO)

Address offset: 0x8006C

Reset value: 0x0000 0000

Digital observation pin program information for debug.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTEST
PGMIN
FO
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 MTESTPGMINFO:

This bit value can be driven onto the digital observation pin (no other hardware effect).

14.5.71 DDRPHYC dynamic power up/down control register
(DDRPHYC_MASTER0_DYNPWRDNUP)

Address offset: 0x80070

Reset value: 0x0000 0000

Register written by PIE and the data in here are overwritten.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DYNPOWERDOWN
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DYNPOWERDOWN:

14.5.72 DDRPHYC PMIEnable register
(DDRPHYC_MASTER0_PMIENABLE)

Address offset: 0x80074

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PMIENABLE
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PMIENABLE:

This bit is dynamically written by PIE during frequency changes and must not be written by the user.

14.5.73 DDRPHYC PhyTID register (DDRPHYC_MASTER0_PHYTID)

Address offset: 0x80078

Reset value: 0x0000 0000

PHY technology ID register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYTID[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 PHYTID[15:0]: Placeholder to store technology-specific information

14.5.74 DDRPHYC HwtMRL register (DDRPHYC_MASTER0_HWTMRL)

Address offset: 0x80080

Reset value: 0x0000 0006

HWT MaxReadLatency.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTMRL[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTMRL[4:0]: Master copy of MRL used by the PHY training firmware only

14.5.75 DDRPHYC DFI PhyUpdate request time counter register (DDRPHYC_MASTER0_DFIPHYUPD)

Address offset: 0x80084

Reset value: 0x0000 FF07

This register is used to determine the DFI update request interval (in MEMCLKs) and the maximum update response time. DFIPHYUPDCNT and DFIPHYUPDRESP must be chosen such that DFIPHYUPDCNT > DFIPHYUPDRESP

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIPHYUPDINTTHRESHOLD[3:0]DFIPHYUPDTHRESHOLD[3:0]DFIPHYUPD MODEDFIPHYUPDRESP[2:0]DFIPHYUPDCNT[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIPHYUPDINTTHRESHOLD[3:0]:

Similar to DFIPHYUPDTHRESHOLD except that, rather than affecting the Phy update request, this bitfield affects only the threshold used to generate the VT drift alarm interrupt. The actual threshold is twice what is specified in this bitfield.

Bits 11:8 DFIPHYUPDTHRESHOLD[3:0]:

0x0: Disable threshold-based Phy update requests when DFIPHYUPDMODE = 0x1.

In units of native-control phase units, minimum value is 1.

With DFIPHYUPDTHRESHOLD = 1, a master LCDL dithering between two values does not cause a Phy update request.

Bit 7 DFIPHYUPDMODE:

0: Deterministic timer-based Phy update requests. Enables multi-channel/multi-phy lockstep operation (default, recommended).

1: Non-deterministic threshold-based Phy update requests. Multi-channel/multi-phy operation not permitted, all requests must be acknowledged.

Bits 6:4 DFIPHYUPDRESP[2:0]:

Enforces the t_phyupd_resp time (max time allowed to the controller to respond to the request for a PHY update). A dfi_error is signaled if there is no acknowledgement of the update request within nMEMCLKs_phyupd_resp.

000: nMEMCLKs_phyupd_resp= 1024 MEMCLKs (default)

001: nMEMCLKs_phyupd_resp= 2048 MEMCLKs

010: nMEMCLKs_phyupd_resp= 4096 MEMCLKs

011: nMEMCLKs_phyupd_resp= 8192 MEMCLKs (not allowed in LPDDR4 mode)

Note: The above are nominal values. The actual values are reduced by (2 + (DWC_DDRPHY_PIPE_DFI_MISC * MEMCLK/DfiCtlClk)) * 2. Any code not enumerated above is reserved and must not be set. This signal interacts with dfi_phymstr_req.

ST logo
ST logo

Bits 3:0 DFIPHYUPDCNT[3:0]:
Controls the interval between the end of a PHY update transaction and a subsequent request.
0000: Disable timer-based PHY update when DFIPHYUPDMODE= 0.
0001: 16K MEMCLKs minus nMEMCLKs_phyupd_resp
0011: 32K MEMCLKs minus nMEMCLKs_phyupd_resp
0111: 64K MEMCLKs minus nMEMCLKs_phyupd_resp
1111: 128K MEMCLKs minus nMEMCLKs_phyupd_resp
Note: Any code not enumerated above is reserved and must not be set.

14.5.76 DDRPHYC PdaMrsWriteMode register (DDRPHYC_MASTER0_PDAMRSWRITEMODE)

Address offset: 0x80088

Reset value: 0x0000 0000

Controls the write DQ generation for Per-Dram-Addressing of MRS.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PDAMRSWRITEMODE
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PDAMRSWRITEMODE:
Controls the write DQ generation per the timing requirements on DQ signals used for Per-Dram-Addressing mode of MRS commands.
When asserted, the DQ are driven for an additional UI before the logical burst, and for an additional UI after the logical burst. The early UI has the value of first logical UI, and the late UI has the value of the last logical UI. The timing of the logical burst is unchanged.
No modification to TxDqDly bit is required or performed.
Note: It is strongly recommended to clear this bit after completing the MRS that clears MR3 A4 and for mission-mode writes, else required bubbles are larger and the power consumed is greater. See JEDEC MR3 A4, Per DRAM Addressability.

ST logo
ST logo

14.5.77 DDRPHYC DFIGEARDOWNCTL register
(DDRPHYC_MASTER0_DFIGEARDOWNCTL)

Address offset: 0x8008C

Reset value: 0x0000 0000

Controls whether dfi_geardown_en causes CS and CKE timing to change.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIGEARDOWNCTL[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 DFIGEARDOWNCTL[1:0]:

Bit[0] controls whether dfi_geardown_en causes chip-select (CS) timing to change.

0: CS timing is not dynamically modified with dfi_geardown_en.

1: CS is delayed by an additional 1UI dynamically when dfi_geardown_en==1.

Note: This bit must be set to zero if the PHY is not in DDR4 mode.

Bit[1] controls whether dfi_geardown_en causes clock-enable (CKE) timing to change.

0: CKE timing is not dynamically modified with dfi_geardown_en

1: CKE is delayed by an additional 1UI dynamically when dfi_geardown_en==1

Note: This bitfield must be set to zero if the PHY is not in DDR4 mode.

Address offset: 0x80090

Reset value: 0x0000 0008

For improved robustness in operating with DRAM timing drift, this register provides controls for the width of the write DQS preamble and postamble, and controls for the anticipated width of DQS preamble for reads.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.WDQS
EXTEN
SION
LP4ST
TCPRE
BRIDG
ERXEN
LP4PO
STAMB
LEEXT
LP4TG
LTWOT
CKTXD
QSPRE
POSITIONDFEINIT[2:0]TWOT
CKTXD
QSPRE
TWOT
CKRXD
QSPRE
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bit 8 WDQSEXTENSION:

When this bits is set, DQS_T and DQS_C are driven differentially to 0 and 1, respectively, before and after a write burst, except during a memory read transaction.

Note: Use of WDQSEXTENSION requires POdtTailWidth = 3 and POdtStartDelay = 00.

Bit 7 LP4STTCPREBRIDGERXEN: Used in LPDDR4 static-preamble mode to bridge the RxEn between two reads to the same timing group when the bubble is 1 memclk

LPDDR4 static-preamble mode is set in the DRAMs with MR1, OP[3] = 0.

Bit 6 LP4POSTAMBLEEXT:

In LPDDR4 mode, this bit must be set to extend the write postamble.

0: Half-memclk postamble, as in D4

1: One-and-one-half-memclk postamble

Note: See LPDDR4 Spec MR3, OP[1] WR PST, vendor-specific function.

Bit 5 LP4TGLTWOTCKTXDQSPRE: Used in LPDDR4 mode to modify the early preamble when TwoTckTxDqsPre = 1.

0: Level first-memclk preamble

1: Toggling first-memclk preamble

Bits 4:2 POSITIONDFEINIT[2:0]: For DDR4 PHY, only when receive DFE is enabled

0b010 is the nominal recommended value for leading edge used by receiver.

- Bit[2] = 1 causes Dfelnit to be asserted late.

- Bit[1] = 1 causes Dfelnit to be asserted at the nominal time.

- Bit[0] = 1 causes Dfelnit to be asserted early.

Bit 1 TWOTCKTXDQSPRE:

For LPDDR4, all write operations are 2nCK such that this control must be set to 1.

Bit 0 TWOTCKRXDQSPRE:

Widens the RxDqsEn window to allow larger drift in the incoming read DQS to take advantage of the larger/wider preamble generated by the DRAMs when D4 DRAMS are configured with DDR4 MR4 A11 read preamble = 1 for causing a 2nCK read preamble.

For LPDDR4, all read operations are 2nCK such that this control must be set to 1.

Note: The nominal trained-to-center point is earlier relative to the first strobing edge of DQS than when not in this mode.

14.5.79 DDRPHYC MasterX4Config register (DDRPHYC_MASTER0_MASTERX4CONFIG)

Address offset: 0x80094

Reset value: 0x0000 0000

DBYTE module controls to select X4 DRAM device mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.X4TG[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 X4TG[3:0]:

Set to 1 if this timing group/rank is x4 (as opposed to x8) memory.

xxx[1|0]: TxReqDest/RxReqDest 0 X4/X8.

xx[1|0]x: TxReqDest/RxReqDest 1 X4/X8.

x[1|0]xx: TxReqDest/RxReqDest 2 X4/X8.

[1|0]xxx: TxReqDest/RxReqDest 3 X4/X8.

Note: This bit must be written before dfi_init_start is asserted.

14.5.80 DDRPHYC write level feedback DQ observability selection register (DDRPHYC_MASTER0_WRLEVBITS)

Address offset: 0x80098

Reset value: 0x0000 0098

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.WRLEVFORDQSU[3:0]WRLEVFORDQSL[3:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 WRLEVFORDQSU[3:0]: DQ bit used for write levelization

0000: use DQ0

..

0111: use DQ7

1000: use |DQ[3:0]

1001: use |DQ[7:4]

1010: use |DQ[7:0]

Bits 3:0 WRLEVFORDQSL[3:0]: DQ bit used for write levelization

0000: use DQ0

..

0111: use DQ7

1000: use |DQ[3:0]

1001: use |DQ[7:4]

1010: use |DQ[7:0]

14.5.81 DDRPHYC EnableCsMulticast register (DDRPHYC_MASTER0_ENABLECSMULTICAST)

Address offset: 0x8009C

Reset value: 0x0000 0000

In DDR4 mode, this controls whether CS_N[3:2] must be multicast on CID[1:0].

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABLECSMULTICAST
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 ENABLECSMULTICAST:

14.5.82 DDRPHYC Acx4AnibDis register (DDRPHYC_MASTER0_ACX4ANIBDIS)

Address offset: 0x800B0

Reset value: 0x0000 0000

Disable for unused ACX nibbles.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.ACX4ANIBDIS[11:0]
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:0 ACX4ANIBDIS[11:0]:

ST logo
ST logo

14.5.83 DDRPHYC enable Read-DBI function in each DBYTE register (DDRPHYC_MASTER0_DMIPINPRESENT)

Address offset: 0x800B4

Reset value: 0x0000 0000

This register is used to instruct the PHY whether to enable the Read-DBI function on lane 8 of each DBYTE. Only the LPDDR4 and DDR4 protocols support the Read-DBI feature.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RDDBI
ENABL
ED
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 RDDBIENABLED:

This bit must be set if Read-DBI is enabled in a connected DDR4 or LPDDR4 device.

If set, the following DRAM MR must also be set [DDR4.MR5.A12 = 1 or LPDDR4.MR3.OP[7] = 1].

14.5.84 DDRPHYC ARdPtrInitVal register (DDRPHYC_MASTER0_ARDPTRINITVAL)

Address offset: 0x800B8

Reset value: 0x0000 0000

Address/command FIFO read pointer initial value

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ARDPTRINITVAL[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 ARDPTRINITVAL[3:0]: Initial pointer offset for the free-running FIFOs in the DBYTE and ACX4 hardips

The units of this bitfield are in UI. The pointer separation must be chosen to compensate for all sources of skew and drift of the PHY DFICLK and PCLK networks.

This bitfield must be programmed in Step C of the PHY Initialization sequence.

14.5.85 DDRPHYC DLL mode control for DBYTEs register
(DDRPHYC_MASTER0_DBYTEDLLMODECNTRL)

Address offset: 0x800E8

Reset value: 0x0000 0000

DLL mode control register in DBYTE modules.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DLLRX
PREA
MBLE
MODE
Res.
rw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 DLLRXPREAMBLEMODE:

This bit must be set to 1 if read DQS preamble contains a toggle, for example DDR4 or LPDDR4 read toggling preamble mode.

In LPDDR4, the PIE always sets this bit field to 0x1 for correct operation of the retraining algorithm.

Bit 0 Reserved, must be kept at reset value.

14.5.86 IDDRPHYC impedance calibration offsets control register
(DDRPHYC_MASTER0_CALOFFSETS)

Address offset: 0x80114

Reset value: 0x0000 0000

Safety register that can be used to correct systematic offsets from each calibration stage. It is not recommended to change these values from the default zero value.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.CALDRVPUTHOFFSET[3:0]CALDRVPDTHOFFSET[3:0]CALCMPR5OFFSET[5:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:14 Reserved, must be kept at reset value.

Bits 13:10 CALDRVPUTHOFFSET[3:0]:

Adjusts the driver pull-up calibration code.

Bits 9:6 CALDRVPDTHOFFSET[3:0]:

Adjusts the driver pull-down calibration code.

Bits 5:0 CALCMPR5OFFSET[5:0]:

Adjusts the offset-compensated DAC code for the cmpana circuit at VREF == 0.5 * VDDQ.

14.5.87 DDRPHYC SarInitVals register
(DDRPHYC_MASTER0_SARINITVALS)

Address offset: 0x8011C

Reset value: 0x0000 0127

This register specifies the initial value for the compensation engine. It is not recommended to change the default value.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.SARINITPEXT[2:0]SARINITNINT[2:0]SARINITOFFSET05[2:0]
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:6 SARINITPEXT[2:0]:

Specifies the SAR starting value for PEXT calibration. This is a 5-bit wide target.

Bits 5:3 SARINITNINT[2:0]:

Specifies the SAR starting value for NINT calibration. This is a 5-bit wide target.

Bits 2:0 SARINITOFFSET05[2:0]:

Specifies the SAR starting value for OFFSET05 calibration. This is an 8-bit wide target.

14.5.88 DDRPHYC CalPEExtOvr register
(DDRPHYC_MASTER0_CALPEXTOVR)

Address offset: 0x80124

Reset value: 0x0000 0000

Impedance calibration PExt override control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALPEXTOVR[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 CALPEXTOVR[4:0]:

If CALPEXTDIS is set, the value provided here by software is used instead of the automatically generated value which is visible via CalPEExt field.

This bitfield can only be written when the calibrator is not running.

14.5.89 DDRPHYC CalCmpr5Ovr register
(DDRPHYC_MASTER0_CALCMPR5OVR)

Address offset: 0x80128

Reset value: 0x0000 0000

Impedance calibration Cmpr 50 control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CALCMPR5OVR[7:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:0 CALCMPR5OVR[7:0]:

If CALCMPR5DIS is set, the value provided here by software is used instead of the automatically generated value which is visible via CalCmpr5 field.
This bitfield can only be written when the calibrator is not running.

14.5.90 DDRPHYC CalNIntOvr register
(DDRPHYC_MASTER0_CALNINTOVR)

Address offset: 0x8012C

Reset value: 0x0000 0000

Impedance calibration NInt override control.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALNINTOVR[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 CALNINTOVR[4:0]:

If the CALNINTDIS is set, the value provided here by software is used instead of the automatically generated value which is visible via CalNInt field.
This bitfield can only be written when the calibrator is not running.

14.5.91 DDRPHYC impedance calibration driver strength control register (DDRPHYC_MASTER0_CALDRVSTR0)

Address offset: 0x80140

Reset value: 0x0000 0000

For a given calibration target, this register specifies the drive strength(s) to be used. There is no encoding. The strength selected must match the external resistor value used for calibration.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CALDRVSTRPU50[3:0]CALDRVSTRPD50[3:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 CALDRVSTRPU50[3:0]:

Bits 3:0 CALDRVSTRPD50[3:0]:

14.5.92 DDRPHYC read data on-die termination timing control register (DDRPHYC_MASTER0_PROCODTTIMECTL)

Address offset: 0x80158

Reset value: 0x0000 001F

Controls timing of ProcOdt for DQ and DQS termination during reads (by PHY). Enabling and disabling of ProcOdt can be shifted with a granularity of 1UI. If WQSEXTENSION is enabled, this register must be set to 0x03. Otherwise, use the recommended settings based

on MEMCLK frequency and TwoTckRxDqsPre. This ensures that ProcOdt is enabled before the DQS preamble begins, and is not disabled until after the DQS postamble ends.

Recommended configuration if TwoTckRxDqsPre == 1:

Recommended configuration if TwoTckRxDqsPre == 0:

See related DDRPHYC_DBYTEy_TXODTDRVSTREN_By registers.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PODTTAILWIDTHEXT[1:0]PODTSTARTDELAY[1:0]PODTTAILWIDTH[1:0]
rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:4 PODTTAILWIDTHEXT[1:0]:

Controls the length of the tail of ProcOdt (units of UI). Controls the time from closing the window to receive DQS to ProcOdt deassertion. This bitfield can be set with values ranging from 0 to 3.

The aforementioned timing is defined as

(3 + PODTTAILWIDTH + PODTTAILWIDTHEXT - TwoTckRxDqsPre) UIs.

- It is recommended to use this bitfield as an extension to POdtTailWidth, and has a default value of 1. Note that this might not be the optimal value, since it is technology dependent.

Bits 3:2 PODTSTARTDELAY[1:0]:

Controls the start of ProcOdt (units of UI).

11: delay start 2 UI (maximum delay of start of ProcOdt)

10: delay start 1 UI

01: delay start 0 UI (default)

00: early by 1 UI

The time from ProcOdt assertion to open the window to receive DQS is than

(10 - PODTSTARTDELAY) UI. It can be up to 4 pclk smaller if small coarse delays are used (only at the lowest clock frequencies).

Bits 1:0 PODTTAILWIDTH[1:0]:

Controls the length of the tail of ProcOdt (units of UI). Controls the time from closing the window to receive DQS to ProcOdt deassertion. This bitfield can be set with values ranging from 0 to 3.

The aforementioned timing is defined as

(3 + PODTTAILWIDTH + PODTTAILWIDTHEXT - TwoTckRxDqsPre) UIs.

It is recommended to use this bitfield as the main timing configuration unit, with default value of 3. This may not be the optimal value, since it is technology dependent.

14.5.93 DDRPHYC MemAlert receiver configuration register (DDRPHYC_MASTER0_MEMALERTCONTROL)

Address offset: 0x8016C

Reset value: 0x0000 4000

Controls for the receiver for MemAlert (D4 parity or WCRC error) or, alternately, for ERR_n (D3 registered DIMM).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
MALERTFORCEERRORMALERTDISABLEVALMALERTRXENMALERTPUENMALERTPUSTREN[3:0]MALERTVREFEXTENMALERTVREFLEVEL[6:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 MALERTFORCEERROR:

When set, this bit state is used to force the parity error to memory.

Bit 14 MALERTDISABLEVAL:

When MALERTRXEN is not set, this bit state is used to drive dfi_alert_n.

Bit 13 MALERTRXEN:

This bit is programmable as follows:

0: Disable the receiver and send MALERTDISABLEVAL to dfi_alert_n.

1: Enable the receiver, and received data are forwarded to dfi_alert_n.

Bit 12 MALERTPUEN:

When set, this bit enables the pull-up termination on MALERT

Bits 11:8 MALERTPUSTREN[3:0]:

Controls the pull-up termination on MALERT.

This bitfield is programmable as follows:

Bit 7 MALERTVREFEXTEN:

When set for test/debug, this bit selects external \(V_{REF}\) source. It must not be set in mission mode.

Bits 6:0 MALERTVREFLEVEL[6:0]:

Sets the \(V_{REF}\) level of internal \(V_{REF}\) DAC, assuming the following mission mode settings:
[TestExtVrefRange, TestMajorMode] = 0011 or 0000.

The \(V_{REF}\) level chosen by the receiver follows the equation:

\[V_{REF} = V_{DDQ} * (0.51 + MALERTVREFLEVEL[6:0] * 0.00345).\]

The min/max values possible are:

14.5.94 DDRPHYC MemAlert receiver configuration register 2
(DDRPHYC_MASTER0_MEMALERTCONTROL2)

Address offset: 0x80170

Reset value: 0x0000 0000

Controls for the MemAlert output (dfi_alert_n) The DFI interface defines that the signal dfi_alert_n as a synchronous output on DFICLK. For some memory systems, this signal is

synchronized again elsewhere in the device. The synchronizer in the PHY is then useless (and simply added to the latency of observing an ALERT transition).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MALERT
TSYNC
BYPAS
S
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 MALERTSYNCBYPASS:

This bit is programmed as follows:

0: The phy drives dfi_alert_n with a synchronized value of the ALERT_N receiver.

1: The phy drives dfi_alert_n with the asynchronous value of the ALERT_N receiver.

14.5.95 DDRPHYC protection and control of BP_MemReset_L register (DDRPHYC_MASTER0_MEMRESETL)

Address offset: 0x80180

Reset value: 0x0000 0000

Controls the MemResetL output of the PHY. Intended to be used to protect/force the BP_MemReset_L output.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PROTE
CTME
MRES
ET
MEMR
ESETL
VALUE
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 PROTECTMEMRESET:

Controls the MemResetL output of the PHY. The state of the MemResetL is transfered to the PHY BP_MemReset_L output when this bit is set.

Bit 0 MEMRESETLVALUE:

Controls the MemResetL output of the PHY. The state of this bit is transfered to the PHY BP_MemReset_L output when PROTECTMEMRESET is set.

14.5.96 DDRPHYC PUBMODE - HWT Mux select register (DDRPHYC_MASTER0_PUBMODE)

Address offset: 0x801B8

Reset value: 0x0000 0000

Selects between HWT and DCT as source of memory transactions.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTMEMSRC
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 HWTMEMSRC:

When this bit is set, the mux that switches between DCT and HWT for the source of memory transactions is switched to HWT.

0: Control to the DCT

1: Control to the HWT

The transition can only be made when the FIFOs are all in Ptrlnit (all Ptrlnit signals are high).

14.5.97 DDRPHYC misc PHY status bits register (DDRPHYC_MASTER0_MISCPHYSTATUS)

Address offset: 0x801BC

Reset value: 0XXXXX XXXX

This read-only register represents the miscellaneous status of the PHY

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PORMEMRESETDCTSA NE
rr

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 PORMEMRESET:

Returns the active-high value used by the custom circuit which drives the memory reset signal. To comply with JEDEC specifications for memory reset, this signal powers on 1.

This signal is reset during the PHY initialization sequence.

Bit 0 DCTSANE:
Returns the status of the custom circuit which protects the MemResetL output of the PHY on the initial power-on or reset.
0: Hardware controls the MemResetL output.
1: The memory reset is being controlled by MEMRESESETLVALUE and PROTECTMEMRESET or dfi_reset_n.

14.5.98 DDRPHYC CoreLoopbackSel register (DDRPHYC_MASTER0_CORELOOPBACKSEL)

Address offset: 0x801C0
Reset value: 0x0000 0000
Controls whether the loopback path bypasses the final PAD node.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CORELOOPBACKSEL
rw

Bits 31:1 Reserved, must be kept at reset value.
Bit 0 CORELOOPBACKSEL:
This bit is controlled by the PHY test firmware. It enables core-side loopback operation of the PHY.
When set, the PHY PAD node is bypassed, and pre-pad node is selected for sampling by the PHY RX. Setting this bit enables full-speed loopback operation of the PHY regardless of the loading of the pad.
This bit must be set to 0x0 for mission mode operation (or pad-side loopback).

14.5.99 DDRPHYC DLL various training parameters register (DDRPHYC_MASTER0_DLLTRAINPARAM)

Address offset: 0x801C4
Reset value: 0x0000 0002
DLL training parameters

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EXTENDPHDTIME[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

ST logo
ST logo

Bits 1:0 EXTENDPHDTIME[1:0]: Used by the PHY firmware locking the LCDL delay cells
Number of extra DfiClk periods (= 4 * UI) for the DLL phase-detector outputs to become not-metastable

14.5.100 DDRPHYC HwtLpCsEnBypass register (DDRPHYC_MASTER0_HWTLPSENBYPASS)

Address offset: 0x801D0

Reset value: 0x0000 0000

CSn disable bypass for LPDDR4.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTLP
CSENB
YPASS
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 HWTLPSENBYPASS:

When set, this bit disables LpCsEn function for LPDDR4.

14.5.101 DDRPHYC DFI command/address mode register (DDRPHYC_MASTER0_DFICAMODE)

Address offset: 0x801D4

Reset value: 0x0000 0000

This register controls the PHY signal-to-bump-mapping mode. The default state is all bits 0. Setting bits changes the arch mode, and are required to be 1-hot. While all bits are present in all products, some are not always relevant as a particular DRAM type may not be supported. Irrelevant bits must always be set to 0. Programmed by dwc_ddrphy_phyinit_C_initPhyConfig() according to PHY configuration and DRAM type.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFID4
ALTCA
MODE
DFILP4
CAMO
DE
DFID4
CAMO
DE
DFILP3
CAMO
DE
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bit 3 DFID4ALTCAMODE: DDR4-Alt mode enable (only available in certain configurations)

0: D4-Alt mode disabled

1: D4-Alt mode enabled

14.5.102 DDRPHYC DLL lock state machine control register (DDRPHYC_MASTER0_DLLCONTROL)

Address offset: 0x801E0

Reset value: 0x0000 0003

This register is written by the PIE, and data in here are overwritten.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DLLREDLLREDLLRE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SETRSSETSLSETRE
VDAVELOCK
rwrwrw
Bit 2DLLRESETRSVD: Reserved
Bit 1DLLRESETSLAVE: Reserved.
Bit 0DLLRESETRELOCK: Used to reset the DDL/LCDL lock state machine
RM0506 Rev 2601/4831
ST logo
ST logo

14.5.103 DDRPHYC DLL update phase control register (DDRPHYC_MASTER0_PULSEDLLUPDATEPHASE)

Address offset: 0x801E4

Reset value: 0x0000 0000

This register is used only for test and for training. It is not used in PIE frequency change or power-state change. The CfgWE for this register causes an UpdatePhase (ClkPhase) for the DLL associated with the subfield enables.

Example to update the active phases of the DBYTE module DLLs (NOP for AC module DLLs):

io_write16(c0 | tMASTER | csr_CalAndPllConfig_ADDR,
csr_AlwaysEnCfgClk_MASK);
io_write16(cbrd | tANIB | csr_PulseDllUpdatePhase_ADDR,
csr_PulseDbyteDllUpdatePhase_MASK);
io_write16(cbrd | tANIB | csr_PulseDllUpdatePhase_ADDR, 0x0);
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.ALWAYS
SUPDA
TELCD
LPHAS
E
TRAIN
UPDAT
EPHAS
EONLO
NGBU
BBLE
UPDATEPHASEDESTRE
SERVED[2:0]
PULSE
ACADL
LUPDA
TEPHA
SE
PULSE
ACKDL
LUPDA
TEPHA
SE
PULSE
DBYTE
DLLUP
DATEP
HASE
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bit 7 ALWAYSUPDATELCDLPHASE:

Causes each new operation to reload the LcdlPhase, and increases bubbles.

Bit 6 TRAINUPDATEPHASEONLONGBUBBLE:

Causes LongBubble to update the DBYTE and ANIB LDCL phase. Can be used for training, but not to be used for mission mode.

Bits 5:3 UPDATEPHASEDESTRESERVED[2:0]: reserved, not used

Bit 2 PULSEACADLLUPDATEPHASE:

Causes an AC module CA (command/address/cke/odt) DLL phase update.

ST logo
ST logo

Bit 1 PULSEACKDLLUPDATEPHASE:

Causes an AC module CK (memck) DLL phase update. This bit must be set only when the memory CKE = 0 or memory RST = 0, or when there is no memory, as in tester mode.

Bit 0 PULSED BYTE DLL UPDATE PHASE:

Causes a LongBubble to the DBYTE modules, which causes an update of the DBYTE module DLLs (tx,rxen,rxclk).

14.5.104 DDRPHYC DLL gain control register (DDRPHYC_MASTER0_DLLGAINCTL)

Address offset: 0x801F0

Reset value: 0x0000 00A1

Controls for the DllGain sequencing for locking and maintaining lock of the LCDL delay cells.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.DLLSEEDSEL[3:0]DLLGAINTV[3:0]DLLGAINIV[3:0]
rwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:8 DLLSEEDSEL[3:0]: Reserved, must be configured to be 0.

Bits 7:4 DLLGAINTV[3:0]: Terminal value of DllGain (value in effect when locking is done), and value used for maintaining lock (tracking pclk variation)

DllGainTV must be greater than or equal to DllGainIV. The maximum value is 10.

Bits 3:0 DLLGAINIV[3:0]: Initial value of DllGain

14.5.105 DDRPHYC impedance calibration control register (DDRPHYC_MASTER0_CALRATE)

Address offset: 0x80220

Reset value: 0x0000 0009

Controls the impedance calibration engine in the PHY.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.DISAB
LEBAC
KGRO
UNDZ
QUPD
ATES
CALON
CE
CALRU
N
CALINTERVAL[3:0]
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

ST logo
ST logo

Bits 3:0 CALINTERVAL[3:0]: Interval between successive calibrations

0000: 0 ms (continuous)

0001: 0.010 ms

0010: 0.10 ms

0011: 1 ms

0100: 2 ms

0101: 3 ms

0110: 4 ms

0111: 8 ms

1000: 10 ms

1001: 20 ms

Others: Reserved

This bitfield must only be changed while the calibrator is idle (before CALRUN is set).

The calibration intervals are valid only at DFICLK frequency ≥ 24 MHz.

If the DFICLK frequency is less than 24 MHz, the interval cab be up to 2.4x larger than the value programmed in this bitfield.

14.5.106 DDRPHYC CalZap register (DDRPHYC_MASTER0_CALZAP)

Address offset: 0x80224

Reset value: 0x0000 0000

Impedance calibration zap/reset

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALZAP
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 CALZAP:

This bit is written by the PIE, and the data in here are overwritten. Setting this bit resets the calibrator to its idle state. This bit must be cleared for the calibration engine to run again.

14.5.107 DDRPHYC PState register (DDRPHYC_MASTER0_PSTATE)

Address offset: 0x8022C

Reset value: 0x0000 000C

PSTATE selection

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PSTATE[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 PSTATE[3:0]:

This bitfield is written by the PIE, and the data in here are overwritten.

The current PState inferred by the PIE from handshake requests on DFI status interface.

0000: PState P0

1100: LP2

1111: LP3

Others: Reserved

The lower two bits of this bitfield are used to select the PHY current PState for all PStateable registers.

Note: The value selected in either LP2 or LP3 is don't care because no transactions are taking place when in these states.

14.5.108 DDRPHYC PLL output control register (DDRPHYC_MASTER0_PLLOUTGATECONTROL)

Address offset: 0x80234

Reset value: 0x0000 0000

This register is written by the PIE, and the data in here are overwritten.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RESERVED2X1PCLKGATEEN
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 RESERVED2X1: Reserved

Bit 0 PCLKGATEEN: Reserved.

14.5.109 DDRPHYC PMU power-on reset control register (DDRPHYC_MASTER0_PORCONTROL)

Address offset: 0x80240

Reset value: 0x0000 0000

POR control (PLL/DLL lock done). This register is written by the PIE during PHY operation.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLDLLLOCKDONE
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PLLDLLLOCKDONE:

This bit is set by the PIE during execution, and cleared on PHY reset, or on power cycle.
When set, this bit releases control of PHY I/Os from power-on defaults.

Note: This is a legacy bit name and no longer represents when PHY internal PLL or DLL is locked.

14.5.110 DDRPHYC CalBusy register (DDRPHYC_MASTER0_CALBUSY)

Address offset: 0x8025C

Reset value: 0XXXXX XXXX

Impedance calibration busy status

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALBU
SY
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 CALBUSY:

Read 1 if the calibrator is actively calibrating. Any changes to calibrator-related bits can only be made if the calibrator is disabled (via CALRUN), and this bit is read as 0.

14.5.111 DDRPHYC misc impedance calibration control register (DDRPHYC_MASTER0_CALMISC2)

Address offset: 0x80260

Reset value: 0x0000 0004

Second set of miscellaneous impedance calibrator controls.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
RESER
VED15
CALSL
OWCM
PANA
CALCA
NCEL
R
OUND
ERRDI
S
CALCM
PTRRE
STRIM
RESER
VED11
RESERVED10X3[7:0]CALNUMVOTES[2:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 RESERVED15: Miscellaneous impedance calibration controls

ST logo
ST logo

14.5.112 DDRPHYC controls for disabling the impedance calibration of certain target register (DDRPHYC_MASTER0_CALMISC)

Address offset: 0x80268

Reset value: 0x0000 0000

Table of impedance calibration bit relatedness:

Target: OFFSET05

Target: NINT

Target: PEXT

Miscellaneous calibration control knobs. These values can only be changed when the calibrator is not running.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALPEXTDISCALNINTDISCALCMPR5DIS
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 CALPEXTDIS:

Setting this bit prevents the calibration engine from overwriting TXCALBINP and TXCALTHP with an automatically generated value, in which case a value must be supplied by software.

Bit 1 CALNINTDIS:

Setting this bit prevents the calibration engine from overwriting TXCALBIN and TXCALTHN with an automatically generated value, in which case a value must be supplied by software.

Bit 0 CALCMPR5DIS:

Setting this bit prevents the calibration engine from using the result from the CALCMPR5 stage of calibration. Software must supply a replacement value via CALCMPR5OVR.

14.5.113 DDRPHYC CalVRef register
(DDRPHYC_MASTER0_CALVREFS)

Address offset: 0x8026C

Reset value: 0x0000 0002

VREF code for comparator offset compensation

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALVREFS[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 CALVREFS[1:0]:

This bitfield drives the Cmpdig_CalRef pin of the cmpana cell at various stages of calibration. Following are the encoding values

10: 50% VREF (default)

Others: Reserved

14.5.114 DDRPHYC CalCmpr5 register
(DDRPHYC_MASTER0_CALCMPR5)

Address offset: 0x80270

Reset value: 0XXXXX XXXX

Impedance calibration Cmpr control

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.CALCMPR5[7:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:0 CALCMPR5[7:0]: Offset-compensated DAC code for the cmpana circuit at VREF = 0.5 * VDDQ.

14.5.115 DDRPHYC impedance calibration NInt control register
(DDRPHYC_MASTER0_CALNINT)

Address offset: 0x80274

Reset value: 0xXXXX XXXX

Observation of calibration engine pulldown calibration code

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALNINTTHB[4:0]
rrrrr

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 CALNINTTHB[4:0]: Number of thermometer bits which are set

14.5.116 DDRPHYC impedance calibration PExt control register
(DDRPHYC_MASTER0_CALPEXT)

Address offset: 0x80278

Reset value: 0xXXXX XXXX

Observation of calibration engine pull-up calibration code

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALPEXTTHB[4:0]
rrrrr

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 CALPEXTTHB[4:0]: Number of thermometer bits which are set

14.5.117 DDRPHYC impedance calibration Cmp invert control register
(DDRPHYC_MASTER0_CALCMPINVERT)

Address offset: 0x802A0

Reset value: 0x0000 0003

A safety bit for each calibration target, which controls the inversion (or not) of the comparator output before it is sampled. Writing 1 in one bit causes the comparator output to be inverted.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CMPIN
VERTC
ALODT
PU
CMPIN
VERTC
ALODT
PD
CMPIN
VERTC
ALDRV
PU50
CMPIN
VERTC
ALDRV
PD50
CMPIN
VERTC
ALDAC
50
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bit 4 CMPINVERTCALODTPU: Impedance calibration Cmp invert control

Bit 3 CMPINVERTCALODTPD: Impedance calibration Cmp invert control

Bit 2 CMPINVERTCALDRVPU50: Impedance calibration Cmp invert control

Bit 1 CMPINVERTCALDRVPD50: Impedance calibration Cmp invert control

Bit 0 CMPINVERTCALDAC50: calibration Cmp invert control

14.5.118 DDRPHYC impedance calibration Cmpana control register
(DDRPHYC_MASTER0_CALCMPANACNTRL)

Address offset: 0x802B8

Reset value: 0x0000 0112

This register controls the cmpana custom circuit analog. It is not recommended to change its values from the reset values.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.CMPR
BIASB
YPASS
EN
CMPR
GAINR
ESADJ
CMPRGAINCURRADJ[7:0]
rwrwrwrwrwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bit 9 CMPRBIASBYPASSEN: Impedance calibration Cmpana control

Bit 8 CMPRGAINRESADJ: Impedance calibration Cmpana control

Bits 7:0 CMPRGAINCURRADJ[7:0]: Impedance calibration Cmpana control

14.5.119 DDRPHYC maps dfi_rddata_cs_n to destination dimm timing group register (DDRPHYC_MASTER0_DFIRDDATACSDSTMAP)

Address offset: 0x802C0

Reset value: 0x0000 00E4

This register must be default values in LPDDR4 mode. Maps dfi_rddata_cs_n (read chip-select asserted low) to destination dimm timing group.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.DFIRDDESTM3[1:0]DFIRDDESTM2[1:0]DFIRDDESTM1[1:0]DFIRDDESTM0[1:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:6 DFIRDDESTM3[1:0]:

Maps dfi_rddata_cs_n[3] to destination DfiRdDestm3 timing.

For example, if 3 dfi_rddata_cs_n[3] uses Register Rx[En,Clk]DlyTg3 timing.

Bits 5:4 DFIRDDESTM2[1:0]:

Maps dfi_rddata_cs_n[2] to destination DfiRdDestm2 timing.

For example, if 2 dfi_rddata_cs_n[2] uses Register Rx[En,Clk]DlyTg2 timing.

Bits 3:2 DFIRDDESTM1[1:0]:

Maps dfi_rddata_cs_n[1] to destination DfiRdDestm1 timing.

For example, if 1 dfi_rddata_cs_n[1] uses Register Rx[En,Clk]DlyTg1 timing.

Bits 1:0 DFIRDDESTM0[1:0]:

Maps dfi_rddata_cs_n[0] to destination DfiRdDestm0 timing.

For example, if 0 dfi_rddata_cs_n[0] uses Register Rx[En,Clk]DlyTg0 timing.

14.5.120 PHY global VREF controls register (DDRPHYC_MASTER0_VREFINGLOBAL)

Address offset: 0x802C8

Reset value: 0x0000 0200

This register controls the PHY global VREF generator, and the PHY analog pad BP_VREF. The mission mode function of the PHY VREF generator is to generate VREFDQ for the PHY

RX function. This register is written and configured by the PHY training firmware for mission mode function.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.GLOBALVREFINMODEGLOBALVREFINTRIM[3:0]GLOBALVREFINDAC[6:0]GLOBALVREFINSEL[2:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:15 Reserved, must be kept at reset value.

Bit 14 GLOBALVREFINMODE: Reserved

Bits 13:10 GLOBALVREFINTRIM[3:0]: Reserved

Bits 9:3 GLOBALVREFINDAC[6:0]: DAC code for internal \(V_{REF}\) generation

The DAC has two ranges; the range is set by GLOBALVREFINSEL[2]

Range0: [GLOBALVREFINSEL[2] = 0] (TBD)

Range1: [GLOBALVREFINSEL[2] = 1]

Bits 2:0 GLOBALVREFINSEL[2:0]:

[1:0] controls the mode of the PHY \(V_{REF}\) DAC and the BP_VREF pin.

00: PHY \(V_{REF}\) DAC range0 -- BP_VREF = Hi-Z

01: Reserved

10: PHY \(V_{REF}\) DAC range0 -- BP_VREF connected to PLL analog bus

11: PHY \(V_{REF}\) DAC range0 -- BP_VREF connected to PHY \(V_{REF}\) DAC

[2] controls the DAC range for internal \(V_{REF}\) generation.

14.5.121 DDRPHYC maps dfi_rddata_cs_n to destination dimm timing group register (DDRPHYC_MASTER0_DFIWRDATAACSDESTMAP)

Address offset: 0x802D0

Reset value: 0x0000 00E4

This register must be default values in LPDDR4 mode Maps dfi_wrdata_cs_n (write chip-select asserted low) to destination dimm timing group. The full dfi interface has 72 values of dfi_wrdata_cs_n, with eight per byte. Byte db (0..8) uses values dfi_wrdata_cs_n[(db*8 + 7):(db*8 + 0)], and this register, which is per byte, to determine the

timing-control registers to use for the asserted chip-select. For simplicity, the subfield description does not include the byte offset for dfi_wrdata_cs_n.

Note: The example values below are the default/reset values. If this register is written to all zeroes, then all writes use register Tx[Dq,Dqs]Dlyd0 timing.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.DFIWRDESTM3[1:0]DFIWRDESTM2[1:0]DFIWRDESTM1[1:0]DFIWRDESTM0[1:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:6 DFIWRDESTM3[1:0]:

Maps dfi_wrdata_cs_n[3] to destination DfiWrDestm3 timing (use register Tx[Dq,Dqs]DlyTg3)
For example, if 3 dfi_wrdata_cs_n[0] uses register Tx[Dq,Dqs]DlyTg3 timing.

Bits 5:4 DFIWRDESTM2[1:0]:

Maps dfi_wrdata_cs_n[2] to destination DfiWrDestm2 timing
For example, if 2 dfi_wrdata_cs_n[0] uses register Tx[Dq,Dqs]DlyTg2 timing.

Bits 3:2 DFIWRDESTM1[1:0]:

Maps dfi_wrdata_cs_n[1] to destination DfiWrDestm1 timing
For example, if 1 dfi_wrdata_cs_n[0] uses register Tx[Dq,Dqs]DlyTg1 timing.

Bits 1:0 DFIWRDESTM0[1:0]:

Maps dfi_wrdata_cs_n[0] to destination DfiWrDestm0 timing
For example, if 0 dfi_wrdata_cs_n[0] uses register Tx[Dq,Dqs]DlyTg0 timing.

14.5.122 DDRPHYC MasUpdGoodCtr register
(DDPHYC_MASTER0_MASUPDGOODCTR)

Address offset: 0x802D4

Reset value: 0XXXXX XXXX

Counts successful PHY master interface updates (PPT, periodic phase training).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
MASUPDGOODCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 MASUPDGOODCTR[15:0]:

This bitfield increments whenever the memory controller acknowledges a PHY master interface request (a request for the PHY) to take over the DFI for PPT (as per section 11 of the Preliminary DFI 4.0 Specification Rev. 2). The counter saturates at max value 65535.

14.5.123 DDRPHYC PhyUpd0GoodCtr register
(DDRPHYC_MASTER0_PHYUPD0GOODCTR)

Address offset: 0x802D8

Reset value: 0XXXXX XXXX

Counts successful PHY-initiated DFI0 interface updates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYUPD0GOODCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 PHYUPD0GOODCTR[15:0]:

This bitfield increments whenever the memory controller acknowledges a PHY-initiated DFI0 interface update request. The counter saturates at max value 65535.

14.5.124 DDRPHYC PhyUpd1GoodCtr register
(DDRPHYC_MASTER0_PHYUPD1GOODCTR)

Address offset: 0x802DC

Reset value: 0XXXXX XXXX

Counts successful PHY-initiated DFI1 interface updates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYUPD1GOODCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 PHYUPD1GOODCTR[15:0]:

This bitfield increments whenever the memory controller acknowledges a PHY-initiated DFI1 interface update request. The counter saturates at max value 65535.

14.5.125 DDRPHYC CtlUpd0GoodCtr register
(DDRPHYC_MASTER0_CTLUPD0GOODCTR)

Address offset: 0x802E0

Reset value: 0xXXXX XXXX

Counts successful memory controller DFI0 interface updates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CTLUPD0GOODCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 CTLUPD0GOODCTR[15:0]:

This bitfield increments whenever the PHY acknowledges a memory controller-initiated DFI0 interface update request. The counter saturates at max value 65535.

14.5.126 DDRPHYC MasUpdFailCtr register
(DDRPHYC_MASTER0_MASUPDFAILCTR)

Address offset: 0x802E8

Reset value: 0xXXXX XXXX

Counts unsuccessful PHY master interface updates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
MASUPDFAILCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 MASUPDFAILCTR[15:0]:

This bitfield increments whenever the PHY asserts a PHY master interface request, but the memory controller does not acknowledge the request within the allowed interval (as per section 11 of the Preliminary DFI 4.0 Specification Rev. 2). The counter saturates at max value 65535.

14.5.127 DDRPHYC PhyUpd0FailCtr register
(DDRPHYC_MASTER0_PHYUPD0FAILCTR)

Address offset: 0x802EC

Reset value: 0xXXXX XXXX

Counts unsuccessful PHY-initiated DFI0 interface updates

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYUPD0FAILCTR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 PHYUPD0FAILCTR[15:0]:

This bitfield increments whenever the PHY asserts a DFI0 interface update request, but the memory controller does not acknowledge the request within the allowed interval (as per section 11 of the Preliminary DFI 4.0 Specification Rev. 2). The counter saturates at max value 65535.

14.5.128 DDRPHYC performance counter enable register
(DDRPHYC_MASTER0_HYPERFCTREABLE)

Address offset: 0x802F4

Reset value: 0x0000 0000

Each bit corresponds to one performance counter. Set the bit to enable the counter. Clearing the bit stops and clears the counter.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PHYUP
D1FAIL
CTL
PHYUP
D0FAIL
CTL
MASU
PDFAIL
CTL
CTLUP
D1GO
ODCTL
CTLUP
D0GO
ODCTL
PHYUP
D1GO
ODCTL
PHYUP
D0GO
ODCTL
MASU
PDGO
ODCTL
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bit 7 PHYUPD1FAILCTL: PHYUPD1FAILCTLR enable

Bit 6 PHYUPD0FAILCTL: PHYUPD0FAILCTLR enable

Bit 5 MASUPDFAILCTL: MASUPDFAILCTLR enable

Bit 4 CTLUPD1GOODCTL: CTLUPD1GOODCTLR enable

Bit 3 CTLUPD0GOODCTL: CTLUPD0GOODCTLR enable

Bit 2 PHYUPD1GOODCTL: PHYUPD1GOODCTLR enable

Bit 1 PHYUPD0GOODCTL: PHYUPD0GOODCTLR enable

ST logo
ST logo

Bit 0 MASUPDGOODCTL: MASUPDGOODCTLR enable

14.5.129 DDRPHYC PlIPwrDn register (DDRPHYC_MASTER0_PLLPWRDN)

Address offset: 0x8030C

Reset value: 0x0000 0001

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLPW
RDN
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PLLPWRDN:

This bit is written by the PIE, and the data in here are overwritten. It places the PLL in power down when asserted.

14.5.130 DDRPHYC PlIReset register (DDRPHYC_MASTER0_PLLRESET)

Address offset: 0x80310

Reset value: 0x0000 0001

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLRE
SET
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PLLRESET: Reserved

14.5.131 DDRPHYC PState dependent PLL control 2 register (DDRPHYC_MASTER0_PLLCTRL2)

Address offset: 0x80314

Reset value: 0x0000 0019

This register is to be programmed by bios or other means to set PLL charge-pump settings in various PStates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLREQSEL[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 PLLREQSEL[4:0]:

Adjusts the loop parameters to compensate for different VCO bias points, and input/output clock division ratios.

14.5.132 DDRPHYC PLL control 0 register (DDRPHYC_MASTER0_PLLCTRL0)

Address offset: 0x80318

Reset value: 0x0000 2008

This register is written by the PIE, and the data in here are overwritten.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PLLSP
ARECT
RL0
PLLLOCKPHSE
L[1:0]
PLLLO
CKCNT
SEL
PLLGE
ARSHI
FT
PLLRESERVED
10X9[1:0]
PLLSY
NCBUS
BYP
PLLSY
NCBUS
FLUSH
PLLSE
LDFIFR
EQRAT
IO
PLLBY
PASSM
ODE
PLLPR
ESET
PLLOU
TBYPE
N
PLLX2
MODE
PLLBY
PSEL
PLLST
ANDBY
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 PLLSPARECTRL0: Spare bits for PLL control

Bits 14:13 PLLLOCKPHSEL[1:0]: Lock detect phase selection

Bit 12 PLLLOCKCNTSEL: Lock detect counter selection

Bit 11 PLLGEARSHIFT: PLL fast re-locking mode

0: Normal mode (default)

1: Fast relock gear

Bits 10:9 PLLRESERVED10X9[1:0]: Reserved

Bit 8 PLLSYNCBUSBYP:

When asserted, bypasses the Pll SyncPulse, and uses a synchronizer of the same latency.

Bit 7 PLLSYNCBUSFLUSH:

Used to flush the syncbus logic of the PLL during PHY initialization or LP3 exit sequence.

Must only be toggled when syncbus is not used and PLOUTBYPEN is asserted.

Bit 6 PLLSELDIFREQRATIO: Reserved

Bit 5 PLLBYPASSMODE: PLL bypass clock mux control

If set, BypassPclk input is used as byp_pll1x_in clock for PLL (default 0).

Bit 4 PLLPRESET: PLL preset mode

Bit 3 PLLOUTBYPEN:

Controls the anti-glitch mux on the pllout_x1x2x4 path.

1: pllout_x1x2x4 = byp_pll1x_in

0: pllout_x1x2x4 = VCO (SCD) (selected by x2_mode)

Bit 2 PLLX2MODE:

Connects to x2_mode pins of PLL (pllout_x4x2 output frequency selection).

0: PLOUT_X4X2 output = 4*pll1x_in frequency

1: PLOUT_X4X2 output = 2*pll1x_in frequency

Bit 1 PLLBYPSEL: Reserved

Bit 0 PLLSTANDBY:

Connects directly to standby pin of the PLL. Puts PLL into Standby mode.

14.5.133 DDRPHYC PState dependent PLL control 1 register (DDRPHYC_MASTER0_PLLCTRL1)

Address offset: 0x8031C

Reset value: 0x0000 0020

This register is to be programmed by bios or other means to set PLL charge-pump settings in various PStates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PLLCPPROPCTRL[3:0]PLLCPINTCTRL[4:0]
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:5 PLLCPPROPCTRL[3:0]:

Connects directly to cp_prop_cntrl<3:0> of the PLL. Charge pump proportional current control.

Bits 4:0 PLLCPINTCTRL[4:0]:

Connects directly to cp_int_cntrl<4:0> in the PLL. Charge pump integrating current control.

14.5.134 DDRPHYC PLL testing control register (DDRPHYC_MASTER0_PLLTST)

Address offset: 0x80320

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PLLDIGTSTSEL[3:0]PLLANATSTSEL[3:0]PLLAN
ATSTE
N
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:5 PLLDIGTSTSEL[3:0]: Digital test mux select

Connects directly to pll_dig_test_sel<2:0> of PLL. Control bits are decoded to enable various digital test signals to be brought out via digital test pin (decode details below).

Byp | Sel | PlIDigTstOut[1] | PlIDigTstOut[0] | Description

Note: Fmax_dto=400 MHz

Bits 4:1 PLLANATSTSEL[3:0]:

Connects directly to pll_ana_test_sel<3:0> of PLL. Control bits are decoded to enable various analog test signals to be brought out via analog test pin (pll_analog_test) (decode details below).

PLLANATSTSEL: Pll Analog Pin Function: Description

0000: Hi-Z: This code must be set when the PLL is in normal use or when the digital test port is being used for accurate timing measurements.

0001: core: Override vmarg_ext with analog pin.

0010: core: Override regulator input with analog pin.

0011: core: Observe gd voltage on analog test pin.

0100: core: Observe vp voltage on analog test pin.

0101: core: Observe vph voltage on analog test pin.

0110: core: Observe vreg_cp voltage on analog test pin.

0111: core: Observe v2i current (~10uA) on analog test pin.

1000: core: Observe vreg_v2i voltage on analog test pin.

1001: core: Observe vbp voltage from current source on analog pin.

1010: core: Observe vbn voltage from current source on analog pin.

1011: core: NC

1100: core: NC

1101: VSS: 0v probe IR drop test

1110: VP: Core supply probe SCD IR drop test

1111: VPH: Core supply probe Refdiv IR drop test

Bit 0 PLLANATSTEN: Analog test port enable

Connects directly to pll_ana_test_en of PLL..

0: Analog test port disabled (hi-Z)

1: Analog test port enabled

14.5.135 DDRPHYC PllLockStatus register
(DDRPHYC_MASTER0_PLLLOCKSTATUS)

Address offset: 0x80324

Reset value: 0xXXXX XXXX

PLL pll_lock pin output

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLLOCKSTATUS
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PLLLOCKSTATUS: Directly connected to the pll_Lock output

When asserted, PLL macro has asserted the lock status. To avoid metastability issues, this bit must perform a majority-vote after reading this bit several times.

14.5.136 DDRPHYC PII TestMode register
(DDRPHYC_MASTER0_PLLTESTMODE)

Address offset: 0x80328

Reset value: 0x0000 0124

Additional controls for PLL CP/VCO modes of operation

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PLLTESTMODE[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 PLLTESTMODE[15:0]:

Default values for this bitfield must be used unless directed otherwise by Synopsys.

Directly connected to testmode[15:0] pin of PLL

14.5.137 DDRPHYC PLL control 3 register
(DDRPHYC_MASTER0_PLLCTRL3)

Address offset: 0x8032C

Reset value: 0x0000 01F0

It is recommended to use default values for this register. Otherwise, it can be programmed by bios or other means.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PLLEN
CAL
PLLFO
RCECA
L
PLLDACVALIN[4:0]PLLMAXRANGE[4:0]PLLSPARE[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 PLLENCAL:

0: The calibration does not run.

1: The calibration runs at standby rising edge.

Bit 14 PLLFORCECAL:

Connects directly to force_cal of PLL.

0: Previous stored value used

1: Forces the calibration code dacval_in<4:0> to be used at preset mode.

Bits 13:9 PLLDACVALIN[4:0]:

Connects directly to dacval_in<4:0> of PLL. If this bitfield is set, the calibration DAC input current setting can be forced at rising edge of preset.

Bits 8:4 PLLMAXRANGE[4:0]:

Connects directly to maxrange of PLL. Setting for saturation control of PLL.

Bits 3:0 PLLSPARE[3:0]: Spare bits

14.5.138 DDRPHYC PState dependent PLL control 4 register
(DDRPHYC_MASTER0_PLLCTRL4)

Address offset: 0x80330

Reset value: 0x0000 017F

This register is to be programmed by bios or other means to set PLL charge-pump settings in various PStates.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PLLCPPROPGSCTRL[3:0]PLLCPINTGSCTRL[4:0]
rwrwrwrwrwrwrwrwrw

Bits 31:9 Reserved, must be kept at reset value.

Bits 8:5 PLLCPPROPGSCTRL[3:0]:

Connects directly to cp_prop_gs_cntrl<3:0> of PLL. Charge pump proportional current control for fast relock and gearshift.

Bits 4:0 PLLCPINTGSCTRL[4:0]:

Connects directly to cp_int_gs_cntrl<4:0> in PLL. Charge pump integrating current control for fast relock and gearshift.

14.5.139 DDRPHYC PIIEndofCal register
(DDRPHYC_MASTER0_PILLENDFOCAL)

Address offset: 0x80334

Reset value: 0xXXXX XXXX

PLL eoc (end of calibration) output

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PILLENDFOCAL
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PILLENDFOCAL:

Directly connected to the PLL eoc output.

14.5.140 DDRPHYC PIIStandbyEff register
(DDRPHYC_MASTER0_PLLSTANDBYEFF)

Address offset: 0x80338

Reset value: 0xXXXX XXXX

PLL standby_eff (effective standby) output

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLST
ANDBY
EFF
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PLLSTANDBYEFF: State off PLL standby (in PHY LP2 states)

14.5.141 DDRPHYC PIIDacValOut register
(DDRPHYC_MASTER0_PLLDACVALOUT)

Address offset: 0x8033C

Reset value: 0xXXXX XXXX

PLL dacval_out output

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLDACVALOUT[4:0]
rrrrr

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 PLLDACVALOUT[4:0]:

Directly connected to the PLL dacval_out output. Used for observation of PLL DAC code

14.5.142 DDRPHYC LcdIDbgCntl register (DDRPHYC_MASTER0_LCDLDBGCNTL)

Address offset: 0x8038C

Reset value: 0x0000 0000

Controls for use in observing and testing the LCDLs.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
LCDLSTATUSSEL[3:0]LCDLTSTENABLELCDLFINESNAPLCDLFINEOVRLCDLFINEOVRVAL[8:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 LCDLSTATUSSEL[3:0]: Selection of the LCDL status

Selects the LCDL status from among the status for the 16 LCDLs in the DBYTE, for reading via DXLCDLSTATUS. Selects an LCDL from among the LCDLs in the ANIB for reading via ACLCDLSTATUS.

Bit 11 LCDLTSTENABLE: Debug/test operations enable

Ovr, Snap, StickyLock, StickyUnlock, and LiveLock status

Bit 10 LCDLFINESNAP: Latch enable for reading the present LCDL 1UI estimate code in LCDLFINESNAPVAL, and the present phase-detector value in LCDLPHDSNAPVAL.

Bit 9 LCDLFINEOVR:

Forces the value of the present LCDL 1UI estimate code to be LCDLFINEOVRVAL for all LCDLs.

Bits 8:0 LCDLFINEOVRVAL[8:0]: Value forced as the initial value while LCDLTSTENABLE = 1 and LCDLFINEOVR

After the deassertion of LCDLFINEOVR, the locking state-machine attempts locking.

ST logo
ST logo

14.5.143 DDRPHYC Debug status of the DBYTE LCDL register (DDRPHYC_MASTER0_ACLCDLSTATUS)

Address offset: 0x80390

Reset value: 0xXXXX XXXX

Status of ANIB macro LCDL selected by LCDLSTATUSSEL

Note: There is just one copy of this register, with the information from the implemented ANIBs multiplexed per LCDLSTATUSSEL.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.ACLCDLLIVELOCKACLCDLSTICKYUNLOCKACLCDLSTICKYLOCKACLCDLPHDSNAPVALACLCDLFINESNAPVAL[9:0]
rrrrrrrrrrrrrr

Bits 31:14 Reserved, must be kept at reset value.

Bit 13 ACLCDLLIVELOCK: Present value of whether the LCDL is locked
Valid when LCDLTSTENABLE = 1.

Bit 12 ACLCDLSTICKYUNLOCK: Latched value of whether the LCDL ever lost lock after the assertion of LCDLTSTENABLE.

Bit 11 ACLCDLSTICKYLOCK: Latched value of whether the LCDL ever achieved lock after the assertion of LCDLTSTENABLE.

Bit 10 ACLCDLPHDSNAPVAL: Value of the LCDL phase-detector output, latched by pulse on LCDLFINESNAP, while LCDLTSTENABLE = 1.

Bits 9:0 ACLCDLFINESNAPVAL[9:0]: Value of the LCDL 1UI estimate code, latched by pulse on LCDLFINESNAP, while LCDLTSTENABLE = 1. Index 9 is reserved for growth.

14.5.144 DDRPHYC CUSTPHYREV register (DDRPHYC_MASTER0_CUSTPHYREV)

Address offset: 0x803B4

Reset value: 0xXXXX XXXX

Customer settable PHY version number

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CUSTPHYREV[5:0]
rrrrrr

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 CUSTPHYREV[5:0]: Customer settable PHY version number

The value is derived from the define DWC_DDRPHY_CUST_PHYREV.

14.5.145 DDRPHYC PHYREV register (DDRPHYC_MASTER0_PHYREV)

Address offset: 0x803B8

Reset value: 0x0000 0100

Hardware version of this PHY, excluding the PUB

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYMJR[7:0]PHYMDR[3:0]PHYMNR[3:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:8 PHYMJR[7:0]: PHY major revision

Bits 7:4 PHYMDR[3:0]: PHY moderate revision

Bits 3:0 PHYMNR[3:0]: PHY minor update

14.5.146 DDRPHYC Start vector value for LP3-exit or init PIE sequence register (DDRPHYC_MASTER0_LP3EXITSEQ0BSTARTVECTOR)

Address offset: 0x803BC

Reset value: 0x0000 00DE

Programmed by dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes. Set the start vector to be used in LP3-exit or Init PIE sequence.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.LP3EXITSEQ0BSTARTVECPLLBY
PASSED[3:0]
LP3EXITSEQ0BSTARTVECPLLEN
ABLED[3:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 LP3EXITSEQ0BSTARTVECPLLBY
PASSED[3:0]
: PIE start vector value to be used for LP3 exit or init and target P-state has PLL bypassed

Bits 3:0 LP3EXITSEQ0BSTARTVECPLLENABLED[3:0]: PIE start vector value to be used for LP3 exit or init and target P-state has PLL enabled

14.5.147 DDRPHYC DFI frequency translation 0 register (DDRPHYC_MASTER0_DFIFREQXLAT0)

Address offset: 0x803C0

Reset value: 0x0000 0000

DFI frequency translation register 0, programmed by dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL3[3:0]DFIFREQXLATVAL2[3:0]DFIFREQXLATVAL1[3:0]DFIFREQXLATVAL0[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL3[3:0]: Sequencer start vector used when dfi_freq value is 3

Bits 11:8 DFIFREQXLATVAL2[3:0]: Sequencer start vector used when dfi_freq value is 2

Bits 7:4 DFIFREQXLATVAL1[3:0]: Sequencer start vector used when dfi_freq value is 1

Bits 3:0 DFIFREQXLATVAL0[3:0]: Sequencer start vector used when dfi_freq value is 0

14.5.148 DDRPHYC DFI frequency translation 1 register (DDRPHYC_MASTER0_DFIFREQXLAT1)

Address offset: 0x803C4

Reset value: 0x0000 0000

DFI frequency translation register 1, programmed by dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL7[3:0]DFIFREQXLATVAL6[3:0]DFIFREQXLATVAL5[3:0]DFIFREQXLATVAL4[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL7[3:0]: Sequencer start vector used when dfi_freq value is 7

Bits 11:8 DFIFREQXLATVAL6[3:0]: Sequencer start vector used when dfi_freq value is 6

Bits 7:4 DFIFREQXLATVAL5[3:0]: Sequencer start vector used when dfi_freq value is 5

Bits 3:0 DFIFREQXLATVAL4[3:0]: Sequencer start vector used when dfi_freq value is 4

14.5.149 DDRPHYC DFI frequency translation 2 register
(DDRPHYC_MASTER0_DFIFREQXLAT2)

Address offset: 0x803C8

Reset value: 0x0000 0000

DFI frequency translation register 2, programmed by
dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL11[3:0]DFIFREQXLATVAL10[3:0]DFIFREQXLATVAL9[3:0]DFIFREQXLATVAL8[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL11[3:0]: Sequencer start vector used when dfi_freq value is 11

Bits 11:8 DFIFREQXLATVAL10[3:0]: Sequencer start vector used when dfi_freq value is 10

Bits 7:4 DFIFREQXLATVAL9[3:0]: Sequencer start vector used when dfi_freq value is 9

Bits 3:0 DFIFREQXLATVAL8[3:0]: Sequencer start vector used when dfi_freq value is 8

14.5.150 DDRPHYC DFI frequency translation 3 register
(DDRPHYC_MASTER0_DFIFREQXLAT3)

Address offset: 0x803CC

Reset value: 0x0000 0000

DFI frequency translation register 3, programmed by
dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL15[3:0]DFIFREQXLATVAL14[3:0]DFIFREQXLATVAL13[3:0]DFIFREQXLATVAL12[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL15[3:0]: Sequencer start vector used when dfi_freq value is 15

Bits 11:8 DFIFREQXLATVAL14[3:0]: Sequencer start vector used when dfi_freq value is 14

Bits 7:4 DFIFREQXLATVAL13[3:0]: Sequencer start vector used when dfi_freq value is 13

Bits 3:0 DFIFREQXLATVAL12[3:0]: Sequencer start vector used when dfi_freq value is 12

14.5.151 DDRPHYC DFI frequency translation 4 register (DDRPHYC_MASTER0_DFIFREQXLAT4)

Address offset: 0x803D0

Reset value: 0x0000 0000

DFI frequency translation register 4, programmed by dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL19[3:0]DFIFREQXLATVAL18[3:0]DFIFREQXLATVAL17[3:0]DFIFREQXLATVAL16[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL19[3:0]: Sequencer start vector used when dfi_freq value is 19

Bits 11:8 DFIFREQXLATVAL18[3:0]: Sequencer start vector used when dfi_freq value is 18

Bits 7:4 DFIFREQXLATVAL17[3:0]: Sequencer start vector used when dfi_freq value is 17

Bits 3:0 DFIFREQXLATVAL16[3:0]: Sequencer start vector used when dfi_freq value is 16

14.5.152 DDRPHYC DFI frequency translation 5 register (DDRPHYC_MASTER0_DFIFREQXLAT5)

Address offset: 0x803D4

Reset value: 0x0000 0000

DFI frequency translation register 5, programmed by dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL23[3:0]DFIFREQXLATVAL22[3:0]DFIFREQXLATVAL21[3:0]DFIFREQXLATVAL20[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL23[3:0]: Sequencer start vector used when dfi_freq value is 23

Bits 11:8 DFIFREQXLATVAL22[3:0]: Sequencer start vector used when dfi_freq value is 22

Bits 7:4 DFIFREQXLATVAL21[3:0]: Sequencer start vector used when dfi_freq value is 21

Bits 3:0 DFIFREQXLATVAL20[3:0]: Sequencer start vector used when dfi_freq value is 20

14.5.153 DDRPHYC DFI frequency translation 6 register
(DDRPHYC_MASTER0_DFIFREQXLAT6)

Address offset: 0x803D8

Reset value: 0x0000 0000

DFI frequency translation register 6, programmed by
dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL27[3:0]DFIFREQXLATVAL26[3:0]DFIFREQXLATVAL25[3:0]DFIFREQXLATVAL24[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL27[3:0]: Sequencer start vector used when dfi_freq value is 27

Bits 11:8 DFIFREQXLATVAL26[3:0]: Sequencer start vector used when dfi_freq value is 26

Bits 7:4 DFIFREQXLATVAL25[3:0]: Sequencer start vector used when dfi_freq value is 25

Bits 3:0 DFIFREQXLATVAL24[3:0]: Sequencer start vector used when dfi_freq value is 24

14.5.154 DDRPHYC DFI frequency translation 7 register
(DDRPHYC_MASTER0_DFIFREQXLAT7)

Address offset: 0x803DC

Reset value: 0x0000 0000

DFI frequency translation register 7, programmed by
dwc_ddrphy_phyinit_C_initPhyConfig() to support frequency changes.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFIFREQXLATVAL31[3:0]DFIFREQXLATVAL30[3:0]DFIFREQXLATVAL29[3:0]DFIFREQXLATVAL28[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 DFIFREQXLATVAL31[3:0]: Sequencer start vector used when dfi_freq value is 31

Bits 11:8 DFIFREQXLATVAL30[3:0]: Sequencer start vector used when dfi_freq value is 30

Bits 7:4 DFIFREQXLATVAL29[3:0]: Sequencer start vector used when dfi_freq value is 29

Bits 3:0 DFIFREQXLATVAL28[3:0]: Sequencer start vector used when dfi_freq value is 28

14.5.155 DDRPHYC TxRdPtrInit register
(DDRPHYC_MASTER0_TXRDPTRINIT)

Address offset: 0x803E0

Reset value: 0x0000 0001

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXRDPTRINIT
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 TXRDPTRINIT:

This bit controls TxRdPtrInit, and is meant to be written by the PState sequencer as part of the power state switching sequence. It must be set once the transition to LP2 is complete, and as follows:

14.5.156 DDRPHYC DfInitComplete register
(DDRPHYC_MASTER0_DFIINITCOMPLETE)

Address offset: 0x803E4

Reset value: 0x0000 0000

DFI init complete control

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIINITCOMPLETE
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DFIINITCOMPLETE:

This bit directly controls DfInitComplete, and is meant to be written by the PState sequencer as part of the power state switching sequence. It must set once the transition to LP2 is complete. It must be cleared once the transition to an active PState is complete. It must be reset to a 0 on both warm and cold resets.

14.5.157 DDRPHYC DfiFreqRatio register
(DDRPHYC_MASTER0_DFIFREQRATIO)

Address offset: 0x803E8

Reset value: 0x0000 0001

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQRATIO[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 DFIFREQRATIO[1:0]: Ratio DfiCtlClk:MemClk

00 = 1:1 mode

01 = 1:2 mode

1x = 1:4 mode

When DWC_DDRPHY_FIXED_DFICTLCLK_RATIO is defined, this bitfield is ignored and 1:2 mode is selected.

14.5.158 DDRPHYC RxFifoCheck register
(DDRPHYC_MASTER0_RXFIFOCHECKS)

Address offset: 0x803EC

Reset value: 0x0000 0000

Enable more frequent consistency checks of the Rx FIFOs.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DOFREQUENT RXFIFOCHECKS
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DOFREQUENTRXFIFOCHECKS:

0: Read data FIFO pointer consistency checks are performed only during sideband transactions (phyupd, ctrlupd, lp_data, phymstr), or when dfi_init_start is asserted. This option relies upon intentional quiescing of the DFI interface in order for the check to be performed.

1: Read data FIFO consistency checks are performed as when this bit is 0, and also at the beginning of each break in read data traffic from the DRAM. This options provides the lowest latency in reporting of a discrepancy in the read data FIFO pointer values.

14.5.159 DDRPHYC MTestCombo output enable on core-side copy register (DDRPHYC_MASTER0_MTESTDTOCTRL)

Address offset: 0x803FC

Reset value: 0x0000 0000

If set, this register allows the MTestCombo observability signal to be routed out core-side through the dwc_ddrphy_dto pin

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTEST
DTOEN
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 MTESTDTOEN:

This bit is programmed as follows:

14.5.160 DDRPHYC MapCAA[0to7]toDfi register (DDRPHYC_MASTER0_MAPCAAxTODFI)

Address offset: 0x80400 + 0x4 * x (x = 0 to 7)

Reset value: 0x0000 0000, 0x0000 0001, 0x0000 0002, 0x0000 0003, 0x0000 0004, 0x0000 0005, 0x0000 0006, 0x0000 0007

Maps PHY CAA lane x from dfi0_address of the index of the register contents.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MAPCAATODFI[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:0 MAPCAATODFI[3:0]:

For LPDDR4 application, this bitfield maps a dfi0_address to CAA x. It is not used for DDR3 and DDR4 applications. Each bit must have a unique value within the set.

For example, if PHY CAA0 is mapped from dfi0_address[2], then MAPCAATODFI must be 2.

- LPDDR4 ACX3, ACX6, ACX10, ACX12 registers MAPCAA[0..5]toDfi are used.

14.5.161 DDRPHYC interrupt enable register (DDRPHYC_MASTER0_PHYINTERRUPTENABLE)

Address offset: 0x8046C

Reset value: 0x0000 0000

Enables various interrupts to appear in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS register. Only interrupts which are enabled by setting the appropriate bits in this register are observable in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS. If a 0 is written in a particular bit, the corresponding interrupt is not visible in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYHWRESERVEDEN[4:0]PHYRX
FIFOC
HECKE
N
PHYVTDRIFTAL
ARMEN[1:0]
PHYFWRESERVEDEN[4:0]PHYTR
NGFAI
LEN
PHYINI
TCMPL
TEN
PHYTR
NGCM
PLTEN
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:11 PHYHWRESERVEDEN[4:0]: Reserved

Bit 10 PHYRXFIFOCHECKEN: Rx FIFO pointer check interrupt enable

0: Interrupt not enabled

1: Interrupt enabled

Bits 9:8 PHYVTDRIFTALARMEN[1:0]: PHY VT drift alarm interrupt enable

0: Interrupt not enabled

1: Interrupt enabled

Bits 7:3 PHYFWRESERVEDEN[4:0]: Reserved

Bit 2 PHYTRNGFAILEN: PHY training failure interrupt enable

0: Interrupt not enabled

1: Interrupt enabled

Bit 1 PHYINITCMPLTEN: PHY initialization complete interrupt enable

0: Interrupt not enabled

1: Interrupt enabled

Bit 0 PHYTRNGCMPLTEN: PHY training complete interrupt enable

0: Interrupt not enabled

1: Interrupt enabled

14.5.162 DDRPHYC interrupt firmware control register (DDRPHYC_MASTER0_PHYINTERRUPTFWCONTROL)

Address offset: 0x80470

Reset value: 0x0000 0000

A 0-to-1 transition for any of the interrupts sets the corresponding bit location in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS, if the corresponding bit location in DDRPHYC_MASTER0_PHYINTERRUPTENABLE is set to 1.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PHYFWRESERVEDFW[4:0]PHYTRNGFAILFWPHYINITCMPLTFWPHYTRNGCMPLTFW
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:3 PHYFWRESERVEDFW[4:0]: Reserved

Bit 2 PHYTRNGFAILFW: PHY training failure firmware interrupt

Bit 1 PHYINITCMPLTFW: PHY initialization complete firmware interrupt

Bit 0 PHYTRNGCMPLTFW: PHY training complete firmware interrupt

14.5.163 DDRPHYC interrupt mask register (DDRPHYC_MASTER0_PHYINTERRUPTMASK)

Address offset: 0x80474

Reset value: 0x0000 0000

This register is used to mask various interrupts to prevent them from affecting the output pin dwc_ddrphy_int_n. Only interrupts which are not masked by clearing to 0 the corresponding bit in this register are able to affect the dwc_ddrphy_int_n output when asserted in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS. If a bit is set, the interrupt is still visible

in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS but this interrupt does not affect the output pin dwc_ddrphy_int_n.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYHWRESERVEDMSK[4:0]PHYRX
FIFOC
HECK
MSK
PHYVTDRIFTAL
ARMMSK[1:0]
PHYFWRESERVEDMSK[4:0]PHYTR
NGFAI
LMSK
PHYINI
TCMPL
TMSK
PHYTR
NGCM
PLTMS
K
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:11 PHYHWRESERVEDMSK[4:0]: Reserved

Bit 10 PHYRXFIFOCHECKMSK: Mask for the Rx FIFO pointers check interrupt

Bits 9:8 PHYVTDRIFTALARMMSK[1:0]: Mask for the PHY VT drift alarm interrupts

Bits 7:3 PHYFWRESERVEDMSK[4:0]: Reserved

Bit 2 PHYTRNGFAILMSK: Mask for the PHY training failure interrupt

Bit 1 PHYINITCMPLTMSK: Mask for the PHY initialization complete interrupt

Bit 0 PHYTRNGCMPLTMSK: Mask for the PHY training complete interrupt

14.5.164 DDRPHYC interrupt clear register
(DDRPHYC_MASTER0_PHYINTERRUPTCLEAR)

Address offset: 0x80478

Reset value: 0x0000 0000

This register clears various interrupts, and negates the output pin dwc_ddrphy_int_n if the cleared interrupt is the cause of the assertion of the output pin dwc_ddrphy_int_n. A 0-to-1

transition on a bit clears the corresponding interrupt, and causes the hardware to immediately clear the bit.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYHWRESERVEDCLR[4:0]PHYRX
FIFOC
HECKC
LR
PHYVTDRIFTAL
ARMCLR[1:0]
PHYFWRESERVEDCLR[4:0]PHYTR
NGFAI
LCLR
PHYINI
TCMPL
TCLR
PHYTR
NGCM
PLTCL
R
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:11 PHYHWRESERVEDCLR[4:0]: Reserved

Bit 10 PHYRXFIFOCHECKCLR: Rx FIFO pointers check interrupt clear

Bits 9:8 PHYVTDRIFTALARMCLR[1:0]: PHY VT drift alarm interrupt clear

Bits 7:3 PHYFWRESERVEDCLR[4:0]: Reserved

Bit 2 PHYTRNGFAILCLR: PHY training failure interrupt clear

Bit 1 PHYINITCMPLTCLR: PHY initialization complete interrupt clear

Bit 0 PHYTRNGCMPLTCLR: PHY training complete interrupt clear

14.5.165 DDRPHYC interrupt status register (DDRPHYC_MASTER0_PHYINTERRUPTSTATUS)

Address offset: 0x8047C

Reset value: 0XXXXX XXXX

This read-only register displays the current status of various PHY interrupts. The PHY is the only entity which can write to it. In order for a bit to become set in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS, the corresponding bit must be set in DDRPHYC_MASTER0_PHYINTERRUPTENABLE.

If an interrupt is set in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS and the corresponding bit in DDRPHYC_MASTER0_PHYINTERRUPTENABLE is cleared, the dwc_ddrphy_int_n output signal is asserted. Once the dwc_ddrphy_int_n output signal is asserted, it can only be negated when all unmasked interrupts in

DDRPHYC_MASTER0_PHYINTERRUPTSTATUS have been cleared by setting the corresponding bit in DDRPHYC_MASTER0_PHYINTERRUPTSTATUS.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PHYHWRESERVED[4:0]PHYRX
FIFOC
HECK
VTDRIFTALARM
[1:0]
PHYFWRESERVED[4:0]PHYTR
NGFAI
L
PHYINI
TCMPL
T
PHYTR
NGCM
PLT
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:11 PHYHWRESERVED[4:0]: Reserved

Bit 10 PHYRXFIFOCHECK:

A mechanism in the PHY checks the read FIFO pointers for consistency at times they are idle. If a check fails, this interrupt is asserted, and detailed status is in DDRPHYC_DBYTE0_RXFIFOCHECKSTATUS.

Bits 9:8 VTDRIFTALARM[1:0]: PHY VT drift alarm interrupt

Assertion of this interrupt indicates the number of tap points in the master DLL has shifted by an amount greater than 2*DFIPHYUPDINTTHRESHOLD. There is one bit for each master DLL, and they are fully independent of one another. See DFIPHYUPDINTTHRESHOLD[3:0] for additional information.

Bits 7:3 PHYFWRESERVED[4:0]: Reserved

Bit 2 PHYTRNGFAIL: PHY training failure interrupt

Assertion of this interrupt indicates there was an issue during training which did not allow the PHY to successfully complete the training.

Bit 1 PHYINITCMPLT: PHY initialization complete interrupt

Written by the user. Assertion of this interrupt is meant to indicate that the PIE has been fully loaded, and dfi_init_complete has been asserted.

Bit 0 PHYTRNGCMPLT: PHY training complete interrupt

Assertion of this interrupt indicates that the PHY has successfully trained the memory interface at all indicated frequencies, and is ready for the PIE to be loaded.

14.5.166 DDRPHYC HwtSwizzleHwtAddress0 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTADDRESSx)

Address offset: 0x80480 + 0x4 * x (x = 0 to 17)

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

ST logo
ST logo

Bits 4:0 HWT SWIZZLE HWT ADDRESS[4:0]:

This bitfield is used in DDR3/DDR4 mode where a user has remapped the DFI inputs to the PHY. It does not affect the mapping of these signals, or remaps the tristate properties of the bumps. However, when the user remaps the DFI signals, the HWT inputs must be mapped in a similar fashion using this bitfield.

Each remappable HWT has a bit associated with it. When the bit value is zero, the HWT is not remapped. When the register value is non-zero, the signal associated with the number below is mapped to the signal associated with the bit.

For example, if the value for the register associated with hwt_act_n (HwtSwizzleHwtActN) is set to 27, then hwt_parity_in is mapped to hwt_act_n.

These bits must always be 0 for LPDDR4. Some bits are used only for DDR3 or DDR4 (noted in the descriptions).

14.5.167 DDRPHYC HwtSwizzleHwtActN register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTACTN)

Address offset: 0x804C4

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTACTN[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTACTN[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details. Used only for DDR4.

14.5.168 DDRPHYC HwtSwizzleHwtBank0 register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK0)

Address offset: 0x804C8

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK0[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTBANK0[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.169 DDRPHYC HwtSwizzleHwtBank1 register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK1)

Address offset: 0x804CC

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK1[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTBANK1[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.170 DDRPHYC HwtSwizzleHwtBank2 register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK2)

Address offset: 0x804D0

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK2[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTBANK2[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details. Used only for DDR3.

14.5.171 DDRPHYC HwtSwizzleHwtBg0 register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTBG0)

Address offset: 0x804D4

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBG0[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTBG0[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details. Used only for DDR4.

14.5.172 DDRPHYC HwtSwizzleHwtBg1 register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTBG1)

Address offset: 0x804D8

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBG1[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTBG1[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details. Used only for DDR4.

14.5.173 DDRPHYC HwtSwizzleHwtCasN register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTCASN)

Address offset: 0x804DC

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTCASN[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTCASN[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.174 DDRPHYC HwtSwizzleHwtRasN register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTRASN)

Address offset: 0x804E0

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTRASN[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTRASN[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.175 DDRPHYC HwtSwizzleHwtWeN register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTWEN)

Address offset: 0x804E4

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTWEN[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTWEN[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.176 DDRPHYC HwtSwizzleHwtParityIn register
(DDRPHYC_MASTER0_HWTSWIZZLEHWTPARITYIN)

Address offset: 0x804E8

Reset value: 0x0000 0000

Signal swizzle selection for HWT swizzle

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTPARITYIN[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 HWTSWIZZLEHWTPARITYIN[4:0]:

See HWTSWIZZLEHWTADDRESS0[4:0] description for details.

14.5.177 DDRPHYC small delays on handshake signals register 0
(DDRPHYC_MASTER0_DFIHANDSHAKEDELAYS0)

Address offset: 0x804F0

Reset value: 0x0000 0000

Add assertion/deassertion delays on handshake signals. Logic assumes that DFI signal assertions exceed the programmed delays

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
CTRLUPDREQDELAY0[3:0]CTRLUPDACKDELAY0[3:0]PHYUPDREQDELAY0[3:0]PHYUPDACKDELAY0[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:12 CTRLUPDREQDELAY0[3:0]:

Adds 0-15 DfiClks of delay after the PHY completes all PHY update activities, before deasserting dfi0_ctrlupd_ack.

Bits 11:8 CTRLUPDACKDELAY0[3:0]:

Adds 0-15 DfiClks of delay after dfi0_ctrlupd_req asserts, before the PHY takes any action.

Bits 7:4 PHYUPDREQDELAY0[3:0]:

Adds 0-15 DfiClks of delay after the PHY completes all PHY update activities, before deasserting dfi0_phyupd_req.

Bits 3:0 PHYUPDACKDELAY0[3:0]:

Adds 0-15 DfiClks of delay after dfi0_phyupd_ack asserts, before the PHY takes any action (such as starting DDL calibration).

14.5.178 DDRPHYC small delays on handshake signals register 1
(DDRPHYC_MASTER0_DFIHANDSHAKEDELAYS1)

Address offset: 0x804F4

Reset value: 0x0000 0000

Add assertion/deassertion delays on handshake signals. Logic assumes that dfi signal assertions exceed the programmed delays

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.PHYUPDREQDELAY1[3:0]PHYUPDACKDELAY1[3:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 PHYUPDREQDELAY1[3:0]:
Adds 0-15 DfiClks of delay after the PHY completes all PHY update activities, before deasserting dfi1_phyupd_req.

Bits 3:0 PHYUPDACKDELAY1[3:0]:
Adds 0-15 DfiClks of delay after dfi1_phyupd_ack asserts, before the PHY takes any action (such as starting DDL calibration).

14.5.179 DDRPHYC remote impedance calibration status register (DDRPHYC_MASTER0_REMOTEIMPCAL)

Address offset: 0x804F8

Reset value: 0XXXXX XXXX

This register is written by hardware to provide information about remote impedance calibration status. Its value allows software to determine if the PHY acts as calibration slave (1) or master (0). If the PHY acts as calibration slave, this register can be checked to determine if calibration codes have been captured.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SLAVE CODE UPDAT EDCALIB SLAVE
rr

Bits 31:2 Reserved, must be kept at reset value.

ST logo
ST logo

14.5.180 DDRPHYC PhyInLP3 register (DDRPHYC_INITENG0_PHYINLP3)

Address offset: 0x2400A0

Reset value: 0x0000 0001

Indicator for PIE lower power 3 (LP3) status

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYIN
LP3
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 PHYINLP3:

This bit is set by the PIE once the LP3 entry sequence is completed. it is cleared during LP3 exit sequence. System software can read this bit for the status of the PIE.

14.5.181 DDRPHYC Ucclk and Hclk enable register (DDRPHYC_DRTUB0_UCCLKHCLKENABLES)

Address offset: 0x300200

Reset value: 0x0000 0003

Ucclk/Hclk enable. Ucclk and Hclk run at either DFICLK or are gated.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HCLKENUCCLKEN
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 HCLKEN:

When the training is complete (and assuming no further need for training hardware), this bit must be cleared to reduce power.

Bit 0 UCCLKEN:

When the training is complete (and assuming no further need for the microcontroller), this bit must be cleared to reduce power.

14.5.182 DDRPHYC CurPstate0b register (DDRPHYC_DRTUB0_CURPSTATE0B)

Address offset: 0x300204
Reset value: 0x0000 0000
PIE current PState value

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CURPSTATE0B[3:0]
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CURPSTATE0B[3:0]: PIE current PState
This bitfield is used to select values for writing by the PState sequencer. It is written at the beginning of the PState switch. It can also be used to reference which PState the sequencer thinks is in.

14.5.183 DDRPHYC CUSTPUBREV register (DDRPHYC_DRTUB0_CUSTPUBREV)

Address offset: 0x3003B4
Reset value: 0XXXXX XXXX
Customer settable PUB version number

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CUSTPUBREV[5:0]
rrrrrr

Bits 31:6 Reserved, must be kept at reset value.
Bits 5:0 CUSTPUBREV[5:0]: Customer settable PUB version number

ST logo
ST logo

14.5.184 DDRPHYC PUBREV register
(DDRPHYC_DRTUB0_PUBREV)

Address offset: 0x3003B8

Reset value: 0x0000 2420

Hardware version of this PUB, excluding the PHY

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PUBMJR[7:0]PUBMDR[3:0]PUBMNR[3:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:8 PUBMJR[7:0]: PUB major revision

Bits 7:4 PUBMDR[3:0]: PUB moderate revision

Bits 3:0 PUBMNR[3:0]: PUB minor revision

14.5.185 DDRPHYC MicroContMuxSel register
(DDRPHYC_APBONLY0_MICROCONTMUXSEL)

Address offset: 0x340000

Reset value: 0x0000 0000

PMU config mux select

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MICRO
CONT
MUXS
EL
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 MICROCONTMUXSEL:

Controls access to the PHY configuration registers.

1: Microcontroller/PIE has control of csr bus.

0: Microcontroller/PIE csr requests are ignored.

14.5.186 DDRPHYC PMU/controller protocol, controller read-only shadow register (DDRPHYC_APBONLY0_UCTSHADOWREGS)

Address offset: 0x340010

Reset value: 0XXXXX XXXX

This register is used for the mailbox protocol between the firmware and the system.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCTDATWRITEPROTSHADOWUCTWRITEPROTSHADOW
rr

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 UCTDATWRITEPROTSHADOW: Reserved

Bit 0 UCTWRITEPROTSHADOW:

0: The PMU has a message for the user.

14.5.187 DDRPHYC DctWriteOnly register (DDRPHYC_APBONLY0_DCTWRITEONLY)

Address offset: 0x3400C0

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DCTWRITEONLY[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 DCTWRITEONLY[15:0]: Reserved

14.5.188 DDRPHYC DctWriteProt register
(DDRPHYC_APBONLY0_DCTWRITEPROT)

Address offset: 0x3400C4

Reset value: 0x0000 0001

DCT downstream mailbox protocol

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCTW
RITEP
ROT
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DCTWRITEPROT:

By clearing this bit, the user acknowledges the receipt of the message.

14.5.189 DDRPHYC UctWriteOnlyShadow register
(DDRPHYC_APBONLY0_UCTWRITEONLYSHADOW)

Address offset: 0x3400C8

Reset value: 0XXXXX XXXX

Read-only view of the UctDatWriteOnly register (reserved for PHY training purpose)

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
UCTWRITEONLYSHADOW[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 UCTWRITEONLYSHADOW[15:0]:

Used to pass the message ID for major messages, and to pass the lower 16 bits for streaming messages.

14.5.190 DDRPHYC UctDatWriteOnlyShadow register
(DDRPHYC_APBONLY0_UCTDATWRITEONLYSHADOW)

Address offset: 0x3400D0

Reset value: 0xXXXX XXXX

Read-only view of the UctDatWriteOnly register (reserved for PHY training purpose)

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
UCTDATWRITEONLYSHADOW[15:0]
rrrrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 UCTDATWRITEONLYSHADOW[15:0]: Used to pass the upper 16 bits for streaming messages. Not used in passing major messages.

14.5.191 DDRPHYC DfiCfgRdDataValidTicks register
(DDRPHYC_APBONLY0_DFICFGRDDATAVALIDTICKS)

Address offset: 0x3400DC

Reset value: 0x0000 0006

Number of DfiClk ticks required for valid Rd Data register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFICFGRDDATAVALIDTICKS[5:0]
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.rwrwrwrwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bits 5:0 DFICFGRDDATAVALIDTICKS[5:0]: Round trip delay of a register read access
This value must not be changed from its reset value.

14.5.192 DDRPHYC reset and clock shutdown control register (DDRPHYC_APBONLY0_MICRORESET)

Address offset: 0x340264

Reset value: 0x0000 0001

Controls reset and clock shutdown on the local microcontroller.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RESET
TOMIC
RO
RSVD
MICRO
TESTW
AKEUP
STALLT
OMICR
O
rwrwrwrw

Bits 31:4 Reserved, must be kept at reset value.

Bit 3 RESETTOMICRO:

This bit is programmable as follows:

Note: This reset initializes the program counter to begin execution from the boot vector.
This reset also clears the interrupt sticky bits.

Bit 2 RSVDMICRO: Reserved

Bit 1 TESTWAKEUP: Reserved, must always be set to 0.

Bit 0 STALLTOMICRO:

This bit is programmable as follows:

This bit is used at power up to hold the program counter at the boot vector while bios loads the microcontroller program code. While stalled, the microcontroller clocks are gated off for power reduction.

14.5.193 DDRPHYC DfiInitCompleteShadow register
(DDRPHYC_APBONLY0_DFIINITCOMPLETESHADOW)

Address offset: 0x3403E8

Reset value: 0XXXXX XXXX

dfi_init_complete, controller read-only shadow

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIINIT
COMP
LETES
HADOW
r

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DFIINITCOMPLETESHADOW:

This bit presents a read-only view (a shadow) of DfiInitComplete which is used by the sequencer to control the state of dfi_init_complete.

While MICROCONTMUXSEL = 1, access to this bit does not steal config bus bandwidth. The microcontroller that is polling does not have any performance penalty.

14.5.194 DDRPHYC register map

Table 61. DDRPHYC register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x068 + 0x4000*x (x = 0 to 7)
Last address: 0x1C068
DDRPHYC_ANIBx_MTESTMUXSELRes.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.MTESTMUXSEL [5:0]
Reset value000000
0x06C-0x098ReservedReserved.
0x09C + 0x4000*x (x = 0 to 7)
Last address: 0x1C09C
DDRPHYC_ANIBx_AFORCEDRVCONTRes.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.AFORCEDRVCONT [3:0]
Reset value00000
0x0A0 + 0x4000*x (x = 0 to 7)
Last address: 0x1C0A0
DDRPHYC_ANIBx_AFORCETRICONRes.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.AFORCETRICON [3:0]
Reset value00000
0x0A4-0x108ReservedReserved.
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x10C + 0x4000*x (x = 0 to 7)
Last address: 0x1C10C
DDRPHYC_ANIBx_ATXIMPEDANCERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ADRVSTRENN [4:0]ADRVSTRENp [4:0]
Reset value1111111111
0x110-0x148ReservedReserved.
0x14C + 0x4000*x (x = 0 to 7)
Last address: 0x1C14C
DDRPHYC_ANIBx_ATESTPRBSERRRes.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.ATESTPRBSERR [3:0]
Reset valueXXXX
0x150ReservedReserved.
0x154 + 0x4000*x (x = 0 to 7)
Last address: 0x1C154
DDRPHYC_ANIBx_ATXSLEWRATERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATXPREDRVMODE [2:0]ATXPREN[3:0]ATXPREP[3:0]
Reset value1111111111
0x158 + 0x4000*x (x = 0 to 7)
Last address: 0x1C158
DDRPHYC_ANIBx_ATESTPRBSERRCNTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATESTPRBSERRCNT[15:0]
Reset valueXXXXXXXXXXXXXXX
0x15C-0x1FCReservedReserved.
0x200 + 0x4000*x (x = 0 to 7)
Last address: 0x1C200
DDRPHYC_ANIB0_ATXDLYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATXDLY[6:0]
Reset value0000000
0x204-0x3FFFCReservedReserved.
0x40000 + 0x4000*x (x = 0 to 1)
Last address: 0x44000
DDRPHYC_DBYTEx_DBYTEMISCModeRes.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.DBYTEDISABLERes.
Reset value0
0x40004-0x40064ReservedReserved.
0x40068 + 0x4000*x (x = 0 to 1)
Last address: 0x44068
DDRPHYC_DBYTEx_MTESTMUXSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MTESTMUXSEL [5:0]
Reset value0000000
0x4006C-0x4007CReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40080 + 0x4000*x (x = 0 to 1)
Last address: 0x44080
DDRPHYC_DBYTEx_DFIMRLRes.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.DFIMRL[4:0]
Reset value00110
0x40084-0x400FCReservedReserved.
0x40100 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 8)
Last address: 0x46100
DDRPHYC_DBYTEx_VREFDAC0_RyRes.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.VREFDAC0[6:0]
Reset value0000000
0x40104 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 1)
Last address: 0x44504
DDRPHYC_DBYTEx_TXIMPEDANCE_CTRL0_ByRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DRVSTRENDQN [5:0]DRVSTRENDQP [5:0]
Reset value11111111111
0x40108ReservedReserved.
0x4010C + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 1)
Last address: 0x4450C
DDRPHYC_DBYTEx_DQDQSRCV_CNTRL_ByRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GAINCURRADJ[4:0]MAJORMODEDBYTE [2:0]DFECTRL[1:0]EXTVREFRANGESELANALOGVREF
Reset value010110110000
0x40110-0x40124ReservedReserved.
0x40128 + 0x4000*x (x = 0 to 1)
Last address: 0x44128
DDRPHYC_DBYTEx_DQDQSRCV_CNTRL1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENLPREQPDRRXPADSTANDBYENPOWERDOWNRCVRDQSPOWERDOWNRCVR[8:0]
Reset value010000000000
0x4012C + 0x4000*x (x = 0 to 1)
Last address: 0x4412C
DDRPHYC_DBYTEx_TXIMPEDANCE_CTRL2_B0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DRVSTRENEQLODQN [5:0]DRVSTRENEQHQDQP [5:0]
Reset value000000000000
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40130 + 0x4000*x
(x = 0 to 1)
Last address: 0x4410C
DDRPHYC_DBYTEx
_DQDQSRCV
CNTRL2
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.ENRXAGRESSIVEPDR
Reset value0
0x40134 + 0x4000*x + 0x400*y
(x = 0 to 1;
y = 0 to 1)
Last address: 0x44534
DDRPHYC_DBYTEx
_TXODTDRVSTREN
_By
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ODTSTRENN[5:0]ODTSTRENP[5:0]
Reset value000000000000
0x40138-0x40154ReservedReserved.
0x40158 + 0x4000*x
(x = 0 to 1)
Last address: 0x44158
DDRPHYC_DBYTEx
_RXFIFOCHECK
STATUS
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.RXFIFOLOCUERRRXFIFOLOCERR
Reset valueXX
0x4015C + 0x4000*x
(x = 0 to 1)
Last address: 0x4415C
DDRPHYC_DBYTEx
_RXFIFOCHECKER
RVALUES
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOWRLOCUERRVALUE
[3:0]
RXFIFORDLOCUERRVALUE
[3:0]
RXFIFOWRLOCERRVALUE
[3:0]
RXFIFORDLOCERRVALUE
[3:0]
Reset valueXXXXXXXXXXXXXXXX
0x40160 + 0x4000*x
(x = 0 to 1)
Last address: 0x44160
DDRPHYC_DBYTEx
_RXFIFOINFO
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOWRLOCU
[3:0]
RXFIFORDLOCU
[3:0]
RXFIFOWRLOC
[3:0]
RXFIFORDLOC
[3:0]
Reset valueXXXXXXXXXXXXXXXX
0x40164 + 0x4000*x
(x = 0 to 1)
Last address: 0x44164
DDRPHYC_DBYTEx
_RXFIFOVISIBILITY
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.RXFIFORDENRXFIFORDPTROVRRXFIFORDPTR[2:0]
Reset value00000
0x40168 + 0x4000*x
(x = 0 to 1)
Last address: 0x44168
DDRPHYC_DBYTEx
_RXFIFOCONTENTS
DQ3210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTSDQ3210[15:0]
Reset valueXXXXXXXXXXXXXXXX

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x4016C + 0x4000*x (x = 0 to 1)
Last address: 0x4416C
DDRPHYC_DBYTEx_RXFIFOCONTENTS_DQ7654Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTS_DQ7654[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x40170 + 0x4000*x (x = 0 to 1)
Last address: 0x44170
DDRPHYC_DBYTEx_RXFIFOCONTENTS_DBIRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTS_DBI[3:0]
Reset value----
0x40174-0x40178ReservedReserved.
0x4017C + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 1)
Last address: 0x4457C
DDRPHYC_DBYTEx_TXSLEWRATE_ByRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXPREDRV_MODE[2:0]TXPREN[3:0]TXPREP[3:0]
Reset value111111111111111
0x40180-0x4019CReservedReserved.
0x401A0 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 8)
Last address: 0x461A0
DDRPHYC_DBYTEx_RXPBDLYTG0_RyRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXPBDLYTG0_R0[6:0]
Reset value0000000
0x401A4 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 8)
Last address: 0x461A4
DDRPHYC_DBYTEx_RXPBDLYTG1_RyRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXPBDLYTG1_R0[6:0]
Reset value0000000
0x401A8-0x401FCReservedReserved.
0x40200 + 0x4000*x (x = 0 to 1)
Last address: 0x44200
DDRPHYC_DBYTEx_RXENDLYTG0_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXENDLYTG0_U0[10:0]
Reset value001000000000000
0x40204 + 0x4000*x (x = 0 to 1)
Last address: 0x44204
DDRPHYC_DBYTEx_RXENDLYTG1_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXENDLYTG1_U0[10:0]
Reset value001000000000000
0x40208-0x4022CReservedReserved.
0x40230 + 0x4000*x (x = 0 to 1)
Last address: 0x44230
DDRPHYC_DBYTEx_RXCLKDLYTG0_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG0_U0[5:0]
Reset value010000
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40234 + 0x4000*x (x = 0 to 1)
Last address: 0x44234
DDRPHYC_DBYTEx_RXCLKDLYTG1_U0Res.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.RXCLKDLYTG1_U0[5:0]
Reset value010000
0x40238-0x4023CReservedReserved.
0x40240 + 0x4000*x (x = 0 to 1)
Last address: 0x44240
DDRPHYC_DBYTEx_RXCLKCDLYTG0_U0Res.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.RXCLKCDLYTG0_U0[5:0]
Reset value010000
0x40244 + 0x4000*x (x = 0 to 1)
Last address: 0x44244
DDRPHYC_DBYTEx_RXCLKCDLYTG1_U0Res.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.RXCLKCDLYTG1_U0[5:0]
Reset value010000
0x40248-0x4027CReservedReserved.
0x40280 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 7)
Last address: 0x4429C
DDRPHYC_DBYTEx_DQyLNSELRes.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.DQ0LNSEL[2:0]
Reset value000
0x40300 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 8)
Last address: 0x46300
DDRPHYC_DBYTEx_TXDQDLYTG0_RyRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQDLYTG0_R0[8:0]
Reset value000010000
0x40304 + 0x4000*x + 0x400*y (x = 0 to 1; y = 0 to 8)
Last address: 0x46304
DDRPHYC_DBYTEx_TXDQDLYTG1_RyRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQDLYTG1_R0[8:0]
Reset value000010000
0x40308-0x4033CReservedReserved.
0x40340 + 0x4000*x (x = 0 to 1)
Last address: 0x44340
DDRPHYC_DBYTEx_TXDQSDLYTG0_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQSDLYTG0_U0[9:0]
Reset value0000010000
0x40344 + 0x4000*x (x = 0 to 1)
Last address: 0x44344
DDRPHYC_DBYTEx_TXDQSDLYTG1_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQSDLYTG1_U0[9:0]
Reset value0000010000
0x40348-0x4038CReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40390 + 0x4000*x (x = 0 to 1)
Last address: 0x44390
DDRPHYC_DBYTEx_DXLCDLSTATUSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DXLCDLLIVELOCKDXLCDLSTICKYUNLOCKDXLCDLSTICKYLOCKDXLCDLPHDSNAPVALDXLCDLFINESNAPVAL[9:0]
Reset valueXXXXXXXXXXXXXX
0x40394-0x404FCReservedReserved.
0x40600 + 0x4000*x (x = 0 to 1)
Last address: 0x44600
DDRPHYC_DBYTEx_RXENDLYTG0_U1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXENDLYTG0_U1[10:0]
Reset value0010000000
0x40604 + 0x4000*x (x = 0 to 1)
Last address: 0x44604
DDRPHYC_DBYTEx_RXENDLYTG1_U1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXENDLYTG1_U1[10:0]
Reset value0010000000
0x40608-0x4062CReservedReserved.
0x40630 + 0x4000*x (x = 0 to 1)
Last address: 0x44630
DDRPHYC_DBYTEx_RXCLKDLYTG0_U1Res.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.RXCLKDLYTG0_U1[5:0]
Reset value01000
0x40634 + 0x4000*x (x = 0 to 1)
Last address: 0x44634
DDRPHYC_DBYTEx_RXCLKDLYTG1_U1Res.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.RXCLKDLYTG1_U1[5:0]
Reset value01000
0x40638-0x4063CReservedReserved.
0x40640 + 0x4000*x (x = 0 to 1)
Last address: 0x44640
DDRPHYC_DBYTEx_RXCLKCDLYTG0_U1Res.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.RXCLKCDLYTG0_U1[5:0]
Reset value01000
0x40644 + 0x4000*x (x = 0 to 1)
Last address: 0x44644
DDRPHYC_DBYTEx_RXCLKCDLYTG1_U1Res.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.RXCLKCDLYTG1_U1[5:0]
Reset value01000
0x40648-0x4063CReservedReserved.
0x40740 + 0x4000*x (x = 0 to 1)
Last address: 0x44740
DDRPHYC_DBYTEx_TXDQSDLYTG0_U1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQSDLYTG0_U1[10:0]
Reset value0010000000
0x40744 + 0x4000*x (x = 0 to 1)
Last address: 0x44744
DDRPHYC_DBYTEx_TXDQSDLYTG1_U1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXDQSDLYTG1_U1[10:0]
Reset value0010000000
0x44138-0x7FFFCReservedReserved.
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80000DDRPHYC_MASTER
0_RXFIFOINIT
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.INHIBITRXFIFORDRXFIFOINITPTR
Reset value00
0x80004DDRPHYC_MASTER
0_FORCECLKDISA
BLE
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.FORCECLKDISABLE[3:0]
Reset value0000
0x80008ReservedReserved.
0x8000CDDRPHYC_MASTER
0_FORCEINTERNAL
UPDATE
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.FORCEINTERNALUPDATE
Reset value0
0x80010DDRPHYC_MASTER
0_PHYCONFIG
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.PHYCONFIGDF[1:0]
Reset value0100101000
0x80014DDRPHYC_MASTER
0_PGCR
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.RXCLKRISEFALLMODE
Reset value0
0x80018ReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8001CDDRPHYC_MASTER
0_TESTBUMPCNTR
L1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TESTPOWERGATEENTESTEXTVREFRANGETESTSELEXTERNALVREFTESTGAINCURRADJ[4:0]TESTANALOGOUTCTRL
[3:0]
TESTBIASBYPASSENTESTMAJORMODE[2:0]
Reset value0000101100000011
0x80020DDRPHYC_MASTER
0_CALUCLKINFO
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALUCLKTICKSPER1US[10:0]
Reset value01100100000
0x80024ReservedReserved.
0x80028DDRPHYC_MASTER
0_TESTBUMP
CNTRL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FORCEMTESTONALERTTESTBUMPDATASEL
[5:0]
TESTBUMPTOGGLETESTBUMPEN[1:0]
Reset value0000000000
0x8002CDDRPHYC_MASTER
0_SEQ0BDLY0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY0[15:0]
Reset value0000000000000000
0x80030DDRPHYC_MASTER
0_SEQ0BDLY1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY1[15:0]
Reset value0000000000000000
0x80034DDRPHYC_MASTER
0_SEQ0BDLY2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY2[15:0]
Reset value0000000000000000
0x80038DDRPHYC_MASTER
0_SEQ0BDLY3
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY3[15:0]
Reset value0000000000000000
0x8003CDDRPHYC_MASTER
0_PHYALERT
STATUS
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.PHYALERT
Reset valueX
0x80040DDRPHYC_MASTER
0_PPTTRAINSETUP
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYMSTRMAXREQTOACK
[2:0]
Res.PHYMSTRTRAININTERVAL
[3:0]
Reset value0000000
0x80044ReservedReserved.
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80048DDRPHYC_MASTER
0_ATESTMODE
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.ATESTMODESEL[2:0]ATESTCLKENATESTPRBSEN
Reset value00000
0x8004CReservedReserved.
0x80050DDRPHYC_MASTER
0_TXCALBINP
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.TXCALBINP
[4:0]
Reset valueXXXXX
0x80054DDRPHYC_MASTER
0_TXCALBINN
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.TXCALBINN
[4:0]
Reset valueXXXXX
0x80058DDRPHYC_MASTER
0_TXCALPOVR
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.TXCALBINPOVRENTXCALBINPOVRVAL
[4:0]
Reset value000000
0x8005CDDRPHYC_MASTER
0_TXCALNOVR
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.TXCALBINNOVRENTXCALBINNOVRVAL
[4:0]
Reset value000000
0x80060DDRPHYC_MASTER
0_DFIMODE
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.DFI1OVERRIDEDFI1ENABLEDFI0ENABLE
Reset value001
0x80064DDRPHYC_MASTER
0_TRISTATEMODEC
A
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.CKDISVAL
[1:0]
DDR2TMODEDISDYNADRTRI
Reset value0000
0x80068DDRPHYC_MASTER
0_MTESTMUXSEL
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.MTESTMUXSEL
[5:0]
Reset value000000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8006CDDRPHYC_MASTER
0_MTESTPGMINFO
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.MTESTPGMINFO
Reset value0
0x80070DDRPHYC_MASTER
0_DYNPWRDNUP
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.DYNPOWERDOWN
Reset value0
0x80074DDRPHYC_MASTER
0_PMIENABLE
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.PMIENABLE
Reset value0
0x80078DDRPHYC_MASTER
0_PHYTID
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYTID[15:0]
Reset value0000000000000000
0x8007CReservedReserved.
0x80080DDRPHYC_MASTER
0_HWTMRL
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.HWTMRL[4:0]
Reset value00110
0x80084DDRPHYC_MASTER
0_DFIPHYUPD
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIPHYUPDINTTHRESHOLD
[3:0]
DFIPHYUPDTHRESHOLD
[3:0]
DFIPHYUPDMODEDFIPHYUPDRESP[2:0]DFIPHYUPDCNT[3:0]
Reset value1111111100000111
0x80088DDRPHYC_MASTER
0_PDAMRSWRITEMODE
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.PDAMRSWRITEMODE
Reset value0
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8008CDDRPHYC_MASTER
0_DFIGEARDOWN
CTL
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.DFIGEARDOWNCTL
[1:0]
Reset value00
0x80090DDRPHYC_MASTER
0_DQSPREAMBLE
CONTROL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WDQSEXTENSIONLP4STTCPREBRIDGERXENLP4POSTAMBLEEXTLP4TGLTWOTCKTXDQSPREPOSITIONDFEINIT[2:0]
Reset value0000010000
0x80094DDRPHYC_MASTER
0_MASTERX4
CONFIG
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.X4TG[3:0]
Reset value0000
0x80098DDRPHYC_MASTER
0_WRLEVBITS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WRLEVORDQSU
[3:0]
WRLEVORDQSL
[3:0]
Reset value100110000
0x8009CDDRPHYC_MASTER
0_ENABLECS
MULTICAST
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.ENABLECSMULTICAST
Reset value0
0x800A0-
0x800AC
ReservedReserved.
0x800B0DDRPHYC_MASTER
0_ACX4ANIBDIS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ACX4ANIBDIS[11:0]
Reset value00000000000
0x800B4DDRPHYC_MASTER
0_DMIPINPRESENT
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.RDDBIENABLED
Reset value0

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x800B8DDRPHYC_MASTER
0_ARDPTRINITVAL
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.ARDPTRINITVAL[3:0]
Reset value0000
0x800BC-
0x800E4
ReservedReserved.
0x800E8DDRPHYC_MASTER
0_DBYTEDLLMODE
CNTRL
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.DLLRXPREAMBLEMODERes.
Reset value0
0x800EC-
0x80110
ReservedReserved.
0x80114DDRPHYC_MASTER
0_CALOFFSETS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALDRVPUTHOFFSET
[3:0]
CALDRVPDTHOFFSET
[3:0]
CALCMPR5OFFSET
[5:0]
Reset value00000000000000
0x80118ReservedReserved.
0x8011CDDRPHYC_MASTER
0_SARINITVALS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SARINITPEXT[2:0]SARINITNINT[2:0]SARINITOFFSET05
[2:0]
Reset value100100111
0x80120ReservedReserved.
0x80124DDRPHYC_MASTER
0_CALPEXTOVR
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.CALPEXTOVR
[4:0]
Reset value00000
0x80128DDRPHYC_MASTER
0_CALCMPR5OVR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALCMPR5OVR[7:0]
Reset value00000000
0x8012CDDRPHYC_MASTER
0_CALNINTOVR
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.CALNINTOVR[
4:0]
Reset value00000
0x80130-
0x8013C
ReservedReserved.
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80140DDRPHYC_MASTER
0_CALDRVSTR0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALDRVSTRPU50
[3:0]
CALDRVSTRPD50
[3:0]
0000000
Reset value
0x80144-
0x80154
ReservedReserved.
0x80158DDRPHYC_MASTER
0_PROCODTTIME
CTL
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.PODTTAILWIDTHEXT
[1:0]
PODTSTARTDELAY
[1:0]
PODTTAILWIDTH
[1:0]
Reset value0111111
0x8015C-
0x80168
ReservedReserved.
0x8016CDDRPHYC_MASTER
0_MEMALERT
CONTROL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MALERTFORCEERRORMALERTDISABLEVALMALERTRXENMALERTPUENMALERTPUSTREN
[3:0]
MALERTVREFEXTENMALERTVREFLEVEL
[6:0]
Reset value0100000000000000
0x80170DDRPHYC_MASTER
0_MEMALERT
CONTROL2
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.MALERTSYNCBYPASS
Reset value0
0x80174-
0x8017C
ReservedReserved.
0x80180DDRPHYC_MASTER
0_MEMRESETL
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.PROTECTMEMRESETMEMRESETVALUE
Reset value00
0x80184-
0x801B4
ReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x801B8DDRPHYC_MASTER
0_PUBMODE
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.HWTMEMSRC
Reset value0
0x801BCDDRPHYC_MASTER
0_MISCPHYSTATUS
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.PORMEMRESETDCTSANE
Reset valueXX
0x801C0DDRPHYC_MASTER
0_CORELOOPBACK
SEL
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.CORELOOPBACKSEL
Reset value0
0x801C4DDRPHYC_MASTER
0_DLLTRAINPARAM
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.EXTENDPHDTIME
[1:0]
Reset value10
0x801C8-
0x801CC
ReservedReserved.
0x801D0DDRPHYC_MASTER
0_HWTLPCSENBYP
ASS
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.HWTLPCSENBYPASS
Reset value0
0x801D4DDRPHYC_MASTER
0_DFICAMODE
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.DFID4ALTCAMODEDFILP4CAMODEDFID4CAMODEDFILP3CAMODE
Reset value0000
0x801D8-
0x801DC
ReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x801E0DDRPHYC_MASTER
0_DLLCONTROL
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.DLLRESETRSVDDLLRESETSLAVEDLLRESETRELOCK
Reset value011
0x801E4DDRPHYC_MASTER
0_PULSEDLL
UPDATEPHASE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ALWAYSUPDATECDLPHASETRAINUPDATEPHASEONLONGBUBBLEUPDATEPHASEDESTRESERVED[2:0]PULSEACADLLUPDATEPHASEPULSEACKDLLUPDATEPHASEPULSEDBYTEDLLUPDATEPHASE
Reset value00000000
0x801E8-
0x801EC
ReservedReserved.
0x801F0DDRPHYC_MASTER
0_DLLGAINCTL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DLLSEEDSEL
[3:0]
DLLGAINTV
[3:0]
DLLGAINV
[3:0]
Reset value000010100001
0x801F4-
0x8021C
ReservedReserved.
0x80220DDRPHYC_MASTER
0_CALRATE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DISABLEBACKGROUNDZQUPDATESCALONCECALRUNRes.CALINTERVAL[3:0]
Reset value0001001
0x80224DDRPHYC_MASTER
0_CALZAP
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.CALZAP
Reset value0
0x80228ReservedReserved.
0x8022CDDRPHYC_MASTER
0_PSTATE
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.PSTATE
[3:0]
Reset value1100

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80230ReservedReserved.
0x80234DDRPHYC_MASTER
0_PLLOUTGATE
CONTROL
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.RESERVED2X1PCLKGATEEN
Reset value00
0x80238-
0x8023C
ReservedReserved.
0x80240DDRPHYC_MASTER
0_PORCONTROL
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.PLLDLLLOCKDONE
Reset value0
0x80244-
0x80258
ReservedReserved.
0x8025CDDRPHYC_MASTER
0_CALBUSY
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.CALBUSY
Reset valueX
0x80260DDRPHYC_MASTER
0_CALMISC2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RESERVED15CALSLOWCMPANACALCANCELROUNDERRDISCALCMPTRRESTRIMRESERVED11RESERVED10X3[7:0]CALNUMVOTES[2:0]
Reset value0000000000000100
0x80264ReservedReserved.
0x80268DDRPHYC_MASTER
0_CALMISC
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.CALPEXTDISCALNINTDISCALCMPR5DIS
Reset value000
0x8026CDDRPHYC_MASTER
0_CALVREFS
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.CALVREFS
[1:0]
Reset value10
0x80270DDRPHYC_MASTER
0_CALCMPR5
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALCMPR5[7:0]
Reset valueXXXXXXXX
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80274DDRPHYC_MASTER
0_CALNINT
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.CALNINTTHB
[4:0]
0
Reset valueXXXXX
0x80278DDRPHYC_MASTER
0_CALPEXT
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.CALPEXTTHB
[4:0]
0
Reset valueXXXXX
0x8027C-
0x8029C
ReservedReserved.
0x802A0DDRPHYC_MASTER
0_CALCMPINVERT
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 value00011
0x802A4-
0x802B4
ReservedReserved.
0x802B8DDRPHYC_MASTER
0_CALCMPANA
CNTRL
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
0x802BCReservedReserved.
0x802C0DDRPHYC_MASTER
0_DFIRDDATACSD
STMAP
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
0x802C4ReservedReserved.
0x802C8DDRPHYC_MASTER
0_VREFINGLOBAL
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
0x802CCReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x802D0DDRPHYC_MASTER
0_DFIWRDATACSD
ESTMAP
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIWRDESTM3
[1:0]
DFIWRDESTM2
[1:0]
DFIWRDESTM1
[1:0]
DFIWRDESTM0
[1:0]
Reset value11100100
0x802D4DDRPHYC_MASTER
0_MASUPDGOOD
CTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MASUPDGOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802D8DDRPHYC_MASTER
0_PHYUPD0GOOD
CTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD0GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802DCDDRPHYC_MASTER
0_PHYUPD1GOOD
CTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD1GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802E0DDRPHYC_MASTER
0_CTLUPD0GOOD
CTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTLUPD0GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802E4ReservedReserved.
0x802E8DDRPHYC_MASTER
0_MASUPDFAILCTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MASUPDFAILCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802ECDDRPHYC_MASTER
0_PHYUPD0FAIL
CTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD0FAILCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802F0ReservedReserved.
0x802F4DDRPHYC_MASTER
0_HYPERFCTR
ENABLE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD1FAILCTLPHYUPD0FAILCTLMASUPDFAILCTLCTLUPD1GOODCTLCTLUPD0GOODCTLPHYUPD1GOODCTLPHYUPD0GOODCTLMASUPDGOODCTL
Reset value00000000
0x802F8-
0x80308
ReservedReserved.
0x8030CDDRPHYC_MASTER
0_PLLPWRDN
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.PLLPWRDN
Reset value1
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80310DDRPHYC_MASTER
0_PLLRESET
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.PLLRESET
Reset value1
0x80314DDRPHYC_MASTER
0_PLLCTRL2
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.PLLFREQSEL[4:0]
Reset value11001
0x80318DDRPHYC_MASTER
0_PLLCTRL0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLSPARECTRL0PLLLOCKPHSEL[1:0]PLLLOCKCNTSELPLLGEARSHIFTPLLRESERVED10X9[1:0]Res.PLLSYNCBUSBYPPLLSYNCBUSFLUSHPLLSELDIFREQRATIOPLLBYPASSMODEPLLPRESETPLLOUTBYPENPLLX2MODEPLLBYPSELPLLSTANDBY
Reset value00100000000001000
0x8031CDDRPHYC_MASTER
0_PLLCTRL1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLCPPROPCTRL[3:0]PLLCPINTCTRL[4:0]
Reset value000010000
0x80320DDRPHYC_MASTER
0_PLLTST
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLDIGTSTSEL[3:0]PLLANATSTSEL[3:0]PLLANATSTEN
Reset value000000000
0x80324DDRPHYC_MASTER
0_PLLLOCKSTATUS
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.PLLLOCKSTATUS
Reset valueX
0x80328DDRPHYC_MASTER
0_PLLTESTMODE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLTESTMODE[15:0]
Reset value0000000100100100

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8032CDDRPHYC_MASTER
0_PLLCTRL3
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLENCALPLLFORCECALPLLDACVALIN
[4:0]
PLLMAXRANGE
[4:0]
PLLSPARE[3:0]
Reset value0000000111110000
0x80330DDRPHYC_MASTER
0_PLLCTRL4
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLCPPROPGSCTRL
[3:0]
PLLCPINTGSCTRL
[4:0]
Reset value101111111
0x80334DDRPHYC_MASTER
0_PLLENDOFCAL
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.PLLENDOFCAL
Reset valueX
0x80338DDRPHYC_MASTER
0_PLLSTANDBYEFF
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.PLLSTANDBYEFF
Reset valueX
0x8033CDDRPHYC_MASTER
0_PLLDACVALOUT
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.PLLDACVALOUT[4:0]
Reset value-----
0x80340-
0x80388
ReservedReserved.
0x8038CDDRPHYC_MASTER
0_LCDLDBGCNTL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LCDLSTATUSSEL
[3:0]
LCDLTSTENABLELCDLFINESNAPLCDLFINEOVRLCDLFINEOVRVAL[8:0]
Reset value0000000000000000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80390DDRPHYC_MASTER
0_ACLCDLSTATUS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ACLCDLLIVELOCKACLCDLSTICKYUNLOCKACLCDLSTICKYLOCKACLCDLPHDSNAPVALACLCDLFINESNAPVAL[9:0]
Reset valueXXXXXXXXXXXXXX
0x80394-
0x803B0
ReservedReserved.
0x803B4DDRPHYC_MASTER
0_CUSTPHYREV
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.CUSTPHYREV
[5:0]
Reset valueXXXXXX
0x803B8DDRPHYC_MASTER
0_PHYREV
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYMJR[7:0]PHYMDR
[3:0]
PHYMNR
[3:0]
Reset value0000000100000000
0x803BCDDRPHYC_MASTER
0_LP3EXITSEQ0B
STARTVECTOR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LP3EXITSEQ0BSTARTVECPLLBYPASSED
[3:0]
LP3EXITSEQ0BSTARTVECPLLENABLED
[3:0]
Reset value11011110
0x803C0DDRPHYC_MASTER
0_DFIFREQXLAT0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL3
[3:0]
DFIFREQXLATVAL2
[3:0]
DFIFREQXLATVAL1
[3:0]
DFIFREQXLATVAL0
[3:0]
Reset value0000000000000000
0x803C4DDRPHYC_MASTER
0_DFIFREQXLAT1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL7
[3:0]
DFIFREQXLATVAL6
[3:0]
DFIFREQXLATVAL5
[3:0]
DFIFREQXLATVAL4
[3:0]
Reset value0000000000000000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x803C8DDRPHYC_MASTER
0_DFIFREQXLAT2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL11
[3:0]
DFIFREQXLATVAL10
[3:0]
DFIFREQXLATVAL9
[3:0]
DFIFREQXLATVAL8
[3:0]
Reset value0000000000000000
0x803CCDDRPHYC_MASTER
0_DFIFREQXLAT3
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL15
[3:0]
DFIFREQXLATVAL14
[3:0]
DFIFREQXLATVAL13
[3:0]
DFIFREQXLATVAL12
[3:0]
Reset value0000000000000000
0x803D0DDRPHYC_MASTER
0_DFIFREQXLAT4
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL19
[3:0]
DFIFREQXLATVAL18
[3:0]
DFIFREQXLATVAL17
[3:0]
DFIFREQXLATVAL16
[3:0]
Reset value0000000000000000
0x803D4DDRPHYC_MASTER
0_DFIFREQXLAT5
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL23
[3:0]
DFIFREQXLATVAL22
[3:0]
DFIFREQXLATVAL21
[3:0]
DFIFREQXLATVAL20
[3:0]
Reset value0000000000000000
0x803D8DDRPHYC_MASTER
0_DFIFREQXLAT6
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL27
[3:0]
DFIFREQXLATVAL26
[3:0]
DFIFREQXLATVAL25
[3:0]
DFIFREQXLATVAL24
[3:0]
Reset value0000000000000000
0x803DCDDRPHYC_MASTER
0_DFIFREQXLAT7
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIFREQXLATVAL31
[3:0]
DFIFREQXLATVAL30
[3:0]
DFIFREQXLATVAL29
[3:0]
DFIFREQXLATVAL28
[3:0]
Reset value0000000000000000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x803E0DDRPHYC_MASTER
0_TXRDPTRINIT
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.TXRDPTRINIT
Reset value1
0x803E4DDRPHYC_MASTER
0_DFIINIT
COMPLETE
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.DFIINITCOMPLETE
Reset value0
0x803E8DDRPHYC_MASTER
0_DFIFREQRATIO
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.DFIFREQRATIO
[1:0]
Reset value01
0x803ECDDRPHYC_MASTER
0_RXFIFOCHECKS
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.DOFREQUENTRXFIFOCHECKS
Reset value0
0x803F0-
0x803F8
ReservedReserved.
0x803FCDDRPHYC_MASTER
0_MTESTDTOCTRL
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.MTESTDTOEN
Reset value0
0x80400DDRPHYC_MASTER
0_MAPCAA0TODFI
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.MAPCAA0TODFI
[3:0]
Reset value0000
0x80404DDRPHYC_MASTER
0_MAPCAA1TODFI
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.MAPCAA1TODFI
[3:0]
Reset value0001

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80408DDRPHYC_MASTER
0_MAPCAA2TODFI
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.MAPCAA2TODFI
[3:0]
Reset value0010
0x8040CDDRPHYC_MASTER
0_MAPCAA3TODFI
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.MAPCAA3TODFI
[3:0]
Reset value0011
0x80410DDRPHYC_MASTER
0_MAPCAA4TODFI
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.MAPCAA4TODFI
[3:0]
Reset value0100
0x80414DDRPHYC_MASTER
0_MAPCAA5TODFI
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.MAPCAA5TODFI
[3:0]
Reset value0101
0x80418DDRPHYC_MASTER
0_MAPCAA6TODFI
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.MAPCAA6TODFI
[3:0]
Reset value0110
0x8041CDDRPHYC_MASTER
0_MAPCAA7TODFI
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.MAPCAA7TODFI
[3:0]
Reset value0111
0x80420-
0x80440
ReservedReserved.
0x80444DDRPHYC_MASTER
0_MAPCAB1TODFI
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.MAPCAB1TODFI
[3:0]
Reset value0001

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80448DDRPHYC_MASTER0_MAPCAB2TODFIRes.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.MAPCAB2TODFI
[3:0]
Reset value0010
0x8044CDDRPHYC_MASTER0_MAPCAB3TODFIRes.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.MAPCAB3TODFI
[3:0]
Reset value0011
0x80450DDRPHYC_MASTER0_MAPCAB4TODFIRes.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.MAPCAB4TODFI
[3:0]
Reset value0100
0x80454DDRPHYC_MASTER0_MAPCAB5TODFIRes.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.MAPCAB5TODFI
[3:0]
Reset value0101
0x80458DDRPHYC_MASTER0_MAPCAB6TODFIRes.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.MAPCAB6TODFI
[3:0]
Reset value0110
0x8045CDDRPHYC_MASTER0_MAPCAB7TODFIRes.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.MAPCAB7TODFI
[3:0]
Reset value0111
0x80460-
0x80468
ReservedReserved.
0x8046CDDRPHYC_MASTER0_PHYINTERRUPTENABLERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRRESERVEDEN
[4:0]
PHYRXFIFOCHECKENPHYVTDRIFTALARMEN
[1:0]
PHYFWRESERVEDEN
[4:0]
PHYTRNGFAILENPHYINITCMPLTENPHYTRNGCMPLTEN
Reset value0000000000000000

Table 61. DDRPHYC register map and reset values (continued)

Offset 0x80470Offset 0x80474Offset 0x80478Offset 0x8047COffset 0x80480
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80470DDRPHYC_MASTER
0_PHYINTERRUPTF
WCONTROL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYFWRESERVEDFW
[4:0]
PHYTRNGFAILFWPHYINITCMPLTFWPHYTRNGCMPLTFW
Reset value00000000
0x80474DDRPHYC_MASTER
0_PHYINTERRUPT
MASK
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRESERVEDMSK
[4:0]
PHYRXFIFOCHECKMSKPHYVTDRIFTALARMMSK
[1:0]
PHYFWRESERVEDMSK
[4:0]
PHYTRNGFAILMSKPHYINITCMPLTMSKPHYTRNGCMPLTMSK
Reset value0000000000000000
0x80478DDRPHYC_MASTER
0_PHYINTERRUPT
CLEAR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRESERVEDCLR
[4:0]
PHYRXFIFOCHECKCLRPHYVTDRIFTALARMCLR
[1:0]
PHYFWRESERVEDCLR
[4:0]
PHYTRNGFAILCLRPHYINITCMPLTCLRPHYTRNGCMPLTCLR
Reset value0000000000000000
0x8047CDDRPHYC_MASTER
0_PHYINTERRUPT
STATUS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRESERVED
[4:0]
PHYRXFIFOCHECKVTDRIFTALARM[1:0]PHYFWRESERVED
[4:0]
PHYTRNGFAILPHYINITCMPLTPHYTRNGCMPLT
Reset valueXXXXXXXXXXXXXXXX
0x80480DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS0
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.HWTSWIZZLEHWTADDRESS0
[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80484DDRPHYC_MASTER
0_HWTWIZZLEHW
TADDRESS1
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.HWTWIZZLEHW TADDRESS1
[4:0]
Reset value00000
0x80488DDRPHYC_MASTER
0_HWTWIZZLEHW
TADDRESS2
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.HWTWIZZLEHW TADDRESS2
[4:0]
Reset value00000
0x8048CDDRPHYC_MASTER
0_HWTWIZZLEHW
TADDRESS3
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.HWTWIZZLEHW TADDRESS3
[4:0]
Reset value00000
0x80490DDRPHYC_MASTER
0_HWTWIZZLEHW
TADDRESS4
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.HWTWIZZLEHW TADDRESS4
[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

Offset 0x80494Offset 0x80498Offset 0x8049COffset 0x804A0
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80494DDRPHYC_MASTER0_HWTWIZZLEHW TADDRESS5Res.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.HWTWIZZLEHW TADDRESS5[4:0]
Reset value00000
0x80498DDRPHYC_MASTER0_HWTWIZZLEHW TADDRESS6Res.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.HWTWIZZLEHW TADDRESS6[4:0]
Reset value00000
0x8049CDDRPHYC_MASTER0_HWTWIZZLEHW TADDRESS7Res.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.HWTWIZZLEHW TADDRESS7[4:0]
Reset value00000
0x804A0DDRPHYC_MASTER0_HWTWIZZLEHW TADDRESS8Res.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.HWTWIZZLEHW TADDRESS8[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

Offset 0x804A4Offset 0x804A8Offset 0x804ACOffset 0x804B0
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804A4DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS9
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.HWTSWIZZLEHWTADDRESS9[4:0]
Reset value00000
0x804A8DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS10
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.HWTSWIZZLEHWTADDRESS10[4:0]
Reset value00000
0x804ACDDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS11
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.HWTSWIZZLEHWTADDRESS11[4:0]
Reset value00000
0x804B0DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS12
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.HWTSWIZZLEHWTADDRESS12[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

Offset 0x804B4Offset 0x804B8Offset 0x804BCOffset 0x804C0
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804B4DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS13
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.HWTSWIZZLEHW TADDRESS13[4:0]
Reset value00000
0x804B8DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS14
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.HWTSWIZZLEHW TADDRESS14[4:0]
Reset value00000
0x804BCDDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS15
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.HWTSWIZZLEHW TADDRESS15[4:0]
Reset value00000
0x804C0DDRPHYC_MASTER
0_HWTSWIZZLEHW
TADDRESS17
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.HWTSWIZZLEHW TADDRESS17[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

Offset 0x804C4Offset 0x804C8Offset 0x804CCOffset 0x804D0Offset 0x804D4
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804C4DDRPHYC_MASTER
0_HWTWIZZLEHW
TACTN
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.HWTWIZZLEHWTACTN[4:0]
Reset value00000
0x804C8DDRPHYC_MASTER
0_HWTWIZZLEHW
TBANK0
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.HWTWIZZLEHWTBANK0[4:0]
Reset value00000
0x804CCDDRPHYC_MASTER
0_HWTWIZZLEHW
TBANK1
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.HWTWIZZLEHWTBANK1[4:0]
Reset value00000
0x804D0DDRPHYC_MASTER
0_HWTWIZZLEHW
TBANK2
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.HWTWIZZLEHWTBANK2[4:0]
Reset value00000
0x804D4DDRPHYC_MASTER
0_HWTWIZZLEHW
TBG0
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.HWTWIZZLEHWTBG0[4:0]
Reset value00000

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804D8DDRPHYC_MASTER
0_HWTSWIZZLEHW
TBG1
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.HWTSWIZZLEHWTBG1[4:0]
Reset value00000
0x804DCDDRPHYC_MASTER
0_HWTSWIZZLEHW
TCASN
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.HWTSWIZZLEHWTCASN[4:0]
Reset value00000
0x804E0DDRPHYC_MASTER
0_HWTSWIZZLEHW
TRASN
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.HWTSWIZZLEHWTTRASN[4:0]
Reset value00000
0x804E4DDRPHYC_MASTER
0_HWTSWIZZLEHW
TWEN
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.HWTSWIZZLEHWTWEN
[4:0]
Reset value00000
0x804E8DDRPHYC_MASTER
0_HWTSWIZZLEHW
TPARITYIN
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.HWTSWIZZLEHWTPARITYIN
[4:0]
Reset value00000
0x804ECReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804F0DDRPHYC_MASTER
0_DFIHANDSHAKE
DELAYS0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTRLUPDREQDELAY0
[3:0]
CTRLUPDACKDELAY0
[3:0]
PHYUPDREQDELAY0
[3:0]
PHYUPDACKDELAY0
[3:0]
Reset value0000000000000000
0x804F4DDRPHYC_MASTER
0_DFIHANDSHAKE
DELAYS1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTRLUPDREQDELAY0
[3:0]
CTRLUPDACKDELAY0
[3:0]
PHYUPDREQDELAY1
[3:0]
PHYUPDACKDELAY1
[3:0]
Reset value00000000
0x804F8DDRPHYC_MASTER
0_REMOTEIMPCAL
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 valueXX
0x804FC-
0x24009C
ReservedReserved.
0x2400A0DDRPHYC_INITENG
0_PHYINLP3
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.PHYINLP3
Reset value1
0x2400A4-
0x3001FC
ReservedReserved.
0x300200DDRPHYC_DRTUB0
_UCCLKHCLK
ENABLES
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 value11
0x300204DDRPHYC_DRTUB0
_CURPSTATE0B
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 value000
0x300208-
0x3003B0
ReservedReserved.

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x3003B4DDRPHYC_DRTUB0_CUSTPUBREVRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CUSTPUBREV[5:0]
Reset valueXXXXXX
0x3003B8DDRPHYC_DRTUB0_PUBREVRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PUBMJR[7:0]PUBMDR[3:0]PUBMNR[3:0]
Reset value0010010000010000
0x3003BC-0x33FFFCReservedReserved.
0x340000DDRPHYC_APBONL_Y0_MICROCONT_MUXSELRes.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.MICROCONTMUXSEL
Reset value0
0x340004-0x34000CReservedReserved.
0x340010DDRPHYC_APBONL_Y0_UCTSHADOWREGSRes.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 valueXX
0x340014-0x3400BCReservedReserved.
0x3400C0DDRPHYC_APBONL_Y0_DCTWRITEONLYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCTWRITEONLY[15:0]
Reset value0000000000000000
0x3400C4DDRPHYC_APBONL_Y0_DCTWRITEPROTRes.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.DCTWRITEPROT
Reset value1
0x3400C8DDRPHYC_APBONL_Y0_UCTWRITEONLYSHADOWRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCTWRITEONLYSHADOW[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x3400CCReservedReserved.
ST logo
ST logo

Table 61. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x3400D0DDRPHYC_APBONL
Y0_UCTDATWRITE
ONLYSHADOW
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCTDATWRITEONLYSHADOW[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x3400D4-
0x3400D8
ReservedReserved.
0x3400DCDDRPHYC_APBONL
Y0_DFICFGRDDATA
VALIDTICKS
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.DFICFGRDDATAVALIDTICKS
[5:0]
Reset value000110
0x3400E0-
0x340260
ReservedReserved.
0x340264DDRPHYC_APBONL
Y0_MICRORESET
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.RESETMICRO
Reset value001
0x340268-
0x3403E4
ReservedReserved.
0x3403E8DDRPHYC_APBONL
Y0_DFIIINIT
COMPLETE
SHADOW
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.DFIIINITCOMPLETE
Reset valueX

Refer to Section 2.4 for the register boundary addresses.