Raspberry Pi Compute Module 4 - image 1
1 / 3
Raspberry Pi·Compute Module

Raspberry Pi Compute Module 4

Industrial-grade embedded computer module with BCM2711 quad-core Cortex-A72 @ 1.5GHz, 1–8GB LPDDR4 RAM, optional 8–32GB eMMC and optional dual-band WiFi + Bluetooth 5.0. Available in 32 hardware variants on dual high-density connectors.

Starting from

$25.00

Specifications

Certifications

Components

SoCMCUDatasheet

Broadcom BCM2711 quad-core ARM Cortex-A72 @ 1.5GHz, VideoCore VI GPU, 4Kp60 HEVC decode, PCIe Gen 2.

Bus Interfaces

I2C
SCL: GPIO3SDA: GPIO2
SPI
CE0: GPIO8CE1: GPIO7SCK: GPIO11MISO: GPIO9MOSI: GPIO10
UART
RX: GPIO15TX: GPIO14
I2S
FS: GPIO19CLK: GPIO18DIN: GPIO20DOUT: GPIO21
GPIO
PCIe
USB
HDMI
CSI
DSI
Ethernet

GPIO Map

GPIO0
GPIO0 — ID_SD (HAT EEPROM)
digital-inputdigital-output
GPIO1
GPIO1 — ID_SC (HAT EEPROM)
digital-inputdigital-output
GPIO2
SDA1 — I2C1 Data
i2cdigital-inputdigital-output
I2C
GPIO3
SCL1 — I2C1 Clock
i2cdigital-inputdigital-output
I2C
GPIO4
GPIO4 — General Purpose
digital-inputdigital-output
GPIO5
GPIO5 — General Purpose
digital-inputdigital-output
GPIO6
GPIO6 — General Purpose
digital-inputdigital-output
GPIO7
SPI0 CE1 — SPI0 Chip Enable 1
spidigital-inputdigital-output
SPI
GPIO8
SPI0 CE0 — SPI0 Chip Enable 0
spidigital-inputdigital-output
SPI
GPIO9
SPI0 MISO — SPI0 MISO
spidigital-inputdigital-output
SPI
GPIO10
SPI0 MOSI — SPI0 MOSI
spidigital-inputdigital-output
SPI
GPIO11
SPI0 CLK — SPI0 Clock
spidigital-inputdigital-output
SPI
GPIO14
UART0 TX — UART0 Transmit
uartdigital-inputdigital-output
UART
GPIO15
UART0 RX — UART0 Receive
uartdigital-inputdigital-output
UART
GPIO16
GPIO16 — General Purpose
digital-inputdigital-output
GPIO17
GPIO17 — General Purpose
digital-inputdigital-output
GPIO18
PCM CLK — I2S Clock / PWM0
digital-inputdigital-outputpwm
GPIO19
PCM FS — I2S Frame Sync / PWM1
digital-inputdigital-outputpwm
GPIO20
PCM DIN — I2S Data In
digital-inputdigital-output
GPIO21
PCM DOUT — I2S Data Out
digital-inputdigital-output
GPIO22
GPIO22 — General Purpose
digital-inputdigital-output
GPIO23
GPIO23 — General Purpose
digital-inputdigital-output
GPIO24
GPIO24 — General Purpose
digital-inputdigital-output
GPIO25
GPIO25 — General Purpose
digital-inputdigital-output
GPIO26
GPIO26 — General Purpose
digital-inputdigital-output
GPIO27
GPIO27 — General Purpose
digital-inputdigital-output

Overview

The Raspberry Pi Compute Module 4 (CM4) is Raspberry Pi's compact, embedded-computing module designed for integration into custom carrier boards and commercial products. Unlike the standard Pi 4 Model B, the CM4 exposes all its connectivity through two high-density 100-pin board-to-board connectors (Hirose DF40), placing I/O selection entirely in the hands of the carrier board designer. This makes it ideal for industrial controllers, kiosks, digital signage, network appliances, and embedded systems where a fixed-connector consumer board is impractical.

The CM4 is available in 32 hardware variants covering four RAM tiers (1GB, 2GB, 4GB, 8GB LPDDR4-3200), four eMMC storage tiers (Lite/no MMC, 8GB, 16GB, 32GB), and two wireless options (no wireless, or dual-band 802.11ac WiFi + Bluetooth 5.0 via onboard antenna). All variants share the same BCM2711 SoC — a quad-core ARM Cortex-A72 at 1.5GHz with VideoCore VI GPU — and the same 55×40mm form factor. RAM-only (Lite) variants use microSD via the carrier board; eMMC variants boot from the soldered flash.

The module exposes the full Raspberry Pi 4 peripheral set: 28 GPIO, up to 6 UART, 6 I2C, 5 SPI, dual HDMI, dual MIPI CSI camera, dual MIPI DSI display, PCIe Gen 2 ×1, USB 2.0, Gigabit Ethernet PHY (IEEE 1588 capable), and H.265/H.264 hardware video decode. The PCIe lane is a particularly notable addition over the Pi 4 Model B, enabling M.2 NVMe storage or other PCIe peripherals when used with an appropriate carrier board.

Raspber Pi publishes full KiCad design files for both the CM4 and the reference CM4 IO Board, allowing designers to build custom carrier boards validated against the official reference design. The module runs the complete Raspberry Pi OS software ecosystem and all compatible Linux distributions.

Use Cases

5

Resources

Where to Buy

Explore more of the directory — popular use cases, firmware, and specs to browse next.