M.2

Last updated

M.2
Intel 512G M2 Solid State Drive.jpg
An M.2 2280 solid-state drive (SSD), 22 mm wide and 80 mm long
Connects to Motherboard  via one of:
Common manufacturers Intel
Phison
Realtek
Samsung
Silicon Motion
SK Hynix
Design firm PCI-SIG
IntroducedNovember 1, 2013;10 years ago (2013-11-01)
Dimensions
  • 22 mm × 30 mm
  • 22 mm × 42 mm
  • 22 mm × 60 mm
  • 22 mm × 80 mm
  • 22 mm × 110 mm
A size comparison of an mSATA SSD (left) and an M.2 2242 SSD (right) M.2 and mSATA SSDs comparison.jpg
A size comparison of an mSATA SSD (left) and an M.2 2242 SSD (right)

M.2, pronounced m dot two [1] and formerly known as the Next Generation Form Factor (NGFF), is a specification for internally mounted computer expansion cards and associated connectors. M.2 replaces the Mini SATA (mSATA) standard and the Mini PCIe (mPCIe) standard (Which is how it got the short name of M dot 2 from being Mini SATA 2). Employing a more flexible physical specification, M.2 allows different module widths and lengths, which, paired with the availability of more advanced interfacing features, makes M.2 more suitable than mSATA in general for solid-state storage applications, particularly in smaller devices such as ultrabooks and tablets. [2] [3] [4]

Contents

Computer bus interfaces provided through the M.2 connector are PCI Express x4 (up to four lanes), Serial ATA 3.0, and USB 3.0 (a single logical port for each of the latter two). It is up to the manufacturer of the M.2 host or module to select which interfaces are to be supported, depending on the desired level of host support and the module type. Different M.2 connector keying notches denote various purposes and capabilities of both the M.2 hosts and modules, and also prevent the M.2 modules from being inserted into incompatible host connectors. [2] [3] [5]

The M.2 specification supports NVM Express (NVMe) as the logical device interface for M.2 PCI Express SSDs, in addition to supporting legacy Advanced Host Controller Interface (AHCI) at the logical interface level. While the support for AHCI ensures software-level backward compatibility with legacy SATA devices and legacy operating systems, NVM Express is designed to fully utilize the capability of high-speed PCI Express storage devices to perform many I/O operations in parallel. [2] :14 [6]

Features

A high-level overview of the SATA Express software architecture, which also applies to M.2. It supports both legacy SATA and PCI Express storage devices, with AHCI and NVMe as the logical device interfaces. SATA Express interface.svg
A high-level overview of the SATA Express software architecture, which also applies to M.2. It supports both legacy SATA and PCI Express storage devices, with AHCI and NVMe as the logical device interfaces.

M.2 modules can integrate multiple functions, including the following device classes: Wi-Fi, Bluetooth, satellite navigation, near field communication (NFC), digital radio, WiGig, wireless WAN (WWAN), and solid-state drives (SSDs). [7] The SATA revision 3.2 specification, in its gold revision as of August 2013, standardizes M.2 as a new format for storage devices and specifies its hardware layout. [2] :12 [8] Buses exposed through the M.2 connector include PCI Express (PCIe) 3.0 and newer, Serial ATA (SATA) 3.0 and USB  3.0; all these standards are backward compatible.

The M.2 specification provides up to four PCI Express lanes and one logical SATA 3.0 (6 Gbit/s) port, and exposes them through the same connector so both PCI Express and SATA storage devices may exist in the form of M.2 modules. Exposed PCI Express lanes provide a pure PCI Express connection between the host and storage device, with no additional layers of bus abstraction. [9] PCI-SIG M.2 specification, in its revision 1.0 as of December 2013, provides detailed M.2 specifications. [2] :12 [10]

Storage interfaces

Three options are available for the logical device interfaces and command sets used for interfacing with M.2 storage devices, which may be used depending on the type of M.2 storage device and available operating system support: [2] :14 [6] [9]

