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.

Mobile DDR: Samsung K4X2G323PD-8GD8

Bus width

Properties of the different LP-DDR generations
LP-DDR11E22E33E44X5
Memory array clock (MHz) 200266.7200266.7200266.7200266.7?
Prefetch size 2n4n8n16n
I/O bus clock frequency (MHz) 200266.7400533.38001067160021333200
Data transfer rate (DDR) (MT/s) 400533.3800106716002133320042676400
Supply voltage(s) 1.8 V1.2, 1.8 V1.2, 1.8 V1.1, 1.8 V 0.6, 1.1, 1.8 V 0.5, 1.05, 1.8 V
Command/Address bus 19 bits, SDR10 bits, DDR6 bits, SDR?

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

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. (DDR-4 and LPDDR-5 being the exceptions.)

Generations

LP-DDR(1)

The original low-power DDR (sometimes retroactively called LPDDR1) 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 (DRAM requires refresh less often at low temperatures), 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.[2]

LP-DDR2

Samsung K4P4G154EC-FGC1 4 Gbit LPDDR2 chip

A new JEDEC standard JESD209-2E 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 (like DDR1),
  • LPDDR2-S4: 4n prefetch memory (like DDR2), or
  • LPDDR2-N: Non-volatile (NAND flash) memory.

Low-power states are similar to basic LPDDR, with some additional partial array refresh options.

Timing parameters are specified for LPDDR-200 to LPDDR-1066 (clock frequencies of 100 to 533 MHz).

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:

LPDDR2/LPDDR3 command encoding[3]
CK CA0
(RAS)
CA1
(CAS)
CA2
(WE)
CA3CA4CA5CA6CA7CA8CA9 Operation
HHHNOP
HHLHHPrecharge all banks
HHLHLBA0BA1BA2Precharge one bank
HHLHA30A31A32BA0BA1BA2Preactive
(LPDDR2-N only)
A20A21A22A23A24A25A26A27A28A29
HHLLBurst terminate
HLHreservedC1C2BA0BA1BA2Read
(AP=auto-precharge)
APC3C4C5C6C7C8C9C10C11
HLLreservedC1C2BA0BA1BA2Write
(AP=auto-precharge)
APC3C4C5C6C7C8C9C10C11
LHR8R9R10R11R12BA0BA1BA2Activate
(R0–14=Row address)
R0R1R2R3R4R5R6R7R13R14
LHA15A16A17A18A19BA0BA1BA2Activate
(LPDDR2-N only)
A5A6A7A8A9A10A11A12A13A14
LLHHRefresh all banks
(LPDDR2-Sx only)
LLHLRefresh one bank
(Round-robin addressing)
LLLHMA0MA1MA2MA3MA4MA5Mode register read
(MA0–7=Address)
MA6MA7
LLLLMA0MA1MA2MA3MA4MA5Mode register write
(OP0–7=Data)
MA6MA7OP0OP1OP2OP3OP4OP5OP6OP7

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 (when high, everything is a NOP) 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 (CS low or CA0–2 = HHH), the chip idles.
  • If the command is a refresh command (CA0–2 = LLH), the chip enters the self-refresh state.
  • If the command is a burst terminate (CA0–2 = HHL), the chip enters the deep power-down state. (A full reset sequence is required when leaving.)

The mode registers have been greatly expanded compared to conventional SDRAM, with an 8-bit address space, and the ability to read them back. Although smaller than a serial presence detect EEPROM, enough information is included to eliminate the need for one.

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 (A19 and down) are transferred by a following Activate command. This transfers the selected row from the memory array to one of 4 or 8 (selected by the BA bits) 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.[4][5][6] 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,[7] optional on-die termination (ODT), and low-I/O capacitance. LPDDR3 supports both package-on-package (PoP) and discrete packaging types.

The command encoding is identical to LPDDR2, using a 10-bit double data rate CA bus.[5] 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 (GT-I9500) and Microsoft Surface Pro 3.[8] LPDDR3 went mainstream in 2013, running at 800 MHz DDR (1600 MT/s), offering bandwidth comparable to PC3-12800 notebook memory in 2011 (12.8 GB/s of bandwidth).[9] To achieve this bandwidth, the controller must implement dual-channel memory. For example, this is the case for the Exynos 5 Dual[10] and the 5 Octa.[11]

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.[12] Various SoCs from various manufacturers also natively support 800 MHz LPDDR3 RAM. Such include the Snapdragon 600 and 800 from Qualcomm[13] 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.[14] On 30 December 2013, Samsung announced that it had developed the first 20 nm-class 8 gibibit (1 GiB) 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.[15][16]

On 25 August 2014, JEDEC published the JESD209-4 LPDDR4 Low Power Memory Device Standard.[17][18]

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 (LVSTL)
  • 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

The standard defines SDRAM packages containing two independent 16-bit access channels, each connected to up to two dies per package. Each channel is 16 data bits wide, has its own control/address pins, and allows access to 8 banks of DRAM. Thus, the package may be connected in three ways:

  • 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

Each die provides 4, 6, 8, 12 or 16 gibibit of memory, half to each channel. Thus, each bank is one sixteenth the device size. This is organized into the appropriate number (16 Ki to 64 Ki) of 16384-bit (2048-byte) rows. Extension to 24 and 32 gibibit is planned, but it is not yet decided if this will be done by increasing the number of rows, their width, or the number of banks.

Larger packages providing double width (four channels) and up to four dies per pair of channels (8 dies total per package) are also defined.

Data is accessed in bursts of either 16 or 32 transfers (256 or 512 bits, 32 or 64 bytes, 8 or 16 cycles DDR). 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 (e.g. activate row, read or write column) 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 (CS) is active-high. The first cycle of a command is identified by chip select being high; it is low during the second cycle.

LPDDR4 command encoding[18]:151
First cycle (CS=H) Second cycle (CS=L) Operation
CA5CA4CA3CA2CA1CA0 CA5CA4CA3CA2CA1CA0
LLLLLL No operation
HLLLLL 0OP4OP3OP2OP11Multi-purpose command
ABHLLLL BA2BA1BA0Precharge (AB=all banks)
ABLHLLL BA2BA1BA0Refresh (AB=All banks)
HHLLL Self-refresh entry
BLLLHLL APC9BA2BA1BA0Write-1 (+CAS-2)
HLHLL Self-refresh exit
0LHHLL APC9BA2BA1BA0Masked Write-1 (+CAS-2)
HHHLL (reserved)
BLLLLHL APC9BA2BA1BA0Read-1 (+CAS-2)
C8HLLHL C7C6C5C4C3C2CAS-2
HLHL (reserved)
OP7LLHHL MA5MA4MA3MA2MA1MA0Mode Register Write-1 and -2
MA=Address, OP=Data
OP6HLHHL OP5OP4OP3OP2OP1OP0
LHHHL MA5MA4MA3MA2MA1MA0Mode Register Read (+CAS-2)
HHHHL (reserved)
R15R14R13R12LH R11R10R16BA2BA1BA0Activate-1 and -2
R9R8R7R6HH R5R4R3R2R1R0

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

The burst length can be configured to be 16, 32, or dynamically selectable by the BL bit of read and write operations.

One DMI (data mask/invert) 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.

(An alternative usage, where DMI is used to limit the number of data lines which toggle on each transfer to at most 4, minimises crosstalk. This may be used by the memory controller during writes, but is not supported by the memory devices.)

Data bus inversion can be separately enabled for reads and writes. For masked writes (which have a separate command code), 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.

LPDDR4 also includes a mechanism for "targeted row refresh" to avoid corruption due to "row hammer" on adjacent rows. A special sequence of three activate/precharge sequences specifies the row which was activated more often than a device-specified threshold (200,000 to 700,000 per refresh cycle). Internally, the device refreshes physically adjacent rows rather than the one specified in the activate command.[19][18]:153–54

LP-DDR4X

Samsung Semiconductor proposed an LPDDR4 variant that it called LPDDR4X.[20]:11 LPDDR4X is identical to LPDDR4 except additional power is saved by reducing the I/O voltage (Vddq) to 0.6 V from 1.1 V. On 9 January 2017, SK Hynix announced 8 and 16 GiB LPDDR4X packages.[21][22] JEDEC published the LPDDR4X standard on 8 March 2017.[23] 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 (LPDDR5).[24]

