You are on page 1of 14

Raspberry Pi Compute Module 4 IO Board

Colophon
© 2020 Raspberry Pi (Trading) Ltd.

The documentation around the Raspberry Pi Compute Module 4 is licensed under a Creative Commons Attribution-
NoDerivatives 4.0 International (CC BY-ND).

build-date: 2021-01-28
build-version: githash: 80b6c48-clean

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 (TRADING) LTD (“RPTL) "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 RPTL 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 (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THE RESOURCES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

RPTL 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 RPTL harmless against all liabilities, costs, damages or other losses arising out of their use of the
RESOURCES.

RPTL 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 RPTL 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 traffic 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”). RPTL 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 RPTL’s Standard Terms. RPTL’s provision of the RESOURCES does not
expand or otherwise modify RPTL’s Standard Terms including but not limited to the disclaimers and warranties expressed
in them.

Legal Disclaimer Notice 1


Raspberry Pi Compute Module 4 IO Board

Table of Contents
Colophon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   1
Legal Disclaimer Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   1
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
2. Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
2.1. CM4 Module Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
2.2. PSU input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
2.3. Dual Full size HDMI 2.0 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
2.4. Gigabit Ethernet RJ45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
2.5. USB 2.0 Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
2.6. Micro USB connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
2.7. Micro SD Card socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
2.8. PCIe Gen 2 x1 socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
2.9. Fan connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.10. Dual DSI display connectors ( 22pin 0.5mm pitch cable) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.11. Dual CSI-2 display connectors ( 22pin 0.5mm pitch cable). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.12. A Raspberry Pi HAT connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.13. Real Time Clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.14. Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
2.15. LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
3. Mechanical Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   8
4. Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   9

Table of Contents 2
Raspberry Pi Compute Module 4 IO Board

Chapter 1. Introduction
Figure 1. Render of the
Raspberry Pi Compute
Module 4 IO Board.

The Raspberry Pi Compute Module 4 IO Board (CM4IO) is designed to assist in the development of products that make
use of the Raspberry Pi Compute Module 4. The Raspberry Pi Compute Module 4 IO Board contains many of the
interfaces that the Raspberry Pi 4, Model B has, and for general usage you should refer to Raspberry Pi 4, Model B
documentation. The significant difference between CM4IO and Raspberry Pi 4, Model B is the addition of a single PCIe
socket. The CM4IO has been designed as both a reference design for CM4 or to be used directly as a product with the
possible addition of PCIe Cards and Raspberry Pi HATs.

Chapter 1. Introduction 3
Raspberry Pi Compute Module 4 IO Board

Chapter 2. Features
• Accepts the complete range of CM4 modules
• External +12V PSU
• 2 × Full-size HDMI 2.0 connectors
• Gigabit Ethernet RJ45 with POE support
• 2 × USB 2 Socket, with header for two more sockets
• Micro USB socket for updating the CM4
• Micro SD Card socket for CM4Lite modules.
• PCIe Gen 2 socket
• Standard Fan connector
• External power connector (+5V, +12V)
• 2 × MIPI DSI display FPC connectors (22pin 0.5mm pitch cable)
• 2 × MIPI CSI-2 camera FPC connectors (22pin 0.5mm pitch cable)
• Raspberry Pi HAT connector
• RTC with Battery socket and ability to wake up CM4
• Jumpers to disable features, e.g Wireless, EEPROM writing

2.1. CM4 Module Connectors


The two CM4 module connectors are positioned so the onboard wireless antenna is at the edge of the board for best
wireless performance.

2.2. PSU input


The main PSU input (J19) is a 2.1mm DC tip positive +12V input. On board there is a +12V to +5V DC-DC converter to
power the CM4. There is also an on-board +12V to +3.3V DC-DC converter PSU which is only used for the PCIe slot. The
+12V input feeds the +12V PCIe slot, the external PSU connect and the FAN connector directly. If these aren’t being used
then a wider input supply is possible ( +7.5V to +26V).

With a +12V supply via the DC barrel jack the external PSU connector ( J20, +5V, +12V ) is ideal to connect to PCIe cards
that require external PSU. You should ensure that the PSUs aren’t over loaded. J20 Mating connector is known as "Berg"
Part number AMP / TE Connectivity 171822-4 or similar.

The exact current required from the +12V PSU is dependent on the application and what is connected to the Raspberry Pi
Compute Module 4 IO Board. It is recommended to budget 9W for the CM4.

If you want to supply an external +5v supply to the board e.g. via J20 or via POE J9 then it is recommended that L5 is
removed. Removing L5 will prevent the on board +5v and +3.3v supplies from starting up and +5v coming out of the DC
JACK socket ( J19 ).

2.3. Dual Full size HDMI 2.0 connectors


The CM4 does most of the interfacing required for the HDMI interface so that most signals are directly connected to the
CM4. HDMI connectors require a +5V supply, this is provided on the Raspberry Pi Compute Module 4 IO Board via a

2.1. CM4 Module Connectors 4


Raspberry Pi Compute Module 4 IO Board

current limited switch.

2.4. Gigabit Ethernet RJ45


The Raspberry Pi Compute Module 4 IO Board uses a standard 1:1 Ethernet magjack, which supports POE as well.
Additional ESD protection is provided on the Raspberry Pi Compute Module 4 IO Board as it is typically needed in POE
applications. The POE signals from the RJ45 connector are connected to J5. Typically a POE hat will supply +5v to the
Raspberry Pi Compute Module 4 IO Board. As a typcially POE HAT doesn’t generate a +12v power rail PCIe expansion
cards the FAN will not function.

2.5. USB 2.0 Hub


The Raspberry Pi Compute Module 4 IO Board has an onboard USB 2.0 hub. This connects to the CM4 USB 2.0 port. Two
ports from the hub are connected to a connector. The two other ports are connected to a header, this header can be used
to provide two extra internal ports.

There is an internal current limit switch to provide VBUS to the USB connectors. The current limit is set to approximately
1.2A.

The USB interface is disabled to save power by default on the CM4 . To enable it you need to add the following to the
config.txt file :

dtoverlay=dwc2,dr_mode=host

2.6. Micro USB connector


The micro USB connector is designed to enable the CM4 to be updated via rpiboot. When a micro USB cable is plugged in
the USB hub is automatically disabled, so the CM4 USB 2.0 port becomes a USB device.

2.7. Micro SD Card socket

 WARNING

For use only with CM4Lite modules

The micro SD Card socket is a PUSH-PUSH socket. To release the micro SD Card a gentle push on the micro SD Card will
enable it to be removed.

2.8. PCIe Gen 2 x1 socket


The PCIe socket is designed to take standard PC PCIe cards. You should ensure that there is a suitable OS driver for your
card.

The PCIe link on the Raspberry Pi 4, Model B is used for the USB 3.0 interface via the VLI805 XHCI controller. If the
application requires USB 3.0 interface then an external XHCI controller is required like the VLI805.

The PCIe link has been successfully used with an NVMe drive via a passive PCIe adaptor. Currently the CM4 bootloader
doesn’t support NVMe drives so you must boot via a different source.

If the application uses a standard PCIe card then it might be useful to have a small PCIe adapter to rotate the PCIe card
90degress to enable a more compact case.

2.4. Gigabit Ethernet RJ45 5


Raspberry Pi Compute Module 4 IO Board

Note the PCIe Interface doesn’t support MSI-X. Typically PCIe devices will fall back to MSI.

2.9. Fan connector


This connector supports standard +12V FANs with PWM drive and tacho output. An EMC2301 controls the fan via I2C.
Mating connector part number Molex 47054-1000 or similar. The +12V power for the fan comes from the +12V input and
isn’t regulated.

 TIP

To enable the I2C bus to the fan controller you will need dtparam=i2c_vc=on set in config.txt . The fan controller then
will be on i2c-10 address 0x2f ( 7bit address)

2.10. Dual DSI display connectors ( 22pin 0.5mm pitch cable)


Both DSI interfaces ( 2 channel and 4 channel) are brought out to separate 22way 0.5mm pitch connectors. These
connectors are the same as on the existing CMIO board, NB they are different from the Raspberry Pi 4, Model B. If the
DSI0 interface ( 2 channel ) is used then the 2 jumpers on J6 must be fitted to route the I2C bus to the connector

2.11. Dual CSI-2 display connectors ( 22pin 0.5mm pitch cable)


Both CSI-2 interfaces ( 2 channel and 4 channel) are brought out to separate 22way 0.5mm pitch connectors. These
connectors are the same as on the existing CMIO board, NB they are different from the Raspberry Pi 4, Model B. If the
CSI0 interface ( 2 channel ) is used then the 2 jumpers on J6 must be fitted to route the I2C bus to the connector

2.12. A Raspberry Pi HAT connector


The Raspberry Pi Compute Module 4 IO Board has a standard Raspberry Pi 40 way HAT connector. The mounting holes
are also provided so that standard HATs may be used.

2.13. Real Time Clock (RTC)


A PCF85063AT RTC is provided on the Raspberry Pi Compute Module 4 IO Board. A battery socket is provided for a
CR2032 battery. On initial setup the CLKOUT of the RTC should be disabled to save power.

The alarm output of the RTC is used to wakeup the CM4 from a previous shutdown. If an alarm goes off during normal
operation the CM4 will be reset, this can be used as a watchdog timer if required.

 TIP

To enable the I2C bus to the RTC you will need dtparam=i2c_vc=on set in config.txt . The RTC then will be on i2c-10
address 0x51 ( 7bit address)

2.14. Jumpers
R4/R5 Vref Voltage Selection

By default the Raspberry Pi Compute Module 4 IO Board sets the CM4 IO voltage to +3.3v via R5. Moving R5 to R4 sets
the IO voltage on the CM4 to +1.8v . Moving the resistor requires the use of the soldering iron.

2.9. Fan connector 6


Raspberry Pi Compute Module 4 IO Board

 NOTE

Only one of R4 or R5 must be fitted at any one time.

 NOTE

