![](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F97c6ccac10cd262004aafe15b4a6ae6303d1310b08eb0c420a8d9c996c58a8fd.jpg)

Raspberry Pi Compute Module 4 A Raspberry Pi for deeply embedded applications

## Colophon

©︎ 2022-2026 Raspberry Pi Ltd

This documentation is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND).

<table><tr><td>Release</td><td>4</td></tr><tr><td>Build date</td><td>30/06/2026</td></tr></table>

## Legal disclaimer notice

TECHNICAL AND RELIABILITY DATA FOR RASPBERRY PI PRODUCTS (INCLUDING DATASHEETS) AS MODIFIED FROM TIME TO TIME (“RESOURCES”) ARE PROVIDED BY RASPBERRY PI LTD (“RPL”) “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW IN NO EVENT SHALL RPL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDIN NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE RESOURCES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

RPL reserves the right to make any enhancements, improvements, corrections or any other modifications to the RESOURCES or any products described in them at any time and without further notice

The RESOURCES are intended for skilled users with suitable levels of design knowledge. Users are solely responsible for their selection and use of the RESOURCES and any application of the products described in them. User agrees to indemnify and hold RPL harmless against all liabilities, costs, damages or other losses arising out of their use of the RESOURCES.

RPL grants users permission to use the RESOURCES solely in conjunction with the Raspberry Pi products. All other use of the RESOURCES is prohibited. No licence is granted to any other RPL or other third party intellectual property right.

HIGH RISK ACTIVITIES, Raspberry Pi products are not designed, manufactured or intended for use in hazardous environments requiring fail safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air trafic control, weapons systems or safety-critical applications (including life support systems and other medical devices), in which the failure of the products could lead directly to death, personal injury or severe physical or environmental damage (“High Risk Activities”). RPL specifically disclaims any express or implied warranty of fitness for High Risk Activities and accepts no liability for use or inclusions of Raspberry Pi products in High Risk Activities.

Raspberry Pi products are provided subject to RPL’s Standard Terms. RPL’s provision of the RESOURCES does not expand or otherwise modify RPL’s Standard Terms including but not limited to the disclaimers and warranties expressed in them.

## Table of Contents

1. Introduction .... 3
1.1. Introduction .... 3
1.2. Features .... 3
2. Interfaces .... 5
2.1. Wireless .... 5
2.1.1. WL\_nDisable .... 5
2.1.2. BT\_nDisable .... 5
2.2. Ethernet .... 5
2.3. PCIe (Gen2 x1) .... 6
2.4. USB 2.0 (high speed) .... 7
2.5. GPIO .... 7
2.5.1. Alternative function assignments .... 7
2.6. Dual HDMI 2.0 .... 10
2.7. CSI-2 (MIPI serial camera) .... 10
2.8. DSI (MIPI serial display) .... 10
2.9. I2C (SDA0 SCL0) .... 10
2.10. I2C (ID\_SD ID\_SC) .... 10
2.11. SDIO/eMMC (CM4Lite only) .... 11
2.12. Analog IP0/IP1 .... 11
2.13. Global\_EN .... 11
2.14. RUN\_PG .... 11
2.15. nRPI\_BOOT .... 12
2.16. LED\_nACT .... 12
2.17. LED\_nPWR .... 12
2.18. EEPROM\_nWP .... 12
3. Electrical and mechanical .... 13
3.1. Mechanical .... 13
3.2. Thermal .... 14
3.3. Electrical specification .... 14
4. Pinout .... 16
4.1. Differential pairs .... 22
4.1.1. 100Ω differential pair signal lengths .... 22
4.1.2. 90Ω differential pair signal lengths .... 24
5. Power .... 25
5.1. Power-up sequencing .... 25
5.2. Power-down sequencing .... 25
5.3. Power consumption .... 25
5.4. Regulator outputs .... 25
6. Troubleshooting .... 26
6.1. Hardware checklist .... 26
6.2. Bootloader .... 26
6.3. rpi-eeprom-update .... 26
6.4. EEPROM write-protect .... 26
6.5. Firmware .... 26
6.6. Kernel .... 27
7. Availability .... 28
7.1. Support .... 28
7.2. Ordering codes .... 28
7.3. Packaging .... 28

## 1. Introduction

## 1.1. Introduction

## Figure 1.

The Raspberry Pi Compute Module 4 (CM4)

![](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fbf17376dae4b7ec900ee0439d42fc4d63236fb0892d85e8e6049134c37517bad.jpg)

The Raspberry Pi Compute Module 4 (CM4) is a System on Module (SoM) containing processor, memory, eMMC Flash, and supporting power circuitry. These modules allow a designer to leverage the Raspberry Pi hardware and software stack in their own custom systems and form factors. In addition, these modules have extra IO interfaces over and above what is available on the Raspberry Pi boards, opening up more options for the designer.

The design of the CM4 is loosely based on the Raspberry Pi 4 Model B, and for cost-sensitive applications it can be supplied without the eMMC fitted; this version is called the Raspberry Pi Compute Module 4 Lite (CM4Lite).

While previous generations of the Compute Module have all shared the same DDR2-SODIMM-mechanically-compatible form factor, the new CM4 and CM4Lite are different. The electrical interface of the CM4 is via two 100-pin high density connectors, and the new physical form factor has a smaller footprint overall when the connectors are taken into account.

This change is due to the addition of new interfaces: an additional second HDMI, PCIe, and Ethernet. The addition of these new interfaces, especially PCIe, would not have been possible while preserving the previous form factor.

Note

Unless otherwise stated, for this document CM4 also refers to CM4Lite.

## 1.2. Features

Key features of the CM4 are as follows:

• Broadcom quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz

• Small Footprint 55 mm × 40 mm × 4.7 mm module

  4 × M2.5 mounting holes

• H.265 (HEVC) (up to 4Kp60 decode), H.264 (up to 1080p60 decode, 1080p30 encode)

• OpenGL ES 3.0 graphics

• Options for 1 GB, 2 GB, 4 GB or 8 GB LPDDR4-3200 SDRAM with ECC (see Section 7. Availability)

• Options for 0 GB (CM4Lite), 8 GB, 16 GB, 32 GB,or 64 GB eMMC flash memory (see Section 7. Availability)

  Peak eMMC bandwidth 100 MBps (four times faster than previous Compute Modules)

• Option (see Section 7. Availability) for certified radio module with:

  2.4 GHz, 5.0 GHz IEEE 802.11 b/g/n/ac wireless

  Bluetooth 5.0, BLE

  On board electronic switch to select between PCB trace or external antenna

• Gigabit Ethernet PHY supporting IEEE 1588

• 1 × PCIe 1-lane Host, Gen 2 (5Gbps)

• 1 × USB 2.0 port (high speed)

• 28 × GPIO supporting either 1.8 V or 3.3 V signalling and peripheral options:

  Up to 5 × UART

  Up to 5 × I2C

  Up to 5 × SPI

  1 × SDIO interface

  1 × DPI (parallel RGB display)

  1 × PCM

  Up to 2× PWM channels

  Up to 3× GPCLK outputs

• 2 × HDMI 2.0 ports (up to 4Kp60 supported)

• MIPI DSI:

  1 × 2-lane MIPI DSI display port

  1 × 4-lane MIPI DSI display port

## • MIPI CSI-2:

  1 × 2-lane MIPI CSI camera port

  1 × 4-lane MIPI CSI camera port

• 1 × SDIO 2.0 (CM4Lite)

• Single +5 V PSU input.

## 2. Interfaces

## 2.1. Wireless

The CM4 can be supplied with an on-board wireless module based on the Cypress CYW43455 supporting both:

• 2.4 GHz, 5.0 GHz IEEE 802.11 b/g/n/ac wireless

• Bluetooth 5.0, BLE

These wireless interfaces can be individually enabled or disabled as required. For instance, in the case of a kiosk application, a service engineer could enable wireless operation and then disable it once finished.

The CM4 has an on-board antenna. If used it should be positioned in the product such that it is not surrounded by metal, including any ground plane (see Section 3. Electrical and mechanical for further details). Alternatively there is a standard U.FL connector on the module, see Figure 1, so that an external antenna can be used.

Raspberry Pi Ltd has an antenna kit which is certified to be used with the CM4. If a different antenna is used then separate certification will be required.

Warning

Raspberry Pi Ltd will not be able to assist with certification for third-party antennas.

The selection of internal or external antenna is done at boot time using the config.txt file, and can not be changed during operation. The config.txt options are dtparam=ant1 to select the internal antenna, or dtparam=ant2 for the external antenna.

## 2.1.1. WL\_nDisable

This pin serves a number of functions;

1. It can be used to monitor the enable/disable state of wireless networking. A logic high means the wireless networking module is powered up.

2. When driven or tied low it prevents the wireless network module from powering up. This is useful to reduce power consumption or in applications where it is required to physically ensure the wireless networking is disabled. If the interface is enabled after being disabled, the wireless interface driver needs reinitialised.

Note

On CM4 modules without wireless, this pin is reserved.

## 2.1.2. BT\_nDisable

This pin serves a number of functions;

1. It can be used to monitor the enable/disable state of Bluetooth. A logic high means the Bluetooth module is powered up.

2. When driven, or tied low, it prevents the Bluetooth module from powering up. This is useful to reduce power consumption, or in applications where it is required to physically ensure the Bluetooth is disabled. If the interface is enabled after being disabled, the Bluetooth interface driver needs reinitialised.

