Write the RMA number clearly on the outside of the package and ship the pack- age prepaid to your dealer. Part No. 2006E63000 Edition 1 Printed in China April 2025 AFE-E630 User Manual...
RK3568J, 4GB DRAM + 64GB EMMC, w/ UIO-4035, -40–70°C, AT AFE-E630-U0H1 RK3568B2, 4GB DRAM + 32GB EMMC, w/ UIO-4033, 0–60°C, AT Note: The AFE-E630 was originally known as KEDGE-350. Packing List Before you begin installing your card, please make sure that the following materials...
The openings on the enclosure are for air convection. Protect the equipment from overheating. Do not cover the openings. Ensure that the voltage of the power source is correct before connecting the equipment to a power outlet. AFE-E630 User Manual...
Page 5
Follow these simple precautions to protect yourself from harm and the products from damage. To avoid electrical shock, always disconnect the power from the PC chassis before manual handling. Do not touch any components on the CPU card or other cards while the PC is powered on. AFE-E630 User Manual...
RS232, CAN, DI/DO, with both isolated and non-isolated RS458, CAN, and DI/DO options. It also features wireless connectivity options including 4G/GPS, and Wi-Fi 6. The AFE-E630 is widely used in the energy sector, particularly for commercial and industrial storage systems.
UIO-4033 DO1-4 DO5-8 Micro SD DI 1-4 DI 5-8 RS485_1 RS485_2 RS485_3 RS485_4 CAN1 CAN2 UIO-4035 DO1-4 DO5-8 Micro SD DI 1-4 DI5-8 RS485_1/RS485_2 RS485_3/RS485_4 CAN1 CAN2 Power Supply 9-30V DC IN AFE-E630 User Manual...
Refer to the 3D picture of AFE-E630 product on the Advantech official 9-30V website Remark: If you want to use a Phoenix terminal, you can buy a DC-jack to Phoenix connector. For DC-jack specifications, refer to the 3D picture of the AFE-E630 prod- uct on the Advantech website. Power Button Power Button Table 2.2: Power Button...
Function Description Slow flash, 2000ms on, 100ms off, Green Standby 4G LED Speed flash, 100ms on, 100ms off, Green Data link Power LED Always on green ALL power is OK User LED User defined USB 1/2 USB 3.0 AFE-E630 User Manual...
Interface identifier Interface Standard Description LAN1 1000 Mbps Eth0 LAN2 1000 Mbps Eth1 AFE-E630 supports two Ethernet ports: eth0/eth1. Both ports use “DHCP” mode by default. The following configurations and tests use eth0 as an example. HDMI HDMI AFE-E630 User Manual...
The default value is RS485. Table 2.9: COM0, COM1 Device Node COM Port Name Remark /dev/ttyS3 COM0(RS232 2-wire and RS485), Default RS485 /dev/ttyS4 COM1(RS232 2-wire and RS485) Default RS485 2.13 UIO-4031 Interface UIO-4031 U-COM2/3 Micro SD U-CAN1/2 U-COM0/1 U-COM4/5 U-DI/DO AFE-E630 User Manual...
3 2 1 3 2 1 RS485_1 RS485_2 RS485_3 RS485_4 2.14.3.1 COM1 (RS485_1) Table 2.16: COM1 (RS485_1) Pin Number Signal Screen Name Device Node Pin 1 GND_ISO1 GND1 Pin 2 RS485_B1 RS485- /dev/ttyUSB0 Pin 3 RS485_A1 RS485+ AFE-E630 User Manual...
Page 30
Use the “candump” and “cansend” tools directly to send and receive messages. The tools have been embedded into the system. UIO-4033 3 2 1 3 2 1 CAN1 CAN2 2.14.4.1 CAN1 Table 2.20: CAN1 Software Port Number Signal Remark AFE-E630 User Manual...
Table 2.21: CAN2 Software Port Number Signal Remark CAN2_D- CAN2 CAN2_D+ CAN2.0 GND_ISO6 2.15 UIO-4035 UIO-4035 DO1-4 DO5-8 Micro SD DI 1-4 DI5-8 RS485_1/RS485_2 RS485_3/RS485_4 CAN1 CAN2 2.15.1 UIO-4035 DO1-8 UIO-4035 DO1-4 DO5-8 Pin9 Pin1 Pin9 Pin1 AFE-E630 User Manual...
Page 32
GPIO can be divided into dry nodes and wet nodes. When the node is wet, set the UIO-4035 SW1 and SW2 to 1-2, and use an external power supply (0-30 V). UIO-4035 provides 8-channel digital output. The specific wiring diagram is as follows. AFE-E630 User Manual...
Pin 4 Pin 5 Pin 6 2.15.2.2 DI 5-8 Table 2.25: DI 5-8 PIN Number Signal Screen name Software port number Pin 1 GND_ISO GND_DI Pin 2 GND_ISO GND_DI Pin 3 Pin 4 Pin 5 Pin 6 AFE-E630 User Manual...
2.16 4G/GPS AFE-E630 support 4G/GPS module by Mini-PCIE slot (USB 2.0), Model of 4G/GPS module: EC20CEFRSG-MINIPCIE-C(for china), AIW-344FQ(for overseas). 2.17 Wi-Fi/BT or NVME SSD AFE-E630 User Manual...
Page 37
AFE-E630 support Wi-Fi/BT or NVME SSD module by M.2 E-Key (PCIe x1), Model of Wi-Fi/BT module: AIW-162BS-GI1, NVME SSD size is 2230. The maximum capacity is 512MB. Note! Only Wi-Fi/BT or the NVME SSD module can be changed. AFE-E630 User Manual...
Preface All test tools must be verified using the AFE-E630 evaluation kit. Please prepare the required test fixtures before verifying each specified I/O. If you have any problems during testing, please contact Advantech for help. Command Introduction All the commands in this document should be input after the operating system boots up and under “root”...
If there is a debugging serial port connected, the serial terminal automatically logs in to the “root” user. 3.3.2 Find Application You can find an application in “Applications”. Alternatively, you can search for it in the list of “All Applications” in “Application Finder”. AFE-E630 User Manual...
Configure Resolution for an HDMI Screen Click “Applications” -> “Settings” -> “Display”. Choose “HDMI-1”, then choose “Resolution”. Click “Apply”. Audio The AFE-E630 supports one kind of sound card: “0 hdmi” 3.5.1 Mute and Volume Control Mute and volume can be configured in the GUI.
Note! You must connect HDMI (display with audio function) to enable the sound function. 4G/GPS Module The AFE-E630 supports this 4G/GPS module: EC20CEFRSG-MINIPCIE-C (for China), AIW-344FQ(for overseas). 3.6.1 Configure 4G STEP 0: Power off the device, then insert the 4G module and SIM card.
Page 44
Then choose "New Mobile Broadband connection". Then you will see the following window. Click the "Next" button to proceed to the next step. AFE-E630 User Manual...
Page 45
STEP 2: Choose your Provider's country or region for the SIM card you inserted in STEP 0. STEP 3: Choose or Set the Provider's name. STEP 4: Choose or Set the APN. AFE-E630 User Manual...
After connection, 4G will create a net point “wwan0”. # ping -I wwan0 www.advantech.com Wi-Fi/BT The AFE-E630 supports the WiFi/BT module:AIW-162BS-GI1 3.7.1 Configure Wi-Fi Click the Wi-Fi icon in the top right corner of the screen, select a Wi-Fi connec- tion (for example, Advantech for guest).
If the password is correct, the device will connect quickly. 3.7.2 Wi-Fi Test After connection, Wi-Fi will create a net point “wlan0”. # ping -I wlan0 www.advantech.com 3.7.3 BT Test Click “Applications” -> “Settings” -> “Bluetooth manager”. Click the “Search” button to search for Bluetooth devices. AFE-E630 User Manual...
Page 48
Right-click to select a device, such as “jt-TianYi510Pro-14IMB”, and send a file. AFE-E630 will start sending files when the receiver device, such as “jt- TianYi510Pro-14IMB”, confirms Bluetooth reception. AFE-E630 User Manual...
Ethernet The AFE-E630 supports two Ethernet ports: eth0/eth1. Both ports use “DHCP” mode by default. The following configurations and tests use eth0 as an example. 3.8.1 Configure to Static IP Click “Applications” -> “Settings” -> “Advanced Network Configuration”. Double-click “Wired Connection 1” to configure it.
# fw_setenv uart_mode_cpu 3:0,4:1 # reboot Set ttyS3 to RS485 mode and ttyS4 to RS232 mode. # fw_setenv uart_mode_cpu 3:1,4:0 # reboot Set ttyS3 to RS485 mode and ttyS4 to RS485 mode. # fw_setenv uart_mode_cpu 3:1,4:1 # reboot AFE-E630 User Manual...
# stty -F /dev/ttyS4 115200 cs8 -cstopb -parenb -crtscts # echo pass > /dev/ttyS4 # #----If no error, the receiver will receive “pass”----# # pass Note! The receiver should run before the sender. The “serial port parameters” should be the same for sender and receiver. AFE-E630 User Manual...
UIO_GPIO8 GPIO0_C6 UIO_GPIO10 GPIO4_C2 UIO_GPIO11 IIC_GPIO_P0 UIO_GPIO12 IIC_GPIO_P1 AFE-E630 sets UIO_GPIO9 to the UIO_MCU_RST function by default Table 3.3: GPIO_GPIO9 GPIO Number GPIO Formed Numeric Representation GPIO Definition UIO_GPIO9 GPIO4-C3 UIO_MCU_RST Export GPIO, then you can use control GPIO from the user space through sysfs.
A Watchdog Timer (WDT) is a hardware circuit that can reset the computer system in case of a software fault. AFE-E630 supports one external watchdog. The default value of timeout is 60 seconds, and it can be set from 1 second to 6527 seconds.
# echo V > /dev/watchdog Write a program using “ioctl” See more details in [BSP]/kernel/Documentation/watchdog/watchdog-api.rst 3.13 The AFE-E630 has one CAN port. Use the “candump” and “cansend” tools directly to send and receive messages. The tools have been embedded into the system. 3.13.1...
# ip link set can0 up # cansend can0 123##155 # #----If no error, the receiver will receive the following data----# # Can0 [01] See more details of the usage of “candump” and “cansend”: # candump --help # cansend --help AFE-E630 User Manual...
The receiver should run before the sender. The “bitrate” and “dbbitrate” should be the same for sender and receiver. 3.14 PCIE AFE-E630 supports one PCIE port. Use the PCIE disk (SQF-C3AV1-128GCEDC) to test the PCIE interface. Preparation: Insert the PCIE disk. ...
3.15 LEDs The AFE-E630 has one LED controlled by the customer. Turn On # echo 1 > /sys/class/leds/run/brightness Turn Off # echo 0 > /sys/class/leds/run/brightness 3.16 UIO-4031 Software Functionality 3.16.1 UART UIO-4031 has two RS232 ports and four RS485 ports.
# #---- Show DO ports ----# # # cd /dev/ # ls DO* 3.16.2.2 Get DI Status Take DI1 for example. # cat /dev/DI1 Note! 0 means the external circuit is NOT conductive. 1 means the external circuit is conductive. AFE-E630 User Manual...
Test command for reading ID written in factory: # EEPROM="/sys/bus/i2c/devices/2-0050/eeprom" # dd if=$EEPROM bs=1 count=4 2> /dev/null | hexdump -e '16/1 "%02x " "\n"' 04 00 03 01 Note! DO NOT write the first block used for storing product information. AFE-E630 User Manual...
# #---- Set 1 to DO1 ----# # # echo 1 > /dev/DO1 # #---- Get DO1 status ----# # # cat /dev/DO1 Note! Setting 0 to make the external circuit NOT conductive. Setting 1 to make the external circuit conductive. AFE-E630 User Manual...
[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] | [ dbitrate BITRATE [ dsample-point SAMPLE-POINT] ] | [ fd { on | off } ] … … For example, set can1 “bitrate rate” to 1000000 “dbitrate rate” to 2000000 “fd” to on AFE-E630 User Manual...
Page 66
[01] See more details of the usage of “candump” and “cansend” # candump --help # cansend --help Note! The receiver should run before the sender. The “bitrate” and “dbbitrate” should be the same for sender and receiver. AFE-E630 User Manual...
Create “update.img” Download the Release Image to you PC (Windows OS). Decompress the Image and double-click mkupdate.bat in the folder “rockdev”. Then you can find “update.img” in the folder “rockdev”. AFE-E630 User Manual...
Insert an SD Card into your PC (Windows OS). Decompress SDDiskTool. Double-click SD_Firmware_Tool.exe Create an upgrade SD card: Choose the SD device. Choose the "Upgrade firmware". Choose the update.img path. Create the update SD card. Get confirmation of upgrade SD card success. AFE-E630 User Manual...
Upgrade or Recovery AFE-E630 Power off the AFE-E630. Insert the upgrade SD card to AFE-E630. Power on the AFE-E630. It will automatically enter recovery mode to upgrade the system. If the upgrade is successful, you will get the message “Please remove SD CARD!!! Wait for reboot”...
It helps to save a lot of time and cost with regard to developing carrier boards. Schematic Review Placement and Layout Review Debugging Assistance Services General/Special Reference Design Database. AFE-E630 User Manual...
Page 75
SIs are still required to integrate them into the system core. Moreover, the BSPs provided by CPU manufacturers are typically aimed at carrier board design. Thus, they may not be an appropriate environment for software development. AFE-E630 User Manual...
Page 76
Integration Stage This phase comprises hardware and software integration, application development, and peripheral module implementation. Because they may lack the knowledge and experience of certain platforms, customers may need to spend some time analyzing AFE-E630 User Manual...
080-363-9494 Korea (Toll Free) 080-363-9495 0800-777-111 Taiwan (Toll Free) 8-800-555-01-50 Russia (Toll Free) Alternatively, you can contact the Advantech service team via our website. https:// www.advantech.com/en/support Our technical support engineers will provide quick responses to your queries. AFE-E630 User Manual...
RMA numbers will not be accepted; they will be returned to the customer at the customer's cost without prior notice. An RMA number is only an authorization for returning a product; it is not an approval for repair or replacement. When requesting an RMA number, please access ADVAN- AFE-E630 User Manual...
Should DOA cases fail, ADVANTECH will take full responsibility for the product and transportation charges. If the items are not DOA, but fail within warranty, the sender will bear the freight charges. For out-of-warranty cases, customers must cover the cost and take care of both outward and inward transportation. AFE-E630 User Manual...
ADVANTECH. Per customer requirement, other express services can be adopted, such as UPS, FedEx, etc. The customer must bear the extra costs of such alternative shipments. If you require any special arrangements, please indicate this when shipping the product to us. AFE-E630 User Manual...
Page 82
www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher.
Need help?
Do you have a question about the AFE-E630 and is the answer not in the manual?
Questions and answers