Raspberry Pi M.2 HAT+ Compact Pinout

Raspberry Pi M.2 HAT+ Compact pinout. Cenital photo of the face with the socket M.2.

Jump to pin index ↓

Main pinout

Cenital photo of the face with the socket M.2. The contacts of the header are seen through the holes and are numbered from the end of the flex. Adaptor for a M.2 PCIe M key module in 2230 format. The design leaves room for the fan of the official housing.

100%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 contact details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

40 visible
PinMCU pinTypesNotes
3V3Power3.3 V root of the Raspberry Pi 5 for the HAT+ identification.
5VPower5 V nominal entry from Raspberry Pi 5.
GPIO2GPIORaspberry Pi 5 GPIO2 contact. The manufacturer documents no use for this GPIO on the Compact R4.
5VPower5 V nominal entry from Raspberry Pi 5.
GPIO3GPIORaspberry Pi 5 GPIO3 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO4GPIORaspberry Pi 5 GPIO4 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO14GPIORaspberry Pi 5 GPIO14 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO15GPIORaspberry Pi 5 GPIO15 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO17GPIORaspberry Pi 5 GPIO17 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO18GPIORaspberry Pi 5 GPIO18 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO27GPIORaspberry Pi 5 GPIO27 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO22GPIORaspberry Pi 5 GPIO22 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO23GPIORaspberry Pi 5 GPIO23 contact. The manufacturer documents no use for this GPIO on the Compact R4.
3V3Power3.3 V root of the Raspberry Pi 5 for the HAT+ identification.
GPIO24GPIORaspberry Pi 5 GPIO24 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO10GPIORaspberry Pi 5 GPIO10 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO9GPIORaspberry Pi 5 GPIO9 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO25GPIORaspberry Pi 5 GPIO25 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO11GPIORaspberry Pi 5 GPIO11 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO8GPIORaspberry Pi 5 GPIO8 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO7GPIORaspberry Pi 5 GPIO7 contact. The manufacturer documents no use for this GPIO on the Compact R4.
ID_SDI²CI²C bus SDA reserved to identify the HAT+ board.
ID_SCI²CI²C bus SCL reserved to identify the HAT+ board.
GPIO5GPIORaspberry Pi 5 GPIO5 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO6GPIORaspberry Pi 5 GPIO6 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO12GPIORaspberry Pi 5 GPIO12 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO13GPIORaspberry Pi 5 GPIO13 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO19GPIORaspberry Pi 5 GPIO19 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO16GPIORaspberry Pi 5 GPIO16 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO26GPIORaspberry Pi 5 GPIO26 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GPIO20GPIORaspberry Pi 5 GPIO20 contact. The manufacturer documents no use for this GPIO on the Compact R4.
GNDGNDConnector ground reference.
GPIO21GPIORaspberry Pi 5 GPIO21 contact. The manufacturer documents no use for this GPIO on the Compact R4.

Specifications

Model and revision
SC1771 · PCB R4, read in the Data Matrix of two units photographed.
Host
Raspberry Pi 5 · 2 × 20 (2.54 mm) and 16 PCIe flex contacts (0.5 mm).
Interfaz
PCIe 2.0 ×1 · up to 500 MB / s peak according to Raspberry Pi.
Tarjeta
M.2 Socket 3, llave M · 2230 (22 × 30 mm) · 67 contacts.
Power supply
5 V input and 3.3 V regulated for the module, up to 3 A in total.
Identification
EEPROM I²C de 32 kbit en ID_SD e ID_SC. PWR and ACT indicators.
Mechanical
71.5 × 56.5 mm rigid-flexible PCB with the flex. Designed for the official housing with its fan.
Temperatura ambiente
De 0 a 50 °C.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
SC1771Product SheetRaspberry PiSpecifications and plan of the Compact.Datasheet
SC1771MontajeRaspberry PiOrientation of the board and the integrated flex.Datasheet
Raspberry Pi 5GPIO headerRaspberry PiPhysical numbering and host positions.Datasheet
PCIe FFCInterfaz anfitrionaRaspberry PiJ20 numbering and signals.Datasheet
HAT+Identification and feedingRaspberry PiDefine the HAT+ identification bus.Datasheet
M.2 Socket 3Specification of the zocaloPCI-SIGThe PET / PER names refer to the module.Datasheet
M24C32-FEEPROM of identificationSTMicroelectronicsMarked 24C32FP on the back.Datasheet
AP3441Regulador reductorDiodes Incorporated9B marked in the encapsulate.Datasheet

Board notes

Photo revision
The Waveshare and Adafruit codes share the m2mkpchatR4 prefix. The schematic published RPI-M2MKEY-HAT Rev. 3 describes the HAT+ Standard and was only consulted as a reference of the family.
Header positions
The numbering and GPIO names identify the contacts of the Pi 5. The holes on the front face let you see the metal of the header, which is attached by the back.
Polaridad PCIe
The flex names RX and TX from the Pi 5. The M.2 detail uses the nominal allocation of the zocalo from the module. The P / N correspondence of the internal layout R4 is not documented.
Rear pads
P01-P28 identify positions observed in the photo. The R4 official networks and designators require the schematic of this revision or continuity measurements.
Detalles
The library includes the header seen by the back, the fingers of the flex, the terminals of the M.2 socket and the test pans.