Note

On CM4 modules without wireless, this pin is reserved

## 2.2. Ethernet

The CM4 has an on-board Gigabit Ethernet PHY — the Broadcom BCM54210PE — some of the major features of this PHY include;

• IEEE 1588-2008 compliant

• MDI crossover, pair skew and pair polarity correction

A standard 1:1 RJ45 MagJack is all that is necessary to provide an Ethernet connection to the CM4. Typical wiring of a MagJack supporting PoE, and with added ESD protection, can be seen in Figure 2

## Figure 2.

Ethernet schematic interface for the Raspberry Pi Compute Module 4 supporting PoE, and with added ESD protection.

![](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fc4fdefddcd5069f90b052c443eb5ac6b998b9adaf52a00dd5001dff0b8e5525d.jpg)

The differential Ethernet signals should be routed as 100Ω differential pairs, with suitable clearances. Length matching between pairs should be better than 50mm, so in the typical case no length matching is required. However the signals within a pair need to be length matched, ideally to better than 0.15mm.

The PHY also supports up to 3 LEDs to give user status feedback, these are low active. These LEDs can have a range of functions, and you should consult your OS driver to see which functions are supported by your driver

The PHY also provides SYNC\_IN and SYNC\_OUT at 3.3V signalling to support IEEE 1588-2008.

## 2.3. PCIe (Gen2 x1)

The CM4 has an internal PCle 2 0 x1 host controller, While on the Raspberry Pi 4 Model B this has been connected to a USB 3 host controller (using the Via Labs VLI805), on the CM4 the product designer is free to choose how the interface is used.

Warning

You should ensure that there is a suitable OS driver for any host controller that is chosen before proceeding to a prototype.

Note

The on-board PCIe Host controller doesn’t support 64-bit accesses from the ARM, they must be split up into two 32-bit accesses.

Connecting a PCIe device follows the standard PCIe convention. The CM4 has on-board AC coupling capacitors for CLK and PcTe TX signals However the Pcte, RX signals need external coupling capacitors close to the driving source (the device Tx) if vou are using an external PCle/NVMe card these capacitors will be on-board. The PCle convention is that if vou are wiring directly to an IC then the TX and RX pairs need to be swapped (i.e. TX -> RX, RX -> TX). If you are wiring to a connector then this is typically labelled from the host point of view and so TX/RX swaps aren't required. Additionally the PcTe cL K nREo must be connected to ensure the CM4 produces a clock signal, and the PCIe\_nRST should also be connected to ensure the device is correctly reset when required.

The differential PCIe signals should be routed as 90Ω differential pairs, with suitable clearances. There is no need to match the lengths between pairs, only the signals within a Pair need to be length matched ideally to better than 0.1mm.

Tip

5.10 kernels and newer have had support for MSI-X added. There is a limit of up to 32 IRQs available. If the device has problems with interrupts then adding pci=nomsi to cmdline.txt (and rebooting) often fixes the issue.

## 2.4. USB 2.0 (high speed)

The USB 2.0 interface supports up to 480Mbps signalling. The differential pair should be routed as a 90Ω differential pair. The length of the P/N signals should ideally be matched to better than 0.15mm.

Tip

The firmware disables the USB interface by default to save power. In recent versions of Raspberry Pi OS (Bullseye) it is automatically enabled by the otg\_mode=1 setting in the config.txt file. If you are using a different OS, or an older version of Raspberry Pi OS, you will need to add this to config.txt to enable the USB interface.

Note

The port is capable of being used as a true USB On-The-Go (OTG) port. While there is no oficial documentation, some users have had success making this work. The USB\_OTG\_ID pin is used to select between USB host and device that is typically wired to the ID pin of a Micro USB connector. To use this functionality it must be enabled in the OS. If using either as a fixed slave or fixed master; tie the USB\_OTG\_ID pin to ground.

## 2.5. GPIO

There are 28 pins available for general purpose I/O (GPIO), which correspond to the GPIO pins on the Raspberry Pi 4 Model B 40- pin header. These pins have access to internal peripherals: SMI, DPI, I2C, PWM, SPI, and UART. The BCM2711 ARM peripherals book describes these features in detail, along with the multiplexing options available. The drive strength and slew rate should ideally be set as low as possible to reduce any EMC issues. GPIO2 and GPIO3 have 1.8kΩ pull up resistors.

The BCM2711 GPIO bank is powered by GPIO\_VREF, this can either be connected to +1.8V for 1.8V signalling GPIO, or +3.3V for 3.3V signalling. You should keep the load on the 28 GPIO pins to below 50mA in total. GPIO\_VREF must be powered for the CM4 to start up correctly.

## 2.5.1. Alternative function assignments

Up to six alternative functions are available. The BCM2711 ARM peripherals book describes these features in detail. The table below gives a quick overview.

## Table 1.

GPIO pins alternative function assignment

<table><tr><td>GPIO</td><td>Pull</td><td>ALT0</td><td>ALT1</td><td>ALT2</td><td>ALT3</td><td>ALT4</td><td>ALT5</td></tr><tr><td>GPIO0</td><td>High</td><td>SDA0</td><td>SA5</td><td>PCLK</td><td>SPI3_CE0_N</td><td>TXD2</td><td>SDA6</td></tr><tr><td>GPIO1</td><td>High</td><td>SCL0</td><td>SA4</td><td>DE</td><td>SPI3_MISO</td><td>RXD2</td><td>SCL6</td></tr><tr><td>GPIO2</td><td>High</td><td>SDA1</td><td>SA3</td><td>LCD_VSYNC</td><td>SPI3_MOSI</td><td>CTS2</td><td>SDA3</td></tr><tr><td>GPIO3</td><td>High</td><td>SCL1</td><td>SA2</td><td>LCD_HSYNC</td><td>SPI3_SCLK</td><td>RTS2</td><td>SCL3</td></tr><tr><td>GPIO4</td><td>High</td><td>GPCLK0</td><td>SA1</td><td>DPI_D0</td><td>SPI4_CE0_N</td><td>TXD3</td><td>SDA3</td></tr><tr><td>GPIO5</td><td>High</td><td>GPCLK1</td><td>SA0</td><td>DPI_D1</td><td>SPI4_MISO</td><td>RXD3</td><td>SCL3</td></tr><tr><td>GPIO6</td><td>High</td><td>GPCLK2</td><td>SOE_N / SE</td><td>DPI_D2</td><td>SPI4_MOSI</td><td>CTS3</td><td>SDA4</td></tr><tr><td>GPIO7</td><td>High</td><td>SPI0_CE1_N</td><td>SWE_N / SRW_N</td><td>DPI_D3</td><td>SPI4_SCLK</td><td>RTS3</td><td>SCL4</td></tr><tr><td>GPIO8</td><td>High</td><td>SPI0_CE0_N</td><td>SD0</td><td>DPI_D4</td><td>BSCSL / CE_N</td><td>TXD4</td><td>SDA4</td></tr><tr><td>GPIO9</td><td>Low</td><td>SPI0_MISO</td><td>SD1</td><td>DPI_D5</td><td>BSCSL / MISO</td><td>RXD4</td><td>SCL4</td></tr><tr><td>GPIO10</td><td>Low</td><td>SPI0_MOSI</td><td>SD2</td><td>DPI_D6</td><td>BSCSL SDA / MOSI</td><td>CTS4</td><td>SDA5</td></tr><tr><td>GPIO11</td><td>Low</td><td>SPI0_SCLK</td><td>SD3</td><td>DPI_D7</td><td>BSCSL SCL / SCLK</td><td>RTS4</td><td>SCL5</td></tr><tr><td>GPIO12</td><td>Low</td><td>PWM0_0</td><td>SD4</td><td>DPI_D8</td><td>SPI5_CE0_N</td><td>TXD5</td><td>SDA5</td></tr><tr><td>GPIO13</td><td>Low</td><td>PWM0_1</td><td>SD5</td><td>DPI_D9</td><td>SPI5_MISO</td><td>RXD5</td><td>SCL5</td></tr><tr><td>GPIO14</td><td>Low</td><td>TXD0</td><td>SD6</td><td>DPI_D10</td><td>SPI5_MOSI</td><td>CTS5</td><td>TXD1</td></tr><tr><td>GPIO15</td><td>Low</td><td>RXD0</td><td>SD7</td><td>DPI_D11</td><td>SPI5_SCLK</td><td>RTS5</td><td>RXD1</td></tr><tr><td>GPIO16</td><td>Low</td><td></td><td>SD8</td><td>DPI_D12</td><td>CTS0</td><td>SPI1_CE2_N</td><td>CTS1</td></tr><tr><td>GPIO17</td><td>Low</td><td></td><td>SD9</td><td>DPI_D13</td><td>RTS0</td><td>SPI1_CE1_N</td><td>RTS1</td></tr><tr><td>GPIO18</td><td>Low</td><td>PCM_CLK</td><td>SD10</td><td>DPI_D14</td><td>SPI6_CE0_N</td><td>SPI1_CE0_N</td><td>PWM0_0</td></tr><tr><td>GPIO19</td><td>Low</td><td>PCM_FS</td><td>SD11</td><td>DPI_D15</td><td>SPI6_MISO</td><td>SPI1_MISO</td><td>PWM0_1</td></tr><tr><td>GPIO20</td><td>Low</td><td>PCM_DIN</td><td>SD12</td><td>DPI_D16</td><td>SPI6_MOSI</td><td>SPI1_MOSI</td><td>GPCLK0</td></tr><tr><td>GPIO21</td><td>Low</td><td>PCM_DOUT</td><td>SD13</td><td>DPI_D17</td><td>SPI6_SCLK</td><td>SPI1_SCLK</td><td>GPCLK1</td></tr><tr><td>GPIO22</td><td>Low</td><td>SD0_CLK</td><td>SD14</td><td>DPI_D18</td><td>SD1_CLK</td><td>ARM_TRST</td><td>SDA6</td></tr><tr><td>GPIO23</td><td>Low</td><td>SD0_CMD</td><td>SD15</td><td>DPI_D19</td><td>SD1_CMD</td><td>ARM_RTCK</td><td>SCL6</td></tr><tr><td>GPIO24</td><td>Low</td><td>SD0_DAT0</td><td>SD16</td><td>DPI_D20</td><td>SD1_DAT0</td><td>ARM_TDO</td><td>SPI3_CE1_N</td></tr><tr><td>GPIO25</td><td>Low</td><td>SD0_DAT1</td><td>SD17</td><td>DPI_D21</td><td>SD1_DAT1</td><td>ARM_TCK</td><td>SPI4_CE1_N</td></tr><tr><td>GPIO26</td><td>Low</td><td>SD0_DAT2</td><td></td><td>DPI_D22</td><td>SD1_DAT2</td><td>ARM_TDI</td><td>SPI5_CE1_N</td></tr><tr><td>GPIO27</td><td>Low</td><td>SD0_DAT3</td><td></td><td>DPI_D23</td><td>SD1_DAT3</td><td>ARM_TMS</td><td>SPI6_CE1_N</td></tr><tr><td>GPIO44</td><td>-</td><td>GPCLK1</td><td>SDA0</td><td>SDA1</td><td></td><td>SPI0_CE1_N</td><td>SD_CARD_VOLT</td></tr><tr><td>GPIO45</td><td>-</td><td>PWM0_1</td><td>SCL0</td><td>SCL1</td><td></td><td>SPI0_CE2_N</td><td>SD_CARD_PWR0</td></tr></table>

