15. DDR physical interface control (DDRPHYC)

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

15.1 DDRPHYC features

15.2 DDRPHYC block diagram

The DDRPHYC block diagram is shown in Figure 44.

The DDRPHYC is composed of:

Figure 44. DDRPHYC block diagram

Block diagram of DDRPHYC showing DDRCTRL, DFI, PUB, PHY microcontroller unit (PMU), and DDRPHY physical interface components.

The diagram illustrates the DDRPHYC block structure. On the left, the DDRCTRL block is connected to a DFI block. The DFI block has bidirectional connections to DFI0 and DFI1 within the PUB (Peripheral Unit Bus) block. The PUB block contains a vertical chain of components: JTAG, TDR, APB, DFI0, DFI1, ICCM, and DCCM. A PHY microcontroller unit (PMU) is also part of the PUB. The DFI0 and DFI1 blocks have bidirectional connections to the DDRPHY physical interface on the right. This interface consists of a vertical bus with bidirectional connections to several blocks: DBYTE 1, DBYTE 0, ACX4 3, ACX4 2, ACX4 1, ACX4 0, MASTER, ACX4 4, ACX4 5, ACX4 6, ACX4 7, DBYTE 3, and DBYTE 2. Each of these blocks has a bidirectional connection to an external interface, represented by a large horizontal double-headed arrow. The MSv68323V1 identifier is located in the bottom right corner of the diagram area.

Block diagram of DDRPHYC showing DDRCTRL, DFI, PUB, PHY microcontroller unit (PMU), and DDRPHY physical interface components.

15.3 DDRPHYC SDRAM interface

The DDRPHYC SDRAM interfaces are listed in the table below.

Table 62. Function of DDRPHYC pins versus DDR protocol

Pin namePin function according to protocolComment
LPDDR4DDR4DDR3L
DDR_RESETNRESET_NRESET_NRESET_N-
-MTEST1ALERT/MTEST1ERR/MTEST1Not available on STM32MP23/25xx
DDR_VREF---Not used(1)
DDR_ZQ---240 Ω 1% to GND
DDR_A0CKEA0CKE0CKE0-
DDR_A1CKEA1CKE1CKE1CKEA1 and CKE1 are not supported in STM32MP23/25xx.
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 STM32MP23/25xx.
DDR_A7CSA1ODT1ODT1CAS1 and ODT1 are not supported in STM32MP23/25xx.
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_A12CKEB0A[8]A[8]-
DDR_A13CKEB1A[6]A[6]CKEB1 is not supported in STM32MP23/25xx.
DDR_A14CAB[0]A[5]A[5]-
DDR_A15CAB[1]A[4]A[4]-
DDR_A16CLKB_TBG[1]BA[2]BG1 is not supported in STM32MP23/25xx.
DDR_A17CLKB_CACT_NA[14]-
DDR_A18CSB0BG[0]A[15]-
DDR_A19CSB1PARPARCSB1 and PAR are not supported in STM32MP23/25xx.
DDR_A20CAB[2]A[3]A[3]-
DDR_A21CAB[3]A[2]A[2]-

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

Pin namePin function according to protocolComment
LPDDR4DDR4DDR3L
DDR_A22CAB[4]A[1]A[1]-
DDR_A23CAB[5]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]-
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#-
DDR_DQ[23] to
DDR_DQ[16]
Any to any DQ mapping within the byte lane is supported.-
DDR_DM2DMI0_BDMBI2_nDML-
DDR_DQS2PDQS0_t_BDQS2_tDQSL-
DDR_DQS2NDQS0_c_BDQS2_cDQSL#-
DDR_DQ[31] to
DDR_DQ[24]
Any to any DQ mapping within the byte lane is supported.-
DDR_DM3DMI1_BDMBI3_nDMU-
DDR_DQS3PDQS1_t_BDQS3_tDQSU-
DDR_DQS3NDQS1_c_BDQS3_cDQSU#-

1. For observation only.

15.4 DDRPHY functional overview

The DDRPHY includes the following components:

15.4.1 MASTER

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

15.4.2 ACX4

The DDR SDRAM address/command PHY (ACX4) provides an address and command interface to the external SDRAM memories. Figure 45 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 45. ACX4 component organization

Block diagram of ACX4 component organization showing data paths from PUB to BUMPS through AC slices and driver/receiver pairs.

The diagram illustrates the ACX4 component organization within the DDRPHYACX4 block. On the left, under the label 'PUB', four data lanes are shown: PubTxDatLn7[3:0], PubTxDatLn2[3:0], PubTxDatLn1[3:0], and PubTxDatLn0[3:0]. Each lane connects to a corresponding 'AC slice' (AC[7], AC[2], AC[1], and AC[0]). Each AC slice is connected to a driver/receiver pair (drv/rcvr) represented by a dashed box containing two triangles. The output of each driver/receiver pair passes through a multiplexer (represented by a box with an 'X') before reaching a 'BUMP' on the right, labeled BP_AC7, BP_AC2, BP_AC1, and BP_AC0. The label 'BUMPS' is positioned vertically on the right side of the diagram. 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 data paths from PUB to BUMPS through AC slices and driver/receiver pairs.

15.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.

15.4.4 PHY clocking

Figure 46 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 46. PHY clocking distribution

Figure 46. PHY clocking distribution diagram. The diagram shows a clock distribution network starting from a MASTER block on the left. The MASTER block contains a PLL that receives DFI_clk and outputs Pclk. It also has a bypass input DFI_bypass_pclk. The Pclk is distributed to a series of ACX4 blocks. Each ACX4 block has a Pclkin input and a PclkDbyte output. The Pclkin of the first ACX4 is connected to the MASTER's Pclk output. The PclkDbyte of each ACX4 is connected to the Pclkin of the next ACX4 in the chain. The final ACX4 in the chain is connected to a DBYTE block. Each DBYTE block has a Pclkin input and two outputs, DqsU and DqsL. The Pclkin of the first DBYTE is connected to the PclkDbyte of the last ACX4. The diagram shows a repeating pattern of ACX4 and DBYTE blocks, indicated by ellipses. The reference ID MSv68321V1 is at the bottom right.
Figure 46. PHY clocking distribution diagram. The diagram shows a clock distribution network starting from a MASTER block on the left. The MASTER block contains a PLL that receives DFI_clk and outputs Pclk. It also has a bypass input DFI_bypass_pclk. The Pclk is distributed to a series of ACX4 blocks. Each ACX4 block has a Pclkin input and a PclkDbyte output. The Pclkin of the first ACX4 is connected to the MASTER's Pclk output. The PclkDbyte of each ACX4 is connected to the Pclkin of the next ACX4 in the chain. The final ACX4 in the chain is connected to a DBYTE block. Each DBYTE block has a Pclkin input and two outputs, DqsU and DqsL. The Pclkin of the first DBYTE is connected to the PclkDbyte of the last ACX4. The diagram shows a repeating pattern of ACX4 and DBYTE blocks, indicated by ellipses. The reference ID MSv68321V1 is at the bottom right.

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.

15.4.5 PUB (PHY utility block)

