Mini Base Board (A) Designed For Raspberry Pi Compute Module 4
Version: CM4-IO-BASE-A V4
1: Fix the inconsistency between BT-DIS and WIFI-DIS silk screen and actual pins
2: DSI interface is changed from DSI0 to DSI1, high resolution is supported
Version: CM4-IO-BASE-A V3.1
1: Fix the problem that some CM4 cannot be restarted
2: The power supply scheme is modified to improve the output capacity.
1: DO NOT unplug any devices other than HDMI and USB when powering on.
2: FAN only supports 5V, and 12V is not supported. Confirm the fan voltage before connecting. This version of the fan does not have a controller and cannot be adjusted in speed.
3: The DSI display interface is the DSI0 interface, and the DSI1 display interface is not connected. (V4 version starts to display interface for DSI1)
4: Type C interface can be used for the power supply or a USB SLAVE interface for programming images.
5: In order to ensure the normal power supply of CM4, please do not connect other devices when using the Type C interface to burn the image.
6: When CM4 is in normal use, it needs to provide 5V/2A power supply for CM4. Otherwise, problems such as automatic shutdown, frequency reduction, etc. may occur.
7: When using the M.2 interface, please use the matching screws. Using screws of other lengths may cause the CM4 core to be damaged by the screws.
8: The module does not have any protection, please do not short-circuit the power supply.
9: USB2.0 is closed by default, if you need to open it, you need to add dtoverlay=dwc2,dr_mode=host.
10: If you want to use HDMI1 alone, you can purchase it separately if you need to use it HDMI Adapter.
11: Both USB 3/4 and HDMI1 need to be used, you can use adapter board to connect it out.
12: This expansion board does not support the POE function.
13: M.2 interface power supply is limited to 1.5A, if it causes problems such as slowing down of solid state or other equipment, it is recommended to buy version B.(V3 version has been fixed)
Compute_Module 4 Core board
What's on board
|1||CM4 connector||Suitable for all versions of Compute Module 4|
|2||DC power supply/programming interface||5V/2.5A power supply, also can be used as eMMC programming interface|
|3||DISP Interface||MIPI DSI Display interface|
|4||FAN Interface||For connecting cooling fan, allows speed adjustment and measuremen, only support 5V fan.|
|5||CAM Interface||Dual MIPI CSI camera interface|
|6||HDMI0 Interface||HDMI Interface，Support 4K 30fps output|
|7||USB 2.0 Interface||2-channel USB 2.0 Interface, for connecting sorts of USB devices|
|8||Gigabit Ethernet||Gigabit Ethernet RJ45 connector, with 10 / 100 / 1000M network support|
|9||M.2 indicators||Indicating the operating status of M.2 interface|
|10||ACT indicators||Raspberry Pi operating status indicator|
|11||PWR indicators||Raspberry Pi power indicator|
|12||BOOT selection||jumper shorted: CM4 would be booted from USB-C interface |
jumper opened: CM4 would be booted from eMMC or Micro SD card
|13||40PIN GPIO Interface||Conveniently connect various HAT modules|
|14||Micro SD Card interface||For connecting a Micro SD card with pre-burnt image (Lite variant ONLY).|
|15||HDMI1 interface||HDMI1 Interface，Support 4K 30fps output|
|16||USB 2.0 interface||Can be connected through an adapter|
|17||FE1.1S||USB HUB chip, expanding one USB port to 4x ports|
|18||M.2 Interface||Supports sorts of NVME SSD, or communication modules with PCIE M.2 KEY-M interface|
Do not plug or unplug any device while it is powered on.
- Write Image for Compute Module Boards eMMC version
- Write Image for Compute Module Boards Lite version
config failed, hub doesn't have any ports! (err -19)
However, the USB can still be used. If you want to remove this error, remove "otg_mode=1" in [cm4] of config.txt, and add "dtoverlay=dwc2, dr_mode=host" (USB cannot be recognized without adding it).
If the USB does not work, you need to add the following to the config .txt file:
The M.2 interface type is M KEY, which only supports PCIE channel devices (including NVME solid state, etc.), and does not support SATA hard disks.
Support some type of adapter cards by using the PCIE channel. Some types of cards cannot be driven by the official Raspberry Pi image, it needs to recompile the kernel.
The PWM pin of the FAN is connected to the GPIO18 of the CM4 board.
The V4 version starts to use the DSI1 interface, select the corresponding command when compiling the corresponding file.
CSI and DSI are disabled by default. When using the camera and DSI, it will occupy three I2C devices: I2C-10, I2C-11, and I2C-0.
- Open a terminal and run the following commands:
sudo apt-get install p7zip-full -y wget https://www.waveshare.com/w/upload/7/75/CM4_dt_blob_Source.zip 7z x CM4_dt_blob.7z -O./CM4_dt_blob sudo chmod 777 -R CM4_dt_blob cd CM4_dt_blob/ # If using two cameras and DSI1 execute sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob-disp1-double_cam.dts # In the use of any DSI, HDMI1 no image output, even if you do not connect the DSI screen as long as the corresponding file compiled, that HDMI1 no output # If you need to restore, delete the corresponding dt-blob.bin can be: sudo rm -rf /boot/dt-blob.bin #Execution is complete, power off and restart CM4
New Version (Bullseye)
Execute the following commands to edit "/boot/config.txt" file
sudo nano /boot/config.txt
- Block or remove the automatic camera detection statement:
- Add the driver of the camera you are using, here I take IMX219 as an example and connect it to CAM0, and attach the adapter.
|Model||CAM0 Set Sentence||CAM1 Set Sentence|
- If you are using the official Raspberry Pi camera, and only one camera access, no need to set the config file.
- CM4-NANO - only CAM0 is used, so you only need to add "dtoverlay=imx219,cam0".
5. Ctrl+x to exit the editor.
6. Reboot the Raspberry Pi.
- Enter the camera detection command, you can see that the camera has been checked by now.
- Display the camera screen on the desktop.
- Taking photos.
libcamera-jpeg -o test.jpg
- Record a video of 10s.
libcamera-vid -t 10000 -o test.h264
Old Version (Buster)
1. Execute the following command to enter the Raspberry Pi configuration.
2. Choose Interfacing Options and enter.
3. Choose Camera
4. Choose to open the camera interface.
5. The system prompts as follows:
6. Back to the main interface, select Finish.
7. Reboot the system.
raspistill -o image.jpg
- Test the recording function:
raspivid -o video.h264 -t 10000
- Where -t 10000 means recording for 10 seconds, users can adjust according to their own needs.
- Please refer to CSI.
Question:What should I do if the I2C address of the RTC/FAN controller cannot be searched using i2cdetect -y 10?
b) Check whether the /boot/dt-blob.bin file exists, if it cannot be used, delete it;
If you require technical support, please go to the Support page and open a ticket.
If it is a technical problem, you can contact me directly: