background image

 

 

 

 

 

 
 
 
 
 

SRG-IMX8P

 

 

IOT Gateway System

 
 

User’s  Manual  1

st

  Ed

Summary of Contents for SRG-IMX8P

Page 1: ...SRG IMX8P IOT Gateway System User s Manual 1st Ed...

Page 2: ...this manual is intended to be accurate and reliable However the original manufacturer assumes no responsibility for its use or for any infringements upon the rights of third parties that may result f...

Page 3: ...ion ARM Cortex and Cortex A53 are registered trademarks of Arm Limited or its subsidiaries IBM PC AT PS 2 and VGA are trademarks of International Business Machines Corporation Debian is a registered t...

Page 4: ...Packing List Before setting up your product please make sure the following items have been shipped Item Quantity SRG IMX8P 1 If any of these items are missing or damaged please contact your distributo...

Page 5: ...escriptions and explanations on the product s hardware and software features if any its specifications dimensions jumper connector settings definitions and driver installation instructions if any to f...

Page 6: ...nsient over voltage 7 Always disconnect this device from any AC supply before cleaning 8 While cleaning use a damp cloth instead of liquid or spray detergents 9 Make sure the device is installed near...

Page 7: ...n to the device iii Exposure to moisture iv Device is not working as expected or in a manner as described in this manual v The device is dropped or damaged vi Any obvious signs of damage displayed on...

Page 8: ...sion if the battery is incorrectly replaced Replace only with the same or equivalent type recommended by the manufacturer Dispose of used batteries according to the manufacturer s instructions and you...

Page 9: ...Preface IOT Gateway System SRG IMX8P China RoHS Requirements CN AAEON System QO4 381 Rev A0 Pb Hg Cd Cr VI PBB PBDE SJ T 11364 GB T 26572 GB T 26572 2011 65 EU...

Page 10: ...U X O O O O O Battery X O O O O O This form is prepared in compliance with the provisions of SJ T 11364 O The level of toxic or hazardous materials present in this component and its parts is below the...

Page 11: ...LAN Port 4 9 2 3 5 Indicators Light 5 10 2 3 6 CAN FD Port 6 11 2 3 7 Reset Button 7 11 2 3 8 RS 232 422 485 Port 8 12 2 3 9 Micro SIM Slot 9 12 2 3 10 Micro SD Slot 10 13 2 3 11 Antenna 11 13 2 3 12...

Page 12: ...atus 33 3 7 2 Check Module Information in Minicom 35 3 7 2 1 Leave Minicom 37 3 7 3 Dial up Cellular Module 38 3 8 Wi Fi Network Settings Optional 40 3 8 1 Scan Wi Fi Access Point 40 3 8 2 Connect Wi...

Page 13: ...IOT Gateway System SRG IMX8P Chapter 1 Chapter 1 Product Specifications...

Page 14: ...rogrammable LED control x 7 Cellular Mini PCIe Connector x 1 USB signal Wireless LAN Mini PCIe Connector x 1 USB signal Operating System Debian 10 Support Protocol Modbus MQTT Library by request I O S...

Page 15: ...x 3 86 x 1 89 140 76mm x 98 2mm x 48mm Weight 2 1 lbs 0 95Kg Mount Options Wall Mount Din Rail Optional Operation Temperature 4 F 158 F 20 C 70 C Storage Temperature 40 F 176 F 40 C 80 C Operation Hum...

Page 16: ...IOT Gateway System SRG IMX8P Chapter 2 Chapter 2 Hardware Information...

Page 17: ...Chapter 2 Hardware Information 5 IOT Gateway System SRG IMX8P 2 1 Dimensions...

Page 18: ...Chapter 2 Hardware Information 6 IOT Gateway System SRG IMX8P 2 2 I O Location...

Page 19: ...nectors which can be configured for your application This section details those connections and their specifications Label Function 1 DC Power 2 HDMI Port 3 USB 3 0 Port 4 Giga LAN Port 5 Indicators L...

Page 20: ...2 3 1 DC Power 1 The gateway can accept DC 9 36V input though 2 pin phoenix connector 2 3 2 HDMI Port 2 The HDMI support port enables video output to an external display 2 3 3 USB 3 0 Port 3 The USB 3...

Page 21: ...e standard RJ 45 LAN jack is provided the connection to the Local Area Network LAN LED Function Status Yellow Active status ON LAN link is established OFF LAN link is not established Blink Data receiv...