Samsung announced it had working prototype LP-DDR5 chips in July 2018. LPDDR5 introduces the following changes:[25]

  • 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:[24]
    • Data-Copy and Write-X (all one or all zero) commands to decrease data transfer
    • Dynamic frequency and voltage scaling
  • A new clocking architecture called WCK & Read Strobe (RDQS)[24]
gollark: Excitingly, the 32GB μSD card contains precisely 30.6MB of space.
gollark: I can't tell if my multicard reader is broken or if this SD card is actually dead.
gollark: I guess we could annex the EU.
gollark: Worryingly, the light on the HNode™ is stuck on colourless red.
gollark: * worry

References

  1. "LPDDR". Texas Instruments wiki. Retrieved 10 March 2015.
  2. Anandtech Samsung Galaxy Tab - The AnandTech Review, 23 December 2010
  3. JEDEC Standard: Low Power Double Data Rate 2 (LPDDR2) (PDF), JEDEC Solid State Technology Association, February 2010, retrieved 30 December 2010
  4. JEDEC publishes LPDDR3 standard for low-power memory chips Archived 20 May 2012 at the Wayback Machine, Solid State Technology magazine
  5. JESD209-3 LPDDR3 Low Power Memory Device Standard, JEDEC Solid State Technology Association
  6. "JEDEC Announces Publication of LPDDR3 Standard for Low Power Memory Devices". jedec.org. Retrieved 10 March 2015.
  7. Want a quick and dirty overview of the new JEDEC LPDDR3 spec? EETimes serves it up Archived 2013-07-28 at the Wayback Machine, Denali Memory Report
  8. Inside the Samsung Galaxy S4 Archived 2013-04-29 at the Wayback Machine, Chipworks
  9. Samsung LPDDR3 High-Performance Memory Enables Amazing Mobile Devices in 2013, 2014 - Bright Side of News
  10. "Samsung Exynos". samsung.com. Retrieved 10 March 2015.
  11. Samsung reveals eight-core mobile processor on EEtimes
  12. Now Producing Four Gigabit LPDDR3 Mobile DRAM, Using 20nm-class* Process Technology, Businesswire
  13. Snapdragon 800 Series and 600 Processors Unveiled , Qualcomm
  14. "JEDEC to Focus on Mobile Technology in Upcoming Conference". jedec.org. Retrieved 10 March 2015.
  15. "Samsung Develops Industry's First 8Gb LPDDR4 Mobile DRAM". Samsung Tomorrow (Official Blog). Samsung Electronics. Retrieved 10 March 2015.
  16. http://www.softnology.biz/pdf/JESD79-4_DDR4_SDRAM.pdf JESD79 DDR4 SDRAM Standard
  17. ‘JEDEC Releases LPDDR4 Standard for Low Power Memory Devices’, JEDEC Solid State Technology Association.
  18. JEDEC Standard: Low Power Double Data Rate 4 (LPDDR4) (PDF), JEDEC Solid State Technology Association, August 2014, retrieved 25 December 2014 Username and password "cypherpunks" will allow download.
  19. "Row hammer refresh command". Patents. Google. US20140059287. Retrieved 10 March 2015.
  20. Reza, Ashiq (16 September 2016). ‘Memory Need’ Gives Birth To ‘New Memory’ (PDF). Qualcomm 3G LTE Summit. Hong Kong.
  21. Shilov, Anton. "SK Hynix Announces 8 GB LPDDR4X-4266 DRAM Packages". Retrieved 28 July 2017.
  22. "SK하이닉스 세계 최대 용량의 초저전력 모바일 D램 출시". Skhynix (in Korean). Retrieved 28 July 2017.
  23. "JEDEC Updates Standards for Low Power Memory Devices". JEDEC. Retrieved 28 July 2017.
  24. "JEDEC Updates Standard for Low Power Memory Devices: LPDDR5". jedec.org. Retrieved 19 February 2019.
  25. Smith, Ryan (16 July 2018). "Samsung Announces First LPDDR5 DRAM Chip, Targets 6.4Gbps Data Rates & 30% Reduced Power". AnandTech.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.