HAT+ adapter for Raspberry Pi 5 connecting a M-key M.2 device (2230 or 2242) to a PCIe 2.0 lane. Use a 16 FPC and a 3.3 V regulator with up to 3 A for the module.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show the networks and uses of each contact
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
40 visible
Pin
MCU pin
Types
Notes
3V3
Power
3.3 V of the host for the EEPROM U2 identification.
5V
Power
5 V from Raspberry Pi 5. Share the FPC network and feed U1.
GPIO2
NC
Position of GPIO2 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
5V
Power
5 V from Raspberry Pi 5. Share the FPC network and feed U1.
GPIO3
NC
Position of GPIO3 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO4
NC
Position of GPIO4 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO14
NC
Position of GPIO14 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO15
NC
Position of GPIO15 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO17
NC
Position of GPIO17 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO18
NC
Position of GPIO18 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO27
NC
Position of GPIO27 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO22
NC
Position of GPIO22 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO23
NC
Position of GPIO23 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
3V3
Power
3.3 V of the host for the EEPROM U2 identification.
GPIO24
NC
Position of GPIO24 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO10
NC
Position of GPIO10 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO9
NC
Position of GPIO9 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO25
NC
Position of GPIO25 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO11
NC
Position of GPIO11 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO8
NC
Position of GPIO8 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO7
NC
Position of GPIO7 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
ID_SD
I2C
HAT+ ID SDA for U2. The reserved bus for the detection of accessories.
ID_SC
I2C
HAT+ identification SCL for U2. The reserved bus for the detection of accessories.
GPIO5
NC
Position of GPIO5 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO6
NC
Position of GPIO6 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO12
NC
Position of GPIO12 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO13
NC
Position of GPIO13 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO19
NC
Position of GPIO19 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO16
NC
Position of GPIO16 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO26
NC
Position of GPIO26 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GPIO20
NC
Position of GPIO20 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
GND
GND
Common ground of the board and the host.
GPIO21
NC
Position of GPIO21 in Raspberry Pi 5. The contact passes through J1 without electrical connection to the HAT circuit.
Specifications
Model
Raspberry Pi M.2 HAT+ M Key Standard · SC1166 · M2MKEY-HAT, 3 revision schematic
Host
Raspberry Pi 5 using J2 16 contacts, 0.5 mm pass. J1 is the HAT+ header of 2 × 20, 2.54 mm pitch.
Enlace
PCIe 2.0 ×1 · up to 500 MB / s peak according to Raspberry Pi
Socket
M.2 Socket 3, llave M · 2230 o 2242 · 67 electrical contacts and two ground anchorages
Power supply
5 V from J1 and J2 for the converter. The FPC provides up to 1 A to 5 V. The regulated HAT output supports up to 3 A to 3.3 V for the module. J1 also provides 3.3 V for EEPROM.
Indicators
Orange PWR (valid M.2 feed) and green ACT (LED # activity requested from the module).
References
Datasheets
Manufacturer references and technical documentation.
The GPIO names indicate their position in the Raspberry Pi 5. The HAT only cabling the power, ground and identification lines. In other contacts, the header keeps the physical pass stackable.
Guidance and details
J1 is read from the FPC end, with the odd on the side of the components and the pairs on the outer edge. The library includes views of the FPC J2, the PCB terminals of the M.2 J3 and the reverse test points.
Compatibilidad M.2
The electronics implements PCIe × 1. The schematic shows contacts of other lanes and SATA-associated signals in the M.2 symbol, but the SC1166 does not link those lanes or implement SATA.
Polaridad PCIe
Raspberry Pi crossed P and N into the data pairs to facilitate routing. The REFCLK pair retains its polarity. The J3 view indicates the actual networks and the standard zocalo names.
Test points
The reverse view uses a photograph with the flex removed. It identifies TP1-TP28 by the screen and its networks in the schematic.