## Special function legend:

## Table 2.

GPIO pins alternative function legend

<table><tr><td>Name</td><td>Function</td></tr><tr><td>SDA0</td><td>BSC master 0 data linea</td></tr><tr><td>SCL0</td><td>BSC master 0 clock line</td></tr><tr><td>SDAx</td><td>BSC master 1,3,4,5,6 data lineb</td></tr><tr><td>SCLx</td><td>BSC master 1,3,4,5,6 clock line</td></tr><tr><td>GPCLKx</td><td>General purpose clock 0,1,2</td></tr><tr><td>SPIx_CE2_N</td><td>SPI 0,3,4,5,6 chip select 2</td></tr><tr><td>SPIx_CE1_N</td><td>SPI 0,3,4,5,6 chip select 1</td></tr><tr><td>SPIx_CE0_N</td><td>SPI 0,3,4,5,6 chip select 0</td></tr><tr><td>SPIx_MISO</td><td>SPI 0,3,4,5,6 MISO</td></tr><tr><td>SPIx_MOSI</td><td>SPI 0,3,4,5,6 MOSI</td></tr><tr><td>SPIx_SCLK</td><td>SPI 0,3,4,5,6 serial clock</td></tr><tr><td>PWMx_0</td><td>PWM 0,1 channel 0</td></tr><tr><td>PWMx_1</td><td>PWM 0,1 channel 1</td></tr><tr><td>TXDx</td><td>UART 0,2,3,4,5 transmit data</td></tr><tr><td>RXDx</td><td>UART 0,2,3,4,5 receive data</td></tr><tr><td>CTSx</td><td>UART 0,2,3,4,5 clear to send</td></tr><tr><td>RTSx</td><td>UART 0,2,3,4,5 request to send</td></tr><tr><td>PCM_CLK</td><td>PCM clock</td></tr><tr><td>"PCM_FS</td><td>PCM frame sync</td></tr><tr><td>"PCM_DIN</td><td>PCM data in</td></tr><tr><td>"PCM_DOUT</td><td>PCM data out</td></tr><tr><td>SAx</td><td>Secondary mem address bus</td></tr><tr><td>SOE_N / SE</td><td>Secondary mem controls</td></tr><tr><td>SWE_N / SRW_N</td><td>Secondary mem controls</td></tr><tr><td>SDx</td><td>Secondary mem data bus</td></tr><tr><td>BSCSL SDA / MOSI</td><td>BSC slave data, SPI slave MOSI</td></tr><tr><td>BSCSL SCL / SCLK</td><td>BSC slave clock, SPI slave clock</td></tr><tr><td>BSCSL - / MISO</td><td>BSC, SPI MISO</td></tr><tr><td>BSCSL - / CE_N</td><td>BSC, SPI CSn</td></tr><tr><td>SPI1_CE2_N</td><td>SPI 1 chip select 2 °</td></tr><tr><td>SPI1_CE1_N</td><td>SPI 1 chip select 1</td></tr><tr><td>SPI1_CE0_N</td><td>SPI 1 chip select 0</td></tr><tr><td>SPI1_MISO</td><td>SPI 1 MISO</td></tr><tr><td>SPI1_MOSI</td><td>SPI 1 MOSI</td></tr><tr><td>SPI1_SCLK</td><td>SPI 1 serial clock</td></tr><tr><td>TXD1</td><td>UART 1 transmit data</td></tr><tr><td>RXD1</td><td>UART 1 receive data</td></tr><tr><td>CTS1</td><td>UART 1 clear to send</td></tr><tr><td>RTS1</td><td>UART 1 request To send</td></tr><tr><td>ARM_TRST</td><td>ARM JTAG reset</td></tr><tr><td>ARM_RTCK</td><td>ARM JTAG return clock</td></tr><tr><td>ARM_TDO</td><td>ARM JTAG data out</td></tr><tr><td>ARM_TCK</td><td>ARM JTAG clock</td></tr><tr><td>ARM_TDI</td><td>ARM JTAG data in</td></tr><tr><td>ARM_TMS</td><td>ARM JTAG mode select</td></tr><tr><td>PCLK</td><td>Display parallel interface</td></tr><tr><td>DE</td><td>Display parallel interface</td></tr><tr><td>LCD_VSYNC</td><td>Display parallel interface</td></tr><tr><td>LCD_HSYNC</td><td>Display parallel interface</td></tr><tr><td>DPI_Dx</td><td>Display parallel interface</td></tr></table>

<sup>a</sup> The Broadcom serial control bus is a proprietary bus compliant with the Philips(R) I2C bus/interface.  
<sup>b</sup> BSC master 2 & 7 are not user-accessible.

## 2.6. Dual HDMI 2.0

The CM4 supports two HDMI 2.0 interfaces, each one capable of driving 4K images. If both HDMI outputs are used then each can be driven up to 4Kp30, however if only HDMI0 interface is being used then images up to 4Kp60 are possible

HDMI signals should be routed as 100Ω differential pairs. Each signal within a pair should ideally be matched to better than 0.15mm. Pairs don’t typically need any extra matching, as they only have to be matched to 25mm.

CEC is also supported; an internal 27kΩ pullup resistor is included in the CM4.

Basic on-board ESD protection is provided for the I2C EDID signals and the CEC signals; internal pullup and pulldown resistors are also provided. On the Raspberry Pi 4 Model B the HDMI signals don’t have any extra ESD protection. Depending on the application, extra ESD protection may be required.

## 2.7. CSI-2 (MIPI serial camera)

The CM4 supports two camera ports: CAM0 (2 lanes) and CAM1 (4 lanes). CSI signals should be routed as 100Ω differential pairs. Each signal within a pair should ideally be matched to better than 0.15mm.

The documentation around the CSI interface can be found on the Raspberry Pi website, while Linux kernel drivers can be found on GitHub.

Note

The oficial Raspberry Pi firmware supports the OmniVision OV5647, Sony IMX219, Sony IMX296, Sony IMX477 and Sony IMX708 camera sensors. No security device is required on Compute Module devices in order to use these camera sensors.

## 2.8. DSI (MIPI serial display)

The CM4 supports two display ports: DISP0 (2 lanes) and DISP1 (4 lanes). Each lane supports a maximum data rate per lane of 1Gbps.

Although Linux kernel drivers are available, the DSI interface is not currently documented. Only DSI displays supported by the oficial Raspberry Pi firmware are supported. DSI signals should be routed as 100Ω differential pairs; each signal within a pair should ideally be matched to better than 0.15mm

Note

While only oficial DSI displays are supported, other displays can be added using the parallel DPI interface which is available as a GPIO alternative function. The CM4 supports up to three displays of any type (HDMI, DSI, DPI) at any one time

## 2.9. I2C (SDA0 SCL0)

This internal I2C bus is normally allocated to the CSI1 and DSI1, as these devices are controlled by the firmware. It can be used as a general I2C bus if the CSI1 ad DSI1 interfaces aren't being used, or are being controlled by the firmware, Eor example libcamera runs on the ARM and doesn’t use the firmware, so in this case you may use CSI1 and this I2C bus. SDA0 is connected to GPIO44 on the BCM2711 and SCL0 is connected to GPIO45.

## 2.10. I2C (ID\_SD ID\_SC)

This I2C bus is normally used for identifying HATs and controlling CSI0 and DSI0 devices. If the firmware isn’t using the I2C bus e.g. CSI0 and DSI0 aren’t being used then these pins may be used as GPIO 0 and GPIO 1 if required.

Note

If these pins are used as GPIO pins, then to prevent the firmware from checking to see if there is a HAT EEPROM available, add force\_eeprom\_read=0 and disable\_poe\_fan=1 to the config.txt file.

## 2.11. SDIO/eMMC (CM4Lite only)

The CM4Lite does not have on-board eMMC. The eMMC signals are available on the connector so that an external eMMC or SD card can be used.

The SD\_PWR\_ON signal is used to enable an external power-switch to turn on power to the SD card; for eMMC it typically isn’t used. If booting from SD card is required, then a pullup resistor must also be fitted to default the power-switch to be on. When is high ( 3.3V ), this forces 1.8V signalling on the SDIO interface. Typically this is used with eMMC memory.

## Figure 3.

CM4Lite SD card interface

![](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F4c7216041a4d3d54daf7c04ecf8e5915fda84d1cf6873fd0a3d56d3c7091cb0c.jpg)

## 2.12. Analog IP0/IP1

These are the two spare inputs on the MXL7704. The MXL7704 datasheet should be consulted if these pins are to be used. On board filtering is provided by a 100nF capacitor to ground for each signal. On the Raspberry Pi 4 Model B these are connected to the USB C connector CC1 and CC2 pins

## 2.13. Global\_EN

Pulling this pin low puts the CM4 in the lowest possible power-down state. After software shutdown, Global\_EN needs to be pulled low for > 1ms to restart the power system on the CM4.

Tip

It is recommended to only pull this pin low once the OS has shut down.

## 2.14. RUN\_PG

This pin when high signals that the CM4 has started, Driving this pin low resets the module. This should be done with caution: if files on a filesystem are open they will not be closed.

## 2.15. nRPI\_BOOT

During boot if this pin is low, booting from eMMC will be stopped and booting will be transferred to rpi boot which is via USB.

## 2.16. LED\_nACT

This pin is designed to drive an LED to replicate the green LED on the Raspberry Pi 4 Model B. Under Linux this pin will flash to signify eMMC access. If any error occurs during booting, then this LED will flash an error pattern which can be decoded using the look up table on the Raspberry Pi website

## 2.17. LED\_nPWR

This pin needs to be buffered to drive an LED. The signal is designed to replicate the red power LED on the Raspberry Pi 4 Model B.

## 2.18. EEPROM\_nWP

It is recommended that final products pull this pin low to prevent the end users changing the contents of the on-board EEPROM. See the Raspberry Pi 4 Model B documentation for instructions on the software settings required to support EEPROM write protection.

## 3. Electrical and mechanical

## 3.1. Mechanical

The CM4 is a compact 40mm × 55mm module. The Module is 4.7mm deep, but when connected the height will be 5.078mm or 6.578mm depending on the stacking height chosen.

1. 4 × M2.5 mounting holes (inset 3.5mm from module edge)

2. PCB thickness 1.2mm ± 10%

3. BCM2711 SoC height including solder balls 2.378 ± 0.11mm

4. Stacking height either:

a. 1.5mm with mating connector (clearance under CM4 0mm): DF40C-100DS-0.4v

b. 3.0mm with mating connector (clearance under CM4 1.5mm): DF40HC(3.0)-100DS-0.4v

If the on-board wireless antenna is used (see Section 2.1. Wireless) it must be orientated towards the edge of the plastic enclosure and any nearby metal must have cut-outs or the wireless performance will be degraded. It is suggested that there is at least 10mm clearance around the PCB antenna, but the designer must check the performance

## Figure 4.

Mechanical specification of the Raspberry Pi Compute Module 4

![](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fad009521b97f0d58211341e9b707c974040292e540ca80a61a11c34d3c9b9803.jpg)

There must not be any metal, including ground planes, under the antenna. The ground plane cutout must be a minimum of 6.5mm × 11mm, but ideally at least 8mm × 15mm. If these requirements can’t be met wireless performance may be degraded, especially in the 2.4GHz spectrum. It is recommended that the external antenna is used where possible

## Note

The location and arrangement of components on the Compute Module may change slightly over time due to revisions for cost and manufacturing considerations; however the maximum component heights and PCB thickness will be kept as specified.

A step file of the CM4 is available as part of the CM4 design data package. This is for guidance only and is subject to changes over time due to revisions.

## 3.2. Thermal

The CM4 dissipates less power than the Raspberry Pi 4 Model B. The CM4 also contains less metal in the PCB and fewer connectors, which means that it has less passive heat sinking than the Raspberry Pi 4 Model B. Despite it consuming less power, it may run warmer than the Raspberry Pi 4 Model B.

The BCM2711 will reduce the clock rate to try and keep its internal temperature below 85°C. So in high ambient temperatures it is possible that the clock will also be automatically throttled back. If the BCM2711 is unable to lower its internal clocks enough to bring the temperature down, its case temperature will rise above 85°C. It is important that any thermal solution chosen keeps the ambient temperature for the other silicon devices on the CM4 within the operating temperature range.

Operating temperature range: −20°C - +85°C non-condensing. NB Optimal RF wireless performance is between −20°C and +75°C.

## 3.3. Electrical specification

## Warning

Stresses above those listed in Table 3 may cause permanent damage to the device. This is a stress rating only; functiona operation of the device under these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Table 3.  
Absolute maximum ratings

<table><tr><td>Symbol</td><td>Parameter</td><td>Minimum</td><td>Maximum</td><td>Unit</td></tr><tr><td> $V_{IN}$ </td><td>5V Input Voltage</td><td>-0.5</td><td>6.0</td><td>V</td></tr><tr><td> $V_{GPIO\_VREF}$ </td><td>GPIO Voltage</td><td>-0.5</td><td>3.6</td><td>V</td></tr><tr><td> $V_{gpio}$ </td><td>GPIO Input voltage</td><td>-0.5</td><td> $V_{GPIO\_VREF} + 0.5$ </td><td>V</td></tr></table>

Note

V is the GPIO bank voltage, which must be tied to either the 3.3V or the 1.8V rail of the CM4.

## Table 4.

DC characteristics

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td>Minimum</td><td>Typical</td><td>Maximum</td><td>Unit</td></tr><tr><td> $V_{IL(gpio)}$ </td><td>Input low voltage</td><td> $V_{GPIO\_VREF} = 3.3V$ </td><td>0</td><td>-</td><td>0.8</td><td>V</td></tr><tr><td> $V_{IH(gpio)}$ </td><td>Input high voltage</td><td> $V_{GPIO\_VREF} = 3.3V$ </td><td>2.0</td><td>-</td><td> $V_{GPIO\_VREF}$ </td><td>V</td></tr><tr><td> $V_{IL(gpio)}$ </td><td>Input low voltage</td><td> $V_{GPIO\_VREF} = 1.8V$ </td><td>0</td><td>-</td><td>0.35</td><td>V</td></tr><tr><td> $V_{IH(gpio)}$ </td><td>Input high voltage</td><td> $V_{GPIO\_VREF} = 1.8V$ </td><td>0.65</td><td>-</td><td> $V_{GPIO\_VREF}$ </td><td>V</td></tr><tr><td> $I_{IL(gpio)}$ </td><td>Input leakage current</td><td>-</td><td>-</td><td>-</td><td>10</td><td>μA</td></tr><tr><td> $V_{OL(gpio)}$ </td><td>Output low voltage</td><td>-</td><td>-</td><td>-</td><td>0.4</td><td>V</td></tr><tr><td> $V_{IH(gpio)}$ </td><td>Output high voltage</td><td>-</td><td> $V_{GPIO\_VREF} - 0.4$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>1mA</td><td>0.87</td><td>1.3</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>2mA</td><td>1.75</td><td>2.6</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>3mA</td><td>2.63</td><td>3.9</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>4mA default</td><td>3.5</td><td>5.3</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>5mA</td><td>4.39</td><td>6.6</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>6mA</td><td>5.27</td><td>7.9</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>7mA</td><td>6.15</td><td>9.2</td><td>-</td><td>mA</td></tr><tr><td> $I_{O(gpio)}$ </td><td>Output current</td><td>8mA</td><td>7.02</td><td>10.5</td><td>-</td><td>mA</td></tr><tr><td> $R_{PU(gpio)}$ </td><td>Pullup resistor</td><td> $V_{GPIO\_VREF} = 3.3V$ </td><td>33</td><td>47</td><td>73</td><td>kΩ</td></tr><tr><td> $R_{PD(gpio)}$ </td><td>Pulldown resistor</td><td> $V_{GPIO\_VREF} = 3.3V$ </td><td>33</td><td>47</td><td>73</td><td>kΩ</td></tr><tr><td> $R_{PU(gpio)}$ </td><td>Pullup resistor</td><td> $V_{GPIO\_VREF} = 1.8V$ </td><td>18</td><td>47</td><td>73</td><td>kΩ</td></tr><tr><td> $R_{PD(gpio)}$ </td><td>Pulldown resistor</td><td> $V_{GPIO\_VREF} = 1.8V$ </td><td>18</td><td>47</td><td>73</td><td>kΩ</td></tr></table>