J6 CSI0 DSI0 I2C enable

For the J6 jumpers, if either CSI0 or DSI0 it used then both jumpers must be fitted to route the I2C bus to the
connectors

Table 1. J2 jumpers
Pin Function

1-2 nRPIBOOT If fitted forces USB booting, it is useful if the eMMC becomes corrupted.

3-4 EEPROM_nWP If fitted write protects the EEPROM on the CM4

5 AIN0 MXL7704 analog input consult MXL7704 datasheet for details

6 AIN1 MXL7704 analog input consult MXL7704 datasheet for details

7 GND for AIN signals

8 SYNC_IN

9 SYNC_OUT

10 GND

11 TV_OUT

12 GND

13-14 Connect a push button to wake up the CM4 from low power mode. It can’t be used to shutdown the CM4.

Table 2. J3 ( not fitted


Pin Function
by default)

1 WL_nDIS when connected to ground the wireless interface will be disabled

2 GND Ground

3 BT_nDIS when connected to ground the Bluetooth interface will be disabled

Table 3. J1( not fitted


Pin Function
by default)

1 GLOBAL_EN

2 GND

3 RUN_PG

2.15. LEDs
Red LED
This LED duplicates the function of the RED LED on the Raspberry Pi 4, Model B

Green LED
This LED duplicates the function of the GREEN LED on the Raspberry Pi 4, Model B

2.15. LEDs 7
Raspberry Pi Compute Module 4 IO Board

Chapter 3. Mechanical Diagram


Figure 2. Mechanical
diagram of the
Raspberry Pi Compute
Module 4 IO Board.

Chapter 3. Mechanical Diagram 8


Raspberry Pi Compute Module 4 IO Board

Chapter 4. Circuit Diagram


Figure 3. Top level
1 2 3 4 5 6

A CM4_HighSpeed A
File: CM4_HighSpeed.kicad_sch PCIe-connector
USB2-HUB
Connector
Connectors Connectors ------
------- ------- PCIe x1
Dual USB nEXTRST HDMI 0
nEXTRST HDMI 1 PCIE_TX_P PCIE_TX_P
microUSB
CSI 0
+5v PCIE_TX_N PCIE_TX_N
+5v CSI 1
USB2_P USB2_P DSI 0
USB2_N USB2_N DSI 1 PCIE_RX_P PCIE_RX_P
+3.3v
+3.3v PCIE_RX_N PCIE_RX_N
USBOTG USBOTG_ID +12v
PCIE_CLK_P PCIE_CLK_P +12v
PCIE_CLK_N PCIE_CLK_N

File: USB2-HUB.kicad_sch PCIE_nRST PCIE_nRST

PCIE_CLK_nREQ PCIE_CLK_nREQ
+5v
+5v
+3.3v
+3.3v
File: PCIe.kicad_sch
B B

GPIO_VREF

CAM_GPIO

TV_OUT

ID_SD

ID_SC
SDA0

SCL0
RTC , Wakeup, FAN PSUs
Connectors
SDA Connectors
-------
+12v -------
+12v FAN SCL DC Barrel Jack +12v
+5v Battery +12v
+5v 4 pin power
+3.3v +5v
+3.3v +5v
GLOBAL_EN

SDA0

SCL0

GPIO_VREF

CAM_GPIO

TV_OUT

ID_SD

ID_SC
File: RTC.kicad_sch File: PSUs.kicad_sch
+5v
GLOBAL_EN Connectors +5v
-------
C Ethernet +3.3v C
nEXTRST +3.3v
nEXTRST SDCARD
40way RPI
Jumpers

CM4_GPIO ( Ethernet, GPIO, SDCARD)


File: CM4_GPIO.kicad_sch

H1 H5
MountingHole MountingHole
H2 H6
MountingHole MountingHole
H3 H7
MountingHole MountingHole www.raspberrypi.org
H4 H8 (c) Raspberry Pi Trading 2020
MountingHole MountingHole
Sheet: /
D File: CM4IOv5.kicad_sch D

Title: Compute Module 4 IO Board - Top Level


Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 1/7
1 2 3 4 5 6

Figure 4. CM4
1 2 3 4 5 6

Highspeed Module1B
ComputeModule4
HDMI_5v
Hirose
2off DF40C-100DS-0.4V
Camera Connectors Display Connectors

18
J4 J15 J22
102 101

