• sales

    +86-0755-88291180

Raspberry Pi CM4 PCIe TO M.2 (A) User Guide

Overview

PCIe TO M.2 (A) is an adapter board for PCI-E to M.2, It is used for connecting SSD, supports Raspberry Pi Compute Module 3.

Features

  • Adapter For NVMe Protocol M.2 SSD, Faster Reading/Writing, Improving Efficiency
  • Supports Base Boards With PCI-E×1 / ×4 / ×8 / ×16 Socket
  • Supports Raspberry Pi Compute Module 4
  • Compatible With Different Sizes Of M.2 SSD
  • Onboard Operating Indicator, The LED Lights Up When Power-On And Keeps Blinking While Reading/Writing

Mount the SSD to CM4

Format the SSD

  • Insert the SSD to the PCI-E to M.2 adapter and fixe it with screws.
  • Connect the SSD to another PC to format first. For example, we connect it to Windows PC because most of the windows PC has M.2 or PCI-E interface. Please shut down your PC before you connect the SSD and then reboot. Format the SSD after reading it.

Note: Do not use quick format mode.

Drive Detecting

Turn off the CM4, connect the adapter to CM4 and turn on.

  • Check if the disk is detected
sudo fdisk -l



800px

  • Check the memory of disk
df -h


Mount the disk

  • Create a new directory
sudo mkdir /home/pi/toshiba
  • Mount the disk by the following command
sudo mount /dev/nvme0n1p1  /home/pi/toshiba

Check the memory again.

df -h

If you can get the information of the new disk, it means that the disk was mounted sucessfully<br\> 

  • The name should be different for different disks, here is nvme0n1p1 and it may be different in your board.

Read/write test

Enter the directory

cd /home/pi/toshiba
  • Release the momory
sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
  • Copy the Pi to the SSD (read)
sudo dd if=/dev/zero of=./test_write count=2000 bs=1024k


  • Copy the SSD to Pi (write)
 sudo dd if=./test_write of=/dev/null count=2000 bs=1024k


  • Note: The test result may be different with different SSD and Pi. If you want to test the SSD, you can connect it to PC.

Test in PC

Search and find some test software online.

For example:


 

TAG: TVBOX Kit Luckfox Pico Ultra And 4inch LCD RGB Captive TouchScreen Display Raspberry Pi 5 Camera Raspberry Pi Pico 2 RP2350 1.28 inch Round LCD TouchScreen Development Board 240x240 Display QMI8658 6-Axis $17.9 ESP32-S3 QMI8658A X1300 X1300-A2 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also Raspberry Pi 5 inch DSI MIPI Display LCD (D) Capacitive TouchScreen 720x1280 Industrial Isolation USB TO RS232/485/422/TTL FT232RNL Serial UART Converter Jetson Nano 4G module TTL UART To CAN Mini ESP32 S3 Development Board 1.85 inch Round LCD Display 360&amp;amp;amp;times;360 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Adjustable Focus Raspberry Pi Mipi ESP32 1.9 inch LCD Capacitive TouchScreen 1.9inch Display ST7789 170x320 for Arduino /Raspberry Pi /Pico ESP32-S3 Relay 6-Channel IOT WiFi Bluetooth RS485 Pico Protection Circuits ESP32-C6 WiFi 6 Development Board ESP32-C6-MINI-1Support WiFi6 Bluetooth5 Zigbee Thread ESP32 Thermal imaging ESP32-S3 Industrial 8-Channel Controller with WiFi Bluetooth CAN IoT RS485 and RJ45 ETH POE DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 1.85 inch Round LCD N16R8 Luckfox ESP32 desktop trinket