Legacy SATA
Used for SATA SSDs, and interfaced through the AHCI driver and legacy SATA 3.0 (6 Gbit/s) port exposed through the M.2 connector.
PCI Express using AHCI
Used for PCI Express SSDs and interfaced through the AHCI driver and provided PCI Express lanes, providing backward compatibility with widespread SATA support in operating systems at the cost of lower performance. AHCI was developed when the purpose of a host bus adapter (HBA) in a system was to connect the CPU/memory subsystem with a much slower storage subsystem based on rotating magnetic media; as a result, AHCI has some inherent inefficiencies when applied to SSD devices, which behave much more like RAM than like spinning media.
PCI Express using NVMe
Used for PCI Express SSDs and interfaced through the NVMe driver and provided PCI Express lanes, as a high-performance and scalable host controller interface designed and optimized especially for interfacing with PCI Express SSDs. NVMe has been designed from the ground up, capitalizing on the low latency and enhanced parallelism of PCI Express SSDs, and complementing the parallelism of contemporary CPUs, platforms and applications. At a high level, primary advantages of NVMe over AHCI relate to NVMe's ability to exploit parallelism in host hardware and software, based on its design advantages that include data transfers with fewer stages, greater depth of command queues, and more efficient interrupt processing.

Form factors and keying

M.2 keying notches in B and M positions; the offsetting of the pins on different sides of an M.2 module is also visible. M2 Edge Connector Keying.svg
M.2 keying notches in B and M positions; the offsetting of the pins on different sides of an M.2 module is also visible.
An M.2 2230 SSD, 22 mm wide and 30 mm long, with the key in the M position, and with a microSD card on top for scale. The large chip on the M.2 module is a single-chip SSD conforming to the M.2 1620 ball grid array (BGA) form factor. M.2 2230 M-key SSD in comparison with Micro-SD card.jpg
An M.2 2230 SSD, 22 mm wide and 30 mm long, with the key in the M position, and with a microSD card on top for scale. The large chip on the M.2 module is a single-chip SSD conforming to the M.2 1620 ball grid array (BGA) form factor.
Size examples of M.2 SSDs. The first two digits of the size number are the width and the remaining digits the length in millimeters; a 2242-sized M.2 SSD is 22mm x 42mm. M.2 slots on motherboards and other devices may not support all SSD sizes. SSD size variations.jpg
Size examples of M.2 SSDs. The first two digits of the size number are the width and the remaining digits the length in millimeters; a 2242-sized M.2 SSD is 22mm x 42mm. M.2 slots on motherboards and other devices may not support all SSD sizes.

The M.2 standard is based on the mSATA standard, which uses the existing PCI Express Mini Card (Mini PCIe) form factor and connector. M.2 adds the possibility of larger printed circuit boards (PCBs), allowing longer modules and double-sided component population. Consequently, M.2 SSD modules can provide double the storage capacity within the footprint of an mSATA device. [2] :20,22–23 [4] [13]

M.2 modules are rectangular, with an edge connector on one side and a semicircular mounting hole at the center of the opposite edge. The edge connector has 75 positions with up to 67 pins, employing a 0.5 mm pitch and offsetting the pins on opposing sides of the PCB from each other. Each pin on the connector is rated for up to 50  V and 0.5  A, while the connector itself is specified to endure 60 mating cycles. [14] :6 However, many M.2 slots (Socket 1, 2 and 3) found on motherboards only provide up to 3.3 V power. [15] [16] [17]

The M.2 standard allows module widths of 12, 16, 22 and 30 mm, and lengths of 16, 26, 30, 38, 42, 60, 80 and 110 mm. Initial line-up of the commercially available M.2 expansion cards is 22 mm wide, with varying lengths of 30, 42, 60, 80 and 110 mm. [3] [5] [14] [18] The codes for the M.2 module sizes contain both the width and length of a particular module; for example, "2242" as a module code means that the module is 22 mm wide and 42 mm long, while "2280" denotes a module 22 mm wide and 80 mm long.

An M.2 module is installed into a mating connector provided by the host's circuit board, and a single mounting screw secures the module into place. Components may be mounted on either side of the module, with the actual module type limiting how thick the components can be; the maximum allowable thickness of components is 1.5 mm per side, and the thickness of the PCB is 0.8 mm ± 10%. [10] Different host-side connectors are used for single- and double-sided M.2 modules, providing different amounts of space between the M.2 expansion card and the host's PCB. [4] [5] [14] Circuit boards on the hosts are usually designed to accept multiple lengths of M.2 modules, which means that the sockets capable of accepting longer M.2 modules usually also accept shorter ones by providing different positions for the mounting screw. [19] [20]