+5V
PCIE_CLK_nREQ PCIe_CLK_nREQ USB_OTG_ID USBOTG_ID 1 1
104 103
Reserved USB2_N USB2_N CAM0_D0_N 2 DSI0_D0_N 2 HDMI0_D2_P 1
106 105 D2+
Reserved USB2_P USB2_P CAM0_D0_P 3 DSI0_D0_P 3 HDMI0_D2_N 3
108 107 D2-
A GND GND 4 4 HDMI0_D1_P 4 A
110 109 D1+
PCIE_CLK_P PCIe_CLK_P PCIe_nRST PCIE_nRST CAM0_D1_N 5 DSI0_D1_N 5 HDMI0_D1_N 6
112 111 D1-
PCIE_CLK_N PCIe_CLK_N VDAC_COMP TV_OUT CAM0_D1_P 6 DSI0_D1_P 6 HDMI0_D0_P 7
114 113 D0+
GND GND 7 7 HDMI0_D0_N 9
116 115 CAM1_D0_N D0-
PCIE_RX_P PCIe_RX_P CAM1_D0_N CAM0_C_N 8 DSI0_C_N 8 HDMI0_CK_P 10
118 117 CAM1_D0_P CK+
PCIE_RX_N PCIe_RX_N CAM1_D0_P CAM0_C_P 9 DSI0_C_P 9 HDMI0_CK_N 12
120 119 CK-
GND GND 10 10
122 121 CAM1_D1_N
PCIE_TX_P PCIe_TX_P CAM1_D1_N 11 11 HDMI0_CEC 13
124 123 CAM1_D1_P CEC
PCIE_TX_N PCIe_TX_N CAM1_D1_P 12 12
126 125
GND GND 13 13 HDMI0_SCL 15
CAM0_D0_N 128 127 CAM1_C_N SCL
CAM0_D0_N CAM1_C_N 14 14 HDMI0_SDA 16
CAM0_D0_P 130 129 CAM1_C_P SDA
CAM0_D0_P CAM1_C_P 15 15
132 131
GND GND 16 16 14
CAM0_D1_N 134 133 CAM1_D2_N UTILITY/HEAC+
CAM0_D1_N CAM1_D2_N CAM_GPIO 17 17 HDMI0_HOTPLUG 19
CAM0_D1_P 136 135 CAM1_D2_P CAM_GPIO HPD/HEAC-
CAM0_D1_P CAM1_D2_P 18 18
138 137
GND
CKS

GND GND
D2S
D1S
D0S

19 19
SH

CAM0_C_N 140 139 CAM1_D3_N


CAM0_C_N CAM1_D3_N SCL1 20 SCL1 20
SH1
SH2
SH3
SH4

CAM0_C_P 142 141 CAM1_D3_P


11
17
2
5
8

CAM0_C_P CAM1_D3_P SDA1 21 SDA1 21


144 143 HDMI1_HOTPLUG
GND HDMI1_HOTPLUG +3.3v 22 +3.3v 22
HDMI1_D2_P 146 145 HDMI1_SDA
HDMI1_TX2_P HDMI1_SDA 690-019-298-412
HDMI1_D2_N 148 147 HDMI1_SCL Conn_01x22_Female Conn_01x22_Female
B HDMI1_TX2_N HDMI1_SCL GND B
150 149 HDMI1_CEC GND GND
GND High Speed Serial HDMI1_CEC
HDMI1_D1_P 152 151 HDMI0_CEC
HDMI1_TX1_P HDMI0_CEC
HDMI1_D1_N 154 153 HDMI0_HOTPLUG J5 J16 HDMI_5v
HDMI1_TX1_N HDMI0_HOTPLUG
156 155 1 1
GND GND
18

HDMI1_D0_P 158 157 DSI0_D0_N CAM1_D0_N 2 DSI1_D0_N 2 J10


HDMI1_TX0_P DSI0_D0_N
+5V

HDMI1_D0_N 160 159 DSI0_D0_P CAM1_D0_P 3 DSI1_D0_P 3


HDMI1_TX0_N DSI0_D0_P
162 161 4 4 HDMI1_D2_P 1
GND GND D2+
HDMI1_CK_P 164 163 DSI0_D1_N CAM1_D1_N 5 DSI1_D1_N 5 HDMI1_D2_N 3
HDMI1_CLK_P DSI0_D1_N D2-
HDMI1_CK_N 166 165 DSI0_D1_P CAM1_D1_P 6 DSI1_D1_P 6 HDMI1_D1_P 4
HDMI1_CLK_N DSI0_D1_P D1+
168 167 7 7 HDMI1_D1_N 6
GND GND D1-
HDMI0_D2_P 170 169 DSI0_C_N CAM1_C_N 8 DSI1_C_N 8 HDMI1_D0_P 7
HDMI0_TX2_P DSI0_C_N D0+
HDMI0_D2_N 172 171 DSI0_C_P CAM1_C_P 9 DSI1_C_P 9 HDMI1_D0_N 9
HDMI0_TX2_N DSI0_C_P D0-
174 173 10 10 HDMI1_CK_P 10
GND GND CK+
HDMI0_D1_P 176 175 DSI1_D0_N CAM1_D2_N 11 DSI1_D2_N 11 HDMI1_CK_N 12
HDMI0_TX1_P DSI1_D0_N CK-
HDMI0_D1_N 178 177 DSI1_D0_P CAM1_D2_P 12 DSI1_D2_P 12
HDMI0_TX1_N DSI1_D0_P
180 179 13 13 HDMI1_CEC 13
GND GND CEC
HDMI0_D0_P 182 181 DSI1_D1_N CAM1_D3_N 14 DSI1_D3_N 14
HDMI0_TX0_P DSI1_D1_N
HDMI0_D0_N 184 183 DSI1_D1_P CAM1_D3_P 15 DSI1_D3_P 15 HDMI1_SCL 15
HDMI0_TX0_N DSI1_D1_P SCL
186 185 16 16 HDMI1_SDA 16
GND GND SDA
C HDMI0_CK_P 188 187 DSI1_C_N CAM_GPIO 17 17 C
HDMI0_CLK_P DSI1_C_N
HDMI0_CK_N 190 189 DSI1_C_P 18 18 14
HDMI0_CLK_N DSI1_C_P UTILITY/HEAC+
192 191 19 19 HDMI1_HOTPLUG 19
GND GND HPD/HEAC-
DSI1_D3_N 194 193 DSI1_D2_N SCL0 20 SCL0 20
DSI1_D3_N DSI1_D2_N SCL0
GND
CKS
D2S
D1S
D0S