Page 22: ...rmation 10 IOT Gateway System SRG IMX8P 2 3 5 Indicators Light 5 User can control the 7 LED via the GPIO The control command for LED 1 7 Control Command Turn On m0cli c 0 i 1 v 1 Turn Off m0cli c 0 i...

Page 23: ...nformation 11 IOT Gateway System SRG IMX8P 2 3 6 CAN FD Port 6 Provides two phoenix CANbus ports for external device connection Check chapter 3 for more information 2 3 7 Reset Button 7 Press the butt...

Page 24: ...RG IMX8P 2 3 8 RS 232 422 485 Port 8 Provides two phoenix connectors for RS 232 422 485 interface Check chapter 3 for more information 2 3 9 Micro SIM Slot 9 User can insert the micro SIM card into th...

Page 25: ...ardware Information 13 IOT Gateway System SRG IMX8P 2 3 10 Micro SD Slot 10 User can increase the available storage by insert the micro SD card 2 3 11 Antenna 11 The 3 Antenna configurations are Wi Fi...

Page 26: ...y System SRG IMX8P 2 3 12 Debug Port 12 Log into the gateway s Linux OS via SSH via debug port Micro USB type Serial Port Settings Baud rate 115200 bps Parity None Data bits 8 Stop bits 1 Flow Control...

Page 27: ...RG IMX8P features both a SIM Card and Mini Card slot for connecting to wireless networks such as 4G LTE and Wi Fi This section details how to install a SIM Card 4G LTE module and Wi Fi module 2 4 1 Mi...

Page 28: ...Chapter 2 Hardware Information 16 IOT Gateway System SRG IMX8P Step 2 Remove the plugs from the antenna holes Step 3 Install the RF coaxial cables on the antenna holes...

Page 29: ...odule Note The installation slots are the same as the photo Item Module Installation Location Wi Fi WPET 236ACN BT module Install the RF cable to left conn to support Wi Fi signal ANT0 for WLAN only A...

Page 30: ...nstall a SIM Card Micro SIM simply insert the SIM Card into the slot on the side of the system as shown Ensure the card is correctly oriented 2 4 3 SD Card Installation To install an SD Card simply in...

Page 31: ...IOT Gateway System SRG IMX8P Chapter 3 Chapter 3 Gateway Setup and Configuration...

Page 32: ...ed Users can download the software from the PuTTY website Step 1 Download the PuTTY tools https www putty org Step 2 Switch jumper SW3 to 0010 Factory default settings PIN 1 2 4 Switch to OFF PIN 3 Sw...

Page 33: ...Double click on the device A pop up should appear with a notice that the CDC Serial is unrecognized Step 5 Open the PuTTY application In the configuration menu type in the COM port and type 115200 in...

Page 34: ...tup and Configuration 22 IOT Gateway System SRG IMX8P Step 6 Log into the system using the below credentials Username root Password aaeon You will see a welcome message when you have successfully conn...

Page 35: ...m SRG IMX8P 3 2 User Account Management This section will show you how to manage user accounts on this system 3 2 1 To Add a User Account Command Line sudo useradd USERACCOUNT E g USERACCOUNT jonny su...

Page 36: ...way Setup and Configuration 24 IOT Gateway System SRG IMX8P 3 2 2 To Delete a User Account Command Line sudo userdel USERACCOUNT E g USERACCOUNT jonny sudo userdel jonny When successful output will di...

Page 37: ...ow you how to operate the I O function Control GPIO Command gpionum 85 Set GPIO direction E g echo 85 sys class gpio export echo out sys class gpio gpio85 direction Set GPIO ON E g echo 1 sys class gp...

Page 38: ...RG IMX8P 3 4 CAN FD Pin Definition System Name Position Pin Definition can0 Pin Definition 1 H 2 L CAN1 3 GND can1 Pin Definition 1 H 2 L CAN2 3 GND CAN Bus Read Write The two ports can be connected t...

Page 39: ...ff ip link set can0 type can bitrate 1000000 triple sampling on ifconfig can1 down ip link set can1 type can loopback off ip link set can1 type can bitrate 1000000 triple sampling on ifconfig can0 up...

Page 40: ...Pin Definition Pin Definition Pin Definition 1 1 DCD1 1 DCD1 2 RXD1 2 RXD1 2 RXD1 3 TXD1 3 TXD1 3 4 4 DTR1 4 5 5 5 6 6 6 7 GND 7 GND 7 GND dev ttym xc2 COM P2 CN5 Pin Definition Pin Definition Pin De...

Page 41: ...s class gpio gpio87 value echo 1 sys class gpio gpio12 value RS485 mode GPIO control echo 1 sys class gpio gpio85 value echo 0 sys class gpio gpio86 value echo 1 sys class gpio gpio87 value echo 0 sys...

Page 42: ...8P 3 6 Network Settings This section will show you how to check and setup the network settings 3 6 1 Check the IP Setting Command nmcli dev sh NETWORKPROFILE It should be Profile Support Hardware LAN1...

Page 43: ...mode Command sudo nmcli connection add con name eth0 type ethernet ifname eth0 ip4 192 16 12 21 24 sudo nmcli connection up eth0 sudo nmcli connection add con name eth1 type ethernet ifname eth1 ip4...

Page 44: ...o nmcli connection mod eth0 ipv4 method auto sudo nmcli con mod eth0 ipv4 addresses 192 16 12 21 24 sudo nmcli connection up eth0 sudo nmcli connection mod eth1 ipv4 method auto sudo nmcli con mod eth...

Page 45: ...ptional This section will show you how to check and setup the cellular network setting 3 7 1 Check the Cellular Module Status Step 1 Leave Command apt get install minicom Then press Y When successful...

Page 46: ...onfiguration 34 IOT Gateway System SRG IMX8P Step 3 Choose Serial port setup then press A to settings Step 4 Leave Command dev ttyUSB3 Finish setting configuration then press Enter as below Step 5 Cho...

Page 47: ...Module Information in Minicom Check if module is connected to the serial port Command AT Check the SIM card status Command AT CPIN Check module manufacturer information Command ATI Check setting APN C...

Page 48: ...Chapter 3 Gateway Setup and Configuration 36 IOT Gateway System SRG IMX8P When successful output will display as below...

Page 49: ...Chapter 3 Gateway Setup and Configuration 37 IOT Gateway System SRG IMX8P 3 7 2 1 Leave Minicom Step 1 Press Ctrl A Step 2 Press X Step 3 Choose Yes then select Enter to leave Minicom...

Page 50: ...System SRG IMX8P 3 7 3 Dial up Cellular Module Check the cellular module status Command sudo su systemctl enable ModemManager sudo systemctl start ModemManager mmcli list modems mmcli m 0 Result Cellu...

Page 51: ...ystem SRG IMX8P Enable the cellular module Command mmcli m 0 e Result Dial up the cellular module Command nmcli a nmcli c add con name test type gsm ifname ttyUSB2 apn internet Result Check the cellul...

Page 52: ...i Fi 3 8 1 Scan Wi Fi Access Point Command depmod a 5 10 9 1 0 0 g32513c25d8c7 modprobe 88x2bu nmcli radio wifi on nmcli dev wifi list Result 3 8 2 Connect Wi Fi Access Point Command nmcli dev wifi co...

Page 53: ...ration 41 IOT Gateway System SRG IMX8P 3 8 3 Check Wi Fi signal Command ping 8 8 8 8 Result 3 8 4 Disconnect Wi Fi Access Point Command sudo nmcli con down id SSID E g sudo nmcli con down id ABC SSID...

Page 54: ...ay Setup and Configuration 42 IOT Gateway System SRG IMX8P 3 8 5 Check Wi Fi Connection Status Command nmcli connect show active Result The disconnected Wi Fi status is shown in the picture as below n...

Page 55: ...nd Configuration 43 IOT Gateway System SRG IMX8P 3 9 System Management This section will show you how to check and setup system settings such as the OS version RTC etc 3 9 1 Check OS version Command c...

Page 56: ...Chapter 3 Gateway Setup and Configuration 44 IOT Gateway System SRG IMX8P 3 9 2 Check the Storage Status Command df h Result 3 9 3 Shutdown the System Command sudo shutdown now Result...

Page 57: ...8P 3 9 4 Date and Time Settings 3 9 4 1 Check the Current Date and Time Command hwclock Result 3 9 4 2 Set a New Date and Time Command date s YYYYMMDD hh mm ss hwclock w E g date s 20220803 15 30 00 h...

Reviews: