AAEON assumes no liabilities resulting from errors or omissions in this document, or from the use of the information contained herein. AAEON reserves the right to make changes in the product design without notice to its users.
Page 3
Acknowledgement All other products’ name or trademarks are properties of their respective owners. Broadcom, the pulse logo, and Avago Technologies are trademarks of ⚫ Broadcom Arm® and Cortex® are registered trademarks of Arm Limited (or its ⚫ subsidiaries) ITE is a trademark of Integrated Technology Express, Inc. ⚫...
Page 4
Before setting up your product, please make sure the following items have been shipped: Item Quantity SRG-CM4 ⚫ 2-pin 3.81mm Power Terminal block w/lock AWG 28~14 ⚫ If any of these items are missing or damaged, please contact your distributor or sales representative immediately.
Page 5
(if any), its specifications, dimensions, jumper/connector settings/definitions, and driver installation instructions (if any), to facilitate users in setting up their product. Users may refer to the product page on AAEON.com for the latest version of this document. Preface...
Page 6
Safety Precautions Please read the following safety instructions carefully. It is advised that you keep this manual for future references All cautions and warnings on the device should be noted. Make sure the power source matches the power rating of the device. Position the power cord so that people cannot step on it.
If any of the following situations arises, please the contact our service personnel: Damaged power cord or plug Liquid intrusion to the device iii. Exposure to moisture Device is not working as expected or in a manner as described in this manual The device is dropped or damaged Any obvious signs of damage displayed on the device...
Page 8
FCC Statement This device complies with Part 15 FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received including interference that may cause undesired operation.
Page 10
China RoHS Requirement (EN) Hazardous and Toxic Materials List AAEON System QO4-381 Rev.A0 Hazardous or Toxic Materials or Elements Component Name PCB and Components Wires & Connectors for Ext.Connections Chassis CPU & RAM HDD Drive LCD Module Optical Drive Touch Control...
Specifications System Processor Broadcom BCM2711 Quad-Core Cortex-A72 (Arm v8) 64-bit SoC @1.5 GHz Memory Type Onboard LPDDR4, up to 8GB Power Requirement DC 9V ~36V, 2-pin 3.81mm Pitch Phoenix Connector Dimensions 4.11” x 4.13” x 1.61” (104.4mm x 105mm x 41mm) Weight 1.08 lb.
Page 16
Serial Port RS-232/422/485 Switchable x 2 (By Jumper) RS-485 with Isolation x 1 (Optional) Storage eMMC 5.1, 8GB/16GB/32GB (Optional) Micro SD Card x 1 (Optional w/o eMMC) Expansion Full-size Mini Card x 1 (USB Signal) Other DI x 2/DO x 2 with Isolation (Optional) Software Button x 1 Power Button x 1 Reset Button x 1...
List of Jumpers & Switches Please refer to the table below for all of the board’s jumpers and switches that you can configure for your application. Label Function Force RPIBOOT (Reserved no test) System Type Setting (Reserved flash image use) CN10 COM 1 Mode Selection 0 CN11...
2.3.4 COM 2 Mode Selection (CN11/CN13/CN21) CN11 CN13 CN21 RS-232 RS-422 RS-485 (Driver) RS-485 (Receiver) 2.3.5 Power Button (SW1) PWRBTN# Normal mode 2.3.6 Reset Button (SW2) Booting from an RPI server Booting from an eMMC 2.3.7 Push Button (SW3) System custom functions System custom functions Chapter 2 –...
2.3.8 COM 3 Pull Up or Down Switch (SW4) 1-ON RS485_A_UP 1-OFF RS485_A_DOWN 2-ON RS485_B_UP 2-OFF RS485_B_DOWN 2.3.9 COM 1 & 2 TX/RX Short Switch (SW5) 1-ON COM1 TX/RX short 1-OFF COM1 Normal mode 2-ON COM2 TX/RX short 2-OFF COM2 Normal mode Chapter 2 –...
List of Connectors Please refer to the table below for all of the board’s connectors that you can configure for your application Label Function CM4 B2B Connector A CM4 B2B Connector B Micro SD Card Dual USB 2.0 RS-485 Phoenix Connector (Isolation) CANBus Phoenix Connector USB OTG CN14...
Pin Name Signal Type Signal Level nRPIBOOT IN/OUT AnalogIP1 PI_LED_nPWR AnalogIP0 Camera_GPIO IN/OUT GLOBAL_EN nEXTRST 2.4.2 CM4 B2B Connector B (CN2) Pin Name Signal Type Signal Level USB_OTG_ID PCIe_CLK_nREQ USB_N DIFF Reserved USB_P DIFF Reserved PCIe_nRST PCIe_CLK_P DIFF VDAC_COMP PCIe_CLK_N DIFF CAM1_D0_N PCIe_RX_P...
Pin Name Signal Type Signal Level SD_CLK SD_DAT0 IN/OUT SD_DAT1 IN/OUT CARD_DETECT 2.4.4 Dual USB 2.0 (CN6) Pin Name Signal Type Signal Level +5VSB USB2_2_DN DIFF USB2_2_DP DIFF +5VSB USB2_3_DN DIFF USB2_3_DP DIFF Chapter 2 – Hardware Information...
2.4.5 RS-485 Phoenix Connector (CN7) Pin Name Signal Type Signal Level 485_A1 IN/OUT 485_B1 IN/OUT 2.4.6 CANBus Phoenix Connector (CN8) Pin Name Signal Type Signal Level CAN1_TX CAN1_RX CAN2_TX CAN2_RX Chapter 2 – Hardware Information...
2.4.7 OTG (CN9) Pin Name Signal Type Signal Level +5VSB USB2_Debug_DN DIFF USB2_Debug_DP DIFF USBOTG_ID 2.4.8 COM Port 1 Phoenix Connector (CN14) COM Port 1 RS-232 Pin Name Signal Type Signal Level DCD1 ±9V / ±5V RXD1 ±9V / ±5V TXD1 ±9V / ±5V DTR1...
COM Port 1 RS-422 Pin Name Signal Type Signal Level RS422_TX- ±9V / ±5V RS422_TX+ ±9V / ±5V RS422_RX+ ±9V / ±5V RS422_RX- ±9V / ±5V COM Port 1 RS-485 Pin Name Signal Type Signal Level RS485_D- IN/OUT ±9V / ±5V RS485_D+ IN/OUT ±9V / ±5V...
2.4.10 COM Port 2 Phoenix Connector (CN16) COM Port 2 RS-232 Pin Name Signal Type Signal Level DCD2 ±9V / ±5V RXD2 ±9V / ±5V TXD2 ±9V / ±5V DTR2 ±9V / ±5V RTS2 ±9V / ±5V CTS2 ±9V / ±5V COM Port 2 RS-422 Pin Name Signal Type...
2.4.12 UART Debug Port Internal Wafer (CN24) Pin Name Signal Type Signal Level +3.3V +3.3V UART0_TXD UART0_RXD 2.4.13 RTC Battery Internal Wafer (CN25) Pin Name Signal Type Signal Level +3.3V +3.3V Chapter 2 – Hardware Information...
2.4.15 DC In (CN29) Pin Name Signal Type Signal Level +DC_IN +9~+36V 2.4.16 EEPROM Socket (U7) Pin Name Signal Type Signal Level NVM_CS# NVM_SO NVM_WP# NVM_SI NVM_SK NVM_HOLD# +3.3V +3.3V Chapter 2 – Hardware Information...
System Account Management 3.1.1 Debug Console N/A. 3.1.2 Log In Log into the system using the below credentials. Login Settings Username root Password Pw#12345 I/O Control Command and Example 3.2.1 CANBus Please refer to section 2.4.6 CANBus Phoenix Connector (CN8). Step 1: Connect pin 1 to pin 4 and pin 2 to pin 5.
root@CM4:~# ifconfig can1 up Step 3: Use candump on CAN0. root@CM4:~# candump can0 & Step 4: Use cansend on CAN1. root@CM4:~# cansend can1 5A1#11.2233.44556677.88 Output: can0 [8] 11 22 33 44 55 66 77 88 3.2.2 Voltage input range: 9V ~ 24V. Connection Instructions: Connect pin 1 to VCC.
Page 49
Digital Inputs (DI): DI_1 (gpio23): • DI_1 will be '1' if VCC > 9V and '0' if VCC <= 8V. Reading DI_1: root@CM4:~# cd /sys/class/gpio root@CM4:/sys/class/gpio# echo 23 > export root@CM4:/sys/class/gpio# cd gpio23/ root@CM4:/sys/class/gpio# echo in > direction root@CM4:/sys/class/gpio/gpio23# cat value (1) # if VCC >...
Page 50
Set DO_1 to be output: root@CM4:sudo raspi-gpio set 17 op Set DO_1 (the voltage of pin 8 is 0V): root@CM4:sudo raspi-gpio set 17 dh Clear DO_1 (the voltage of pin 8 is VCC): root@CM4: sudo raspi-gpio set 17 dl DO_2 (gpio24): Set DO_2 to be output: root@CM4:sudo raspi-gpio set 24 op Set DO_2 (the voltage of pin 9 is 0V):...
comB.close() Execute the script: root@CM4:~# python3 uart_test.py The expected output should be: b'test string' 3.2.8 Install the tpm2-tools package: root@CM4:~# apt install -y tpm2-tools Retrieve the TPM NV (non-volatile) index handles: root@CM4:~# tpm2_getcap handles-nv-index Expected output: - 0x1C00002 - 0x1C0000A 3.2.9 To list USB devices by their hierarchy, use the following command: 3.2.10...
Page 59
#include <fcntl.h> #include <linux/watchdog.h> #include <sys/ioctl.h> #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) int fd, timeout; // Open watchdog device fd = open("/dev/watchdog", O_RDWR); if (fd == -1) { perror("Error opening watchdog device"); return 1; // Set timeout in seconds timeout = 3;...
The program will continuously reset the watchdog timer every second (sleep(1)), ensuring that the system does not reset. 3.2.11 Red LED (UP) ON/OFF Test root@CM4:~# cd /sys/class/gpio root@CM4:/sys/class/gpio# echo 16 > export root@CM4:/sys/class/gpio# cd gpio16/ root@CM4:/sys/class/gpio/gpio16# echo out > direction Turn off LED: root@CM4:/sys/class/gpio/gpio16# echo 1 >...
Red LED (Down) ON/OFF Test root@CM4:~# cd /sys/class/gpio root@CM4:/sys/class/gpio# echo 27 > export root@CM4:/sys/class/gpio# cd gpio27/ root@CM4:/sys/class/gpio/gpio27# echo out > direction Turn off LED: root@CM4:/sys/class/gpio/gpio27# echo 1 > value Turn on LED: root@CM4:/sys/class/gpio/gpio27# echo 0 > value These commands demonstrate how to control GPIO pins to turn LEDs on and off on your system.
Wireless Control Command and Example (4G, BT/Wi-Fi) 3.3.1 aaeon@raspberrypi:~$sudo su aaeon@raspberrypi:~$lsusb OS Installation 3.4.1 Flash SD Card or eMMC Add Jumper & Micro-USB Cable: Connect a jumper to CN4 on and then connect a micro-USB cable to your PC to establish a USB connection for flashing.
Page 64
This indicates that the system is running Debian GNU/Linux version 11 (codename "bullseye"). If you need to reference the specific version programmatically or in documentation, you can use the VERSION_ID field, which is set to "11" in this case. Chapter 3 – Product Setup and Configuration...
List of Mating Connectors and Cables The following table lists mating connectors and available cables. Mating Connector Conn Available Function Cable P/N Label Vendor Model No. Cable CN24 Internal Debug Connector PINREX 712-P91-025WEH Battery CN25 Internal RTC Connector 24W1251-04MS1-11T-F-C 175011301C Cable Appendix A –...
Need help?
Do you have a question about the SRG-CM4 and is the answer not in the manual?
Questions and answers