Advantech AFE-E420 User Manual
Advantech AFE-E420 User Manual

Advantech AFE-E420 User Manual

Nxp i.mx 93 dual arm cortex-a55 4" sbc
Table of Contents

Advertisement

Quick Links

User Manual
AFE-E420
NXP® i.MX 93
Dual Arm® Cortex-A55 4" SBC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AFE-E420 and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech AFE-E420

  • Page 1 User Manual AFE-E420 NXP® i.MX 93 Dual Arm® Cortex-A55 4" SBC...
  • Page 2 No part of this manual may be reproduced, copied, translated, or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. The information provided in this manual is intended to be accurate and reliable.
  • Page 3: Product Warranty (2 Years)

    Product Warranty (2 Years) Advantech warrants the original purchaser that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products that have been repaired or altered by persons other than repair personnel authorized by Advantech, or products that have been subject to misuse, abuse, accident, or improper installation.
  • Page 4: Declaration Of Conformity

    Discard used batteries according to the manufacturer's instructions. Technical Support and Assistance Visit the Advantech website at www.advantech.com/support to obtain the latest product information. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance. Please have the following information ready before calling: –...
  • Page 5: Table Of Contents

    Table 3.1: Jumpers & Switches ..........10 Connectors....................10 Table 3.2: Connector and Header List........10 Locating Connectors ................11 Figure 3.1 AFE-E420 Connector Locations (Top Side) ..... 11 Figure 3.2 AFE-E420 Connector Locations (Bottom Side) ..11 Jumpers & Switches................12 3.4.1 Backlight Voltage Selection Jumper: LVDS_BKLT_SLT ....
  • Page 6 User Guide....................36 Test Functions ..................36 4.2.1 CPU .................... 36 4.2.2 DDR .................... 36 4.2.3 SD Card ..................37 4.2.4 eMMC ..................37 4.2.5 RS-232..................37 4.2.6 RS-485/422................. 38 4.2.7 GPIO................... 40 4.2.8 M.2 (B-Key) 4G................40 AFE-E420 User Manual...
  • Page 7 4.2.15 I2C ....................42 4.2.16 RTC..................... 42 4.2.17 PWM ................... 43 4.2.18 Audio................... 43 4.2.19 Watchdog..................44 4.2.20 ADC .................... 44 4.2.21 RTD..................... 45 4.2.22 PLC ..................... 45 4.2.23 CAN Bus ..................46 4.2.24 Fan....................46 4.2.25 POE .................... 47 AFE-E420 User Manual...
  • Page 8 AFE-E420 User Manual viii...
  • Page 9: Chapter 1 General Information

    Chapter General Information This chapter gives background information on the AFE-E420 Sections include:  Introduction  Specifications  Block diagram...
  • Page 10: Introduction

    Introduction The AFE-E420 is a compact 4" SBC (single board computer) in the 165 x 115 mm form factor. It’s part of the Compact Series and runs on the NXP® i.MX 93 processor, featuring a Dual Arm® Cortex-A55 core. The AFE-E420 supports onboard LPDDR4x-3733 memory up to 2GB, and includes eMMC storage along with an SD card socket.
  • Page 11 Operating: 40°C @ 95% relative humidity, non-con- densing Humidity Storage: 60°C @ 95% relative humidity, non-con- densing Vibration 3.5 Grms Resistance Certification CE, FCC Class B Dimensions 165 x 115 mm (6.5" x 4.5") Mechanical Net Weight 150 g *Note: Support by request AFE-E420 User Manual...
  • Page 12: Block Diagram

    +/- 12V@ 1KHz Micro-USB Option USB2.0 DIP Switch Recovery only QCA7006 UART Default 2 x COM (RS-232/422/485) FT4232HL-R +/- 12V@ 1KHz (USB-to-UART) 2 x COM (RS-232/422/485) QCA7006 2 x COM UART UART (RS-232/422/485) 2 x I2C 2 x FAN AFE-E420 User Manual...
  • Page 13: Chapter 2 Mechanical

    Chapter Mechanical This chapter gives mechanical information on the AFE-E420 Sections include:  Mechanical Drawings...
  • Page 14: Board Layout: Dimensions

    Board Layout: Dimensions Figure 2.1 AFE-E420 Mechanical Drawing (Top Side) Figure 2.2 AFE-E420 Mechanical Drawing (Bottom Side) AFE-E420 User Manual...
  • Page 15 Figure 2.3 AFE-E420 Mechanical Drawing (Coastline) AFE-E420 User Manual...
  • Page 16 AFE-E420 User Manual...
  • Page 17: Chapter 3 Hardware Installation

    Chapter Hardware Installation This chapter explains the setup procedures for the AFE-E420 hardware, including instructions on setting jumpers and connect- ing peripherals, switches, and indicators. Be sure to read all safety precautions before you begin the installation procedure.
  • Page 18: Jumpers & Switches

    Jumpers & Switches The AFE-E420 has a number of jumpers that allow you to configure your system to suit your application. The table below lists the functions of the various jumpers. Table 3.1: Jumpers & Switches LVDS_BKLT_SLT Backlight Voltage Selection Jumper...
  • Page 19: Locating Connectors

    I2C2 GPIO2 CAN3 COMB COMA CAN4 COMD COMC FAN1 FAN2 USB2 DCIN1/CN15 USB1 HDMI LAN2 LAN1 POE_PWR1 USB0_OTG1 Figure 3.1 AFE-E420 Connector Locations (Top Side) M2E_CN1 BAT1 SD_CARD1 M2B_CN1 SIM1 Figure 3.2 AFE-E420 Connector Locations (Bottom Side) AFE-E420 User Manual...
  • Page 20: Jumpers & Switches

    Table 3.3: Backlight Voltage Selection Jumper: LVDS_BKLT_SLT Jumper Short Backlight Voltage +V12 (Default) 3.4.2 Auto Power On Selection Jumper: AT1 Table 3.4: Auto Power On Selection Jumper: AT1 Jumper Short Functional Push-button Power On (ATX) Auto Power On (Default) AFE-E420 User Manual...
  • Page 21: Usb Switch Jumper: J1

    3.4.4 Panel Voltage Selection Jumper: LVDS_VDD_SLT Table 3.6: Panel Voltage Selection Jumper: LVDS_VDD_SLT Jumper Short Panel Voltage +V3.3 (Default) 3.4.5 Boot Selection Switch: SW1 Table 3.7: Boot Selection Switch: SW1 Pin1 Pin2 SD card eMMC Serial download AFE-E420 User Manual...
  • Page 22: Can Bus Terminal Switch: Can_Sw1

    CAN Bus Terminal Switch: CAN_SW1 Table 3.8: CAN Bus Terminal Switch: CAN_SW1 SWITCH Function Enable 124ohm Terminal Disable 124ohm Terminal 3.4.7 CAN Bus Terminal Switch: CAN_SW2 Table 3.9: CAN Bus Terminal Switch: CAN_SW2 SWITCH Function Enable 124ohm Terminal Disable 124ohm Terminal AFE-E420 User Manual...
  • Page 23: Connectors (Internal)

    Table 3.11: Control Pilot 2: CP2 Signal Pin Definition PILOT_OUT_2 PLC_CE_2 3.5.3 RTD Internal Connector: CN16 Table 3.12: RTD Internal Connector: CN16 Signal Pin Definition RTD1_PL1 RTD1_PL2 RTD12_RL3 RTD2_PL1 RTD2_PL2 RTD12_RL3 RTD3_PL1 RTD3_PL2 RTD34_RL3 RTD4_PL1 RTD4_PL2 RTD34_RL3 AFE-E420 User Manual...
  • Page 24: Isolate Com Connector: Iso_Com

    3.5.4 Isolate COM Connector: ISO_COM Table 3.13: Isolate COM Connector: ISO_COM RS232 RS422 RS485 DAT+ DAT- DAT- AFE-E420 User Manual...
  • Page 25: Isolate Can Connector: Iso_Can

    3.5.5 Isolate CAN Connector: ISO_CAN Table 3.14: Isolate CAN Connector: ISO_CAN Signal Pin Definition GND_CAN GND_CAN CANA_L CANB_L CANA_H CANB_H 3.5.6 SPKR Connector: AMP1 Table 3.15: SPKR Connector: AMP1 Signal Pin Definition SPK_R+ SPK_R- SPK_L- SPK_L+ AFE-E420 User Manual...
  • Page 26: Audio Internal Connector: Audio1

    Audio Internal Connector: AUDIO1 Table 3.16: Audio Internal Connector: AUDIO1 Signal Pin Definition LINEOUT_L LINEIN_R AGND AGND LINEOUT_R LINEIN_L AGND MIC_IN MIC_IN 3.5.8 COM Port Connector: COMA Table 3.17: COM Port Connector: COMA RS232 RS422 RS485 DAT+ DAT- AFE-E420 User Manual...
  • Page 27: Com Port Connector: Comb

    3.5.9 COM Port Connector: COMB Table 3.18: COM Port Connector: COMB RS232 RS422 RS485 DAT+ DAT- 3.5.10 COM Port Connector: COMC Table 3.19: COM Port Connector: COMC RS232 RS422 RS485 DAT+ DAT- AFE-E420 User Manual...
  • Page 28: Com Port Connector: Comd

    DC Power Input Connector (4-Pin): CN15 Table 3.21: DC Power Input Connector (4-Pin): CN15 Signal Pin Definition +VIN_DCIN +VIN_DCIN 3.5.13 DC Power Input Connector (Phoenix): CN15 Table 3.22: DC Power Input Connector (Phoenix): CN15 Signal Pin Definition +VIN_DCIN AFE-E420 User Manual...
  • Page 29: Poe Power Connector: Poe_Pwr1

    Table 3.23: POE Power Connector: POE_PWR1 Signal Pin Definition +V48_LAN2+ +V48_LAN2- +V48_LAN3+ +V48_LAN3- +VDCIN 3.5.15 USB 2.0 Dual-Port Internal Connector: USB2 Table 3.24: USB 2.0 Dual-Port Internal Connector: USB2 Signal Pin Definition +V5_USB2_C +V5_USB3_C USB2_DN_C USB3_DN_C USB2_DP_C USB3_DP_C AFE-E420 User Manual...
  • Page 30: Usb Otg Connector: Usb0_Otg1

    3.5.16 USB OTG Connector: USB0_OTG1 Table 3.25: USB OTG Connector: USB0_OTG1 Signal Pin Definition +V5_USBOTG_C USBA_DN_C USBA_DP_C USB_A_ID_C 3.5.17 Internal Fan Connector: FAN1 Table 3.26: Internal Fan Connector: FAN1 Signal Pin Definition +V12 FAN1_SPEED FAN1_V5_PWM AFE-E420 User Manual...
  • Page 31: Internal Fan Connector: Fan2

    FAN2_SPEED FAN2_V5_PWM 3.5.19 CAN Bus Connector: CAN3 Table 3.28: CAN Bus Connector: CAN3 Signal Pin Definition CAN3_H CAN3_L 3.5.20 Front Panel Internal Connector: CN1 Table 3.29: Front Panel Internal Connector: CN1 Signal Pin Definition FP_a_PSIN# SYS_RST# +V3.3 AFE-E420 User Manual...
  • Page 32: Can Bus Connector: Can4

    CAN Bus Connector: CAN4 Table 3.30: CAN Bus Connector: CAN4 Signal Pin Definition CAN4_H CAN4_L 3.5.22 GPIO Internal Connector: GPIO1 Table 3.31: GPIO Internal Connector: GPIO1 Signal Pin Definition GPIO_A_7 GPIO_A_2 GPIO_A_6 GPIO_A_1 GPIO_A_5 GPIO_A_0 GPIO_A_4 +V3.3_P1_GPIO GPIO_A_3 AFE-E420 User Manual...
  • Page 33: I2C Connector: I2C1

    3.5.23 I2C Connector: I2C1 Table 3.32: I2C Connector: I2C1 Signal Pin Definition I2C2_SDA I2C2_SCL +V3.3_I2CCONN1 AFE-E420 User Manual...
  • Page 34: I2C Connector: I2C2

    I2C Connector: I2C2 Table 3.33: I2C Connector: I2C2 Signal Pin Definition I2C3_SDA I2C3_SCL +V3.3_I2CCONN2 3.5.25 GPIO Internal Connector: GPIO2 Table 3.34: GPIO Internal Connector: GPIO2 Signal Pin Definition GPIO_B_7 GPIO_B_2 GPIO_B_6 GPIO_B_1 GPIO_B_5 GPIO_B_0 GPIO_B_4 +V3.3_P2_GPIO GPIO_B_3 AFE-E420 User Manual...
  • Page 35: Panel Inverter Connector: Lvds_Bklt_Pwr

    Panel Inverter Connector: LVDS_BKLT_PWR Table 3.35: Panel Inverter Connector: LVDS_BKLT_PWR Signal Pin Definition +VDD_BKLT LVDS_BL_EN LVDS_BL_PWM 3.5.27 LVDS Connector: LVDS Table 3.36: LVDS Connector: LVDS Signal Pin Definition +VDD_LVDS +VDD_LVDS +VDD_LVDS +VDD_LVDS LVDS_A_LANE0_N LVDS_A_LANE0_P LVDS_A_LANE1_N LVDS_A_LANE1_P LVDS_A_LANE2_N LVDS_A_LANE2_P LVDS_A_CLK_N AFE-E420 User Manual...
  • Page 36 Table 3.36: LVDS Connector: LVDS LVDS_A_CLK_P I2C_SCL_LVDS I2C_SDA_LVDS LVDS_A_LANE3_N LVDS_A_LANE3_P LVDS_CTRL AFE-E420 User Manual...
  • Page 37: Rtc Battery Connector: Bat1

    Table 3.37: RTC Battery Connector: BAT1 Signal Pin Definition +VBAT_b1 3.5.29 M.2 E-Key Connector: M2E_CN1 Table 3.38: M.2 E-Key Connector: M2E_CN1 Signal Pin Definition +V3.3_M2E +V3.3_M2E LED_OUT_WLAN# SD3_CLK SD3_CMD SD3_DATA0 SD3_DATA1 LED_OUT_BT# SD3_DATA2 SD3_DATA3 M2E_UR_WAKE# M2_SDIO_WAKE# UART5_RXD M2_SDIO_RST# UART5_TXD UART5_CTS UART5_RTS AFE-E420 User Manual...
  • Page 38 Table 3.38: M.2 E-Key Connector: M2E_CN1 M2_SYSCLK_R M2E_RST# M2E_W_DISABLE2#_C M2E_W_DISABLE1#_C I2C_A_SDA I2C_A_SCL M2E_nALERT_C +V3.3_M2E +V3.3_M2E AFE-E420 User Manual...
  • Page 39: M.2 B-Key Connector: M2B_Cn1

    3.5.30 M.2 B-Key Connector: M2B_CN1 Table 3.39: M.2 B-Key Connector: M2B_CN1 Signal Pin Definition +V3.8 +V3.8 M2B_POWER_OFF# USB_M2B_DP M2B_W_DISABLE1# USB_M2B_DN LED_M2B# M2B_DPR AFE-E420 User Manual...
  • Page 40 Table 3.39: M.2 B-Key Connector: M2B_CN1 M2B_W_DISABLE2# UIM_A_RESET UIM_A_CLK UIM_A_DATA +VUIM_PWR M2B_ALERT# M2B_CLKREQ# M2B_WAKE# M2B_ANTCTL0 SIM_DETECT M2B_RST# +V3.8 +V3.8 AFE-E420 User Manual...
  • Page 41 Table 3.39: M.2 B-Key Connector: M2B_CN1 +V3.8 AFE-E420 User Manual...
  • Page 42 AFE-E420 User Manual...
  • Page 43: Software Functionality

    Chapter Software Functionality...
  • Page 44: User Guide

    $ cat /proc/meminfo VmallocUsed: 6472 kB VmallocChunk: 0 kB Percpu: 616 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB CmaTotal: 524288 kB CmaFree: 521460 kB HugePages_Total: HugePages_Free: AFE-E420 User Manual...
  • Page 45: Sd Card

    $ echo out > /sys/class/gpio/gpio${MODE0}/direction $ echo out > /sys/class/gpio/gpio${MODE1}/direction $ echo 1 > /sys/class/gpio/gpio${MODE0}/value $ echo 0 > /sys/class/gpio/gpio${MODE1}/value Test Command: $ stty -F ${DEV} -echo -onlcr 115200 $ cat ${DEV} & $ echo "Serial Port Test" > ${DEV} AFE-E420 User Manual...
  • Page 46 MODE0 = 503, MODE1 = 504, DEV = /dev/ttyUSB1 COM-E_ISO_TOP: MODE0 = 440, MODE1 = 441, DEV = /dev/ttyUSB2 COM-F_ISO_Bottom: MODE0 = 447, MODE1 = 446, DEV = /dev/ttyUSB3 Steps: Change MODE0/MODE1 to switch mode, (01: 485, 11: 422) AFE-E420 User Manual...
  • Page 47 Remember to set up RS-485/422 before test. $ stty -F ${DEV} speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke $ cat ${DEV} & $ echo "Serial Test" > ${DEV} AFE-E420 User Manual...
  • Page 48: Gpio

    $ echo -e "AT+CSQ\r" > /dev/ttyUSB5 Console message: AT+CSQ +CSQ: 99,99 Test by pppd: $ pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99#" "CONNECT" ""' user username password password /dev/ttyUSB6 460800 nodetach crtscts debug usepeerdns defaultroute & AFE-E420 User Manual...
  • Page 49: M.2 (E-Key) Wi-Fi & Bt

    $ iperf3 -c 192.168.0.2 -t 60 -i 10 4.2.11 USB disk write/read/verify pattern. 4.2.12 Micro-USB OTG Recovery mode only, flash image by uuu tool 4.2.13 HDMI Display to HDMI screen. 4.2.14 LVDS # UBOOT-Console $ setenv fdtfile imx93-afee320-a1-lvds.dtb $ saveenv $ boot AFE-E420 User Manual...
  • Page 50: I2C

    0x25: PMIC I2C-3: 0x20: GPIO exp 0x21: GPIO exp 2.Write/Read/Verify eeprom Hi/Low byte $ modprobe at24 $ echo "ADVANTECH" > test $ dd if=test of=/sys/bus/i2c/devices/1-0050/eeprom $ hexdump -C /sys/bus/i2c/devices/1-0050/eeprom -n 64 4.2.16 RTC external (rtc0) RTC internal (rtc1) # Example for rtc0...
  • Page 51: Pwm

    $ amixer sset Mic 100% $ arecord -D plughw:0,0 -r 16000 -f S16_LE ./f-16000.wav Line-Out/Speaker/AMP: $ amixer set Headphone 100% $ amixer set Lineout unmute $ amixer set Lineout 100% $ aplay -D plughw:0,0 f-16000.wav $ aplay -D plughw:0,0 f-16000-Line-In.wav AFE-E420 User Manual...
  • Page 52: Watchdog

    $ cat in_voltage0-voltage1_sampling_frequency $ cat in_voltage0-voltage1_raw $ cat in_voltage2-voltage3_scale $ cat in_voltage2-voltage3_sampling_frequency $ cat in_voltage2-voltage3_raw ADC-1: $ cd /sys/bus/iio/devices/iio:device2 $ cat in_voltage0-voltage1_scale $ cat in_voltage0-voltage1_sampling_frequency $ cat in_voltage0-voltage1_raw $ cat in_voltage2-voltage3_scale $ cat in_voltage2-voltage3_sampling_frequency $ cat in_voltage2-voltage3_raw AFE-E420 User Manual...
  • Page 53: Rtd

    $ /tools/rtd/rtd_ad7124_config.sh iio:device1 1 $ /tools/rtd/rtd_get_temperature.sh iio:device1 1 RTD-3: $ /tools/rtd/rtd_ad7124_config.sh iio:device2 0 $ /tools/rtd/rtd_get_temperature.sh iio:device2 0 RTD-4: $ /tools/rtd/rtd_ad7124_config.sh iio:device2 1 $ /tools/rtd/rtd_get_temperature.sh iio:device2 1 4.2.22 PLC-1: $ plctool -i eth3 -I PLC-2: $ plctool -i eth2 -I AFE-E420 User Manual...
  • Page 54: Can Bus

    FAN-2: FAN2_TACH: (Check pulse by oscilloscope after follow steps) $ echo 460 > /sys/class/gpio/export $ echo out > /sys/class/gpio/gpio460/direction $ echo 1 > /sys/class/gpio/gpio460/value $ echo 0 > /sys/class/gpio/gpio460/value FAN2_PWM: > Follow above 'FAN2 PWM' test steps AFE-E420 User Manual...
  • Page 55: Poe

    4.2.25 LAN-1: (Connect MIOe-PSE board to POE_PWR1 and connect QCAM-GM0640-121CE IP-Camera to LAN port) $ ping 169.254.1.1 -I eth1 LAN-2: (Connect MIOe-PSE board to POE_PWR1 and connect QCAM-GM0640-121CE IP-Camera to LAN port) $ ping 169.254.1.1 -I eth0 AFE-E420 User Manual...
  • Page 56 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. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2025...

Table of Contents