Raspberry Pi Compute Module Hardware
Raspberry Pi Compute Module Hardware
Raspberry Pi
Documentation
Computers
Accessories
Microcontrollers
Services
Pico C SDK
Compute Module
hardware
Compute Module 4
The latest version of the Compute Module is the Compute
Module 4 (CM4). It is the recommended Compute Module
for all current and future development.
NOTE
Older Products
Raspberry Pi CM1, CM3 and CM3L are supported
products with an End-of-Life (EOL) date no earlier than
January 2026. The Compute Module 3+ offers improved
thermal performance, and a wider range of Flash memory
options.
Compute Module 3+
Older Products
CMIO Rev 1.2
IMPORTANT
NOTE
Compute Module 4
Windows Installer
Once the image has been written, unplug and re-plug the
USB; you should see two partitions appear (for Raspberry
Pi OS) in /dev. In total, you should see something similar
to this:
cd usbboot/recovery
Troubleshooting
For a small percentage of Raspberry Pi Compute Module
3s, booting problems have been reported. We have traced
these back to the method used to create the FAT32
partition; we believe the problem is due to a difference in
timing between the BCM2835/6/7 and the newer eMMC
devices. The following method of creating the partition is
a reliable solution in our hands.
NOTE
NOTE
This guide Erst explains the boot process and how Device
Tree is used to describe attached hardware; these are
essential things to understand when designing with the
Compute Module. It then provides a worked example of
attaching an I2C and an SPI peripheral to a CMIO (or
CMIO V3 for CM3) Board and creating the Device Tree
Eles necessary to make both peripherals work under
Linux, starting from a vanilla Raspberry Pi OS image.
BCM283x GPIOs
BCM283x has three banks of General-Purpose
Input/Output (GPIO) pins: 28 pins on Bank 0, 18 pins on
Bank 1, and 8 pins on Bank 2, making 54 pins in total.
These pins can be used as true GPIO pins, i.e. software
can set them as inputs or outputs, read and/or set state,
and use them as interrupts. They also can be set to
'alternate functions' such as I2C, SPI, I2S, UART, SD card,
and others.
NOTE
To install raspi-gpio:
NOTE
Device Tree
Device Tree is a special way of encoding all the
information about the hardware attached to a system
(and consequently required drivers).
NOTE
NOTE