DDR3 is the generation most board designers learned DRAM on, and the one every later standard is described as a change from. This page draws the interface between a memory controller and one DDR3 device, names every pin, shows how each group is signaled electrically and in time, and walks an activate–read and a write cycle edge by edge. DDR3L is the same interface at 1.35 V; where the two differ it is called out.
Numbers are typical JEDEC JESD79-3F / JESD79-3-1 values [1][2]. The concepts behind them (banks, rows, ACT/RD/WR/PRE, strobes, prefetch) are built up on How DDR Memory Works.
| Item | DDR3 | DDR3L | Why it matters |
|---|---|---|---|
| Standard | JESD79-3F | JESD79-3-1 (addendum) | DDR3L parts also run at 1.5 V; the controller picks |
| Data rate / CK | 800–2133 MT/s / 400–1066 MHz | 800–1866 MT/s typical | Two transfers per CK cycle on DQ |
| VDD = VDDQ | 1.5 V ± 75 mV | 1.35 V (1.283–1.45 V) | One rail feeds core and I/O |
| I/O standard | SSTL_15 | SSTL_135 | Center-tap termination to VDDQ/2 |
| Prefetch / burst | 8n · BL8, or burst-chop BC4 (on the fly via A12) | Pin rate = 8 × core column rate | |
| Banks | 8 (BA0–BA2), no bank groups | Up to 8 rows open at once | |
| Widths / density | x4, x8, x16 · 512 Mb to 8 Gb | x8 and x16 dominate down-on-board | |
| Driver / ODT | RON 34 or 40 Ω · RTT_NOM 120/60/40/30/20 Ω · RTT_WR 120/60 Ω | All derived from the 240 Ω ZQ resistor | |
| Package | 78-ball FBGA (x4/x8), 96-ball FBGA (x16) | 240-pin UDIMM/RDIMM, 204-pin SO-DIMM | |
| Topology | Fly-by for CK and command/address, point-to-point per byte for DQ | Write leveling corrects the fly-by skew | |
One x16 DDR3 device and the controller that drives it. Lines are colored by group: clock, command/address, control, data and strobe, calibration and reference. Arrows give direction; a double line is a differential pair; a slashed line is a bus with its width. Inside the device, command/address goes to the command decoder, data to the read/write data path.
| Signal | Dir. | Electrical | Rate / sampled on | Function |
|---|---|---|---|---|
| CK, CK# | in | SSTL, differential | — | The command clock. Every command and address bit is captured at the crossing of CK rising and CK# falling. The DLL also locks to it so read data leaves aligned to CK. |
| CKE | in | SSTL | SDR, CK rise | Clock enable. Low with no command enters power-down, or self-refresh when combined with REF. Registered, so it obeys setup/hold like a command bit. |
| CS# | in | SSTL | SDR, CK rise | Chip select. High means the device ignores RAS#/CAS#/WE# (deselect). Selects one rank on a multi-rank bus. |
| RAS#, CAS#, WE# | in | SSTL | SDR, CK rise | Together with CS#, the 4-bit command code (truth table in §05). |
| BA0–BA2 | in | SSTL | SDR, CK rise | Bank address: which of the 8 banks the command targets. During MRS, which mode register. |
| A0–A15 | in | SSTL | SDR, CK rise | Row address with ACT, column address with RD/WR, opcode with MRS. A10 = auto-precharge on RD/WR and all-banks on PRE; A12 = burst chop (BC#) on RD/WR when on-the-fly is enabled. |
| ODT | in | SSTL | SDR, CK rise | Turns the device's DQ/DQS/DM termination (RTT_NOM) on. During writes the device switches to RTT_WR automatically (dynamic ODT). |
| RESET# | in | CMOS, rail-to-rail | asynchronous | Holds the device in reset with outputs off and ODT off. Not SSTL: driven to VDD and ground, often with a pull-down so the DRAM stays reset while the controller boots. |
| DQ0–DQ15 | in/out | SSTL, ODT | DDR, on DQS edges | Data. Eight beats per burst on every DQ, two per CK cycle. |
| LDQS/LDQS#, UDQS/UDQS# | in/out | SSTL, differential, ODT | DDR | Data strobe for the lower and upper byte. Sent by whoever sends the data: centered in the data eye for writes, edge-aligned for reads. |
| LDM, UDM | in | SSTL, ODT | DDR, on DQS edges | Write data mask: high on a beat means "do not write this byte". Input only; reads ignore it. |
| ZQ | — | 240 Ω ± 1 % to VSSQ | — | Reference resistor for the calibration engine that trims driver and ODT legs. One per device, never shared. |
| VREFCA, VREFDQ | in | analog, VDD/2 and VDDQ/2 | — | Thresholds for the command/address and data receivers. Both are external in DDR3, usually resistor dividers with local decoupling. |
| VDD, VDDQ, VSS, VSSQ | — | 1.5 V (1.35 V) | — | Core and I/O supplies, separate balls so I/O switching noise stays off the core. |
Every DDR3 signal except RESET# uses SSTL (stub-series terminated logic). The driver is a push-pull stage whose output resistance RON is trimmed to 34 or 40 Ω. The far end is terminated to the midpoint VTT = VDDQ/2, and the receiver is a comparator that decides high or low against VREF = VDDQ/2. Because the line rests at the midpoint, a 1 and a 0 swing symmetrically around VREF, and the termination draws current in both states.
Data lines are terminated inside the receiving device by on-die termination (ODT): two legs of 2·RTT, one to VDDQ and one to VSSQ, which look like RTT to VDDQ/2. Command/address and clock have no ODT in DDR3; they are terminated on the board at the end of the fly-by chain with resistors to a VTT regulator.
Commands are captured at the CK/CK# crossing, which is insensitive to VREF error and common-mode noise. On a DIMM the pair runs the same fly-by path as command/address and is terminated differentially at the end.
One bit per clock, sampled on CK rising, referenced to VREFCA. Setup and hold are specified against CK (tIS, tIH). Heavily loaded buses run 2T timing: the controller holds each command for two clocks and asserts CS# in the second.
DQ, DM and the differential DQS travel together per byte. The strobe is the timing reference, so DQ need only match its own DQS, not CK. ODT on the receiving end; the driving end's ODT is off.
A data receiver must see VREF ± 150 mV (AC150, DDR3-1333/1600) to switch and stay beyond ± 100 mV (DC100) through hold. DDR3L uses AC135/DC90. Lower speed bins allow AC175.
A command is the state of CS#, RAS#, CAS# and WE# at one CK rising edge. The bank and address pins carry the operands. DDR3 commands are all single-cycle (two with 2T timing on loaded buses).
| Command | CS# | RAS# | CAS# | WE# | BA | A10 | Address pins carry |
|---|---|---|---|---|---|---|---|
| Mode register set (MRS) | L | L | L | L | MR # | op | Opcode for MR0–MR3 |
| Refresh (REF) / self-refresh entry | L | L | L | H | — | — | — (CKE stays high for REF, goes low for SRE) |
| Precharge one bank / all (PRE / PREA) | L | L | H | L | bank | 0 / 1 | — |
| Activate (ACT) | L | L | H | H | bank | row | Row address |
| Write (WR / WRA) | L | H | L | L | bank | AP | Column; A12 = BC# |
| Read (RD / RDA) | L | H | L | H | bank | AP | Column; A12 = BC# |
| ZQ calibration long / short | L | H | H | L | — | 1 / 0 | — |
| No operation (NOP) | L | H | H | H | — | — | — |
| Deselect (DES) | H | × | × | × | — | — | — |
| Mode register | Holds |
|---|---|
| MR0 | Burst length (BL8 / BC4 / on-the-fly), CAS latency CL, write recovery for auto-precharge, DLL reset, precharge power-down mode |
| MR1 | DLL enable, output driver RON, RTT_NOM, additive latency AL, write leveling enable, TDQS, output disable |
| MR2 | CAS write latency CWL, RTT_WR (dynamic ODT), self-refresh temperature range, auto self-refresh |
| MR3 | MPR (multipurpose register) enable for read training patterns |
Drawn for DDR3-800 at 5-5-5 (CL = 5, tRCD = 5 clocks, CWL = 5) so the clocks are countable; DDR3-1600 at 11-11-11 has the same shape with more clocks. AL = 0, BL8.
Fly-by. DDR2 used a balanced T-branch so CK reached every device at once; at DDR3 speeds the stubs of a tree ruin the edges. DDR3 instead daisy-chains CK and command/address past each device in turn with short stubs, terminating each line at the end with roughly 36–40 Ω to VTT. The price is that the clock reaches the last device hundreds of picoseconds after the first, which is why write leveling exists: each byte's DQS is delayed to match the CK arrival at its own device.
Data is point-to-point per byte with ODT, so it needs no board termination. Match DQ and DM to their own DQS within the byte lane; byte lanes need not match each other or CK, since training removes those offsets.
VTT must source and sink current (a 1 pulls current from it, a 0 pushes current into it), so it comes from a dedicated DDR termination regulator that tracks VDDQ/2, placed at the end of the fly-by with its own decoupling. VREF is a quiet, separately decoupled reference, never the VTT rail itself: VTT carries load current noise.
The cheap end does no delaying. The DRAM has no per-bit delay lines, so on writes the controller pre-shifts DQS by 90° and the DRAM samples directly on strobe edges. On reads the DRAM sends DQS and DQ together from the same clock and the controller, which has the delay lines, shifts the strobe.
It cancels the device's internal clock-to-output delay so read DQS and DQ leave aligned to CK (within tDQSCK), which lets the controller predict when data arrives. LPDDR drops the DLL to save power and the time to relock it; the controller instead tracks the larger, drifting tDQSCK.
Whether periodic ZQCS and read/write timing retraining (or at least tracking) is enabled; RON/ODT drift and DQS timing drift with temperature. Then VREF noise and the refresh rate above 85 °C (tREFI must halve).
Each terminated line sources current into VTT when driven high and sinks from it when driven low. If the data pattern is mostly 1s, the net current flows into the VTT supply.
\(64 \times 1.6\ \text{Gb/s} / 8 = 12.8\ \text{GB/s}\).