Aaeon SRG-CM4 User Manual

Standard gateway system

Advertisement

Quick Links

SRG-CM4
Standard Gateway System
st
User's Manual 1
Ed
Last Updated: July 26, 2024

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SRG-CM4 and is the answer not in the manual?

Questions and answers

Summary of Contents for Aaeon SRG-CM4

  • Page 1 SRG-CM4 Standard Gateway System User’s Manual 1 Last Updated: July 26, 2024...
  • Page 2: Copyright Notice

    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.
  • Page 7: To Prevent Damage

    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 9 China RoHS Requirements (CN) 产品中有毒有害物质或元素名称及含量 AAEON System QO4-381 Rev.A0 有毒有害物质或元素 部件名称 铅 汞 镉 六价铬 多溴联苯 多溴二苯 (Pb) (Hg) (Cd) (Cr(VI)) (PBB) 醚(PBDE) 印刷电路板 × ○ ○ ○ ○ ○ 及其电子组件 外部信号 × ○ ○ ○ ○ ○ 连接器及线材 外壳...
  • 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...
  • Page 11: Table Of Contents

    Table of Contents Chapter 1 - Product Specifications..................1 Specifications........................ 2 Block Diagram ......................4 Chapter 2 – Hardware Information ..................5 Dimensions ........................6 Jumpers and Connectors ..................7 List of Jumpers & Switches ..................9 2.3.1 Force RPIBOOT (CN3) ..................10 2.3.2 System Type Setting (CN4) ................
  • Page 12 2.4.10 COM Port 2 Phoenix Connector (CN16) ............27 2.4.11 Full-size Mini Card (CN17) ................28 2.4.12 UART Debug Port Internal Wafer (CN24) ............ 30 2.4.13 RTC Battery Internal Wafer (CN25) ............... 30 2.4.14 HDMI (CN28) ...................... 31 2.4.15 DC In (CN29) ..................... 32 2.4.16 EEPROM Socket (U7) ..................
  • Page 13 3.2.10 Watchdog Timer ....................45 3.2.11 LED ........................47 3.2.12 SW Button ......................48 Wireless Control Command and Example (4G, BT/Wi-Fi) ........ 49 3.3.1 4G ........................49 OS Installation ......................49 3.4.1 Flash SD Card or eMMC ................. 49 3.4.2 Check Version ....................
  • Page 14: Chapter 1 - Product Specifications

    Chapter 1 Chapter 1 - Product Specifications...
  • Page 15: Specifications

    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...
  • Page 17: Block Diagram

    Block Diagram Chapter 1 – Product Specifications...
  • Page 18: Chapter 2 - Hardware Information

    Chapter 2 Chapter 2 – Hardware Information...
  • Page 19: Dimensions

    Dimensions Chapter 2 – Hardware Information...
  • Page 20: Jumpers And Connectors

    Jumpers and Connectors Component Side Chapter 2 – Hardware Information...
  • Page 21 Solder Side Chapter 2 – Hardware Information...
  • Page 22: List Of Jumpers & Switches

    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...
  • Page 23: Force Rpiboot (Cn3)

    2.3.1 Force RPIBOOT (CN3) Force None 2.3.2 System Type Setting (CN4) OS Burning Mode Normal Mode Chapter 2 – Hardware Information...
  • Page 24: Com 1 Mode Selection (Cn10/Cn12/Cn19)

    2.3.3 COM 1 Mode Selection (CN10/CN12/CN19) CN10 CN12 CN19 RS-232 RS-422 RS-485 (Driver) RS-485 (Receiver) Chapter 2 – Hardware Information...
  • Page 25: Com 2 Mode Selection (Cn11/Cn13/Cn21)

    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 –...
  • Page 26: Com 3 Pull Up Or Down Switch (Sw4)

    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 –...
  • Page 27: List Of Connectors

    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...
  • Page 28: Cm4 B2B Connector A (Cn1)

    2.4.1 CM4 B2B Connector A (CN1) Pin Name Signal Type Signal Level Ethernet_Pair3_P DIFF Ethernet_Pair1_P DIFF Ethernet_Pair3_N DIFF Ethernet_Pair1_N DIFF Ethernet_Pair2_N DIFF Ethernet_Pair0_N DIFF Ethernet_Pair2_P DIFF Ethernet_Pair0_P DIFF Ethernet_nLED3 IN/OUT Ethernet_SYNC_IN Ethernet_nLED2 IN/OUT Ethernet_SYNC_OUT Ethernet_nLED1 IN/OUT EEPROM_nWP IN/OUT Pi_nLED_Activity IN/OUT GPIO26 IN/OUT GPIO21...
  • Page 29 Pin Name Signal Type Signal Level GPIO20 IN/OUT GPIO13 IN/OUT GPIO16 IN/OUT GPIO6 IN/OUT GPIO12 IN/OUT GPIO5 IN/OUT ID_SC IN/OUT ID_SD IN/OUT GPIO7 IN/OUT GPIO11 IN/OUT GPIO8 IN/OUT GPIO9 IN/OUT GPIO25 IN/OUT IN/OUT IN/OUT GPIO10 IN/OUT GPIO24 IN/OUT GPIO22 IN/OUT GPIO23 IN/OUT GPIO27...
  • Page 30 Pin Name Signal Type Signal Level SD_DAT3 IN/OUT SD_CMD IN/OUT SD_DAT0 IN/OUT SD_DAT5 IN/OUT SD_DAT1 IN/OUT SD_DAT4 IN/OUT SD_DAT2 IN/OUT SD_DAT7 IN/OUT SD_DAT6 IN/OUT SD_VDD_OVERRIDE IN/OUT SD_PWR_ON Reserved GPIO_VREF IN/OUT SCL0 IN/OUT SDA0 IN/OUT CM4_3.3V +3.3V CM4_3.3V +3.3V CM4_1.8V +1.8V WL_nDisable IN/OUT CM4_1.8V...
  • Page 31: Cm4 B2B Connector B (Cn2)

    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...
  • Page 32 Pin Name Signal Type Signal Level CAM1_D0_P PCIe_RX_N CAM1_D1_N PCIe_TX_P CAM1_D1_P PCIe_TX_N CAM1_C_N DIFF CAM0_D0_N DIFF CAM1_C_P DIFF CAM0_D0_P DIFF DIFF DIFF CAM1_D2_N DIFF CAM0_D1_N DIFF CAM1_D2_P DIFF CAM0_D1_P DIFF CAM1_D3_N DIFF CAM0_C_N DIFF CAM1_D3_P DIFF CAM0_C_P DIFF HDMI1_HOTPLUG HDMI1_SDA IN/OUT HDMI1_TX2_P DIFF...
  • Page 33 Pin Name Signal Type Signal Level HDMI0_CEC HDMI1_TX1_P DIFF HDMI0_HOTPLUG HDMI1_TX1_N DIFF DSI0_D0_N DIFF HDMI1_TX0_P DIFF DSI0_D0_P DIFF HDMI1_TX0_N DIFF DSI0_D1_N DIFF HDMI1_CLK_P DIFF DSI0_D1_P DIFF HDMI1_CLK_N DIFF DSI0_C_N DIFF HDMI0_TX2_P DIFF DSI0_C_P DIFF HDMI0_TX2_N DIFF DSI1_D0_N DIFF HDMI0_TX1_P DIFF DSI1_D0_P DIFF HDMI0_TX1_N...
  • Page 34: Micro Sd Card (Cn5)

    Pin Name Signal Type Signal Level DSI1_D1_P DIFF HDMI0_TX0_N DIFF DSI1_C_N DIFF HDMI0_CLK_P DIFF DSI1_C_P DIFF HDMI0_CLK_N DIFF DIFF DIFF DSI1_D2_N DIFF DSI1_D3_N DIFF DSI1_D2_P DIFF DSI1_D3_P DIFF HDMI0_SDA IN/OUT HDMI0_SCL IN/OUT 2.4.3 Micro SD Card (CN5) Pin Name Signal Type Signal Level SD_DAT2 IN/OUT...
  • Page 35: Dual Usb 2.0 (Cn6)

    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...
  • Page 36: Rs-485 Phoenix Connector (Cn7)

    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...
  • Page 37: Otg (Cn9)

    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...
  • Page 38: Dual 1Gbe Rj-45 Port (Cn15)

    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...
  • Page 39 Pin Name Signal Type Signal Level LAN1_CT6 LAN1_MDI2_P DIFF LAN1_MDI2_N DIFF LAN1_MDI3_P DIFF 1P10 LAN1_MDI3_N DIFF LAN2_LEDY- IN/OUT LAN2_LEDY+ IN/OUT LAN2_LEDG IN/OUT LAN2_LEDO IN/OUT LAN2_MDI0_P DIFF LAN2_MDI0_N DIFF LAN2_MDI1_P DIFF LAN2_MDI1_N DIFF LAN2_CT5 LAN2_CT6 LAN2_MDI2_P DIFF LAN2_MDI2_N DIFF LAN2_MDI3_P DIFF 2P10 LAN2_MDI3_N DIFF...
  • Page 40: Com Port 2 Phoenix Connector (Cn16)

    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...
  • Page 41: Full-Size Mini Card (Cn17)

    2.4.11 Full-size Mini Card (CN17) Pin Name Signal Type Signal Level PCIE_WAKE# +3.3V +3.3V +1.5V PCIE_CLK_REQ# PCIE_REF_CLK- PCIE_REF_CLK+ W_DISABLE# PCIE_RST3 PCIE_RX-/SATA_RX- +3.3V +3.3V PCIE_RX+/SATA_RX+ Chapter 2 – Hardware Information...
  • Page 42 Pin Name Signal Type Signal Level +1.5V SMB_CLK PCIE_TX-/SATA_TX- SMB_DATA PCIE_TX+/SATA_TX+ USB2_1_DN DIFF USB2_1_DP DIFF +3.3V +3.3V +3.3V +3.3V +1.5V +3.3V +3.3V Chapter 2 – Hardware Information...
  • Page 43: Uart Debug Port Internal Wafer (Cn24)

    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...
  • Page 44: Hdmi (Cn28)

    2.4.14 HDMI (CN28) Pin Name Signal Type Signal Level HDMI0_TX2+ DIFF HDMI0_TX2- DIFF HDMI0_TX1+ DIFF HDMI0_TX1- DIFF HDMI0_TX0+ DIFF HDMI0_TX0- DIFF HDMI0_CLK+ DIFF HDMI0_CLK- DIFF HDMI0_CEC IN/OUT HDMI0_SCL IN/OUT HDMI0_SDA IN/OUT +V5S HDMI0_HPD Chapter 2 – Hardware Information...
  • Page 45: Dc In (Cn29)

    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...
  • Page 46: Chapter 3 - Product Setup And Configuration

    Chapter 3 Chapter 3 - Product Setup and Configuration...
  • Page 47: System Account Management

    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.
  • Page 48: Dio

    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):...
  • Page 51: Ethernet

    3.2.3 Ethernet Step 1: Check the Ethernet Interface root@CM4:~# ifconfig Output: eth0: flags=4163<UP ,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.16.17.124 netmask 255.255.255.0 broadcast 172.16.17.255 inet6 fe80::f5f1:f0cf:b70a:cc2f prefixlen 64 scopeid 0x20<link> ether e4:5f:01:8a:61:b3 txqueuelen 1000 (Ethernet) RX packets 7457 bytes 1000406 (976.9 KiB) RX errors 0 dropped 1612 overruns 0 frame 0 TX packets 27 bytes 3635 (3.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0...
  • Page 52: Pcie

    --- google.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 3.326/3.326/3.326/0.000 ms root@CM4:~# ping google.com -I eth1 -c 1 PING google.com (172.217.160.110) from 172.16.17.95 eth1: 56(84) bytes of data. 64 bytes from tsa03s06-in-f14.1e100.net (172.217.160.110): icmp_seq=1 ttl=115 time=3.91 ms --- google.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms...
  • Page 53: Serial

    3.2.7 Serial 3.2.7.1 Jumper Setting COM 1 Mode Selection (CN10/CN12/CN19) CN10 CN12 Chapter 3 – Product Setup and Configuration...
  • Page 54: Pin Definition

    COM 1 Mode Selection (CN10/CN12/CN19) CN19 RS-232 RS-422 RS-485 (Driver) RS-485 (Receiver) COM 2 Mode Selection (CN11/CN13/CN21) CN11 CN13 CN21 RS-232 RS-422 RS-485 (Driver) RS-485 (Receiver) 3.2.7.2 Pin Definition Please refer to section 2.3.3 COM 1 Mode Selection (CN10/CN12/CN19). Pin Name RS-232 RS-422 RS-485...
  • Page 55: Device Node

    Step 2: Read from COM2 in the background: root@CM4:~# cat /dev/ttyAMA3 & [1] 1784 Step 3: Send data from COM1: root@CM4:~# echo "AAEON" > /dev/ttyAMA2 Expected output on COM2: root@CM4:~# AAEON Step 4: Disable echo on COM1: root@CM4:~# stty -F /dev/ttyAMA2 -echo Step 5: Read from COM1 in the background: root@CM4:~# cat /dev/ttyAMA2 &...
  • Page 56 Step 2: Read from COM2 in the background: root@CM4:~# cat /dev/ttyAMA3 & [1] 1111 Step 3: Send data from COM1: root@CM4:~# echo "AAEON" > /dev/ttyAMA2 Expected output on COM2: root@CM4:~# AAEON Step 4: Disable echo on COM1: root@CM4:~# stty -F /dev/ttyAMA2 -echo Step 5: Read from COM1 in the background: root@CM4:~# cat /dev/ttyAMA2 &...
  • Page 57: Rs-485-Isolation (Com 2 To Isolation)

    3.2.7.6 RS-485 Connection Instructions: Connect COM1 pin 1 to COM2 pin 1. Connect COM1 pin 2 to COM2 pin 2. Save the following content to the file uart_test.py: import serial comA = serial.Serial("/dev/ttyAMA2", 115200, timeout=1) comB = serial.Serial("/dev/ttyAMA3", 115200, timeout=1) comA.setRTS(1) # sender comB.setRTS(0) # receiver data_len = comA.write(b'test string')
  • Page 58: Tpm

    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;...
  • Page 60: Led

    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 >...
  • Page 61: Sw Button

    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.
  • Page 62: Wireless Control Command And Example (4G, Bt/Wi-Fi)

    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 63: Check Version

    Run command: rpiboot 3.4.2 Check Version Command: root@CM4:~#cat /etc/aaeon-release Result: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" IMAGE_VERSION="SRG-CM4 vXXX" HW_INFO="Broadcom BCM2711 quad-core" CREATE_DATE="XXXX/XX/XX" Chapter 3 – Product Setup and Configuration...
  • 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...
  • Page 65: Appendix A - Mating Connectors

    Appendix A Appendix A – Mating Connectors...
  • Page 66: List Of Mating Connectors And Cables

    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 –...

Table of Contents