M.2 module keying and provided interfaces [5] :8 [14] :3 [21] [22] [23]
Key
ID
Notched
pins
Provided interfaces
A (Socket 1)8–152 of PCIe  ×1, USB 2.0, I2C and DP  ×4
B (Socket 2)12–19 SATA, PCIe ×2, USB 2.0 and 3.0, audio, UIM, HSIC, SSIC, I2C and SMBus
C16–23Reserved for future use
D20–27
E (Socket 1)24–312 of PCIe ×1, USB 2.0, I2C, SDIO, UART, PCM and CNVi
A+E (Socket 1)8–15 and 24–312 of PCIe ×1, USB 2.0 and CNVi
F28–35Future Memory Interface (FMI)
G39–46Reserved for custom use (unused in the M.2 specification)
H43–50Reserved for future use
J47–54
K51–58
L55–62
M (Socket 3)59–66SATA, PCIe ×4, and SMBus
B+M (Socket 2)12-19 and 59–66SATA, PCIe ×2, and SMBus
Maximum component thickness on M.2 modules [5] :8 [14] :3
Type
ID
Top
side
Bottom
side
S11.20 mm
S21.35 mm
S31.50 mm
D11.20 mm1.35 mm
D21.35 mm1.35 mm
D31.50 mm1.35 mm
D41.50 mm0.70 mm
D51.50 mm1.50 mm
An M.2 socket on a motherboard, visible in the upper-left portion of the picture. The socket is keyed in the M position and provides two positions for the mounting screw, accepting 2260 and 2280 sizes of M.2 modules. M.2 connector on a computer motherboard.jpg
An M.2 socket on a motherboard, visible in the upper-left portion of the picture. The socket is keyed in the M position and provides two positions for the mounting screw, accepting 2260 and 2280 sizes of M.2 modules.

The PCB of an M.2 module provides a 75-position edge connector; depending on the type of module, certain pin positions are removed to present one or more keying notches. Host-side M.2 connectors (sockets) may populate one or more mating key positions, determining the type of modules accepted by the host; as of April 2014, host-side connectors are available with only one mating key position populated (either B or M). [5] [14] [11] Furthermore, M.2 sockets keyed for SATA or two PCI Express lanes (PCIe ×2) are referred to as "socket 2 configuration" or "socket 2", while the sockets keyed for four PCI Express lanes (PCIe ×4) are referred to as "socket 3 configuration" or "socket 3". [2] :15 [24]

For example, M.2 modules with two notches in B and M positions use up to two PCI Express lanes and provide broader compatibility at the same time, while the M.2 modules with only one notch in the M position use up to four PCI Express lanes; both examples may also provide SATA storage devices. Similar keying applies to M.2 modules that utilize provided USB 3.0 connectivity. [5] [11] [25]

Various types of M.2 modules are denoted using the "WWLL-HH-K-K" or "WWLL-HH-K" naming schemes, in which "WW" and "LL" specify the module width and length in millimeters, respectively. The "HH" part specifies, in an encoded form, whether a module is single- or double-sided, and the maximum allowed thickness of mounted components; possible values are listed in the right table above. Module keying is specified by the "K-K" part, in an encoded form using the key IDs from the left table above; it can also be specified as "K" only, if a module has only one keying notch. [5] [14]

Beside socketed modules, the M.2 standard also includes the option for having permanently soldered single-sided modules. [14]

Alternative standards

Samsung introduced a new form factor called Next Generation Small Form Factor (NGSFF), also known as NF1 or M.3, which may replace U.2 in server applications. [26] [27]

JEDEC JESD233 is another specification called Crossover Flash Memory (XFM) for XFM Embedded and Removable Memory Devices (XFMD). It targets to replace the M.2 form factor with a significantly smaller one (also called XT2), so that it can also be designed as an alternative to soldered memory. XFM Express utilizes a NVMe logical interface over a PCI Express physical interface. [28] [29]

