LPDDR
Low-Power Double Data Rate Synchronous Dynamic Random Access Memory, commonly abbreviated as Low-Power DDR SDRAM or LPDDR SDRAM, is a type of double data rate synchronous dynamic random-access memory that consumes less power and is targeted for mobile computers. It is also known as Mobile DDR, and abbreviated as mDDR.
Bus width
In contrast with standard SDRAM, used in stationary devices and laptops and usually connected over a 64-bit wide memory bus, LPDDR also permits 16- or 32-bit wide channels.The "E" versions mark enhanced versions of the specifications. They formalize overclocking the memory array clock up to 266.7 MHz for a 33% performance boost. Memory modules implementing these higher frequencies are used in Apple MacBooks and gaming laptops.
As with standard SDRAM, most generations double the internal fetch size and external transfer speed.
Generations
LP-DDR(1)
The original low-power DDR is a slightly modified form of DDR SDRAM, with several changes to reduce overall power consumption.Most significant, the supply voltage is reduced from 2.5 to 1.8 V. Additional savings come from temperature-compensated refresh, partial array self refresh, and a "deep power down" mode which sacrifices all memory contents. Additionally, chips are smaller, using less board space than their non-mobile equivalents. Samsung and Micron are two of the main providers of this technology, which is used in tablet and phone devices such as the iPhone 3GS, original iPad, Samsung Galaxy Tab 7.0 and Motorola Droid X.
LP-DDR2
A new JEDEC standard defines a more dramatically revised low-power DDR interface. It is not compatible with either DDR1 or DDR2 SDRAM, but can accommodate either:- LPDDR2-S2: 2n prefetch memory,
- LPDDR2-S4: 4n prefetch memory, or
- LPDDR2-N: Non-volatile memory.
Timing parameters are specified for LPDDR-200 to LPDDR-1066.
Working at 1.2 V, LPDDR2 multiplexes the control and address lines onto a 10-bit double data rate CA bus. The commands are similar to those of normal SDRAM, except for the reassignment of the precharge and burst terminate opcodes:
Column address bit C0 is never transferred, and is assumed to be zero. Burst transfers thus always begin at even addresses.
LPDDR2 also has an active-low chip select and clock enable CKE signal, which operate like SDRAM. Also like SDRAM, the command sent on the cycle that CKE is first dropped selects the power-down state:
- If the chip is active, it freezes in place.
- If the command is a NOP, the chip idles.
- If the command is a refresh command, the chip enters the self-refresh state.
- If the command is a burst terminate, the chip enters the deep power-down state.
S2 devices smaller than 4 Gbit, and S4 devices smaller than 1 Gbit have only four banks. They ignore the BA2 signal, and do not support per-bank refresh.
Non-volatile memory devices do not use the refresh commands, and reassign the precharge command to transfer address bits A20 and up. The low-order bits are transferred by a following Activate command. This transfers the selected row from the memory array to one of 4 or 8 row data buffers, where they can be read by a Read command. Unlike DRAM, the bank address bits are not part of the memory address; any address can be transferred to any row data buffer. A row data buffer may be from 32 to 4096 bytes long, depending on the type of memory. Rows larger than 32 bytes ignore some of the low-order address bits in the Activate command. Rows smaller than 4096 bytes ignore some of the high-order address bits in the Read command.
Non-volatile memory does not support the Write command to row data buffers. Rather, a series of control registers in a special address region support Read and Write commands, which can be used to erase and program the memory array.
LP-DDR3
In May 2012, JEDEC published the JESD209-3 Low Power Memory Device Standard. In comparison to LPDDR2, LPDDR3 offers a higher data rate, greater bandwidth and power efficiency, and higher memory density. LPDDR3 achieves a data rate of 1600 MT/s and utilizes key new technologies: write-leveling and command/address training, optional on-die termination, and low-I/O capacitance. LPDDR3 supports both package-on-package and discrete packaging types.The command encoding is identical to LPDDR2, using a 10-bit double data rate CA bus. However, the standard only specifies 8n-prefetch DRAM, and does not include the flash memory commands.
Products using LPDDR3 include the 2013 MacBook Air, iPhone 5S, iPhone 6, Nexus 10, Samsung Galaxy S4 and Microsoft Surface Pro 3. LPDDR3 went mainstream in 2013, running at 800 MHz DDR, offering bandwidth comparable to PC3-12800 notebook memory in 2011. To achieve this bandwidth, the controller must implement dual-channel memory. For example, this is the case for the Exynos 5 Dual and the 5 Octa.
An "enhanced" version of the specification called LPDDR3e increases the data rate to 2133 MT/s. Samsung Electronics introduced the first 4 gigabit 20 nm-class LPDDR3 modules capable of transmitting data at up to 2,133 Mbit/s per pin, more than double the performance of the older LPDDR2 which is only capable of 800 Mbit/s. Various SoCs from various manufacturers also natively support 800 MHz LPDDR3 RAM. Such include the Snapdragon 600 and 800 from Qualcomm as well as some SoCs from the Exynos and Allwinner series.
LP-DDR4
On 14 March 2012, JEDEC hosted a conference to explore how future mobile device requirements will drive upcoming standards like LPDDR4. On 30 December 2013, Samsung announced that it had developed the first 20 nm-class 8 gibibit LPDDR4 capable of transmitting data at 3,200 Mbit/s per pin, thus providing 50 percent higher performance than the fastest LPDDR3 and consuming around 40 percent less energy at 1.1 volts.On 25 August 2014, JEDEC published the JESD209-4 LPDDR4 Low Power Memory Device Standard.
Significant changes include:
- Doubling of the interface speed, and numerous consequent electrical changes, including changing the I/O standard to low-voltage swing-terminated logic
- Doubling of the internal prefetch size, and minimum transfer size
- Change from a 10-bit DDR command/address bus to a 6-bit SDR bus
- Change from one 32-bit wide bus to two independent 16-bit wide buses
- Self-refresh is enabled by dedicated commands, rather than being controlled by the CKE line
- Data lines and control connected in parallel to a 16-bit data bus, and only chip selects connected independently per channel.
- To two halves of a 32-bit wide data bus, and the control lines in parallel, including chip select.
- To two independent 16-bit wide data buses
Larger packages providing double width and up to four dies per pair of channels are also defined.
Data is accessed in bursts of either 16 or 32 transfers. Bursts must begin on 64-bit boundaries.
Since the clock frequency is higher and the minimum burst length longer than earlier standards, control signals can be more highly multiplexed without the command/address bus becoming a bottleneck. LPDDR4 multiplexes the control and address lines onto a 6-bit single data rate CA bus. Commands require 2 clock cycles, and operations encoding an address require two commands. For example, to request a read from an idle chip requires four commands taking 8 clock cycles: Activate-1, Activate-2, Read, CAS-2.
The chip select line is active-high. The first cycle of a command is identified by chip select being high; it is low during the second cycle.
The CAS-2 command is used as the second half of all commands that perform a transfer across the data bus, and provides low-order column address bits:
- Read commands must begin on a column address which is a multiple of 4; there is no provision for communicating a non-zero C0 or C1 address bit to the memory.
- Write commands must begin on a column address which is a multiple of 16; C2 and C3 must be zero for a write command.
- Mode register read and some multi-purpose commands must also be followed by a CAS-2 command, however all the column bits must be zero.
One DMI signal is associated with each 8 data lines, and can be used to minimize the number of bits driven high during data transfers. When high, the other 8 bits are complemented by both transmitter and receiver. If a byte contains five or more 1 bits, the DMI signal can be driven high, along with three or fewer data lines. As signal lines are terminated low, this reduces power consumption.
Data bus inversion can be separately enabled for reads and writes. For masked writes, the operation of the DMI signal depends on whether write inversion is enabled.
- If DBI on writes is disabled, a high level on DMI indicates that the corresponding data byte is to be ignored and not written
- If DBI on writes is enabled, a low level on DMI, combined with a data byte with 5 or more bits set, indicates a data byte to be ignored and not written.
LP-DDR4X
proposed an LPDDR4 variant that it called LPDDR4X. LPDDR4X is identical to LPDDR4 except additional power is saved by reducing the I/O voltage to 0.6 V from 1.1 V. On 9 January 2017, SK Hynix announced 8 and 16 GiB LPDDR4X packages. JEDEC published the LPDDR4X standard on 8 March 2017. Aside from the lower voltage, additional improvements include a single-channel die option for smaller applications, new MCP, PoP and IoT packages, and additional definition and timing improvements for the highest 4266 Mbit/s speed grade.LP-DDR5
On 19 February 2019, JEDEC published the JESD209-5, Standard for Low Power Double Data Rate 5.Samsung announced it had working prototype LP-DDR5 chips in July 2018. LPDDR5 introduces the following changes:
- Data transfer rate is increased to 6.4 Gbit/s/pin
- Differential clocks are used
- Prefetch is not doubled again, but remains 16n
- The number of banks is increased to 16, divided into four DDR4-like bank groups
- Power-saving improvements:
- * Data-Copy and Write-X commands to decrease data transfer
- * Dynamic frequency and voltage scaling
- A new clocking architecture called WCK & Read Strobe