EE Primers · DDR Memory · Step 6

LPDDR4 and LPDDR4X: narrow channels, a six-wire command bus and ground-terminated I/O

LPDDR4 is not DDR4 at lower voltage. It is designed around one fact: the DRAM is always soldered point-to-point next to (or on top of) the processor, never on a socketed multi-drop module. That allows 16-bit independent channels, a command bus of only six wires, I/O that swings a fraction of the supply and terminates to ground, no DLL, and frequency set points that let the SoC change speed without retraining. This page draws one LPDDR4 channel signal by signal and walks a read and a write.

Typical JEDEC JESD209-4 values [1]. LPDDR4X is the same interface with VDDQ lowered from 1.1 V to 0.6 V.

01 · At a glance

LPDDR4 in one table

ItemLPDDR4 / LPDDR4XContrast with DDR4
Data rate / CKup to 4266 MT/s / 2133 MHzHigher per pin than DDR4-3200
SuppliesVDD1 1.8 V, VDD2 1.1 V, VDDQ 1.1 V (4X: 0.6 V)Three rails; I/O rail separate from core
Channelx16, two independent channels per dieDDR4 builds 64-bit channels from many devices
Command / addressCS (active high) + CA0–CA5, SDR, multi-cycle commands6 CA wires instead of ~25
Data I/OLVSTL, terminated to VSSQ, DBI inverts on 1sDDR4 terminates to VDDQ
Prefetch / burst16n · BL16 or BL32BL16 × 16 bits = 32 bytes
Banks8 per channelNo bank groups
ClockingCK + DQS, no DLL in the DRAMLarge, drifting tDQSCK handled by the controller
Power featuresTwo frequency set points (FSP), deep sleep, partial-array self-refreshSwitch speed without retraining
PackagingPoP, discrete 200-ball (x64 = 4 channels), MCPNever socketed
02 · Block diagram

One channel, every wire

An LPDDR4 die has two identical, independent x16 channels, A and B, each with its own clock, command bus and data. The diagram shows channel A in full; channel B repeats it. ZQ, RESET_n and the CA termination enable are per die.

A 200-ball x64 package holds two dies, so four channels. An SoC with a 256-bit LPDDR interface drives sixteen of these channels side by side; each is scheduled independently.
03 · Pin reference

What each signal does

Signal (per channel unless noted)Dir.ElectricalRate / sampled onFunction
CK_t, CK_cinLVSTL, differential—Command clock and the reference for read latency. Data rate is twice CK.
CKEinCMOS (VDD2)async-ishClock enable for power-down and self-refresh. A low-speed CMOS input, not part of the high-speed bus.
CSinLVSTLSDR, CK riseChip select, active high. High on the first clock of each two-clock command.
CA0–CA5inLVSTL, ODTSDR, CK riseSix bits per clock, twelve per two-clock command. Long commands such as ACTIVATE take two of these (four clocks).
DQ0–DQ15in/outLVSTL, ODT on writesDDR on DQSData, 16 or 32 beats.
DQS0_t/_c, DQS1_t/_cin/outLVSTL, differentialDDRStrobe per byte. Writes: from controller, with a 2 tCK preamble. Reads: from DRAM, edge-aligned, static or toggling preamble.
DMI0, DMI1in/outLVSTLDDRData mask / inversion, one per byte. Carries the mask on MASK WRITE and the DBI flag when DBI is on.
ODT_CA (per die)inCMOS strapstaticAllows this die to terminate the CA bus. When several dies share a CA bus, one is strapped to terminate.
ZQ (per die)—240 Ω ± 1 % to VDDQ—Calibration reference. Note the rail: LPDDR4 ties RZQ to VDDQ, not ground.
RESET_n (per die)inCMOSasyncReset.
VDD1, VDD2, VDDQsupply1.8 V, 1.1 V, 1.1 / 0.6 V—VDD1 feeds internal pumps and array voltages; VDD2 the core logic; VDDQ the I/O.
04 · Electrical signaling

LVSTL: termination to ground, small swing

LVSTL (low-voltage swing terminated logic) terminates every line to VSSQ. A low is free: the driver's pull-down and the termination both sit at ground. A high draws current from VDDQ through the driver's pull-up into the termination, and the high level is a divider, VOH = VDDQ·RTT/(RON(PU)+RTT). The pull-up is an NMOS device, and its strength is calibrated so that VOH lands at VDDQ/3 or VDDQ/2.5 (the PU-Cal setting). The result is a swing of a few hundred millivolts referenced to ground, which is why ground return paths and the VSSQ plane matter so much.

Because a high is the expensive state, LPDDR4's DBI is the mirror image of DDR4's: the transmitter inverts a byte when more than four of its bits are 1 and flags it on DMI. References for CA and DQ are internal and trained (MR12 for VREF(CA), MR14 for VREF(DQ)).

LPDDR4 at 1.1 V, PU-Cal = VDDQ/3: the pull-up is effectively twice the 40 Ω termination, so VOH ≈ 0.37 V. In LPDDR4X (VDDQ = 0.6 V) the pull-up can match the termination for VOH = VDDQ/2 = 0.3 V. Either way, a 0 costs no current.
No DLL

The controller tracks timing

A DLL burns standby power and needs hundreds of clocks to relock. LPDDR4 drops it, so read DQS leaves the DRAM tDQSCK = 1.5–3.5 ns after CK, varying with voltage and temperature. The controller measures and tracks it rather than relying on a tight specification.

Unmatched DQ/DQS

tDQS2DQ

Inside the DRAM, the write strobe passes through a clock tree before latching DQ; the data inputs have no matching delay. So at the pins the data must arrive late relative to DQS by tDQS2DQ (200–800 ps). That offset drifts with temperature, and the DRAM provides a DQS interval oscillator the controller runs periodically to measure the drift and retrain.

Frequency set points

Two trained copies

Mode registers that depend on speed (latencies, ODT, VREF, drive) exist in two sets, FSP0 and FSP1. The controller trains the second set while running on the first, then switches with one MR13 write. Speed changes for DVFS take microseconds instead of a full retraining.

05 · Commands

Twelve bits in two clocks

Every LPDDR4 command occupies two rising CK edges: CS is high on the first, and CA0–CA5 are sampled on both, giving 12 bits. Commands that need more address bits are sent as two such commands back to back.

OperationCommand sequenceClocksCarries
ActivateACTIVATE-1, ACTIVATE-24Bank, row address (up to 17 bits)
ReadREAD-1, CAS-24Bank, burst length, auto-precharge; column on CAS-2
WriteWRITE-1, CAS-24As read
Masked writeMASK WRITE-1, CAS-24A write that honors the DMI mask
Mode register write / readMRW-1, MRW-2 / MRR-1, CAS-24MR address and data
Precharge, refreshPRE, REF (all-bank or per-bank)2Bank or all
Multi-purposeMPC2ZQ start/latch, DQS oscillator start, write/read FIFO for training, read DQ calibration
Self-refreshSRE, SRX2Plus CKE for power-down
Why so few pinsAn LPDDR4 controller in a phone drives eight or more channels. At about 25 command/address pins per channel, DDR4-style signaling would cost hundreds of balls. Six CA pins per channel, run at the clock rate, trade a few nanoseconds of command latency for that.
06 · Moving data

A read and a write on one channel

Clock counts shortened (LPDDR4-4266 has tRCD ≈ 18 ns = 39 clocks and RL = 36). BL16 on 16 bits: 32 bytes in 8 clocks.

CS (active high) marks the first clock of each two-clock command. The read strobe leaves tDQSCK after the clock edge set by RL; without a DLL that delay is 1.5–3.5 ns and drifts, so the controller's read-gate training places the receive window. Preamble drawn static; a toggling preamble is selectable.
Write: DQ is launched late relative to DQS by tDQS2DQ, so that inside the DRAM the delayed strobe (dashed) lands in the center of each bit. The controller finds this offset in write training and tracks it with the DQS oscillator.
07 · Bring-up

Initialization and training

Power-up

Sequence

  • Ramp VDD1 first, then VDD2 and VDDQ; RESET_n low
  • RESET_n high, CKE low, wait, start CK, CKE high
  • MPC ZQ calibration start, then ZQ latch
  • Write the FSP0 set at a low, untrained frequency
Training

Per channel, per FSP

  • Command bus training (CBT): the DRAM returns what it captured on CA on DQ; the controller centers CA and CS and sets VREF(CA), writing the result into the inactive FSP
  • Write leveling: DQS against CK
  • Read gate and read DQ calibration using MPC patterns
  • Write training through the write/read FIFO (MPC), then VREF(DQ)
  • Switch FSP, run at the target speed
Running

Tracking

  • DQS oscillator every few ms; retrain write timing if drift exceeds a threshold
  • ZQ start/latch periodically
  • Refresh rate scaled by the DRAM's temperature report (MR4)
08 · On the board

Point-to-point and short

  • Topology. Point-to-point per channel; when two dies share a channel (dual rank), they sit in one package so the stubs are inside it. There is no fly-by and no write-leveling of a module's skew; leveling only absorbs the package and trace differences.
  • Ground is the reference. LVSTL swings above VSSQ; route DQ and CA over solid ground, and give VDDQ low impedance because a high pulls its current through the pull-up.
  • Lengths. Match DQ to its DQS within a byte, CA to CK within a channel. Byte-to-byte and channel-to-channel skews are absorbed by training.
  • ZQ to VDDQ. A common bring-up mistake when reusing a DDR4 schematic.
  • Supplies. VDD1 sequencing first; VDDQ at 0.6 V for 4X needs a tight regulator, since 30 mV is 5 % of it.
09 · Self-check

Questions

Why can LPDDR4 terminate to ground when DDR4 cannot?

Either works electrically. Ground termination plus an NMOS pull-up gives a swing that is a fraction of VDDQ, which suits a short point-to-point link and lets VDDQ drop toward 0.6 V (4X) without the receiver needing a mid-rail reference. DDR4 chose VDDQ termination for its multi-drop, longer channels.

What problem does the DQS interval oscillator solve?

The write path's tDQS2DQ drifts with temperature and voltage. Running the oscillator counts how many cycles of the internal strobe path fit in a fixed interval; a change in the count tells the controller the delay has moved and by roughly how much, so it can retrain only when needed.

How long does an LPDDR4 activate-to-read take on the command bus alone?

ACTIVATE-1 + ACTIVATE-2 + READ-1 + CAS-2 = 8 clocks, about 3.75 ns at 4266 MT/s; small next to tRCD (~18 ns).

A 256-bit LPDDR4X interface at 4266 MT/s. Peak bandwidth?

\(256 \times 4.266 / 8 = 136.5\ \text{GB/s}\), over sixteen x16 channels.

10 · Further reading

References

  1. JEDEC, JESD209-4: Low Power Double Data Rate 4 (LPDDR4), and the LPDDR4X addendum JESD209-4-1.
  2. Micron Technology, LPDDR4/LPDDR4X SDRAM data sheet: command truth table, CBT, FSP and DQS oscillator sections.
← DDR5LPDDR5 →How DDR memory worksDDR glossary