DSI1_D3_P 196 195 DSI1_D2_P SDA0 21 SDA0 21


SH

DSI1_D3_P DSI1_D2_P SDA0


198 197 +3.3v 22 +3.3v 22
SH2
SH3
SH4
SH1

GND GND +3.3v


11
17
2
5
8

HDMI0_SCL 200 199 HDMI0_SDA


HDMI0_SCL HDMI0_SDA Conn_01x22_Female Conn_01x22_Female
GND GND 690-019-298-412
GND

GND GND

GPIO_VREF U12
GPIO_VREF
RT9742SNGV
R6 R7
2.2K 1% 2.2K 1% 1 2 HDMI_5v
+5v IN OUT www.raspberrypi.org
J6 C12 C13
(c) Raspberry Pi Trading 2020
THD-02-R 100n 3 100n
GND Sheet: /CM4_HighSpeed/
ID_SC 1 2 SCL1
D ID_SC D
ID_SD 3 4 SDA1 File: CM4_HighSpeed.kicad_sch
ID_SD
GND GND GND
Title: Compute Module 4 IO Board - CM4 - Highspeed
Jumpers to be fitted if Camera0 or Display0 are used.
Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 4/7
1 2 3 4 5 6

Chapter 4. Circuit Diagram 9


Raspberry Pi Compute Module 4 IO Board

Figure 5. CM4 GPIO


1 2 3 4 5 6
Module1A
ComputeModule4
+3.3v U3
2 1 40Way GPIO Header U1
Ethernet
GND GND
TRD1_P 4 3 TRD3_P THD-20-R J8 TPD4EUSB30 TRD0_P 1 C1
Ethernet_Pair1_P Ethernet_Pair3_P Activity LED TRD0+
TRD1_N 6 5 TRD3_N +3.3v 1 2 +5v
Ethernet_Pair1_N Ethernet_Pair3_N D2
8 7 GPIO2 3 4 TRD0_N 2 C2
GND GND LED Green TRD3_P D1+ D2+ TRD2_N TRD0-
TRD0_N 10 9 TRD2_N GPIO3 5 6 1 4 TRD1_P 3 C3
Ethernet_Pair0_N Ethernet_Pair2_N TRD1+
TRD0_P 12 11 TRD2_P GPIO4 7 8 GPIO14
Ethernet_Pair0_P Ethernet_Pair2_P TRD3_N D1- D2- TRD2_P
14 13 TestPoint 9 10 GPIO15 2 5 TRD1_N 6 C6
A GND GND TRD1- A
SYNC_IN 16 15 ETH_LEDY TP3 GPIO17 11 12 GPIO18 4
Ethernet_SYNC_IN(1.8v) Ethernet_nLED3(3.3v) R1 CT
SYNC_OUT 18 17 ETH_LEDG GPIO27 13 14 5

GND
Ethernet_SYNC_OUT(1.8v) Ethernet_nLED2(3.3v) 1k CT

3
EEPROM_nWP 20 19 GPIO22 15 16 GPIO23 C1 TRD2_P 7 C4
EEPROM_nWP Ethernet_nLED1(3.3v) TRD2+
22 21 17 18 GPIO24 100n
GND PI_nLED_Activity Ethernet POE
GPIO26 24 23 GPIO10 19 20 TRD2_N 8 C5
GPIO26 GND Protection GND TRD2-
GPIO19 26 25 GPIO21 GPIO9 21 22 GPIO25 TRD3_P 9 C7
GPIO19 GPIO21 GND TRD3+
GPIO13 28 27 GPIO20 GPIO11 23 24 GPIO8 U2
GPIO13 GPIO20 TPD4EUSB30
GPIO6 30 29 GPIO16 25 26 GPIO7 TRD3_N 10 C8
GPIO6 GPIO16 TRD3-
32 31 GPIO12 ID_SD 27 28 ID_SC
GND GPIO12
GPIO5 34 33 GPIO5 29 30 TRD1_P D1+ D2+ TRD0_N TR0_TAP 11
GPIO5 GND VC1
ID_SD 36 35 ID_SC GPIO6 31 32 GPIO12 1 4 TR1_TAP 12
ID_SD ID_SD ID_SC ID_SC VC2
GPIO11 38 37 GPIO7 GPIO13 33 34 TRD1_N D1- D2- TRD0_P TR2_TAP 13
GPIO11 GPIO7 VC3
GPIO9 40 39 GPIO8 GPIO19 35 36 GPIO16 2 5 TR3_TAP 14
GPIO9 GPIO8 VC4
42 GPIO 41 GPIO25 GPIO26 37 38 GPIO20
GND GPIO25 R2

