BIGTREETECH CB2 User Manual Revision Log Version Date Revision v1.00 April 24th, 2024 Initial Version v1.01 May 28th, 2024 Added account information for minimal version system v1.02 Jun 5th, 2024 Added 40 pin GPIO spread sheet and new calculation method...
BIGTREETECH CB2 User Manual 1. Product Profile The BIGTREETECH CB2, compatible with the Raspberry Pi CM4 form factor, uses two 100-pin high-speed board-to-board (BTB) connectors for easy and quick connection with external expansion baseboards. It offers an alternative with similar IO capabilities, including Micro HDMI, USB, Gigabit Ethernet, DSI, and CSI outputs.
BIGTREETECH CB2 User Manual 2. Peripheral Interface 2.1. Pin Description Signal Connector Description A connector_01 A connector_02 GBIT_MDI3_P A connector_03 GBIT_MDI1_P A connector_04 GBIT_MDI3_N A connector_05 GBIT_MDI1_N A connector_06 A connector_07 A connector_08 GBIT_MDI2_N A connector_09 GBIT_MDI0_N A connector_10 GBIT_MDI2_P...
Page 7
BIGTREETECH CB2 User Manual GPIO0_C4 A connector_41 A connector_42 A connector_43 GPIO3_C1 A connector_44 GPIO4_A3 A connector_45 GPIO1_A1 A connector_46 GPIO4_C6 A connector_47 GPIO1_A0 A connector_48 GPIO0_C0 A connector_49 GPIO0_C7 A connector_50 GPIO0_D0 A connector_51 DEBUG UART A connector_52 A connector_53...
Page 8
BIGTREETECH CB2 User Manual 3.3v out /200mA A connector_86 VCC_5V 5V IN /2A A connector_87 1.8v out /100mA A connector_88 GPIO3_B4 A connector_89 1.8v out /100mA A connector_90 A connector_91 PWRON A connector_92 RECOVERY A connector_93 A connector_94 GPIO4_A1 A connector_95...
Page 9
BIGTREETECH CB2 User Manual USB3-DP B connector_30 B connector_31 B connector_32 MIPI_CSI_RX_D2N B connector_33 MIC1_IN B connector_34 MIPI_CSI_RX_D2P B connector_35 MIC2_IN B connector_36 B connector_37 B connector_38 MIPI_CSI_RX_D3N B connector_39 MIPI_CSI_RX_CLK1N B connector_40 MIPI_CSI_RX_D3P B connector_41 MIPI_CSI_RX_CLK1P B connector_42 GPIO4_A7...
Page 10
BIGTREETECH CB2 User Manual MIPI_DSI_TX1_D0N B connector_75 HTX1P HDMI TX1 Positive. B connector_76 MIPI_DSI_TX1_D0P B connector_77 HTX1N HDMI TX1 Negative. B connector_78 B connector_79 B connector_80 MIPI_DSI_TX1_D1N B connector_81 HTX0P HDMI TX0 Positive. B connector_82 MIPI_DSI_TX1_D1P B connector_83 HTX0N B connector_84 HDMI TX0 Negative.
BIGTREETECH CB2 User Manual 3. Interface Introduction 3.1. SW1 Button Explanation The EMMC will not start when holding the SW1 button for 3 seconds while powering up. Releasing the button allows for programming the EMMC using the RKDevTool.
BIGTREETECH CB2 User Manual 4. Flashing the System 4.1. Download the System Image Only use the image provided in the link: https://github.com/bigtreetech/CB2/releases 4.2. Write System to MicroSD Card 1. Download the balenaEtcher software from [https://www.balena.io/etcher/], install, and run it. 2. Insert the MicroSD card via a card reader.
4.3.1. Using RKDevTool to Write the eMMC (Windows) Download and unzip RKDevTool from the GitHub repository (https://github.com/bigtreetech/CB2) to your computer. DO NOT insert a MicroSD card. 1. Turn the DIP switch 4 (USBOTG) and 3 (RPIBOOT) to the ON position to enter BOOT mode.
Page 15
BIGTREETECH CB2 User Manual ⑴ In “Device Manager”, if you see “Unknown Device”, it indicates that the computer is missing drivers. ⑵ Open the DriverAssistant tool in the downloaded RKDevTool folder, click “① Uninstall Driver”, then click “② Install Driver” to ensure that the latest version of the driver is installed.
Page 16
BIGTREETECH CB2 User Manual 4. Open the “RKDevTool” software: Note: The parameters in the software are set by default as shown in the image. Normally, you only need to set the “④ actual path of the .img system”. If the parameters in your software do not match those in the image, manually adjust them to match.
BIGTREETECH CB2 User Manual ①Find the path where the downloaded RKDevTool is located. ②Open the RKDevTool tool. ③The software will recognize a “LOADER” or “MASKROOM” device. ④Select the system to be written (the OS image must be unzipped as a .img file beforehand;...
Page 18
BIGTREETECH CB2 User Manual (1) Select "Yes" to start erasing and writing the system onto the eMMC. (2) Choose the filesystem "1 ext4" and then select "OK". (3) Wait for the writing process to complete. (4) Upon completion, you will be prompted whether to power off. Select “Power off”...
BIGTREETECH CB2 User Manual 4.4. Erasing eMMC When using a MicroSD card as the system card instead, it's best to erase the data on the eMMC to prevent the motherboard from booting from it by mistake. 4.4.1. Using RKDevTool to Erase eMMC (Windows) 1.
BIGTREETECH CB2 User Manual 5. System Configuration 5.1. Using Ethernet Ethernet is plug-and-play and requires no additional setup. 5.2. Setting Up WiFi After the system image has been written, the MicroSD card will have a FAT32 partition recognized by the computer. In this partition, there is a "system.cfg" file. Open it and replace "Your SSID"...
BIGTREETECH CB2 User Manual 5.4. Configuring the Display 1. Open the "armbianEnv.txt" file in the BOOT partition. 2. The default overlay is set to "hdmi," meaning the system uses an HDMI screen by default. This can be changed to match the actual screen being used, such as: "hdmi":...
BIGTREETECH CB2 User Manual 5.5. Using SPI to CAN Open the "armbianEnv.txt" file in the BOOT partition and add "mcp2515" to the overlays configuration. 5.6. Using CSI Camera and Crowsnest Configuration For both RPi v1.3 ov5647 and RPi v2 imx219 cameras, no specific configuration in "armbianEnv.txt"...
BIGTREETECH CB2 User Manual 5.7. Using Bluetooth . To scan for Bluetooth devices, enter the following command, and a list of Bluetooth devices will appear as shown below: bluetoothctl --timeout 15 scan on 2. Find your Bluetooth device, for example, if your device name is "HONOR xSport PRO", locate the corresponding Bluetooth MAC ID as shown below.
Page 24
BIGTREETECH CB2 User Manual ⑵ If there's an issue while connecting, as shown below, please enter the following commands and then repeat steps 1 and 2: bluetoothctl remove E0:9D:FA:50:CD:4F (Your Bluetooth device's corresponding MAC rfkill block bluetooth sleep 3s rfkill unblock bluetooth pulseaudio -k pulseaudio –start...
BIGTREETECH CB2 User Manual 5.8. Setting up 3.5mm Headphones Port . Enter the command: aplay -l Check for the corresponding sound card, as shown in the image (the sound card for the headphone port shown in the image corresponds to card 2.
Page 26
BIGTREETECH CB2 User Manual 4. Enter the command: amixer -c 0 cset numid=2 1 Set the recording channel, as shown in the image. 5. Enter the following command to play audio, with the audio file directory xxx and the audio file name xxxxx.wav: aplay -D plughw:0,0 /xxx/xxxxx.wav...
BIGTREETECH CB2 User Manual 6. SSH Connect to Device 1. Install the SSH software Mobaxterm: https://mobaxterm.mobatek.net/download- home-edition.html 2. After powering on, wait for the system to boot, which typically takes about 1 to 2 minutes. 3. Once the device is connected to WiFi or an Ethernet cable is plugged in, it will automatically be assigned an IP address.
BIGTREETECH CB2 User Manual 7. Precautions 1. About 10 seconds after powering on, the system enters the kernel phase. At this time, the blue light stays on, and the green light flashes continuously, indicating that the system is running normally.
Page 29
BIGTREETECH CB2 User Manual If you need further resources for this product, you can find them at [GitHub](https://github.com/bigtreetech/). If you cannot find what you need, you may contact our after-sales support(service005@biqu3d.com). If you encounter any other problems during use or have suggestions or feedback, please...
Need help?
Do you have a question about the CB2 and is the answer not in the manual?
Questions and answers