See also

Related Research Articles

<span class="mw-page-title-main">PCI Express</span> Computer expansion bus standard

PCI Express, officially abbreviated as PCIe or PCI-e, is a high-speed serial computer expansion bus standard, designed to replace the older PCI, PCI-X and AGP bus standards. It is the common motherboard interface for personal computers' graphics cards, capture cards, sound cards, hard disk drive host adapters, SSDs, Wi-Fi, and Ethernet hardware connections. PCIe has numerous improvements over the older standards, including higher maximum system bus throughput, lower I/O pin count and smaller physical footprint, better performance scaling for bus devices, a more detailed error detection and reporting mechanism, and native hot-swap functionality. More recent revisions of the PCIe standard provide hardware support for I/O virtualization.

<span class="mw-page-title-main">SATA</span> Computer bus interface for storage devices

SATA is a computer bus interface that connects host bus adapters to mass storage devices such as hard disk drives, optical drives, and solid-state drives. Serial ATA succeeded the earlier Parallel ATA (PATA) standard to become the predominant interface for storage devices.

<span class="mw-page-title-main">Southbridge (computing)</span> One of the two chips in the core logic chipset architecture on a PC motherboard

On older personal computer motherboards, the southbridge is one of the two chips in the core logic chipset, handling many of a computer's input/output functions. The other component of the chipset is the northbridge, which generally handles onboard control tasks.

<span class="mw-page-title-main">ExpressCard</span> Specification for expansion and memory cards

ExpressCard, initially called NEWCARD, is an interface to connect peripheral devices to a computer, usually a laptop computer. The ExpressCard technical standard specifies the design of slots built into the computer and of expansion cards to insert in the slots. The cards contain electronic circuits and sometimes connectors for external devices. The ExpressCard standard replaces the PC Card standards.

<span class="mw-page-title-main">Native Command Queuing</span>

In computing, Native Command Queuing (NCQ) is an extension of the Serial ATA protocol allowing hard disk drives to internally optimize the order in which received read and write commands are executed. This can reduce the amount of unnecessary drive head movement, resulting in increased performance for workloads where multiple simultaneous read/write requests are outstanding, most often occurring in server-type applications.

The Advanced Host Controller Interface (AHCI) is a technical standard defined by Intel that specifies the register-level interface of Serial ATA (SATA) host controllers in a non-implementation-specific manner in its motherboard chipsets.

<span class="mw-page-title-main">PC/104</span> Computer standard family

PC/104 is a family of embedded computer standards which define both form factors and computer buses by the PC/104 Consortium. Its name derives from the 104 pins on the interboard connector (ISA) in the original PC/104 specification and has been retained in subsequent revisions, despite changes to connectors. PC/104 is intended for specialized environments where a small, rugged computer system is required. The standard is modular, and allows consumers to stack together boards from a variety of COTS manufacturers to produce a customized embedded system.

<span class="mw-page-title-main">Solid-state drive</span> Computer storage device with no moving parts

A solid-state drive (SSD) is a type of solid-state storage device that uses integrated circuits to store data persistently. It is sometimes called semiconductor storage device, solid-state device, and solid-state disk.

I/O Controller Hub (ICH) is a family of Intel southbridge microchips used to manage data communications between a CPU and a motherboard, specifically Intel chipsets based on the Intel Hub Architecture. It is designed to be paired with a second support chip known as a northbridge. As with any other southbridge, the ICH is used to connect and control peripheral devices.

<span class="mw-page-title-main">LGA 1155</span> Intel CPU socket

LGA 1155, also called Socket H2, is a zero insertion force flip-chip land grid array (LGA) CPU socket designed by Intel for their CPUs based on the Sandy Bridge and Ivy Bridge microarchitectures.

The Intel X79 is a Platform Controller Hub (PCH) designed and manufactured by Intel for their LGA 2011 and LGA 2011-1.

NVM Express (NVMe) or Non-Volatile Memory Host Controller Interface Specification (NVMHCIS) is an open, logical-device interface specification for accessing a computer's non-volatile storage media usually attached via the PCI Express bus. The initial NVM stands for non-volatile memory, which is often NAND flash memory that comes in several physical form factors, including solid-state drives (SSDs), PCIe add-in cards, and M.2 cards, the successor to mSATA cards. NVM Express, as a logical-device interface, has been designed to capitalize on the low latency and internal parallelism of solid-state storage devices.

<span class="mw-page-title-main">SATA Express</span> Computer device interface

SATA Express is a computer bus interface that supports both Serial ATA (SATA) and PCI Express (PCIe) storage devices, initially standardized in the SATA 3.2 specification. The SATA Express connector used on the host side is backward compatible with the standard SATA data connector, while it also provides two PCI Express lanes as a pure PCI Express connection to the storage device.

Solid-state storage (SSS) is non-volatile computer storage that has no moving parts; it uses only electronic circuits. This solid-state design dramatically differs from the commonly-used competing technology of electromechanical magnetic storage which uses moving media coated with magnetic material. Generally, SSS is much faster but more expensive for the same amount of storage.

<span class="mw-page-title-main">U.2</span> Computer interface standard for connecting SSDs to a computer

U.2, using the port SFF-8639, is a computer interface standard for connecting solid-state drives (SSDs) to a computer. It covers the physical connector, electrical characteristics, and communication protocols.

Virtium Solid State Storage and Memory is a privately held American company that manufactures semiconductor memory and solid-state disk (SSD) products for data storage in industrial/machine-to-machine designs, embedded systems, including small-footprint designs, and Industrial Internet of Things (IIoT) applications. The company's primary markets of focus include defense, industrial systems, network communications, and transportation. The name Virtium is derived from the word virtue.

<span class="mw-page-title-main">CFexpress</span> Memory card format

CFexpress is a standard for removable media cards proposed by the CompactFlash Association (CFA). The standard uses the NVM Express protocol over a PCIe 3.0 interface with 1 to 4 lanes where 1 GB/s data can be provided per lane. There are multiple form factors that feature different PCIe lane counts. One of the goals is to unify the ecosystem of removable storage by being compatible with standards already widely adopted, such as PCIe and NVMe. There already is a wide range of controllers, software and devices that use these standards, accelerating adoption.

<span class="mw-page-title-main">Power10</span> 2020 family of multi-core microprocessors by IBM

Power10 is a superscalar, multithreading, multi-core microprocessor family, based on the open source Power ISA, and announced in August 2020 at the Hot Chips conference; systems with Power10 CPUs. Generally available from September 2021 in the IBM Power10 Enterprise E1080 server.

The Enterprise and Data Center Standard Form Factor (EDSFF), previously known as the Enterprise and Data Center SSD Form Factor, is a family of solid-state drive (SSD) form factors for use in data center servers.

Compute Express Link (CXL) is an open standard interconnect for high-speed, high capacity central processing unit (CPU)-to-device and CPU-to-memory connections, designed for high performance data center computers. CXL is built on the serial PCI Express (PCIe) physical and electrical interface and includes PCIe-based block input/output protocol (CXL.io) and new cache-coherent protocols for accessing system memory (CXL.cache) and device memory (CXL.mem). The serial communication and pooling capabilities allows CXL memory to overcome performance and socket packaging limitations of common DIMM memory when implementing high storage capacities.