GND
GPIO10 44 43 39 40 GPIO21 470R +3.3v 15

3
GPIO10 GND LEDG_A
GPIO22 46 45 GPIO24 ETH_LEDG 16 GREEN
GPIO22 GPIO24 LEDG_K 1000pF
GPIO27 48 47 GPIO23 17
GPIO27 GPIO23 GND GND LEDY_A
GPIO17 50 49 GPIO18 ETH_LEDY 18

75
GPIO17 GPIO18 GND LEDY_K
YELLOW

52 51 GPIO15
GND GPIO15 POE Header 470R
GPIO4 54 53 J9 19
B GPIO4 GND R3 SHIELD B
GPIO3 56 55 GPIO14 GPIO Voltage select THD-02-R 20
GPIO3 GPIO14 SHIELD
GPIO2 58 57 SD_CLK R5 0R TR1_TAP 1 2 TR2_TAP
GPIO2 SD_CLK +3.3v GPIO_VREF
60 59 TR0_TAP 3 4 TR3_TAP
GND GND MagJack-A70-112-331N126
SD_CMD 62 61 SD_DAT3 +1.8v GND
SD_CMD SD_DAT3
64 63 SD_DAT0
SD_DAT5 SD_DAT0 R4 nf
66 65
GND GND
68 67 SD_DAT1
SD_DAT4 NB SD signals are only available SD_DAT1
SD_DAT2
70
SD_DAT7 on modules without eMMC SD_DAT2
69 CM4Lite SDCARD I/F J7
72 71 Micro_SD_Card_Det
SD_DAT6 GND
74 73
GND SD_VDD_Override
Reserved 76 75 SD_PWR_ON
Reserved SD_PWR_ON
GPIO_VREF 78 77 +5v SD_DAT2 1
GPIO_VREF GPIO_VREF(1.8v/3.3v_Input) +5v_(Input) +5v DAT2
80 79 SD_PWR SD_DAT3 2
SCL0 SCL0 +5v_(Input) DAT3/CD
82 81 Not Fitted headers +3.3v SD_CMD 3
SDA0 SDA0 +5v_(Input) C5 CMD
+3.3v 84 83 J3 J1 PWR LED 4
+3.3v +3.3v_(Output) 600mA Max +5v_(Input) 10u VDD
86 85 Conn_01x03 Conn_01x03 SD_CLK 5
+3.3v_(Output) +5v_(Input) D1 CLK
+1.8v 88 87 WL_nDis 1 1 GLOBAL_EN TP5 LED Red 6
+1.8v_(Output) 600mA Max +5v_(Input) VSS
90 89 2 2 SD_DAT0 7
+1.8v_(Output) WL_nDisable DAT0
RUN_PG 92 91 BT_nDis 3 3 RUN_PG TestPoint SD_DAT1 8
RUN_PG BT_nDisable GND +3.3v DAT1
C AIN1 94 93 nRPIBOOT R10 10 C
AnalogIP1 nRPIBOOT 1k DET_A
AIN0 96 95 nPWR_LED +3.3v 9 11
AnalogIP0 nPI_LED_PWR GND R17 nf DET_B SHIELD

VCC
98 97
GND Camera_GPIO CAM_GPIO
100 99 GLOBAL_EN Reserved

5
nEXTRST nEXTRST Global_EN GLOBAL_EN U5
nPWR_LED 2 4 U18
R18 nf
RT9742GGJ5 +3.3v GND

3
74LVC1G07SE-7

GND
SD_PWR 1 5
OUT IN R29
GND GND 2 12K 1%
GND
3 4 SD_PWR_ON
nFLG EN
GND GND
J2
Conn_02x07_Odd_Even
GND 1 2 nRPIBOOT Force RPIBOOT = Jumper Pins 1-2
GND 3 4 EEPROM_nWP EEPROM write protect = Jumper Pins 3-4
AIN0 5 6 AIN1
+5v GND 7 8 SYNC_IN
U9 SYNC_OUT 9 10 GND
VCC

74LVC1G07SE-7 TV_OUT 11 12 GND www.raspberrypi.org


TV_OUT
5

RUN_PG 2 4 13 14 GLOBAL_EN (c) Raspberry Pi Trading 2020


3

Sheet: /CM4_GPIO ( Ethernet, GPIO, SDCARD)/


GND

D A button bwteen pins 13-14 can be used to wake up compute module from power down File: CM4_GPIO.kicad_sch D

If compute modules is awake RUN_PG will be high so the button doesn't do anything Title: Compute Module 4 IO Board - GPIO - Ethernet
GND
If the compute module is asleep then RUN_PG will be at 0v and so pull global enable low Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 5/7
1 2 3 4 5 6

