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.
- Power is applied and the firmware scans the SMBus addresses for SPD devices.
- Each table is read and validated with its checksum bytes.
- The firmware selects the highest common speed and timings that every module supports.
- The memory controller is programmed and training aligns signals on the DDR bus.
- 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 group | Examples | What the firmware uses it for |
|---|---|---|
| Module type | DRAM generation, UDIMM, RDIMM, SO-DIMM | Rejecting incompatible modules |
| Organization | Ranks, bank groups, device width, density | Address mapping and total capacity |
| Base timings | Minimum cycle time, tAA, tRCD, tRP, tRAS | Calculating CAS latency and other timings |
| Supported latencies | Bitmap of valid CAS latency values | Choosing a legal latency for the speed |
| Voltage and thermal | Nominal VDD, thermal sensor presence | Power setup and throttling limits |
| Identity | JEDEC manufacturer ID, part number, serial, date code | Inventory and diagnostics |
| Integrity | CRC bytes per block | Detecting corrupted contents |
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.
| Generation | SPD size | Device and bus | Notable features |
|---|---|---|---|
| DDR3 | 256 bytes | EEPROM on SMBus | Optional thermal sensor, early XMP 1.x |
| DDR4 | 512 bytes | EE1004 EEPROM on SMBus | Two pages, per-block write protection, XMP 2.0 |
| DDR5 | 1,024 bytes | SPD5118 hub on I3C Basic or SMBus | Integrated temperature sensor, hub for PMIC, XMP 3.0 and EXPO |
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 compared with related memory mechanisms
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.
| Concept | Role | Relationship to SPD |
|---|---|---|
| SPD | Stores the module description | Base mechanism |
| XMP | Intel performance profile format | Stored in extra SPD bytes |
| AMD EXPO | AMD performance profile format | Stored in extra SPD bytes |
| Memory timings | Delays such as CAS latency | Encoded in SPD as time values |
| SMBIOS type 17 | Firmware table read by the OS | Populated from SPD data at boot |
| Memory controller | Drives the DDR bus | Configured using SPD values |
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.
| Symptom | Likely cause | Typical fix |
|---|---|---|
| Memory runs slower than advertised | Profile not enabled, JEDEC default used | Enable XMP or EXPO in firmware |
| Mixed kits run at the lowest speed | Firmware picks the common subset | Use one matched kit |
| System does not boot after flashing SPD | Corrupted table or wrong checksum | Restore the original dump |
| Tools cannot read SPD | SMBus locked by firmware or driver | Use firmware reports or SMBIOS data |
| Wrong capacity or rank reported | Counterfeit or reprogrammed module | Verify chip markings and source |
- 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.