SPD

Also known as: Serial presence detect

On this page 7

SPD, short for serial presence detect, is a small nonvolatile chip on every modern memory module that stores a standardized description of the module so the system firmware can configure it automatically. In computer hardware, SPD is the reason a new DIMM or SO-DIMM works without manual setup: at power-on, the firmware reads the chip, learns the capacity, organization, supported speeds and timings, and programs the memory controller accordingly.

The data layout is defined by JEDEC, the standards body behind DDR memory, and it changes with each generation. SPD therefore sits at the boundary between the module and the platform: the module describes itself, and the motherboard firmware decides how to use that description in the Memory subsystem.

How SPD works during system startup

SPD works by exposing a read-only data table over a low-speed management bus before the main memory interface is active. The chip connects to the SMBus, a variant of I2C, and answers at one of eight addresses (0x50 to 0x57), which correspond to the memory slots on the board. Because this bus runs at only 100 to 400 kHz for SMBus devices, it is used only for discovery, never for data transfer.

The firmware routine that consumes SPD is usually called the memory reference code or memory training stage. It reads every populated slot, checks the CRC checksum of the table, and calculates a configuration that all installed modules can share. Only after this step does the controller train signal timing on the high-speed DDR bus.

  1. Power is applied and the firmware scans the SMBus addresses for SPD devices.
  2. Each table is read and validated with its checksum bytes.
  3. The firmware selects the highest common speed and timings that every module supports.
  4. The memory controller is programmed and training aligns signals on the DDR bus.
  5. Module details are copied into SMBIOS tables, where the operating system can report them.

What the SPD table contains

The SPD table holds electrical, logical and identity data in fixed byte positions. Timings are not stored as cycle counts alone; they are stored as time values in picoseconds using a medium and a fine timebase, so the firmware can convert them into clock cycles for whatever frequency it selects. This design lets one table describe behavior across several speed grades.

The following table summarizes the main groups of fields found in a typical DDR4 or DDR5 SPD.

Field groupExamplesWhat the firmware uses it for
Module typeDRAM generation, UDIMM, RDIMM, SO-DIMMRejecting incompatible modules
OrganizationRanks, bank groups, device width, densityAddress mapping and total capacity
Base timingsMinimum cycle time, tAA, tRCD, tRP, tRASCalculating CAS latency and other timings
Supported latenciesBitmap of valid CAS latency valuesChoosing a legal latency for the speed
Voltage and thermalNominal VDD, thermal sensor presencePower setup and throttling limits
IdentityJEDEC manufacturer ID, part number, serial, date codeInventory and diagnostics
IntegrityCRC bytes per blockDetecting corrupted contents
Main field groups in an SPD table

Beyond the JEDEC area, many enthusiast modules carry vendor profile blocks such as Intel XMP or AMD EXPO. These profiles store overclocked frequencies, tighter timings and higher voltages that the firmware applies only when the user enables them; the standard JEDEC values remain the default.

SPD across DDR generations

Each DDR generation has expanded the SPD capacity and the management features of the chip. DDR3 used a simple 256-byte EEPROM, DDR4 doubled it to 512 bytes with page switching, and DDR5 replaced the plain EEPROM with an SPD hub that also acts as a bus repeater and temperature sensor.

GenerationSPD sizeDevice and busNotable features
DDR3256 bytesEEPROM on SMBusOptional thermal sensor, early XMP 1.x
DDR4512 bytesEE1004 EEPROM on SMBusTwo pages, per-block write protection, XMP 2.0
DDR51,024 bytesSPD5118 hub on I3C Basic or SMBusIntegrated temperature sensor, hub for PMIC, XMP 3.0 and EXPO
SPD device evolution by memory generation

On DDR5 modules, the SPD hub isolates the local bus that also reaches the power management IC and, on registered modules, the registering clock driver. The hub supports I3C Basic at up to 12.5 MHz, which shortens the time firmware spends reading multiple modules and polling temperatures.

SPD is often confused with the profiles and tables that depend on it, yet it is only the storage and transport layer for module descriptions. The comparison below separates SPD from neighboring concepts in the same Topic.

ConceptRoleRelationship to SPD
SPDStores the module descriptionBase mechanism
XMPIntel performance profile formatStored in extra SPD bytes
AMD EXPOAMD performance profile formatStored in extra SPD bytes
Memory timingsDelays such as CAS latencyEncoded in SPD as time values
SMBIOS type 17Firmware table read by the OSPopulated from SPD data at boot
Memory controllerDrives the DDR busConfigured using SPD values
SPD versus related concepts

A practical consequence is that operating system tools rarely read SPD directly. Utilities that show memory part numbers usually read SMBIOS, while specialized tools such as decode-dimms on Linux access the SMBus themselves, which some platforms block for security reasons.

Limitations, failures and common mistakes

SPD describes what the module manufacturer guarantees under JEDEC conditions, not what a particular memory controller can sustain. A kit rated by its profile at a high speed may still fail on a platform whose controller or board layout cannot reach that speed, because SPD has no knowledge of the motherboard.

The most frequent problems and their usual causes are listed below.

SymptomLikely causeTypical fix
Memory runs slower than advertisedProfile not enabled, JEDEC default usedEnable XMP or EXPO in firmware
Mixed kits run at the lowest speedFirmware picks the common subsetUse one matched kit
System does not boot after flashing SPDCorrupted table or wrong checksumRestore the original dump
Tools cannot read SPDSMBus locked by firmware or driverUse firmware reports or SMBIOS data
Wrong capacity or rank reportedCounterfeit or reprogrammed moduleVerify chip markings and source
Common SPD-related symptoms
  • Writing to SPD is risky: DDR4 and DDR5 provide write protection by block, and a damaged table can make a module unusable.
  • SPD does not report actual chip quality; two modules with identical tables may overclock very differently.
  • Server platforms validate SPD strictly and may reject modules whose identity or type fields do not match the qualified list.

A non-technical view

Every memory stick carries a tiny label written in chip form. When the computer starts, it reads that label to learn how big the stick is, how fast it can safely run and how much power it needs.

Without SPD, a person would have to type those settings in by hand. With it, the computer sets up memory by itself, choosing safe settings that every installed stick can handle. Faster settings stored on the label are used only when someone switches them on.

A concrete example

A small design studio upgrades a workstation by adding two 32 GB DDR5 modules rated by their profile at 6000 MT/s to an existing pair of 16 GB modules rated at 5600 MT/s. After installation, the firmware reads all four SPD hubs and finds that the older pair has no matching performance profile, so it falls back to a conservative JEDEC speed of 4800 MT/s for the whole system.

The technician checks the firmware report, which lists each module’s part number and timings taken from SPD, and identifies the mismatch within minutes. The studio replaces the old pair with a second identical kit, enables EXPO, and the machine trains successfully at 6000 MT/s. The outcome is a stable 128 GB configuration at the rated speed, reached by reading SPD data instead of guessing.