Figure 6. PCIe
1 2 3 4 5 6

Connector

PCIe x1 connector

10018783-11200TLF
J12
+12v B1 A1
+12v +12v nPRSNT1
A B2 A2 +12v A
+12v +12V
B3 A3
+12v +12V
B4 A4
GND GND
B5 A5 +3.3v
SMCLK TCK
B6 A6
SMDAT TDI
B7 A7
GND TD0
+3.3v B8 A8
+3.3v TMS
B9 A9
nTRST +3.3V
B10 A10
+3.3vAUX +3.3V
B11 A11
nWAKE nPERST PCIE_nRST
B12 A12
PCIE_CLK_nREQ nCLKREQ GND
B13 A13
GND REFCLK+ PCIE_CLK_P
B14 A14
PCIE_TX_N PETP0 REFCLK- PCIE_CLK_N
B15 A15
PCIE_TX_P PETN0 GND
B16 A16
GND PERP0 PCIE_RX_N
B17 A17
nPRSNT2 PERN0 PCIE_RX_P
B18 A18
GND GND

B GND GND B

NB PCIe x1 takes a maximum of +12v @0.6A or +3.3v@3A , 10Watts combined

TX and RX have PN swaps to improve routing

3.3v @ 3.3A PSU for PCIe Only ( 12v Input )

10R L3
R22 SRN6045TA-3R3Y TP1
1 2 +3.3v TestPoint
C30 C31 C32 C33 C45
C29
U15 10u 10u 10u 10u 100uF
AP64501SP-13
100n
C65
1 8 R24
BST SW
2 7 47K 1%
+12v VIN GND nf GND GND
3 6
C25 C26 C27 C28 C43 C44 EN COMP
C 4 5 C
SS FB
EP
9

R23
10u 35v 10u 35v 10u 35v 10u 35v 10u 35v 10u 35v 12K 1%
C62 C63

GND C64 R30


100n nf
15K 1%
1.2nF

GND

www.raspberrypi.org
(c) Raspberry Pi Trading 2020
Sheet: /PCIe-connector/
D File: PCIe.kicad_sch D

Title: Compute Module 4 IO Board - PCIe


Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 6/7
1 2 3 4 5 6

Chapter 4. Circuit Diagram 10


Raspberry Pi Compute Module 4 IO Board

Figure 7. USB2 Hub


1 2 3 4 5 6

Micro USB ESD protection


If a cable in plugged into the uUSB socket the CM4 becomes a usb device
U4
1 TPD4EUSB30
A VBUS A
USBD_P 3
D+ J11 D1+ D2+ USBD_N
USBD_N 2

Shield
D- USB_OTG 1 4

GND
4
R8 ID D1- D2- USBD_P
2.2K 1% 2 5

5
6
U13
FSUSB42MUX

GND
3
+3.3v
1 7
VCC HSD0_P GND
2 6
USBOTG SEL HSD0_M
GND
3
USB2_P D_P
4
USB2_N D_N
10 9 Current Limit switch
nOE HSD1_P USB 2.0 Hub
5 8 U7
R11 GND HSD1_M
+3.3v AP22653W6
2.2K 1%

10
29
36

15
23
5
+5v 1 6 15K 1%R36 VBUS

VDDA33
VDDA33
VDDA33
VDDA33

VDD33
VDD33
+5v IN OUT
GND 2 5
GND GND ILIM
C2 PWR1 3 4 nOCS1
EN nFault C16 C20 C17 C21 C19
10u
B 100uF 10u 10u 10u 10u B
27 1 HD1_N
VBUS_DET USBDM_DN1/PRT_DIS_M1
2 HD1_P GND
USBDP_DN1/PRT_DIS_P1 GND GND GND GND GND GND GND
USBH_N 30 12 PWR1
USBDM_UP PRTPWR1/BC_EN1
USBH_P 31 13 nOCS1
USBDP_UP OCS_N1

nEXTRST 26 3 HD2_N
nEXTRST RESET_N USBDM_DN2/PRT_DIS_M2 Stacked USB connectors
11 4 HD2_P
TEST USBDP_DN2/PRT_DIS_P2
12K 1%R15 16
PRTPWR2/BC_EN2 Expansion USB connector
35 17 nOCS1
RBIAS OCS_N2 VBUS
VBUS
HD2_N J14
33 6 HD3_N D-
Conn_02x05_Odd_Even
GND XTALIN/CLKIN USBDM_DN3/PRT_DIS_M3 HD2_P
32 7 HD3_P D+ VBUS 1 2 VBUS
XTALOUT USBDP_DN3/PRT_DIS_P3
18 GND HD3_N 3 4 HD4_N
Y1 PRTPWR3/BC_EN3
34 19 nOCS1 HD3_P 5 6 HD4_P
24MHz PLLFILT OCS_N3
14 7 8
CRFILT GND
8 HD4_N 9 10
USBDM_DN4/PRT_DIS_M4 VBUS
9 HD4_P VBUS`
C8 C9 USBDP_DN4/PRT_DIS_P4 HD1_N
24 20 D-` MT4
27pF 27pF SCL/SMBCLK/CFG_SEL0 PRTPWR4/BC_EN4 HD1_P GND GND
22 21 nOCS1 D+` MT3
C SDA/SMBDATA/NON_REM1 OCS_N4 C
28 GND` MT2
SUSP_IND/LOCAL_PWR/NON_REM0
25 MT1
HS_IND/CFG_SEL1
GND GND
36K 1%