Refer to interface specifications (see Section 2. Interfaces) for electrical details of other interfaces.

Table 5.  
Power consumption

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td>Minimum</td><td>Typical</td><td>Maximum</td><td>Unit</td></tr><tr><td> $I_{shutdown}$ </td><td>Shutdown current</td><td>GLOBAL_EN = 0V</td><td>-</td><td>15</td><td>-</td><td>μA</td></tr><tr><td> $I_{shutdown}$ </td><td>Shutdown current</td><td>GLOBAL_EN &gt; 2V</td><td>-</td><td>8</td><td>-</td><td>mA</td></tr><tr><td> $I_{idle}$ </td><td>Idle current</td><td>GLOBAL_EN &gt; 2V</td><td>-</td><td>400</td><td>-</td><td>mA</td></tr><tr><td> $I_{load}$ </td><td>Operation current</td><td>GLOBAL_EN &gt; 2V</td><td>-</td><td>1400</td><td>-</td><td>mA</td></tr></table>

## Note

The figures in Table 5 greatly depend on the end application.

## 4. Pinout

Table 6.  
Pinout for the Raspberry Pi Compute Module 4

<table><tr><td>Pin</td><td>Signal</td><td>Description</td></tr><tr><td>1</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>2</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>3</td><td>Ethernet_Pair3_P</td><td>Ethernet pair 3 positive (connect to transformer or MagJack)</td></tr><tr><td>4</td><td>Ethernet_Pair1_P</td><td>Ethernet pair 1 positive (connect to transformer or MagJack)</td></tr><tr><td>5</td><td>Ethernet_Pair3_N</td><td>Ethernet pair 3 negative (connect to transformer or MagJack)</td></tr><tr><td>6</td><td>Ethernet_Pair1_N</td><td>Ethernet pair 1 negative (connect to transformer or MagJack)</td></tr><tr><td>7</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>8</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>9</td><td>Ethernet_Pair2_N</td><td>Ethernet pair 2 negative (connect to transformer or MagJack)</td></tr><tr><td>10</td><td>Ethernet_Pair0_N</td><td>Ethernet pair 0 negative (connect to transformer or MagJack)</td></tr><tr><td>11</td><td>Ethernet_Pair2_P</td><td>Ethernet pair 2 positive (connect to transformer or MagJack)</td></tr><tr><td>12</td><td>Ethernet_Pair0_P</td><td>Ethernet pair 0 positive (connect to transformer or MagJack)</td></tr><tr><td>13</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>14</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>15</td><td>Ethernet_nLED3</td><td>Active-low Ethernet activity indicator (CM4_3.3V signal): typically a green LED is connected to this pin.  $I_{OL} = 8mA @ V_{OL} < 0.4V$ </td></tr><tr><td>16</td><td>Ethernet_SYNC_IN</td><td>IEEE1588 SYNC Input pin (CM4_3.3V signal:  $I_{OL} = 8mA @ V_{OL} < 0.4V$ )</td></tr><tr><td>17</td><td>Ethernet_nLED2</td><td>Active-low Ethernet speed indicator (CM4_3.3V signal): typically a yellow LED is connected to this pin. A low state indicates the 1Gbit or 100Mbit link:  $I_{OL} = 8mA @ V_{OL} < 0.4V$ </td></tr><tr><td>18</td><td>Ethernet_SYNC_OUT</td><td>IEEE1588 SYNC Output pin (CM4_3.3V signal:  $I_{OL} = 8mA @ V_{OL} < 0.4V$ )</td></tr><tr><td>19</td><td>Ethernet_nLED1</td><td>Active-low Ethernet speed indicator (CM4_3.3V signal): typically a yellow LED is connected to this pin. A low state indicates the 1Gbit or 10Mbit link:  $I_{OL} = 8mA @ V_{OL} < 0.4V$ </td></tr><tr><td>20</td><td>EEPROM_nWP</td><td>Leave floating NB internally pulled up to CM4_3.3V via 100kΩ (V IL &lt; 0.8V), but can be grounded to prevent writing to the on-board EEPROM which stores the bootcode</td></tr><tr><td>21</td><td>Pi_nLED_Activity</td><td>Active-low Pi activity LED. 20mA Max, 5V tolerant ( $V_{OL} < 0.4V$ ). (this is the signal that drives the green LED on the Raspberry Pi 4 Model B)</td></tr><tr><td>22</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>23</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>24</td><td>GPIO26</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>25</td><td>GPIO21</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>26</td><td>GPIO19</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>27</td><td>GPIO20</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>28</td><td>GPIO13</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>29</td><td>GPIO16</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>30</td><td>GPIO6</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>31</td><td>GPIO12</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>32</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>33</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>34</td><td>GPIO5</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>35</td><td>ID_SC</td><td>(BCM2711 GPIO 1) GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>36</td><td>ID_SD</td><td>(BCM2711 GPIO 0) GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>37</td><td>GPIO7</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>38</td><td>GPIO11</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>39</td><td>GPIO8</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>40</td><td>GPIO9</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>41</td><td>GPIO25</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>42</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>43</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>44</td><td>GPIO10</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>45</td><td>GPIO24</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>46</td><td>GPIO22</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>47</td><td>GPIO23</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>48</td><td>GPIO27</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>49</td><td>GPIO18</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>50</td><td>GPIO17</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>51</td><td>GPIO15</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>52</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>53</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>54</td><td>GPIO4</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>55</td><td>GPIO14</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V</td></tr><tr><td>56</td><td>GPIO3</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V. Internal 1.8kΩ pull up to GPIO_VREF</td></tr><tr><td>57</td><td>SD_CLK</td><td>SD card clock signal (only available on CM4Lite)</td></tr><tr><td>58</td><td>GPIO2</td><td>GPIO: typically a 3.3V signal, but can be a 1.8V signal by connecting GPIO_VREF to CM4_1.8V. Internal 1.8kΩ pull up to GPIO_VREF</td></tr><tr><td>59</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>60</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>61</td><td>SD_DAT3</td><td>SD card/eMMC Data3 signal (only available on CM4Lite)</td></tr><tr><td>62</td><td>SD_CMD</td><td>SD card/eMMC Command signal (only available on CM4Lite)</td></tr><tr><td>63</td><td>SD_DAT0</td><td>SD card/eMMC Data0 signal (only available on CM4Lite)</td></tr><tr><td>64</td><td>SD_DAT5</td><td>SD card/eMMC Data5 signal (only available on CM4Lite)</td></tr><tr><td>65</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>66</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>67</td><td>SD_DAT1</td><td>SD card/eMMC Data1 signal (only available on CM4Lite)</td></tr><tr><td>68</td><td>SD_DAT4</td><td>SD card/eMMC Data4 signal (only available on CM4Lite)</td></tr><tr><td>69</td><td>SD_DAT2</td><td>SD card/eMMC Data2 signal (only available on CM4Lite)</td></tr><tr><td>70</td><td>SD_DAT7</td><td>SD card/eMMC Data7 signal (only available on CM4Lite)</td></tr><tr><td>71</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>72</td><td>SD_DAT6</td><td>SD card/eMMC Data6 signal (only available on CM4Lite)</td></tr><tr><td>73</td><td>SD_VDD_OVERRIDE</td><td>Connect to CM4_3.3V to force SD card/eMMC interface to 1.8V signalling instead of 3.3V, otherwise leave unconnected. Typically only used if external eMMC is connected.</td></tr><tr><td>74</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>75</td><td>SD_PWR_ON</td><td>Output to power-switch for the SD card. The CM4 sets this pin high (3.3V) to signal that power to the SD card should be turned on. If booting from the SD card is required then a pullup should also be fitted so the power-switch defaults to on. (only available on CM4Lite)</td></tr><tr><td>76</td><td>Reserved</td><td>Do not connect anything to this pin.</td></tr><tr><td>77</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>78</td><td>GPIO_VREF</td><td>Must be connected to CM4_3.3V (pins 84 and 86) for 3.3V GPIO or CM4_1.8V (pins 88 and 90) for 1.8V GPIO. This pin cannot be floating or connected to ground.</td></tr><tr><td>79</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>80</td><td>SCL0</td><td>I2C clock pin (BCM2711 GPIO45): typically used for Camera and Display. Internal 1.8kΩ pull up to CM4_3.3V</td></tr><tr><td>81</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>82</td><td>SDA0</td><td>I2C Data pin (BCM2711 GPIO44): typically used for Camera and Display. Internal 1.8kΩ pull up to CM4_3.3V</td></tr><tr><td>83</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>84</td><td>CM4_3.3V (Output)</td><td>3.3V ± 2.5%. Power Output max 300mA per pin for a total of 600mA. This will be powered down during power-off or GLOBAL_EN being set low</td></tr><tr><td>85</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>86</td><td>CM4_3.3V (Output)</td><td>3.3V ± 2.5%. Power Output max 300mA per pin for a total of 600mA. This will be powered down during power-off or GLOBAL_EN being set low</td></tr><tr><td>87</td><td>+5V (Input)</td><td>4.75V-5.25V. Main power input</td></tr><tr><td>88</td><td>CM4_1.8V (Output)</td><td>1.8V ± 2.5%. Power Output max 300mA per pin for a total of 600mA. This will be powered down during power-off or GLOBAL_EN being set low</td></tr><tr><td>89</td><td>WL_nDisable</td><td>Can be left floating; if driven low the wireless interface will be disabled. Internally pulled up via 1.8kΩ to CM4_3.3V</td></tr><tr><td>90</td><td>CM4_1.8V (Output)</td><td>1.8V ± 2.5%. Power Output max 300mA per pin for a total of 600mA. This will be powered down during power-off or GLOBAL_EN being set low</td></tr><tr><td>91</td><td>BT_nDisable</td><td>Can be left floating; if driven low the Bluetooth interface will be disabled. Internally pulled up via 1.8kΩ to CM4_3.3V</td></tr><tr><td>92</td><td>RUN_PG</td><td>Bidirectional pin. Can be driven low (via a 220Ω resistor) to reset the CM4 CPU. As an output, a high signals that power is good and CPU is running. Internally pulled up to +3.3V via 10kΩ</td></tr><tr><td>93</td><td>nRPIBOOT</td><td>A low on this pin forces booting from an RPI server (e.g. PC or a Raspberry Pi); if not used leave floating. Internally pulled up via 10kΩ to +3.3V</td></tr><tr><td>94</td><td>AnalogIP1</td><td>Analogue input of the MXL7704: typically connected to CC pin of Type C power connector</td></tr><tr><td>95</td><td>PI_LED_nPWR</td><td>Active-low output to drive Power On LED. This signal needs to be buffered.</td></tr><tr><td>96</td><td>AnalogIP0</td><td>Analogue input of the MXL7704: typically connected to CC pin of Type C power connector</td></tr><tr><td>97</td><td>Camera_GPIO</td><td>Typically used to shut down the camera to reduce power. Reassigning this pin to another function isn't recommended. CM4_3.3V signalling</td></tr><tr><td>98</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>99</td><td>GLOBAL_EN</td><td>Input. Drive low to power off CM4. Internally pulled up with a 100kΩ to +5V</td></tr><tr><td>100</td><td>nEXTRST</td><td>Output. Driven low during reset; Driven high (CM4_3.3V) once CM4 CPU has started to boot</td></tr><tr><td>101</td><td>USB_OTG_ID</td><td>Input (3.3V signal) USB OTG Pin. Internally pulled up. When grounded the CM4 becomes a USB host but the correct OS driver also needs to be used</td></tr><tr><td>102</td><td>PCIe_CLK_nREQ</td><td>Input (3.3V signal) PCIe clock request pin (low to request PCI clock). Internally pulled up</td></tr><tr><td>103</td><td>USB_N</td><td>USB D-</td></tr><tr><td>104</td><td>Reserved</td><td>Do not connect anything to this pin.</td></tr><tr><td>105</td><td>USB_P</td><td>USB</td></tr><tr><td>106</td><td>Reserved</td><td>Do not connect anything to this pin.</td></tr><tr><td>107</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>108</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>109</td><td>PCIe_nRST</td><td>Output (+3.3V signal) PCIe reset active-low</td></tr><tr><td>110</td><td>PCIe_CLK_P</td><td>PCIe clock Out positive (100MHz) NB AC coupling capacitor included on CM4</td></tr><tr><td>111</td><td>VDAC_COMP</td><td>Video DAC output (TV OUT)</td></tr><tr><td>112</td><td>PCIe_CLK_N</td><td>PCIe clock Out negative (100MHz) NB AC coupling capacitor included on CM4</td></tr><tr><td>113</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>114</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>115</td><td>CAM1_D0_N</td><td>Input Camera1 D0 negative</td></tr><tr><td>116</td><td>PCIe_RX_P</td><td>Input PCIe GEN 2 RX positive NB external AC coupling capacitor required</td></tr><tr><td>117</td><td>CAM1_D0_P</td><td>Input Camera1 D0 positive</td></tr><tr><td>118</td><td>PCIe_RX_N</td><td>Input PCIe GEN 2 RX negative NB external AC coupling capacitor required</td></tr><tr><td>119</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>120</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>121</td><td>CAM1_D1_N</td><td>Input Camera1 D1 negative</td></tr><tr><td>122</td><td>PCIe_TX_P</td><td>Output PCIe GEN 2 TX positive NB AC coupling capacitor included on CM4</td></tr><tr><td>123</td><td>CAM1_D1_P</td><td>Input Camera1 D1 positive</td></tr><tr><td>124</td><td>PCIe_TX_N</td><td>Output PCIe GEN 2 TX positive NB AC coupling capacitor included on CM4</td></tr><tr><td>125</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>126</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>127</td><td>CAM1_C_N</td><td>Input Camera1 clock negative</td></tr><tr><td>128</td><td>CAM0_D0_N</td><td>Input Camera0 D0 negative</td></tr><tr><td>129</td><td>CAM1_C_P</td><td>Input Camera1 clock positive</td></tr><tr><td>130</td><td>CAM0_D0_P</td><td>Input Camera0 D0 positive</td></tr><tr><td>131</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>132</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>133</td><td>CAM1_D2_N</td><td>Input Camera1 D2 negative</td></tr><tr><td>134</td><td>CAM0_D1_N</td><td>Input Camera0 D1 negative</td></tr><tr><td>135</td><td>CAM1_D2_P</td><td>Input Camera1 D2 positive</td></tr><tr><td>136</td><td>CAM0_D1_P</td><td>Input Camera0 D1 positive</td></tr><tr><td>137</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>138</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>139</td><td>CAM1_D3_N</td><td>Input Camera1 D3 negative</td></tr><tr><td>140</td><td>CAM0_C_N</td><td>Input Camera0 clock negative</td></tr><tr><td>141</td><td>CAM1_D3_P</td><td>Input Camera1 D3 positive</td></tr><tr><td>142</td><td>CAM0_C_P</td><td>Input Camera0 clock positive</td></tr><tr><td>143</td><td>HDMI1_HOTPLUG</td><td>Input HDMI1 hotplug. Internally pulled down with a 100kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>144</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>145</td><td>HDMI1_SDA</td><td>Bidirectional HDMI1 SDA. Internally pulled up with a 1.8kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>146</td><td>HDMI1_TX2_P</td><td>Output HDMI1 TX2 positive</td></tr><tr><td>147</td><td>HDMI1_SCL</td><td>Bidirectional HDMI1 SCL. Internally pulled up with a 1.8kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>148</td><td>HDMI1_TX2_N</td><td>Output HDMI1 TX2 negative</td></tr><tr><td>149</td><td>HDMI1_CEC</td><td>Input HDMI1 CEC. Internally pulled up with a 27kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>150</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>151</td><td>HDMI0_CEC</td><td>Input HDMI0 CEC. Internally pulled up with a 27kΩ. 5V tolerant (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>152</td><td>HDMI1_TX1_P</td><td>Output HDMI1 TX1 positive</td></tr><tr><td>153</td><td>HDMI0_HOTPLUG</td><td>Input HDMI0 hotplug. Internally pulled down 100kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>154</td><td>HDMI1_TX1_N</td><td>Output HDMI1 TX1 negative</td></tr><tr><td>155</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>156</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>157</td><td>DSI0_D0_N</td><td>Output Display0 D0 negative</td></tr><tr><td>158</td><td>HDMI1_TX0_P</td><td>Output HDMI1 TX0 positive</td></tr><tr><td>159</td><td>DSI0_D0_P</td><td>Output Display0 D0 positive</td></tr><tr><td>160</td><td>HDMI1_TX0_N</td><td>Output HDMI1 TX0 negative</td></tr><tr><td>161</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>162</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>163</td><td>DSI0_D1_N</td><td>Output Display0 D1 negative</td></tr><tr><td>164</td><td>HDMI1_CLK_P</td><td>Output HDMI1 clock positive</td></tr><tr><td>165</td><td>DSI0_D1_P</td><td>Output Display0 D1 positive</td></tr><tr><td>166</td><td>HDMI1_CLK_N</td><td>Output HDMI1 clock negative</td></tr><tr><td>167</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>168</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>169</td><td>DSI0_C_N</td><td>Output Display0 clock negative</td></tr><tr><td>170</td><td>HDMI0_TX2_P</td><td>Output HDMI0 TX2 positive</td></tr><tr><td>171</td><td>DSI0_C_P</td><td>Output Display0 clock positive</td></tr><tr><td>172</td><td>HDMI0_TX2_N</td><td>Output HDMI0 TX2 negative</td></tr><tr><td>173</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>174</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>175</td><td>DSI1_D0_N</td><td>Output Display1 D0 negative</td></tr><tr><td>176</td><td>HDMI0_TX1_P</td><td>Output HDMI0 TX1 positive</td></tr><tr><td>177</td><td>DSI1_D0_P</td><td>Output Display1 D0 positive</td></tr><tr><td>178</td><td>HDMI0_TX1_N</td><td>Output HDMI0 TX1 negative</td></tr><tr><td>179</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>180</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>181</td><td>DSI1_D1_N</td><td>Output Display1 D1 negative</td></tr><tr><td>182</td><td>HDMI0_TX0_P</td><td>Output HDMI0 TX0 positive</td></tr><tr><td>183</td><td>DSI1_D1_P</td><td>Output Display1 D1 positive</td></tr><tr><td>184</td><td>HDMI0_TX0_N</td><td>Output HDMI0 TX0 negative</td></tr><tr><td>185</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>186</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>187</td><td>DSI1_C_N</td><td>Output Display1 clock negative</td></tr><tr><td>188</td><td>HDMI0_CLK_P</td><td>Output HDMI0 clock positive</td></tr><tr><td>189</td><td>DSI1_C_P</td><td>Output Display1 clock positive</td></tr><tr><td>190</td><td>HDMI0_CLK_N</td><td>Output HDMI0 clock negative</td></tr><tr><td>191</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>192</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>193</td><td>DSI1_D2_N</td><td>Output Display1 D2 negative</td></tr><tr><td>194</td><td>DSI1_D3_N</td><td>Output Display1 D3 negative</td></tr><tr><td>195</td><td>DSI1_D2_P</td><td>Output Display1 D2 positive</td></tr><tr><td>196</td><td>DSI1_D3_P</td><td>Output Display1 D3 positive</td></tr><tr><td>197</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>198</td><td>GND</td><td>Ground (0V)</td></tr><tr><td>199</td><td>HDMI0_SDA</td><td>Bidirectional HDMI0 SDA. Internally pulled up with a 1.8kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr><tr><td>200</td><td>HDMI0_SCL</td><td>Bidirectional HDMI0 SCL. Internally pulled up with a 1.8kΩ. 5V tolerant. (It can be connected directly to a HDMI connector; a small amount of ESD protection is provided on the CM4 by an on-board HDMI05-CL02F3)</td></tr></table>