References

  1. Gillis, Alexander S. (July 2021). "Definition: M.2 SSD". TechTarget. Retrieved 24 February 2022.
  2. 1 2 3 4 5 6 7 8 9 Handy, Jim; Tanguy, Jon; May, Jaren; Akerson, David; Kim, Eden; Coughlin, Tom (20 September 2014). "SNIA Webcast: All About M.2 SSDs" (PDF). SNIA . Retrieved 15 July 2015.
  3. 1 2 3 "SATA M.2 Card". SATA-IO . Retrieved 14 September 2013.
  4. 1 2 3 Kyrnin, Mark. "What Is M.2? New Interface and Form Factor For Compact SSD Drives in Laptops and Desktops". compreviews.about.com. Retrieved 15 July 2015.
  5. 1 2 3 4 5 6 7 8 "M.2 Connector (NGFF) Introduction" (PDF). ATTEND. Archived from the original (PDF) on 3 February 2014. Retrieved 17 January 2014.
  6. 1 2 3 Landsman, Dave (9 August 2013). "AHCI and NVMe as Interfaces for SATA Express Devices – Overview" (PDF). SATA-IO . Retrieved 15 July 2015.
  7. "SATA-IO FAQ: What is the M.2 card and what is the status of the specification?" (PDF). SATA-IO . 8 August 2013. p. 2. Retrieved 15 July 2015.
  8. "Serial ATA Revision 3.2 (Gold Revision)" (PDF). KnowledgeTek. SATA-IO. 7 August 2013. pp. 194–209. Archived from the original (PDF) on 27 March 2014. Retrieved 15 July 2015.
  9. 1 2 Wassenberg, Paul (19 June 2013). "SATA Express: PCIe Client Storage" (PDF). SATA-IO . Retrieved 2 October 2013.
  10. 1 2 "PCI Express M.2 Specification Revision 1.0". PCI-SIG . 2013. Retrieved 14 December 2013.
  11. 1 2 3 Marshall R. (7 April 2014). "Buying an M.2 SSD? How to tell which is which?". Republic of Gamers. ASUS. Archived from the original on 27 April 2014. Retrieved 28 April 2014.
  12. "Which SSD is Compatible with PS5?". Gaming Console 101. 29 March 2023. Retrieved 2 April 2023.
  13. "M.2 Frequently Asked Questions". Kingston Technology. Retrieved 15 July 2015.
  14. 1 2 3 4 5 6 7 8 "M.2 (NGFF) Quick Reference Guide" (PDF). Tyco Electronics. Retrieved 16 November 2013.
  15. https://media.digikey.com/pdf/Data%20Sheets/Viking%20PDFs/PSFNP5xxxx5xxx_C.pdf [ bare URL PDF ]
  16. https://www.nxp.com/docs/en/application-note/AN13049.pdf [ bare URL PDF ]
  17. https://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ssd-530-m2-specification.pdf [ bare URL PDF ]
  18. Mujtaba, Hassan (2 July 2013). "Intel SSD 530 Series Arriving Next Week – Feature NGFF M.2 Interface". Wccftech. Retrieved 14 September 2013.
  19. "M2P4S M.2 (NGFF) PCIe base SSD to PCIe ×4 Adapter". HW Tools. 14 February 2014. Retrieved 22 June 2014.
  20. Burek, John (14 April 2015). "2015 Guide: The Best M.2 Solid-State Drives". Computer Shopper. Retrieved 15 July 2015.
  21. "SMBus interface for SSD Socket 2 and Socket 3 (PCI-SIG engineering change notice)" (PDF). PCI-SIG . 11 August 2014. p. 2. Archived from the original (PDF) on 14 July 2015. Retrieved 5 August 2015.
  22. "How to distinguish the differences between M.2 cards". Dell. Retrieved 24 March 2020.
  23. "PCI Express M.2 Specification, Revision 1.0" (PDF). PCI-SIG . 1 November 2013. p. 23. Archived from the original (PDF) on 18 January 2021. Retrieved 13 June 2020.
  24. Zhang, Jack; Liang, Mark (4 July 2015). "NVM Express Based Solid-State Drives: Crossing the Chasm, Going Mainstream" (PDF). Intel. p. 39. Retrieved 27 August 2015.
  25. Tokar, Les (24 November 2013). "Understanding M.2 NGFF SSD standardization (or the lack of)". The SSD Review. Retrieved 28 April 2014.
  26. Hensel, Martin; Graefen, Rainer (27 July 2018). "Was sind NF1, M.3 und NGSFF?". StorageInsider (in German). Vogel Communications Group. Archived from the original on 10 July 2022. Retrieved 10 July 2022.
  27. "NF1 SSD | Samsung Semiconductor". Samsung. Archived from the original on 2 October 2020.
  28. Lee, Matthew (28 August 2021). "Move over M.2, here comes the XFM memory specification - And it might displace soldered storage, too, with some luck". TechSpot. Archived from the original on 10 July 2022. Retrieved 10 July 2022.
  29. Liu, Zhiye (6 August 2019). "Toshiba Unveils XFMEXPRESS Form Factor for NVMe SSDs". Tom's Hardware. Retrieved 10 July 2022.