36K 1%

36K 1%

36K 1%

J13

VSS
R12

R13

R14

R16

GND
690-008-221-904
37

USB2514B-I/M2 U6

GND GND GND GND GND

+3.3v
+3.3v
C6 C10 C7 C3 C11 C14 C15 C4
10u 10u 100n 100n 100n 100n 100n 100n

www.raspberrypi.org
GND
(c) Raspberry Pi Trading 2020
Sheet: /USB2-HUB/
D File: USB2-HUB.kicad_sch D

Title: Compute Module 4 IO Board - USB


Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 2/7
1 2 3 4 5 6

Figure 8. RTC Wakeup


1 2 3 4 5 6

FAN

A A

U8
+3.3v PCF85063AT/AAZ RTC and RTC wakeup
2

+5v
+5v
VDD

C46 1 6 SCL
D3 3
100n
OSCI SCL
5 SDA
SCL
BAT54C-7-F
Y2 SDA SDA C22 510K 1% 510K 1%
X32K768S301 100n R19 R20 U14
VCC

7
1

CLKO 74LVC1G07SE-7
GND
5

nRTC_INT
VSS

2
OSCO ~INT~
3 nRTC_INT 2 4 GLOBAL_EN
BT1 GND GLOBAL_EN
4

Battery_Cell
3
GND

100n C24

IIC address : 1010_001x


GND

GND
GND
RTC alarms can be used to wake up the Compute module The above circuit generates a pulse for
NB an Alarm triggering while already awake will cause a reset GLOBAL_EN when nRTC_INT goes low
B B
This can be used as a watchdog reset
GLOBAL_EN needs to be pulse low for >1mS

FAN controller

+12v
+3.3v
+3.3v
U11
EMC2301-1-ACZL-TR FAN connector
36K 1% 1
C SDA 1 8 C
SDA nALERT R21 2
SCL 2 7
SCL CLK 3
+3.3v 3 6
VDD TACH 4
4 5
C23 GND PWM
100n J17
IIC address : 0101_111x Molex 470531000
GND
GND
GND Also SMBUS alert IIC address : 0001_100x

www.raspberrypi.org
(c) Raspberry Pi Trading 2020
Sheet: /RTC , Wakeup, FAN/
D File: RTC.kicad_sch D

Title: Compute Module 4 IO Board - RTC - FAN


Size: A4 Date: Rev: 1
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 3/7
1 2 3 4 5 6

Chapter 4. Circuit Diagram 11


Raspberry Pi Compute Module 4 IO Board

Figure 9. PSU
1 2 3 4 5 6

Ideal diode to prevent reverse


A +12v Input polarity at the input A
2.1mm Tip +ve TP2 4 pin Power connector
J19 Q1
TestPoint as found on Floppy drives
Barrel_Jack DMP3013SFV-7
1 5 1 +12v
+12v 4 +5v
C40 C42
C36 3
2 D4
10u 35v 2

4
3 MMBZ5242BLT3G 100n
1 +12v

100n 100v GND AMP171826-4


R26 J20
12K 1% GND
GND
Can be used to power other devices if total loading on PSUs aren't exceeded
Can be used to power the CM4IO board. NB +12v will also be available at the DC Jack
GND
+12v is only needed for PCIe and the FAN. If these aren't used then +12v isn't needed

B B

+5v @ 3A PSU ( 7.5v-28v Input )

10R L5
TP4 5v @ 3A PSU
R9 SRN6045TA-3R3Y
1 2 TestPoint +5v
+5v
C47 C49 C51 C52 C18
C57
U16 10u 10u 10u 10u 100uF
100n AP64501SP-13
C61
1 8 R27
BST SW
+12v 2 7 12K 1%
VIN GND nf GND GND
3 6
C34 C35 C37 C38 C39 C41 EN COMP
C 4 5 C
SS FB

EP
TP6
TestPoint

9
10u 35v 10u 35v 10u 35v 10u 35v 10u 35v 10u 35v R25
C58 C59 20K 1%
GND
GND C60 R28
100n nf
2.2K 1%
1.2nF

GND

www.raspberrypi.org
(c) Raspberry Pi Trading 2020
Sheet: /PSUs/
D File: PSUs.kicad_sch D

Title: Compute Module 4 IO Board - PSUs


Size: A4 Date: Rev:
KiCad E.D.A. kicad (5.99.0-6751-g76ac8b5acf) Id: 7/7
1 2 3 4 5 6

Chapter 4. Circuit Diagram 12

You might also like