All ground pins should be connected. If none of the signals on the second connector (pins 101 to 200) are used, then you may omit the connector to reduce costs, but mechanical stability needs to be considered.

The voltage on GPIO pins 0-27 must not exceed CM4\_3.3V if +3.3V signalling is used or CM4\_1.8V if +1.8V signalling is used. These pins are the same as on the 40-pin connector on the Raspberry Pi 4 Model B.

If the CM4\_1.8V rail is used to power other devices other than the GPIO\_VREF then you should ensure that in case of surprise power removal (e.g.the +5V pin goes below +4.5V) from the CM4, the load on the CM4\_1.8V must go to zero.

Similarly if the cM4, 3,3y rail is used to power other devices other than the GPto vREE, then you should ensure that in the case ot surprise power removal the CM4\_3.3V rail never falls below the CM4\_1.8V rail. This is the typical case, but you should check this in your design. In the case where it does fall below the CM4\_1.8V rail, then extra circuitry is required to disconnect the CM4\_3.3V load.

No reverse voltage must be applied to any pin, or power-up may be prevented; i.e. during power-down/off no pin may have externa voltage applied, otherwise this may prevent a subsequent power-up.

## 4.1. Differential pairs

It is recommended that P/N signals within a pair are matched to better than 0.15mm. Often, matching between pairs is not so critical: e.g. HDMI pair-to-pair matching should be better than 25mm, so on a typical board no extra matching is required.

## 4.1.1. 100Ω differential pair signal lengths

On the CM4 all differential pairs are matched to better than 0.05mm (P/N signals).

<table><tr><td>Note</td></tr><tr><td>It is recommended that pairs are also matched on the interface board.</td></tr></table>

On the CM4, pair-to-pairs are not always matched, as many interfaces do not require very accurate matching between pairs. Table 7 documents the CM4 track-length difference within each group. (A non-zero value represents how much longer in mm that track is, when compared to the signal with zero length difference.)

Table 7.  
100Ω differential pair signal lengths

<table><tr><td>Signal</td><td>Length</td></tr><tr><td>CAM0_C_N</td><td>0.02</td></tr><tr><td>CAM0_C_P</td><td>0.02</td></tr><tr><td>CAM0_D0_N</td><td>0.06</td></tr><tr><td>CAM0_D0_P</td><td>0.07</td></tr><tr><td>CAM0_D1_N</td><td>0</td></tr><tr><td>CAM0_D1_P</td><td>0.01</td></tr><tr><td colspan="2"></td></tr><tr><td>CAM1_C_N</td><td>0.78</td></tr><tr><td>CAM1_C_P</td><td>0.78</td></tr><tr><td>CAM1_D0_N</td><td>0.02</td></tr><tr><td>CAM1_D0_P</td><td>0.01</td></tr><tr><td>CAM1_D1_N</td><td>0.4</td></tr><tr><td>CAM1_D1_P</td><td>0.4</td></tr><tr><td>CAM1_D2_N</td><td>0.05</td></tr><tr><td>CAM1_D2_P</td><td>0.04</td></tr><tr><td>CAM1_D3_N</td><td>0.01</td></tr><tr><td>CAM1_D3_P</td><td>0</td></tr><tr><td colspan="2"></td></tr><tr><td>DSI0_C_N</td><td>0</td></tr><tr><td>DSI0_C_P</td><td>0</td></tr><tr><td>DSI0_D0_N</td><td>0</td></tr><tr><td>DSI0_D0_P</td><td>0</td></tr><tr><td>DSI0_D1_N</td><td>0.01</td></tr><tr><td>DSI0_D1_P</td><td>0.01</td></tr><tr><td colspan="2"></td></tr><tr><td>DSI1_C_N</td><td>1.28</td></tr><tr><td>DSI1_C_P</td><td>1.28</td></tr><tr><td>DSI1_D0_N</td><td>0</td></tr><tr><td>DSI1_D0_P</td><td>0.01</td></tr><tr><td>DSI1_D1_N</td><td>1.06</td></tr><tr><td>DSI1_D1_P</td><td>1.06</td></tr><tr><td>DSI1_D2_N</td><td>0.83</td></tr><tr><td>DSI1_D2_P</td><td>0.84</td></tr><tr><td>DSI1_D3_N</td><td>3.78</td></tr><tr><td>DSI1_D3_P</td><td>3.79</td></tr><tr><td colspan="2"></td></tr><tr><td>HDMI0_CLK_N</td><td>3.25</td></tr><tr><td>HDMI0_CLK_P</td><td>3.24</td></tr><tr><td>HDMI0_TX0_N</td><td>1.76</td></tr><tr><td>HDMI0_TX0_P</td><td>1.76</td></tr><tr><td>HDMI0_TX1_N</td><td>0.62</td></tr><tr><td>HDMI0_TX1_P</td><td>0.62</td></tr><tr><td>HDMI0_TX2_N</td><td>0</td></tr><tr><td>HDMI0_TX2_P</td><td>0</td></tr><tr><td colspan="2"></td></tr><tr><td>HDMI1_CLK_N</td><td>2.47</td></tr><tr><td>HDMI1_CLK_P</td><td>2.46</td></tr><tr><td>HDMI1_TX0_N</td><td>1.51</td></tr><tr><td>HDMI1_TX0_P</td><td>1.51</td></tr><tr><td>HDMI1_TX1_N</td><td>1</td></tr><tr><td>HDMI1_TX1_P</td><td>1</td></tr><tr><td>HDMI1_TX2_N</td><td>0</td></tr><tr><td>HDMI1_TX2_P</td><td>0.01</td></tr><tr><td colspan="2"></td></tr><tr><td>Ethernet_Pair0_P</td><td>5.23</td></tr><tr><td>Ethernet_Pair0_N</td><td>5.23</td></tr><tr><td>Ethernet_Pair1_P</td><td>0</td></tr><tr><td>Ethernet_Pair1_N</td><td>0</td></tr><tr><td>Ethernet_Pair2_P</td><td>3.82</td></tr><tr><td>Ethernet_Pair2_N</td><td>3.82</td></tr><tr><td>Ethernet_Pair3_P</td><td>4.29</td></tr><tr><td>Ethernet_Pair3_N</td><td>4.29</td></tr></table>

## 4.1.2. 90Ω differential pair signal lengths

On the CM4 all differential pairs are matched to better than 0.05mm (P/N signals).

<table><tr><td>Note</td></tr><tr><td>It is recommended that pairs are also matched on the interface board.</td></tr></table>

Pair-to-pairs aren't always matched as many interfaces don't reguire very accurate matching between pairs. Table 8 documents the CM4 track-length difference within each group. (A non-zero value represents how much longer in mm that track is, when compared to the signal with zero length difference.)

## Table 8.

90Ω differential pair signal lengths

<table><tr><td>Signal</td><td>Length</td></tr><tr><td>PCIe_CLK_P</td><td>0.65</td></tr><tr><td>PCIe_CLK_N</td><td>0.65</td></tr><tr><td>PCIe_TX_P</td><td>0</td></tr><tr><td>PCIe_TX_N</td><td>0</td></tr><tr><td>PCIe_RX_P</td><td>0.23</td></tr><tr><td>PCIe_RX_N</td><td>0.23</td></tr><tr><td colspan="2"></td></tr><tr><td>USB2_P</td><td>0</td></tr><tr><td>USB2_N</td><td>0</td></tr></table>

## 5. Power

## 5.1. Power-up sequencing

The CM4 requires a single +5V supply, and can supply up to 600mA at +3.3V and +1.8V to peripherals.

All pins should not have any power applied to them before the +5V rail is applied.

If the EEPROM is to be write-protected, then the EEPROM\_nWP should be low before power-up.

If the CM4 is to be booted using USB then RPI\_nBOOT needs to be low within 2ms of +5V rising.

+5V should rise monotonically to 4.75V and stay above 4.75V for the entire operation of the CM4.

The power-up sequence will start when both +5V rail is above 4.75V and GLOBAL\_EN rises. GLOBAL\_EN has internal RC delay so that it rises after +5V has risen. The order of events is as follows

1. +5V rises

2. GLOBAL\_EN rises

3. +3.3V rises

4. +1.8V rises at least 1ms after +3.3V

5. RUN\_PG rises at least 10ms after +1.8V

6. EXT\_nRESET rises at least 1s after RUN\_PG

## 5.2. Power-down sequencing

The operating system should be shut down before the power is removed, to ensure that the file system remains consistent. If this can’t be achieved, then a filesystem like btrfs, f2fs or overlayfs (use raspi-config to enable this) should be considered.

Once the operating system has shut down, the +5V rail can be removed or the GLOBAL\_EN pin can be taken low to put the CM4 into the lowest power mode.

During the shutdown sequence the +1.8V will be discharged before the +3.3V rail.

## 5.3. Power consumption

The exact power consumption of the CM4 will greatly depend on the tasks being run on the CM4. The lowest shutdown power consumption mode is with the GL oBAL, EN driven low typically is 15uA With GLoBAL. EN high but software shut down, the typica consumption is 8mA. Idle power consumption is typically 400mA, but this varies considerably depending on the operating system. Operating power consumption is typically around 1.4A; again, this greatly depends on the operating system and the tasks being executed.

## 5.4. Regulator outputs

To make it easier to interface to the CM4 the on-board regulators (+3.3V and +1.8V) can each supply 600mA to devices connected to the CM4. The loads on these outputs isn't taken into account in the power consumption figures

## 6. Troubleshooting

The CM4 has a number of stages of power-up before the CPU starts. If there is an error at any of the stages, power-up will be halted.

## 6.1. Hardware checklist

1. Is the +5V supply good? Check this by pulling GLOBAL\_EN low and apply an external 2A load to the +5V supply. Does it stay > +4.75V including noise? Ideally it should remain > +4.9V including any noise.

2. Remove external 2A load, but keep GLOBAL\_EN pulled low.

3. Check the CM4 +3.3V rail is < 200mV. If this is not the case there is an external power path back-feeding the CM4, either directly or indirectly. This could also occur via the digital pins, e.g Ethernet.

4. Still with GLOBAL\_EN pulled low check the CM4 +1.8V rail is < 200mV. Again if the +1.8V rail is above 200mV then there is an external path back-feeding the 1.8V rail. (If nothing is connected to these pins you can ignore this check.)

5. Remove the pull down on GLOBAL\_EN

6. Check GLOBAL\_EN now goes high (it is internally pulled up on the CM4)

7. Check the +3.3V supply rises to > +3.15V. If it does not, this suggests there is too much load on the +3.3V rail.

8. Check the +1.8V rail gets to > +1.71V. If it does not, this suggests there is too much load on the +1.8V rail.

9. Check RUN\_PG goes high

10. Check ACT\_LED starts to oscillate to indicate booting; check it isn’t flashing an error code.

## 6.2. Bootloader

1. Connect a HDMI cable to see if the HDMI diagnostics screen appears.

2. Connect a USB serial cable to GPIO pins 14 and 15.

a. See Configuring UARTS for details.

3. Short the nRPIBOOT pin to ground to force USB boot mode. The CM4IO board has a jumper for nRPIBOOT This can be used to enable different boot modes (e.g. network) and enable UART logging.

a. See Flashing Compute Module eMMC

## 6.3. rpi-eeprom-update

1. CM4 will not run recovery.bin from from the EMMC (or SD Card on CM4Lite). Therefore, the only way to update the bootloader EEPROM is via usbboot or self-update

## 6.4. EEPROM write-protect

The on-board EEPROM can be write-protected by shorting EEPROM\_nWP to ground. The CM4IO board has a jumper for EEPROM\_nWP.

1. See Bootloader Configuration

## 6.5. Firmware

1. A 5.4 or newer kernel and the latest firmware release is required. These can be updated by using usbboot to mount the EMMC as a USB MSD device.

2. Nightly OS images are now available which contain rpi-update master firmware + kernel. Bug fixes for CM4 will normally be provided via these images except where a test/patch binary is required.

a. See Nightly builds

## 6.6. Kernel

1. The updated OS images use the new Raspberry Pi Compute Module 4 device tree file. If that is not found then the Raspberry Pi 4 Model B device tree file will be used

a. See CM4 Device tree

## 7. Availability

## 7.1. Support

For documentation, see the Compute Module Hardware documentation section of the Raspberry Pi website. Support questions can be posted to the Raspberry Pi forum.

## 7.2. Ordering codes

For ordering and pricing information, see CM4 Product Brief.

## 7.3. Packaging

Small quantities are supplied in individual cardboard boxes. These have an internal ESD coating so that a separate ESD bag isn’t required. This packaging is recyclable and reduces waste.

## Raspberry Pi

## Extracted figures

Figures extracted from this datasheet PDF by the Embedr parser that are not placed inline above; captions are the parser's image descriptions.

### Figure 1: Signal length table

![Signal length table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F2f4bf030e794c8b66f2704b899a351260cb37c899f80f4540446939cae1cb7cc.jpg)

### Figure 2: Current specifications table

![Current specifications table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fd195570fe56dea5213e5c6a00321b71c2f4d55ce3130964a40ed91598f2981c2.jpg)

### Figure 3: GPIO alternate-function multiplexing table

![GPIO alternate-function multiplexing table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F2b5ab0e960d26063cb459e87f63c8cf5eeb0cfbf9ee4f22db07e6afc5c652bd6.jpg)

### Figure 4: CM4 pins 190–200 signal descriptions

![CM4 pins 190–200 signal descriptions](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F9cc19721a502a3f2028ba2d410b15888d02c7bd927dba96e2bc5d2ca79c65020.jpg)

### Figure 5: CM4 pins 54–85 signal descriptions

![CM4 pins 54–85 signal descriptions](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fc0a995bdf8c67c3956de56c09e6931b5fc3f8bcf2631ab3812c620f751392a93.jpg)

### Figure 6: Signal name and function table

![Signal name and function table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fa5c64f509f95c65da9f16eb040813bb7f6adfe34b88c11e7172836daa5a5450b.jpg)

### Figure 7: Document revision metadata

![Document revision metadata](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F33cc87ed55ac4028eae2bb2128269dc6fc55843e4111db1e16244c802a3a89f4.jpg)

### Figure 8: Pin, signal, and description table

![Pin, signal, and description table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fe49032b9bbc9fe62cb1974b94c174915015a0bb098ef5b9d03cdb5925c195bfe.jpg)

### Figure 9: GPIO electrical characteristics table

![GPIO electrical characteristics table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F067645319b4e401fab5ef28b46ce1054b73290181595482ef2a0ae1e52aaf8e8.jpg)

### Figure 10: GPIO alternate-function mapping table

![GPIO alternate-function mapping table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F3f24133d75b85ca5d87f1f349d273e9de4b7cc41f7afe7562cceaccd222ff118.jpg)

### Figure 11: Pin signal and description table for pins 1–27

![Pin signal and description table for pins 1–27](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F51e73e4d1451f10b7dc2a9ce0239f97023e1e406e25290f677ba7c71ef5f8dc3.jpg)

### Figure 12: Pin signal and description table for pins 117–150

![Pin signal and description table for pins 117–150](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F538216c2a2aec3bd636483e62fab6d9946e87fa11436fa8b252fec6819468735.jpg)

### Figure 13: Interface board matching recommendation

![Interface board matching recommendation](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F011c7aa7881a9b92431bf80e6f52c516861b2a21419f292a7078ae6caf40ff45.jpg)

### Figure 14: Absolute maximum voltage ratings table

![Absolute maximum voltage ratings table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F8f44a5e563bb94fb56dd1c56c6e330b1dc8264d016dc31a957e8777aed3bfb87.jpg)

### Figure 15: Pin signal and description table for pins 151–189

![Pin signal and description table for pins 151–189](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F004075e9f4f4bdd0845d15082c4b19a63262c218631edef092977f471355d63b.jpg)

### Figure 16: Signal length table for camera, DSI, and HDMI differential pairs

![Signal length table for camera, DSI, and HDMI differential pairs](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Ff6f4aeeabb14c85d31dd1af4fffdf3df8d693f0c073121e7c6fe5f6b00fa0f35.jpg)

### Figure 17: GPIO input, output, and leakage electrical characteristics

![GPIO input, output, and leakage electrical characteristics](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F8b75213d1eb67512c36dfba4fddbfd2d6c406d5d6b3735104ed26ed46fd13699.jpg)

### Figure 18: Signal length table for PCIe and USB differential pairs

![Signal length table for PCIe and USB differential pairs](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fde33e8a2b3df123e6092415baa13307e15d2a098d358400762095a25068bbe4e.jpg)

### Figure 19: Design note recommending interface-board pair matching

![Design note recommending interface-board pair matching](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F07c144da4e22eddadd47b2bbc7608a29dc4c3b11de6867da8a4f090e2ce73df8.jpg)

### Figure 20: Compute Module pin signal and function descriptions

![Compute Module pin signal and function descriptions](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2Fd6dd794f706f492bf1f07e9caf33e818030d11287e173ef2fe2a8ab8c1391f64.jpg)

### Figure 21: Signal name and function mapping table

![Signal name and function mapping table](https://www.embedr.app/api/datasheets/ds_c770495f4810c165fc08/asset?path=images%2F8585ede93047077f405f76dcad3e35a696a459f010a44be235d55830ac6775f0.jpg)