The PUB provides control and configuration for all the PHY hard macros (MASTER, 8x ACX4, 4x 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.

15.4.6 PHY and SDRAM initialization

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

Figure 47. DDRSS boot sequence

Diagram showing the DDRSS boot sequence steps (1-11) and the corresponding DRAM states (RESET, IDLE, Self-Refresh, ACTIVE).
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 the corresponding DRAM states (RESET, IDLE, Self-Refresh, ACTIVE).

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.

15.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 15.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.

15.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.

15.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.

15.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.

15.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.

15.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.

15.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.

15.4.14 Write leveling coarse delay training

The TX DQS is phase-aligned to MEMCLK during the write leveling fine phase training (Section 15.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.

15.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.

15.4.16 Read 1D training (optimized delay centering)

This training stage is almost the same as the read 1D (SI friendly) (Section 15.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.

15.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.

15.5 DDRPHYC registers

15.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

15.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.

15.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.

15.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 Ω

15.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

15.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:
  DDR3 = 000
  DDR4 = 000
  LPDDR4 = 001
- Recommended settings if the ANIB does not drive CK pins:
  DDR3 = 011
  DDR4 = 011
  LPDDR4 = 001

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.

ST logo
ST logo

15.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

15.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.

15.5.9 DDRPHYC DBYTE module disable register (DDRPHYC_DBYTEx_DBYTEMISCMODE)

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

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.

15.5.10 DDRPHYC MtestMuxSel register (DDRPHYC_DBYTEx_MTESTMUXSEL)

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

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.

15.5.11 DDRPHYC DFIMRL register (DDRPHYC_DBYTEx_DFIMRL)

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

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.

15.5.12 DDRPHYC VrefDAC0_ry register (DDRPHYC_DBYTEx_VREFDAC0_Ry)

Address offset: 0x40100 + 0x4000 * x + 0x400 * y, (x = 0 to 3; 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

15.5.13 DDRPHYC data Tx impedance controls register (DDRPHYC_DBYTEx_TXIMPEDANCECTRL0_By)

Address offset: 0x40104 + 0x4000 * x + 0x400 * y, (x = 0 to 3; 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

15.5.14 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL_By)

Address offset: 0x4010C+0x4000*x+0x400*y, (x = 0 to 3; 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.

15.5.15 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL1)

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

Reset value: 0x0000 0400

Various controls of Rx DQS and Rx DQ cells.

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211 ENLPR10 RXPAD9 POWE RDOW876543210
Res.Res.Res.Res.EQPDSTANDPOWERDOWNRCVR[8:0]
R RBYEN BYEN
rwrwrwrwrwrwrwrwrwrwrwrw
Bit 11ENLPREQPDR: not used
Bit 10RXPADSTANDBYEN: Enables rxdq/rxdqs Standby power savings, per pad-group.
Bit 9POWERDOWNRCVRDQS: Active high signal which powers down the receiver
Bits 8:0POWERDOWNRCVR[8:0]: Active high signal which powers down the receiver
313029dynamically. 28272625242322212019181716
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.

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

Bit 11 ENLPREQPDR: 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

15.5.16 DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL2)

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

Reset value: 0x0000 0000

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

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

Bit 0 ENRXAGGRESSIVEPDR:

15.5.17 DDRPHYC TX ODT driver strength control register (DDRPHYC_DBYTEx_TXODTDRVSTREN_By)

Address offset: 0x40134+0x4000*x+0x400*y, (x = 0 to 3; 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 Ω

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

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

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].

15.5.19 DDRPHYC captured values associated with an Rx FIFO consistency error register (DDRPHYC_DBYTEx_RXFIFOCHECKERRVALUES)

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

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.

RM0457column_2Bit 0column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
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 15:12RXFIFOWRLOCUERRVALUE[3:0]: First error value captured for the write pointer (DQS side)
Bits 11:8RXFIFORDLOCUERRVALUE[3:0]: First error value captured for the read pointer (DFI side) on
Bits 7:4RXFIFOWRLOCERRVALUE[3:0]: First error value captured for the write pointer (DQS side) on
Bits 3:0RXFIFORDLOCERRVALUE[3:0]: First error value captured for the read pointer (DFI side) on
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 15:12RXFIFOWRLOCU[3:0]: Mission mode write pointer of the upper-nibble Rx FIFO
RM0457 Rev 5593/5881

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]

15.5.20 DDRPHYC data receive FIFO pointer values register (DDRPHYC_DBYTEx_RXFIFOINFO)

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

Reset value: 0XXXXX XXXX

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

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

15.5.21 DDRPHYC Rx FIFO visibility register
(DDRPHYC_DBYTEx_RXFIFOVISIBILITY)

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

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
ST logo
ST logo

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.

15.5.22 DDRPHYC Rx FIFO content DQ321x register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ3210)

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

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.

15.5.23 DDRPHYC Rx FIFO content DQ7654 register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ7654)

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

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.

15.5.24 DDRPHYC Rx FIFO content DBI register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDBI)

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

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
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTSDBI[3:0]
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.

15.5.25 DDRPHYC Tx slew rate controls register
(DDRPHYC_DBYTEx_TXSLEWRATE_By)

Address offset: 0x4017C+0x4000*x+0x400*y, (x = 0 to 3; 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.

15.5.26 DDRPHYC RxPBDlyTgx_r0 register
(DDRPHYC_DBYTEx_RXPBDLYTG0_Ry)

Address offset: 0x401A0+0x4000*x+0x400*y, (x = 0 to 3; 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.

15.5.27 DDRPHYC RxPBDlyTg1_rx register
(DDRPHYC_DBYTEx_RXPBDLYTG1_Ry)

Address offset: 0x401A4 + 0x4000 * x + 0x400 * y, (x = 0 to 3; 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.

15.5.28 DDRPHYC RxEnDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXENDLYTG0_U0)

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

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.

15.5.29 DDRPHYC RxEnDlyTg1_ux register
(DDRPHYC_DBYTEx_RXENDLYTG1_U0)

Address offset: 0x40204 + 0x4000 * x, (x = 0 to 3)
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.

15.5.30 DDRPHYC RxClkDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXCLKDLYTG0_U0)

Address offset: 0x40230 + 0x4000 * x, (x = 0 to 3)
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.

15.5.31 DDRPHYC RxClkDlyTg1_ux register
(DDRPHYC_DBYTEx_RXCLKDLYTG1_U0)

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

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.

15.5.32 DDRPHYC RxClkcDlyTgx_u0 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG0_U0)

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

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.

15.5.33 DDRPHYC RxClkcDlyTg1_ux register (DDRPHYC_DBYTEx_RXCLKCDLYTG1_U0)

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

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.

15.5.34 DDRPHYC DqLnSel register (DDRPHYC_DBYTEx_DQyLNSEL)

Address offset: 0x40280 + 0x4000 * x + 0x4 * y, (x = 0 to 3; 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.

15.5.35 DDRPHYC TxDqDlyTgx_r0 register
(DDRPHYC_DBYTEx_TXDQDLYTG0_Ry)

Address offset: 0x40300 + 0x4000 * x + 0x400 * y, (x = 0 to 3; 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.

15.5.36 DDRPHYC TxDqDlyTg1_rx register
(DDRPHYC_DBYTEx_TXDQDLYTG1_Ry)

Address offset: 0x40304 + 0x4000 * x + 0x400 * y, (x = 0 to 3; 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.

15.5.37 DDRPHYC TxDqsDlyTgx_u0 register (DDRPHYC_DBYTEx_TXDQSDLYTG0_U0)

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

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.

15.5.38 DDRPHYC TxDqsDlyTg1_ux register (DDRPHYC_DBYTEx_TXDQSDLYTG1_U0)

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

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.

ST logo
ST logo

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.

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

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

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.DXLCDLLLIVELOCKDXLCDLSTICKYUNLOCKDXLCDLSTICKYLOCKDXLCDLPHDSNAPVALDXLCDLFINESNAPVAL[9:0]
rrrrrrrrrrrrrr

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

15.5.40 DDRPHYC RxEnDlyTgx_u1 register
(DDRPHYC_DBYTEx_RXENDLYTG0_U1)

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

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.

15.5.41 DDRPHYC RxEnDlyTg1_u1 register
(DDRPHYC_DBYTEx_RXENDLYTG1_U1)

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

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.

15.5.42 DDRPHYC RxClkDlyTgx_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG0_U1)

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

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.

15.5.43 DDRPHYC RxClkDlyTg1_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG1_U1)

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

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.

15.5.44 DDRPHYC RxClkcDlyTgx_u1 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG0_U1)

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

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).

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

Note: Timing group 0 = RANK0.

15.5.45 DDRPHYC RxClkcDlyTg1_u1 register
(DDRPHYC_DBYTEx_RXCLKCDLYTG1_U1)

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

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).

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

Note: Timing group 1 = RANK1.

15.5.46 DDRPHYC TxDqsDlyTgx_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG0_U1)

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

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.

15.5.47 DDRPHYC TxDqsDlyTg1_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG1_U1)

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

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.

15.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).

15.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.

15.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.

Bit 0 FORCEINTERNALUPDATE: Used by training firmware to force an internal PHY update event
Optionally can be used by system software to issue a PHY update event. This bit can be written to 0x1 only when all of the following are true:
- The DFI interface is offline.
- The training hardware sends only DES and all transactions have retired.
This bit must stay asserted for at least 32 DFICLKs before clearing. Prematurely clearing this bit may result in an incomplete update.

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

Address offset: 0x80010

Reset value: 0xXXXX X248

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 9:8 PHYCONFIGDFI[1:0]:
Returns the following value depending on the define:
- 0x1 if DWC_DDRPHY_DFI1_EXISTS is not defined.
- 0x2 if DWC_DDRPHY_DFI1_EXISTS is defined.

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:

15.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.

15.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

15.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)

15.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.

ST logo
ST logo

15.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

15.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

15.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

15.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.

ST logo
ST logo

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

15.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.PHYAL
ERT
r

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

Bit 0 PHYALERT: Current state of ALERT_N

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

Address offset: 0x80040

Reset value: 0x0000 0000

For LPDDR,4 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

15.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.

15.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

15.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

15.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.

15.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.

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

Address offset: 0x80060

Reset value: 0x0000 0005

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.DFI1OVERRIDEDFI1ENABLEDFI0ENABLE
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.

15.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).

15.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.

15.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).

15.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:

15.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.

15.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

15.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

ST logo
ST logo

15.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.
- Nonzero codes are the threshold value for the change in the master LCDL 1UI phase code since the last Phy update request that triggers a new Phy update request;
- If (current_1UI_phase - last_1UI_phase) > DFIPHYUPDTHRESHOLD, then a Phy update is requested.
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.

15.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

15.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.

RM0457column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
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.DFIGEARDOWN
rw rwrw rw
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
151413121110987 LP4ST65 LP4TG43210
WDQSLP4POTWOTTWOT
Res.Res.Res.Res.Res.Res.Res.EXTENSTAMBPOSITIONDFEINIT[2:0]CKTXDCKRXD
SIONLEEXTQSPREQSPRE
rwrwrwrwrwrwrwrwrw
RM0457 Rev 5629/5881

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.

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.

15.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.

ST logo
ST logo

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.

15.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]

15.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.ENABL
ECSM
ULTICA
ST
rw

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

Bit 0 ENABLECSMULTICAST:

Controls whether CS_N[3:2] must be multicast on CID[1:0] in DDR4 mode.

0: Do not override pins corresponding to cid[1:0] (dfi_cid[1:0] connects to the pads).

1: Override pins corresponding to cid[1:0] with dfi_cs[3:2]. (cs[3:2] is multicast on cs[3:2] and cid[1:0]).

15.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]:

When a bit is set, the corresponding ACX nibble is disabled. Specifically, the I/O OE is disabled, as is the Dfi-side FIFO clock

15.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].

15.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.

15.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.

15.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.

15.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.

15.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.

15.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.

15.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.

15.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]:

15.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 Wdqsextension 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.PODTTAILWIDT
HEXT[1:0]
PODTSTARTDE
LAY[1:0]
PODTTAILWIDT
H[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).

ST logo
ST logo

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 + \text{PODTTAILWIDTH} + \text{PODTTAILWIDTHEXT} - \text{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.

15.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:

15.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.

15.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.

15.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).

15.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.

15.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).

15.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.

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

15.5.100 DDRPHYC HwtLpCsEnBypass register (DDRPHYC_MASTER0_HWTLPSENBYPASS)

Address offset: 0x801D0

Reset value: 0x0000 0000

CSn disable bypass for LPDDR4.

column_1column_2Bits 1:0column_4metastablecolumn_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210 HWTLP
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CSENB YPASS
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DFID4DFILP4DFID4DFILP3
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ALTCACAMOCAMOCAMO
MODEDEDEDE
rwrwrwrw
Bit 3DFID4ALTCAMODE: DDR4-Alt mode enable (only available in certain configurations)

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

Bit 0 HWTLPSENBYPASS:

When set, this bit disables LpCsEn function for LPDDR4.

15.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.

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

15.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.

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.DLLRE
SETRS
VD
DLLRE
SETSL
AVE
DLLRE
SETRE
LOCK
rwrwrw
ST logo
ST logo

15.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).

15.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

15.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.

15.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.

15.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.

15.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.

15.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.

15.5.110 DDRPHYC CalBusy register (DDRPHYC_MASTER0_CALBUSY)

Address offset: 0x8025C

Reset value: 0XXXXX XXXX

Impedance calibration busy status

RM0457column_2Bit 0column_4locked.column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
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
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
151413 CALCA1211109876543210
CALSLNCELRCALCM
VED15OWCMOUNDPTRREVED11RESERVED10X3[7:0]CALNUMVOTES[2:0]
PANAERRDI SSTRIM
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Bit 15RESERVED15: Miscellaneous impedance calibration controls
RM0457 Rev 5651/5881

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.

15.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.

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

Bit 15 RESERVED15: Miscellaneous impedance calibration controls

15.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.

15.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

15.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.

15.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

15.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

15.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

15.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

15.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]DFIRDDESTM0[1:0]DFIRDDESTM0[1:0]DFIRDDESTM0[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.

15.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.

15.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.

15.5.122 DDRPHYC MasUpdGoodCtr register
(DDRPHYC_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.

15.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.

15.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.

15.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.

15.5.126 DDRPHYC CtlUpd1GoodCtr register
(DDRPHYC_MASTER0_CTLUPD1GOODCTR)

Address offset: 0x802E4

Reset value: 0XXXXX XXXX

Counts successful memory controller DFI1 interface updates.

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

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

Bits 15:0 CTLUPD1GOODCTR[15:0]:

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

15.5.127 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.

15.5.128 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.

15.5.129 DDRPHYC PhyUpd1FailCtr register
(DDRPHYC_MASTER0_PHYUPD1FAILCTR)

Address offset: 0x802F0

Reset value: 0xXXXX XXXX

Counts unsuccessful PHY-initiated DFI1 interface updates.

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

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

Bits 15:0 PHYUPD1FAILCTR[15:0]:

This bitfield increments whenever the PHY asserts a DFI1 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.

15.5.130 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

Bit 0 MASUPDGOODCTL: MASUPDGOODCTLR enable

15.5.131 DDRPHYC PIIPwrDn 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.

15.5.132 DDRPHYC PIIReset 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

15.5.133 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.

15.5.134 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 PLLSELDIFFREQRATIO: 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.

15.5.135 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.

ST logo
ST logo

Bits 4:0 PLLCPINTCTRL[4:0]:

Connects directly to cp_int_cntrl<4:0> in the PLL. Charge pump integrating current control.

15.5.136 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: PII Analog Pin Function: Description

Bit 0 PLLANATSTEN: Analog test port enable

Connects directly to pll_ana_test_en of PLL..

15.5.137 DDRPHYC PIILockStatus 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.

ST logo
ST logo

15.5.138 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

15.5.139 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 PLLEN CAL:

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

15.5.140 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.

15.5.141 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.

15.5.142 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)

15.5.143 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

15.5.144 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

15.5.145 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.

15.5.146 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.

15.5.147 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

15.5.148 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.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 LP3EXITSEQ0BSTARTVECPLLEN ABLED[3:0]: PIE start vector value to be used for LP3 exit or init and target P-state has PLL enabled

15.5.149 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

15.5.150 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

15.5.151 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

15.5.152 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

15.5.153 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

15.5.154 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

15.5.155 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

15.5.156 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

15.5.157 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:

15.5.158 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.

15.5.159 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.

15.5.160 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.

15.5.161 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:

15.5.162 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.

15.5.163 DDRPHYC MapCAB[0to7]toDfi register (DDRPHYC_MASTER0_MAPCABxTODFI)

Address offset: 0x80440 + 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 CAB lane x from dfi1_address of the index of the register contents

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
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.MAPCABTODFI[3:0]
rwrwrwrw
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
151413121110 PHYRX9876543210
PHYTRPHYINIPHYTR
PHYHWRESERVEDEN[4:0]HECKEARMEN[1:0]PHYFWRESERVEDEN[4:0]NGFAITCMPLNGCM
LENTENPLTEN
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Bits 15:11PHYHWRESERVEDEN[4:0]: Reserved

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

Bits 3:0 MAPCABTODFI[3:0]:

15.5.164 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.

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

15.5.165 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

00000: Interrupt not asserted

00001: Interrupt asserted

Others: Reserved

Bit 2 PHYTRNGFAILFW: PHY training failure firmware interrupt

Written only by PHY firmware.

0: Interrupt not asserted

1: Interrupt asserted

15.5.166 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.

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.
151413121110 PHYRX98765432 PHYTR1 PHYINI0 PHYTR
FIFOCPHYVTDRIFTALNGCM
PHYHWRESERVEDMSK[4:0]HECK MSKARMMSK[1:0]PHYFWRESERVEDMSK[4:0]NGFAI LMSKTCMPL TMSKPLTMS K
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Bits 15:11PHYHWRESERVEDMSK[4:0]: Reserved
Bit 10PHYRXFIFOCHECKMSK: Mask for the Rx FIFO pointers check interrupt
Bits 9:8PHYVTDRIFTALARMMSK[1:0]: Mask for the PHY VT drift alarm interrupts
Bits 7:3PHYFWRESERVEDMSK[4:0]: Reserved
Bit 2PHYTRNGFAILMSK: Mask for the PHY training failure interrupt
Bit 1PHYINITCMPLTMSK: Mask for the PHY initialization complete interrupt

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

Bits 15:11 PHYHWRESERVEDMSK[4:0]: Reserved

Bits 7:3 PHYFWRESERVEDMSK[4:0]: Reserved

Bit 0 PHYTRNGCMPLTMSK: Mask for the PHY training complete interrupt

0: Interrupt not masked

1: Interrupt masked

15.5.167 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

0: Interrupt not affected

1: Interrupt cleared

Bits 9:8 PHYVTDRIFTALARMCLR[1:0]: PHY VT drift alarm interrupt clear

0: Interrupt not affected

1: Interrupt cleared

Bits 7:3 PHYFWRESERVEDCLR[4:0]: Reserved

Bit 2 PHYTRNGFAILCLR: PHY training failure interrupt clear

0: Interrupt not affected

1: Interrupt cleared

Bit 1 PHYINITCMPLTCLR: PHY initialization complete interrupt clear

0: Interrupt not affected

1: Interrupt cleared

Bit 0 PHYTRNGCMPLTCLR: PHY training complete interrupt clear

0: Interrupt not affected

1: Interrupt cleared

15.5.168 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.

ST logo
ST logo

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.

0: Interrupt not enabled and asserted

1: Interrupt enabled and 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.

0: Interrupt not enabled and asserted

1: Interrupt enabled and asserted

15.5.169 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.

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).

15.5.170 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.

15.5.171 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.

15.5.172 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.

15.5.173 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.

15.5.174 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.

15.5.175 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.

15.5.176 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.

15.5.177 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.

15.5.178 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.

15.5.179 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.

15.5.180 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).

15.5.181 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
CTRLUPDREQDELAY1[3:0]CTRLUPDACKDELAY1[3:0]PHYUPDREQDELAY1[3:0]PHYUPDACKDELAY1[3:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 15:12 CTRLUPDREQDELAY1[3:0]:

Adds 0-15 DfiClks of delay after the PHY completes all PHY update activities, before deasserting dfi1_ctrlupd_ack.

Bits 11:8 CTRLUPDACKDELAY1[3:0]:

Adds 0-15 DfiClks of delay after dfi1_ctrlupd_req asserts, before the PHY takes any action.

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).

15.5.182 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
ED
CALIB
SLAVE
rr

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

Bit 1 SLAVECODEUPDATED:

Bit 0 CALIBSLAVE:

15.5.183 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.

15.5.184 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.

15.5.185 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.

15.5.186 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

15.5.187 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

15.5.188 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.

15.5.189 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.UCTDATAWRITEPROTSHADOWUCTWRITEPROTSHADOW
rr

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

Bit 1 UCTDATAWRITEPROTSHADOW: Reserved

Bit 0 UCTWRITEPROTSHADOW:

0: The PMU has a message for the user.

15.5.190 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

15.5.191 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.

15.5.192 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.

15.5.193 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.

15.5.194 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.

15.5.195 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:

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:

ST logo
ST logo

15.5.196 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.

15.5.197 DDRPHYC register map

Table 63. 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.Res.MTESTMUXSEL
[5:0]
Reset value000000
0x06C-0x098ReservedRes.
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-0x108ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x10C + 0x4000*x (x = 0 to 7)
Last address: 0x1C10C
DDRPHYC_ANIBx_AT_XIMPEDANCERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.1111111111
Reset value
0x110-0x148ReservedRes.
0x14C + 0x4000*x (x = 0 to 7)
Last address: 0x1C14C
DDRPHYC_ANIBx_AT_ESTPRBSERRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.1111111111
Reset value
0x150ReservedRes.
0x154 + 0x4000*x (x = 0 to 7)
Last address: 0x1C154
DDRPHYC_ANIBx_AT_XSLEWRATERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATXPREDRVMODE [2:0]111ATXPREN[3:0]1111ATXPREP[3:0]1
Reset value
0x158 + 0x4000*x (x = 0 to 7)
Last address: 0x1C158
DDRPHYC_ANIBx_AT_ESTPRBSERRCNTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ATESTPRBSERRCNT[15:0]XX
Reset valueXXXXXXXXXXXXXXXXX
0x15C-0x1FCReservedRes.
0x200 + 0x4000*x (x = 0 to 7)
Last address: 0x1C200
DDRPHYC_ANIB0_AT_XDLYRes.Res.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]00
Reset value0000000
0x204-0x3FFFCReservedRes.
0x40000 + 0x4000*x (x = 0 to 3)
Last address: 0x4C000
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.Res.Res.Res.Res.Res.
Reset value0
0x40004-0x40064ReservedRes.
0x40068 + 0x4000*x (x = 0 to 3)
Last address: 0x4C068
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.Res.MTESTMUXSEL [5:0]00
Reset value0000000
0x4006C-0x4007CReservedRes.
ST logo
ST logo

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40080 + 0x4000*x (x = 0 to 3)
Last address: 0x4C080
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.DFIMRL[4:0]
Reset value00110
0x40084-0x400FCReservedRes.
0x40100 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 8)
Last address: 0x4E100
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.VREFDAC0[6:0]
Reset value0000000
0x40104 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 1)
Last address: 0x4C504
DDRPHYC_DBYTEx_TXIMPEDANCECTRL0_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
0x40108ReservedRes.
0x4010C + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 1)
Last address: 0x4C50C
DDRPHYC_DBYTEx_DQDQSRCVCNTRL_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 value01011011000
0x40110-0x40124ReservedRes.
0x40128 + 0x4000*x (x = 0 to 3)
Last address: 0x52128
DDRPHYC_DBYTEx_DQDQSRCVCNTRL1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENLPREQPDRRXPADSTANDBYENPOWERDOWNRCVRDQSPOWERDOWNRCVR[8:0]
Reset value01000000000
0x4012C + 0x4000*x (x = 0 to 3)
Last address: 0x4C12C
DDRPHYC_DBYTEx_TXIMPEDANCECTRL2_B0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DRVSTRENEQLODQN[5:0]DRVSTRENEQHDQP[5:0]
Reset value00000000000

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40130 + 0x4000*x (x = 0 to 3)
Last address: 0x4C10C
DDRPHYC_DBYTEx_DQDQSRCVCNTRL2Res.Res.Res.Res.Res.Res.Res.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 3; y = 0 to 1)
Last address: 0x4C534
DDRPHYC_DBYTEx_T_XODTDRVSTREN_ByRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ODTSTRENN[5:0]ODTSTRENPN[5:0]
Reset value000000000000
0x40138-0x40154ReservedRes.
0x40158 + 0x4000*x (x = 0 to 3)
Last address: 0x4C158
DDRPHYC_DBYTEx_RXFIFOCHECKSTATUSRes.Res.Res.Res.Res.Res.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 3)
Last address: 0x4C15C
DDRPHYC_DBYTEx_RXFIFOCHECKERRORVALUESRes.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 3)
Last address: 0x4C160
DDRPHYC_DBYTEx_RXFIFOINFORes.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 3)
Last address: 0x4C164
DDRPHYC_DBYTEx_RXFIFOVISIBILITYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFORDENRXFIFORDPTR[2:0]
Reset value000000
0x40168 + 0x4000*x (x = 0 to 3)
Last address: 0x4C168
DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ3210Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTSDQ3210[15:0]
Reset valueXXXXXXXXXXXXXXXX
ST logo
ST logo

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x4016C + 0x4000*x (x = 0 to 3)
Last address: 0x4C16C
DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ7654Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTSDQ7654[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x40170 + 0x4000*x (x = 0 to 3)
Last address: 0x4C170
DDRPHYC_DBYTEx_RXFIFOCONTENTSDBIRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXFIFOCONTENTSDBI[3:0]
Reset value----
0x40174-0x40178ReservedRes.
0x4017C + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 1)
Last address: 0x4C57C
DDRPHYC_DBYTEx_TXSLEWRATE_ByRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXPREDRVMODE[2:0]TXPREN[3:0]TXPREP[3:0]
Reset value111111111111111
0x40180-0x4019CReservedRes.
0x401A0 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 8)
Last address: 0x4E1A0
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 3; y = 0 to 8)
Last address: 0x4E1A4
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-0x401FCReservedRes.
0x40200 + 0x4000*x (x = 0 to 3)
Last address: 0x4C200
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 3)
Last address: 0x4C204
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-0x4022CReservedRes.
0x40230 + 0x4000*x (x = 0 to 3)
Last address: 0x4C230
DDRPHYC_DBYTEx_RXCLKDLYTG0_U0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RXCLKDLYTG0_U0[5:0]
Reset value0100000

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40234 + 0x4000*x (x = 0 to 3)
Last address: 0x4C234
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-0x4023CReservedRes.
0x40240 + 0x4000*x (x = 0 to 3)
Last address: 0x4C240
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 3)
Last address: 0x4C244
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-0x4027CReservedRes.
0x40280 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 7)
Last address: 0x4C29C
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.Res.Res.Res.Res.DQ0LNSEL[2:0]
Reset value000
0x40300 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 8)
Last address: 0x4E300
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.Res.TXDQDLYTG0_R0[8:0]
Reset value000010000
0x40304 + 0x4000*x + 0x400*y (x = 0 to 3; y = 0 to 8)
Last address: 0x4E304
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.Res.TXDQDLYTG1_R0[8:0]
Reset value000010000
0x40308-0x4033CReservedRes.
0x40340 + 0x4000*x (x = 0 to 3)
Last address: 0x4C340
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.Res.TXDQSDLYTG0_U0[9:0]
Reset value0000010000
0x40344 + 0x4000*x (x = 0 to 3)
Last address: 0x4C344
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.Res.TXDQSDLYTG1_U0[9:0]
Reset value0000010000
0x40348-0x4038CReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x40390 + 0x4000*x (x = 0 to 3)
Last address: 0x4C390
DDRPHYC_DBYTEx_DXLCDLSTATUSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DXLCDLIVELOCKDXLCDLSTICKYUNLOCKDXLCDLSTICKYLOCKDXLCDLPHDSNAPVALDXLCDLFINESNAPVAL[9:0]
Reset valueXXXXXXXXXXXXXX
0x40394-0x404FCReservedRes.
0x40600 + 0x4000*x (x = 0 to 3)
Last address: 0x4C600
DDRPHYC_DBYTEx_RXENDLYTG0_U1Res.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 value00100000000
0x40604 + 0x4000*x (x = 0 to 3)
Last address: 0x4C604
DDRPHYC_DBYTEx_RXENDLYTG1_U1Res.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 value00100000000
0x40608-0x4062CReservedRes.
0x40630 + 0x4000*x (x = 0 to 3)
Last address: 0x4C630
DDRPHYC_DBYTEx_RXCLKDLYTG0_U1Res.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 value01000000000
0x40634 + 0x4000*x (x = 0 to 3)
Last address: 0x4C634
DDRPHYC_DBYTEx_RXCLKDLYTG1_U1Res.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 value01000000000
0x40638-0x4063CReservedRes.
0x40640 + 0x4000*x (x = 0 to 3)
Last address: 0x4C640
DDRPHYC_DBYTEx_RXCLKCDLYTG0_U1Res.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 value01000000000
0x40644 + 0x4000*x (x = 0 to 3)
Last address: 0x4C644
DDRPHYC_DBYTEx_RXCLKCDLYTG1_U1Res.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 value01000000000
0x40648-0x4063CReservedRes.
0x40740 + 0x4000*x (x = 0 to 3)
Last address: 0x4C740
DDRPHYC_DBYTEx_TXDQSDLYTG0_U1Res.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 value00100000000
0x40744 + 0x4000*x (x = 0 to 3)
Last address: 0x4C744
DDRPHYC_DBYTEx_TXDQSDLYTG1_U1Res.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 value00100000000
0x44138-0x7FFFCReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80000DDRPHYC_MASTER0_RXFIFOINITRes.Res.Res.Res.Res.Res.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_MASTER0_FORCECLKDISABLERes.Res.Res.Res.Res.Res.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
0x80008ReservedRes.
0x8000CDDRPHYC_MASTER0_FORCEINTERNALUPDATERes.Res.Res.Res.Res.Res.Res.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_MASTER0_PHYCONFIGRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYCONFIGDFI[1:0]Res.Res.Res.Res.Res.Res.Res.PHYCONFIGBYTES [3:0]PHYCONFIGANIBS[3:0]
Reset value1001001000
0x80014DDRPHYC_MASTER0_PGCRRes.Res.Res.Res.Res.Res.Res.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
0x80018ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8001CDDRPHYC_MASTER0_TESTBUMPCNTRL1Res.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_MASTER0_CALUCLKINFORes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CALUCLKTICKSPER1US[10:0]
Reset value01100100000
0x80024ReservedRes.
0x80028DDRPHYC_MASTER0_TESTBUMPCNTRLRes.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 value00000000000
0x8002CDDRPHYC_MASTER0_SEQ0BDLY0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY0[15:0]
Reset value000000000000000
0x80030DDRPHYC_MASTER0_SEQ0BDLY1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY1[15:0]
Reset value000000000000000
0x80034DDRPHYC_MASTER0_SEQ0BDLY2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY2[15:0]
Reset value000000000000000
0x80038DDRPHYC_MASTER0_SEQ0BDLY3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEQ0BDLY3[15:0]
Reset value000000000000000
0x8003CDDRPHYC_MASTER0_PHYALERTSTATUSRes.Res.Res.Res.Res.Res.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_MASTER0_PPTTRAINSETUPRes.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]PHYMSTRTRAININTERVAL[3:0]
Reset value0000000
0x80044ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80048DDRPHYC_MASTER0_ATESTMODERes.Res.Res.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
0x8004CReservedRes.
0x80050DDRPHYC_MASTER0_TXCALBINPRes.Res.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 valueXXXXXX
0x80054DDRPHYC_MASTER0_TXCALBINNRes.Res.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 valueXXXXXX
0x80058DDRPHYC_MASTER0_TXCALPOVRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINPOVRVAL [4:0]
Reset value000000
0x8005CDDRPHYC_MASTER0_TXCALNOVRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINNOVRVAL [4:0]
Reset value000000
0x80060DDRPHYC_MASTER0_DFIMODERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINNOVRVAL [4:0]
Reset value000000
0x80064DDRPHYC_MASTER0_TRISTATEMODECARes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TXCALBINNOVRVAL [4:0]
Reset value000000
0x80068DDRPHYC_MASTER0_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

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8006CDDRPHYC_MASTER0_MTESTPGMINFORes.Res.Res.Res.Res.Res.Res.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_MASTER0_DYNPWRDNUPRes.Res.Res.Res.Res.Res.Res.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_MASTER0_PMIENABLERes.Res.Res.Res.Res.Res.Res.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_MASTER0_PHYTIDRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYTID[15:0]
Reset value0000000000000000
0x8007CReservedRes.
0x80080DDRPHYC_MASTER0_HWTMRLRes.Res.Res.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_MASTER0_DFIPHYUPDRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIPHYUPDINTTHRESHOLD[3:0]DFIPHYUPDTHRESHOLD[3:0]DFIPHYUPDMODEDFIPHYUPDRESP[2:0]Res.DFIPHYUPDCNT[3:0]
Reset value111111110000111
0x80088DDRPHYC_MASTER0_PDAMRSWRITEMODERes.Res.Res.Res.Res.Res.Res.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

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8008CDDRPHYC_MASTER0_DFIGEARDOWNCTLRes.Res.Res.Res.Res.Res.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_MASTER0_DQSPREAMBLECONTROLRes.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]TWOTCKTXDQSPRETWOTCKRXDQSPRE
Reset value000001000
0x80094DDRPHYC_MASTER0_MASTERX4CONFIGRes.Res.Res.Res.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_MASTER0_WRLEVBITSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WRLEVFORDQSU[3:0]WRLEVFORDQSL[3:0]
Reset value10011000
0x8009CDDRPHYC_MASTER0_ENABLECSMULTICASTRes.Res.Res.Res.Res.Res.Res.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-0x800ACReservedRes.
0x800B0DDRPHYC_MASTER0_ACX4ANIBDISRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ACX4ANIBDIS[11:0]
Reset value000000000000
0x800B4DDRPHYC_MASTER0_DMIPINPRESENTRes.Res.Res.Res.Res.Res.Res.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 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x800B8DDRPHYC_MASTER0
_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
ReservedRes.
0x800E8DDRPHYC_MASTER0
_DBYTEDLLMODECN
TRL
Res.Res.Res.Res.Res.Res.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
ReservedRes.
0x80114DDRPHYC_MASTER0
_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
0x80118ReservedRes.
0x8011CDDRPHYC_MASTER0
_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
0x80120ReservedRes.
0x80124DDRPHYC_MASTER0
_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.CALPEXTOV
R[4:0]
Reset value00000
0x80128DDRPHYC_MASTER0
_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_MASTER0
_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
ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80140DDRPHYC_MASTER0_CALDRVSTR0Res.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]0
Reset value00000000
0x80144-0x80154ReservedRes.
0x80158DDRPHYC_MASTER0_PROCODTTIMECTLRes.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-0x80168ReservedRes.
0x8016CDDRPHYC_MASTER0_MEMALERTCONTROLRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MALERTFORCEERRORMALERTDISABLEVALMALERTRXENMALERTPUENMALERTPUSTREN [3:0]MALERTVREFEXTENMALERTVREFLEVEL [6:0]0
Reset value0100000000000000
0x80170DDRPHYC_MASTER0_MEMALERTCONTROL2Res.Res.Res.Res.Res.Res.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-0x8017CReservedRes.
0x80180DDRPHYC_MASTER0_MEMRESETLRes.Res.Res.Res.Res.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-0x801B4ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x801B8DDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_CORELOOPBACKSEL
Res.Res.Res.Res.Res.Res.Res.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_MASTER0
_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
ReservedRes.
0x801D0DDRPHYC_MASTER0
_HWTLPCSENBYPASS
Res.Res.Res.Res.Res.Res.Res.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_MASTER0
_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
ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x801E0DDRPHYC_MASTER0_DLLCONTROLRes.Res.Res.Res.Res.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_MASTER0_PULSEDLLUPDATEPHASERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ALWAYSUPDATELCDLPHASETRAINUPDATEPHASEONLONGBUBBLEUPDATEPHASEDESTRESERVED[2:0]PULSEACADLLUPDATEPHASEPULSEACKDLLUPDATEPHASEPULSEDBYTEDLLUPDATEPHASE
Reset value00000000
0x801E8-
0x801EC
ReservedRes.
0x801F0DDRPHYC_MASTER0_DLLGAINCTLRes.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]DLLGAINIV[3:0]
Reset value000010100001
0x801F4-
0x8021C
ReservedRes.
0x80220DDRPHYC_MASTER0_CALRATERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DISABLEBACKGROUNDZQUPDATESCALONCECALRUNCALINTERVAL[3:0]
Reset value0001001
0x80224DDRPHYC_MASTER0_CALZAPRes.Res.Res.Res.Res.Res.Res.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
0x80228ReservedRes.
0x8022CDDRPHYC_MASTER0_PSTATERes.Res.Res.Res.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 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80230ReservedRes.
0x80234DDRPHYC_MASTER0
_PLLOUTGATECONTROL
Res.Res.Res.Res.Res.Res.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
ReservedRes.
0x80240DDRPHYC_MASTER0
_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
ReservedRes.
0x8025CDDRPHYC_MASTER0
_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_MASTER0
_CALMISC2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RESERVED15CALSLOWCMPANACALCANCELRDUNDERDISCALCMPTTRRSTRIMRESERVED11RESERVED10X3[7:0]CALNUMVOTES[2:0]
Reset value0000000000000100
0x80264ReservedRes.
0x80268DDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_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

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80274DDRPHYC_MASTER0
_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]
Reset valueXXXXX
0x80278DDRPHYC_MASTER0
_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]
Reset valueXXXXX
0x8027C-
0x8029C
ReservedRes.
0x802A0DDRPHYC_MASTER0
_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.CMPINVERTCALODTPUCMPINVERTCALODTPDCMPINVERTCALDRVPU50CMPINVERTCALDRVPD50CMPINVERTCALDAC50
Reset value00011
0x802A4-
0x802B4
ReservedRes.
0x802B8DDRPHYC_MASTER0
_CALCMPANACNTRL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CMPRBIASBYPASSENCMPRGAINRESADJCMPRGAINCURRADJ
[7:0]
Reset value0100010010
0x802BCReservedRes.
0x802C0DDRPHYC_MASTER0
_DFIRDDATACSDEST
MAP
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIRDDESTM3
[1:0]
DFIRDDESTM2
[1:0]
DFIRDDESTM1
[1:0]
DFIRDDESTM0
[1:0]
Reset value11100100
0x802C4ReservedRes.
0x802C8DDRPHYC_MASTER0
_VREFINGLOBAL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GLOBALVREFINMODEGLOBALVREFINTRIM
[3:0]
GLOBALVREFINDAC
[6:0]
GLOBALVREFINSEL
[2:0]
Reset value000001000000000
0x802CCReservedRes.
ST logo
ST logo

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x802D0DDRPHYC_MASTER0_DFIWRDATACSDEST_MAPRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DFIWRDESTM3DFIWRDESTM2DFIWRDESTM1DFIWRDESTM0
Reset value11100100
0x802D4DDRPHYC_MASTER0_MASUPDGOODCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MASUPDGOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802D8DDRPHYC_MASTER0_PHYUPD0GOODCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD0GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802DCDDRPHYC_MASTER0_PHYUPD1GOODCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD1GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802E0DDRPHYC_MASTER0_CTLUPD0GOODCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTLUPD0GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802E4DDRPHYC_MASTER0_CTLUPD1GOODCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTLUPD1GOODCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802E8DDRPHYC_MASTER0_MASUPDFAILCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MASUPDFAILCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802ECDDRPHYC_MASTER0_PHYUPD0FAILCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD0FAILCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802F0DDRPHYC_MASTER0_PHYUPD1FAILCTRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD1FAILCTR[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x802F4DDRPHYC_MASTER0_PHYPERFCTRENABLERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYUPD1FAILCTLPHYUPD0FAILCTLMASUPDFAILCTLCTLUPD1GOODCTLCTLUPD0GOODCTLPHYUPD1GOODCTLPHYUPD0GOODCTLMASUPDGOODCTL
Reset value000000000
0x802F8-0x80308ReservedRes.
0x8030CDDRPHYC_MASTER0_PLLPWRDNRes.Res.Res.Res.Res.Res.Res.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

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80310DDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_PLLCTRL0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLSPARECTRL0PLLLOCKPHSEL[1:0]PLLLOCKCNTSELPLLGEARSHIFTPLLRESERVED10X9[1:0]PLLSYNCBUSBYPPLLSYNCBUSFLUSHPLLSELDFIFREQRATIOPLLBYPASSMODEPLLPRESETPLLOUTBYPENPLLX2MODEPLLBYPSELPLLSTANDBY
Reset value0010000000001000
0x8031CDDRPHYC_MASTER0
_PLLCTRL1
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 value000100000
0x80320DDRPHYC_MASTER0
_PLLTST
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_MASTER0
_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_MASTER0
_PLLTESTMODE
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLTESTMODE[15:0]
Reset value0000000100100100

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8032CDDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_PLLENDOFAL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLENDOFAL
Reset valueX
0x80338DDRPHYC_MASTER0
_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_MASTER0
_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
ReservedRes.
0x8038CDDRPHYC_MASTER0
_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 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80390DDRPHYC_MASTER0
_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
ReservedRes.
0x803B4DDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_LP3EXITSEQ0BSTAR
TVECTOR
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_MASTER0
_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_MASTER0
_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
ST logo
ST logo

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x803C8DDRPHYC_MASTER0_DFIFREQXLAT2Res.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_MASTER0_DFIFREQXLAT3Res.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_MASTER0_DFIFREQXLAT4Res.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_MASTER0_DFIFREQXLAT5Res.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_MASTER0_DFIFREQXLAT6Res.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_MASTER0_DFIFREQXLAT7Res.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 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x803E0DDRPHYC_MASTER0
_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_MASTER0
_DFIINITCOMPLETE
Res.Res.Res.Res.Res.Res.Res.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_MASTER0
_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_MASTER0
_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
ReservedRes.
0x803FCDDRPHYC_MASTER0
_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_MASTER0
_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_MASTER0
_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 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80408DDRPHYC_MASTER0_MAPCAA2TODFIRes.Res.Res.Res.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_MASTER0_MAPCAA3TODFIRes.Res.Res.Res.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_MASTER0_MAPCAA4TODFIRes.Res.Res.Res.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_MASTER0_MAPCAA5TODFIRes.Res.Res.Res.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_MASTER0_MAPCAA6TODFIRes.Res.Res.Res.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_MASTER0_MAPCAA7TODFIRes.Res.Res.Res.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-0x8043CReservedRes.
0x80440DDRPHYC_MASTER0_MAPCAB0TODFIRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MAPCAB0TODFI [3:0]
Reset value0000

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80444DDRPHYC_MASTER0_MAPCAB1TODFIRes.Res.Res.Res.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
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-0x80468ReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x8046COffset 0x80470Offset 0x80474Offset 0x80478Offset 0x8047C
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x8046CDDRPHYC_MASTER0_PHYINTERRUPTENABLERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRRESERVEDEN
[4:0]
PHYRXFIFOCHECKENPHYVTDRIFTALARMEN
[1:0]
PHYFWRRESERVEDEN
[4:0]
PHYTRNGFAILENPHYINITCMPTENPHYTRNGCMPTEN
Reset value0000000000000000
0x80470DDRPHYC_MASTER0_PHYINTERRUPTFWCONTROLRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYFWRRESERVEDFW
[4:0]
PHYTRNGFAILFWPHYINITCMPTFWPHYTRNGCMPTFW
Reset value00000000
0x80474DDRPHYC_MASTER0_PHYINTERRUPTMASKRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRRESERVEDMSK
[4:0]
PHYRXFIFOCHECKMSKPHYVTDRIFTALARMMSK
[1:0]
PHYFWRRESERVEDMSK
[4:0]
PHYTRNGFAILMSKPHYINITCMPTMSKPHYTRNGCMPTMSK
Reset value0000000000000000
0x80478DDRPHYC_MASTER0_PHYINTERRUPTCLEARRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRRESERVEDCLR
[4:0]
PHYRXFIFOCHECKCLRPHYVTDRIFTALARMCLR
[1:0]
PHYFWRRESERVEDCLR
[4:0]
PHYTRNGFAILCLRPHYINITCMPTCLRPHYTRNGCMPTCLR
Reset value0000000000000000
0x8047CDDRPHYC_MASTER0_PHYINTERRUPTSTATUSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PHYHWRRESERVED
[4:0]
PHYRXFIFOCHECKPHYVTDRIFTALARM[1:0]PHYFWRRESERVED
[4:0]
PHYTRNGFAILPHYINITCMPTPHYTRNGCMPT
Reset valueXXXXXXXXXXXXXXXX

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x80480Offset 0x80484Offset 0x80488Offset 0x8048C
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80480DDRPHYC_MASTER0_HWTSWIZZLEHWTA DDRESS0Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTAADDRESS0 [4:0]
Reset value000000
0x80484DDRPHYC_MASTER0_HWTSWIZZLEHWTA DDRESS1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTAADDRESS1 [4:0]
Reset value000000
0x80488DDRPHYC_MASTER0_HWTSWIZZLEHWTA DDRESS2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTAADDRESS2 [4:0]
Reset value000000
0x8048CDDRPHYC_MASTER0_HWTSWIZZLEHWTA DDRESS3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTAADDRESS3 [4:0]
Reset value000000

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x80490Offset 0x80494Offset 0x80498Offset 0x8049C
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x80490DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS4Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS4 [4:0]
Reset value00000
0x80494DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS5Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS5 [4:0]
Reset value00000
0x80498DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS6Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS6 [4:0]
Reset value00000
0x8049CDDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS7Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS7 [4:0]
Reset value00000

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x804A0Offset 0x804A4Offset 0x804A8Offset 0x804AC
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804A0DDRPHYC_MASTER0_HWTSWIZZLEHWTADDDRESS8Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS8[4:0]
Reset value00000
0x804A4DDRPHYC_MASTER0_HWTSWIZZLEHWTADDDRESS9Res.Res.Res.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_MASTER0_HWTSWIZZLEHWTADDDRESS10Res.Res.Res.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_MASTER0_HWTSWIZZLEHWTADDDRESS11Res.Res.Res.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

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x804B0Offset 0x804B4Offset 0x804B8Offset 0x804BC
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804B0DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS12Res.Res.Res.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
0x804B4DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS13Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS13[4:0]
Reset value00000
0x804B8DDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS14Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS14[4:0]
Reset value00000
0x804BCDDRPHYC_MASTER0_HWTSWIZZLEHWTADRESS15Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS15[4:0]
Reset value00000

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804C0DDRPHYC_MASTER0
_HWTSWIZZLEHWTA
DDRESS17
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTADDRESS17[4:0]
Reset value00000
0x804C4DDRPHYC_MASTER0
_HWTSWIZZLEHWTA
CTN
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTACTN[4:0]
Reset value00000
0x804C8DDRPHYC_MASTER0
_HWTSWIZZLEHWTB
ANK0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK0[4:0]
Reset value00000
0x804CCDDRPHYC_MASTER0
_HWTSWIZZLEHWTB
ANK1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK1[4:0]
Reset value00000

Table 63. DDRPHYC register map and reset values (continued)

Offset 0x804D0Offset 0x804D4Offset 0x804D8Offset 0x804DCOffset 0x804E0
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804D0DDRPHYC_MASTER0
_HWTSWIZZLEHWTB
ANK2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBANK2[4:0]
Reset value00000
0x804D4DDRPHYC_MASTER0
_HWTSWIZZLEHWTB
G0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTBG0[4:0]
Reset value00000
0x804D8DDRPHYC_MASTER0
_HWTSWIZZLEHWTB
G1
Res.Res.Res.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_MASTER0
_HWTSWIZZLEHWTC
ASN
Res.Res.Res.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_MASTER0
_HWTSWIZZLEHWTR
ASN
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTRASN[4:0]
Reset value00000

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x804E4DDRPHYC_MASTER0
_HWTSWIZZLEHWTW
EN
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HWTSWIZZLEHWTWEN
[4:0]
Reset value00000
0x804E8DDRPHYC_MASTER0
_HWTSWIZZLEHWTP
ARITYIN
Res.Res.Res.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
0x804ECReservedRes.
0x804F0DDRPHYC_MASTER0
_DFIHANDSHAKEDEL
AYS0
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_MASTER0
_DFIHANDSHAKEDEL
AYS1
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTRLUPDREQDELAY1
[3:0]
CTRLUPDACKDELAY1
[3:0]
PHYUPDREQDELAY1
[3:0]
PHYUPDACKDELAY1
[3:0]
Reset value0000000000000000
0x804F8DDRPHYC_MASTER0
_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.SLAVECODEUPDATEDCALIBSLAVE
Reset valueXX
0x804FC-
0x24009C
ReservedRes.
0x2400A0DDRPHYC_INITENG0_
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

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x2400A4-0x3001FCReservedRes.
0x300200DDRPHYC_DRTUB0_UCCLKHCLKENABLESRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HCLKENUCCLKEN
Reset value11
0x300204DDRPHYC_DRTUB0_CURPSTATE0BRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CURPSTATE0B [3:0]
Reset value0000
0x300208-0x3003B0ReservedRes.
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.Res.Res.Res.CUSTPUBREV [5:0]
Reset valueXXXXXXX
0x3003B8DDRPHYC_DRTUB0_PUBREVRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PUBMJR[7:0]PUBMDR [3:0]PUBMNR [3:0]
Reset value001001000001000000
0x3003BC-0x33FFFCReservedRes.
0x340000DDRPHYC_APBONLY0_MICROCONTMUXSELRes.Res.Res.Res.Res.Res.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-0x34000CReservedRes.
0x340010DDRPHYC_APBONLY0_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.UCTDATWRITEPROTSHADOW
Reset valueXX
0x340014-0x3400BCReservedRes.

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x3400C0DDRPHYC_APBONLY
0_DCTWRITEONLY
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCTWRITEONLY[15:0]
Reset value0000000000000000
0x3400C4DDRPHYC_APBONLY
0_DCTWRITEPROT
Res.Res.Res.Res.Res.Res.Res.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_APBONLY
0_UCTWRITEONLYSHADOW
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCTWRITEONLYSHADOW[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x3400CCReservedRes.
0x3400D0DDRPHYC_APBONLY
0_UCTDATWRITEONLYSHADOW
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCTDATWRITEONLYSHADOW[15:0]
Reset valueXXXXXXXXXXXXXXXX
0x3400D4-
0x3400D8
ReservedRes.
0x3400DCDDRPHYC_APBONLY
0_DFICFGRDDATAVALIDTICKS
Res.Res.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
ReservedRes.
0x340264DDRPHYC_APBONLY
0_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.RESETTOMICRORSVDMICROTESTWAKEUPSTALLTOMICRO
Reset value0001
0x340268-
0x3403E4
ReservedRes.
ST logo
ST logo

Table 63. DDRPHYC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x3403E8DDRPHYC_APBONLY
0_DFIINITCOMPLETE
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.Res.DFIINITCOMPLETE
SHADOW
Reset valuex