Download Print this page
Asus AAEON PICO-IMX8PL User Manual

Asus AAEON PICO-IMX8PL User Manual

Pico-itx single board computer

Advertisement

Quick Links

PICO-IMX8PL
PICO-ITX Single Board Computer
st
User's Manual 1
Ed
Last Updated: June 17, 2024

Advertisement

loading
Need help?

Need help?

Do you have a question about the AAEON PICO-IMX8PL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Asus AAEON PICO-IMX8PL

  • Page 1 PICO-IMX8PL PICO-ITX Single Board Computer User’s Manual 1 Last Updated: June 17, 2024...
  • Page 2: Copyright Notice

    Copyright Notice This document is copyrighted, 2024. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. 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 the original manufacturer.
  • Page 3 Acknowledgement All other products’ name or trademarks are properties of their respective owners. Microsoft Windows® is a registered trademark of Microsoft Corp. ⚫ NXP is a trademark NXP B.V. ⚫ Arm® and Cortex® are registered trademarks of Arm Limited (or its ⚫...
  • Page 4 Packing List Before setting up your product, please make sure the following items have been shipped: Item Quantity PICO- IMX8PL ⚫ 2-pin 3.81mm Power Terminal block w/lock ⚫ 18-pin 2.54mm Phoenix plug in Connector/lock ⚫ If any of these items are missing or damaged, please contact your distributor or sales representative immediately.
  • Page 5 About this Document This User’s Manual contains all the essential information, such as detailed descriptions 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 facilitate users in setting up their product. Users may refer to the product page on AAEON.com for the latest version of this document.
  • 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 Main Board/ Daughter Board/ Backplane 有毒有害物质或元素 部件名称 铅 汞 镉 六价铬 多溴联苯 多溴二苯醚 (Pb) (Hg) (Cd) (Cr(VI)) (PBB) (PBDE) 印刷电路板 ○ ○ ○ ○ 及其电子组件 外部信号 ○ ○ ○ ○ 连接器及线材 O:表示该有毒有害物质在该部件所有均质材料中的含量均在 SJ/T 11363-2006 标准规定的限量要求以下。 X:表示该有毒有害物质至少在该部件的某一均质材料中的含量超出...
  • Page 10 China RoHS Requirement (EN) Poisonous or Hazardous Substances or Elements in Products AAEON Main Board/ Daughter Board/ Backplane Poisonous or Hazardous Substances or Elements Hexavalent Polybrominated Polybrominated Component Lead Mercury Cadmium Chromium Biphenyls Diphenyl Ethers (Pb) (Hg) (Cd) (Cr(VI)) (PBB) (PBDE) PCB &...
  • Page 11: Table Of Contents

    Table of Contents Chapter 1 - Product Specifications..................1 Specifications........................ 2 Function Block Diagram ..................... 4 Chapter 2 – Hardware Information ..................5 Dimensions ........................6 Jumpers and Connectors ..................7 List of Jumpers ......................9 2.3.1 LVDS VDD Power Selection (JP5 Pins 1, 3, 5) ..........9 2.3.2 LVDS Backlight Power Selection (JP5 Pins 2, 4, 6) ........
  • Page 12 2.4.17 UART Port 2/Port 4 Connector (CN149) ............28 2.4.18 Boot Selection (SW3) ..................29 Chapter 3 - Product Setup and Configuration..............30 System Account Management ................31 3.1.1 Debug Console ....................31 3.1.2 Log In ........................35 I/O Control Command and Example ..............36 3.2.1 CANBus ......................
  • Page 13 LVDS Display ......................63 Audio ........................... 64 3.6.1 Line Out Test ...................... 65 3.6.2 Line In Test ......................66 3.6.3 Microphone Test ....................67 OS Installation ......................68 3.7.1 Flash SD Card ....................68 3.7.2 Flash eMMC ....................... 69 3.7.3 Check Version ....................
  • Page 14: Chapter 1 - Product Specifications

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

    Specifications System Form Factor PICO-ITX, 2.5” SBC Processor NXP i.MX8M Plus Quad-Core Arm® Cortex®-A53, up to 1.6 GHz (Default: w/ NPU, Optional: w/o NPU) Memory Type Onboard LPDDR4, up to 4GB Power Requirement 9V ~36V (Optional: 12V) Dimension 3.94" x 2.84" (100mm x 72mm) Operating Temperature -40°C ~ 80°C (-40°F ~ 176°F) Optional: 0°C ~ 60°C (32°F ~ 140°F)
  • Page 16 Operating System Debian 11 (default) Yocto Windows® 10 IoT Android™ 13 Ethernet RJ-45 Gigabit Ethernet x 2 (supports IEEE 1588, TSN, integrated RGMII) Audio Line in/Line Out/Mic x 1 (Optional) USB Port USB 3.0 Gen 1 x 2 (Rear I/O) USB 2.0 x 1 (Pin Header) Debug Port Micro USB x 1 (Optional)
  • Page 17: Function Block Diagram

    Function 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

    List of Jumpers Jumpers allow users to manually customize system configurations to their suitable application needs. Please refer to the table below for all of the board’s jumpers that you can configure for your application Label Function JP5 (Pins 1, 3, 5) LVDS VDD Power Selection JP5 (Pins 2, 4, 6) LVDS Backlight Power Selection...
  • Page 23: 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 SPI/I2C/GPIO Connector CN12 Full-size Mini Card Slot CN16 Micro SD Slot CN25 LVDS Port Inverter/Backlight Connector CN26 LVDS Connector CN27...
  • Page 24: Spi/I2C/Gpio Connector (Cn4)

    2.4.1 SPI/I2C/GPIO Connector (CN4) Pin Name Signal Type Signal Level ECSPI_SS0 +3.3V I2C_SCL +3.3V ECSPI_MOSI +3.3V I2C_SDA +3.3V ECSPI_MISO +3.3V GPIO_3 +3.3V ECSPI_SCLK +3.3V GPIO_4 +3.3V Note: Pitch = 1.27mm. Chapter 2 – Hardware Information...
  • Page 25: Full-Size Mini Card Slot (Cn12)

    2.4.2 Full-size Mini Card Slot (CN12) Pin Name Signal Type Signal Level +3.3VSB +3.3V Chapter 2 – Hardware Information...
  • Page 26 Pin Name Signal Type Signal Level W_DISABLE# (Note 1) +3.3V PERST# +3.3V +3.3VSB +3.3V SMB_CLK (Note 1) +3.3V SMB_DATA (Note 1) +3.3V USB_D- DIFF USB_D+ DIFF +3.3VSB +3.3V +3.3VSB +3.3V +3.3VSB +3.3V Chapter 2 – Hardware Information...
  • Page 27: Micro Sd Slot (Cn16)

    Note 1: The function is disabled by unmounted 0ohm jumper. W_DISABLE#: R333, SMB_CLK: R328, SMB_DATA: R326 Note 2: The driving current supports up to 2A. Note 3: For 4G full-size mini card. 2.4.3 Micro SD Slot (CN16) Pin Name Signal Type Signal Level SD_DAT2 +3.3V...
  • Page 28: Lvds Port (Cn26)

    Pin Name Signal Type Signal Level LVDS_BKL_CONTROL LVDS_BLK_PWR +5V / +12V Note 1: LVDS/ LVDS_BLK_PWR can be set to +5V or +12V by JP5. Note 2: The driving current supports up to 2A. 2.4.5 LVDS Port (CN26) Pin Name Signal Type Signal Level LVDS_BLK_ENABLE LVDS_BKL_CONTROL...
  • Page 29 Pin Name Signal Type Signal Level DDC_DATA +3.3V DDC_CLK +3.3V LVDS_DB0- DIFF LVDS_DB0+ DIFF LVDS_DB1- DIFF LVDS_DB1+ DIFF LVDS_DB2- DIFF LVDS_DB2+ DIFF LVDS_DB3- DIFF LVDS_DB3+ DIFF LVDS_VDD +3.3V / +5V LVDS_B_CLK- DIFF LVDS_B_CLK+ DIFF Note 1: LVDS/ LVDS_VDD can be set to +3.3V or +5V by JP5. Note 2: The driving current supports up to 2A.
  • Page 30: Audio Port (Cn27)

    2.4.6 Audio Port (CN27) Pin Name Signal Type Signal Level LINE_R_OUT +3.3V MIC_R +3.3V LINE_L_OUT +3.3V MIC_L +3.3V GND_AUDIO GND_AUDIO LINE_R_IN +3.3V +VDD_AUDIO +3.3V LINE_L_IN +3.3V Chapter 2 – Hardware Information...
  • Page 31: Debug Port (Cn30)

    2.4.7 Debug Port (CN30) Pin Name Signal Type Signal Level +5VSB USB0_DN DIFF USB0_DP DIFF USB0_ID 3.3V Note 1: USB to UART (XR21V1410) debug port. 2.4.8 RTC Battery Connector (CN32) Pin Name Signal Type Signal Level +3.3V +3.3V Chapter 2 – Hardware Information...
  • Page 32: Dc Power (Cn38)

    2.4.9 DC Power (CN38) Pin Name Signal Type Signal Level DC_IN +9~36V / +12V Note 1: Wide range input voltage from +9V to +36V or +12V for specified version. Note 2: Please check the input voltage description on product label before inserting power.
  • Page 33 Pin Name Signal Type Signal Level CAN1_L DIFF RTS1 ±9V / ±5V CTS1 ±9V / ±5V DCD2 ±9V / ±5V ±9V / ±5V ±9V / ±5V DTR2 ±9V / ±5V CAN2_H DIFF CAN2_L DIFF RTS2 ±9V / ±5V CTS2 ±9V / ±5V COM Port 1 RS-422 Pin Name Signal Type...
  • Page 34: Uart Port 1/Port 3 Connector (Cn71)

    COM Port 2 RS-422 Pin Name Signal Type Signal Level RS422_RX- ±9V / ±5V COM Port 2 RS-485 Pin Name Signal Type Signal Level RS485_D- ±9V / ±5V RS485_D+ ±9V / ±5V Note 1: COM1/2 RS-232/422/485 can be set by setting and the default is RS-232. Note 2: Set signal level ±9V / ±5V by PSP5/PSP6 short.
  • Page 35: 2230 E-Key Slot (Cn140)

    2.4.12 M.2 2230 E-Key Slot (CN140) Pin Name Signal Type Signal Level +3.3VSB +3.3V USB_D+ DIFF +3.3VSB +3.3V USB_D- DIFF Chapter 2 – Hardware Information...
  • Page 36 Pin Name Signal Type Signal Level PCIE_TX+ DIFF PCIE_TX- DIFF +3.3V PCIE_RX+ DIFF +3.3V PCIE_RX- DIFF PCIE_CLK+ DIFF PCIE_CLK- DIFF PERST# +3.3V PCIE_CLK_REQ# W_DISABLE2# (Note 1) +3.3V PCIE_WAKE# W_DISABLE1# (Note 1) +3.3V +3.3V SMB_SDA (Note 1) +3.3V SMB_SCL (Note 1) Chapter 2 –...
  • Page 37: Hdmi Port (Cn141)

    Pin Name Signal Type Signal Level +V3P3A +3.3V +V3P3A +3.3V Note 1: The function is disabled by unmounted 0ohm jumper. W_DISABLE2#: R95, W_DISABLE1#: R94, SMB_SDA: R96, SMB_SCL: R97 Note 2: The driving current supports up to 2A. Note 3: For Wi-Fi/BT/Hailo-8/Hailo-8L card. 2.4.13 HDMI Port (CN141) Pin Name...
  • Page 38: Lan Port 1/Port 2 (Cn145)

    Pin Name Signal Type Signal Level HDMI_TX1- DIFF HDMI_TX0+ DIFF HDMI_TX0- DIFF HDMI_CLK+ DIFF HDMI_CLK- DIFF HDMI_CEC +3.3V HDMI_Utility +1,8V DDC_CLK DDC_DATA +V5S HDMI_HPD +1.8V 2.4.14 RJ-45 LAN Port 1/Port 2 (CN145) Pin Name Signal Type Signal Level LAN1_MDI0_P DIFF LAN1_MDI0_N DIFF LAN1_MDI1_P...
  • Page 39: Usb 3.2 Port 1/Port 2 (Cn146)

    Pin Name Signal Type Signal Level LAN1_MDI2_P DIFF LAN1_MDI2_N DIFF LAN1_MDI3_P DIFF L_10 LAN1_MDI3_N DIFF LAN2_MDI0_P DIFF LAN2_MDI0_N DIFF LAN2_MDI1_P DIFF LAN2_MDI1_N DIFF LAN2_MDI2_P DIFF LAN2_MDI2_N DIFF LAN2_MDI3_P DIFF R_10 LAN2_MDI3_N DIFF Note 1: External ACTIVE/LINK/SPEED LEDs. 2.4.15 USB 3.2 Port 1/Port 2 (CN146) Pin Name Signal Type Signal Level...
  • Page 40: Internal Usb 2.0 Connector (Cn147)

    Pin Name Signal Type Signal Level USB1_RXN DIFF USB1_RXP DIFF USB1_TXN DIFF USB1_TXP DIFF +5VSB USB2_DN DIFF USB2_DP DIFF USB2_RXN DIFF USB2_RXP DIFF USB2_TXN DIFF USB2_TXP DIFF Note: The driving current supports up to 2A. 2.4.16 Internal USB 2.0 Connector (CN147) Pin Name Signal Type Signal Level...
  • Page 41: Uart Port 2/Port 4 Connector (Cn149)

    2.4.17 UART Port 2/Port 4 Connector (CN149) Pin Name Signal Type Signal Level UART2_TXD +3.3V UART4_TXD +3.3V UART2_RXD +3.3V UART4_RXD +3.3V UART2_RTS +3.3V UART2_CTS +3.3V Note 1: Pitch = 1.27mm. Note 2: UART port and COM port cannot be used simultaneously. Chapter 2 –...
  • Page 42: Boot Selection (Sw3)

    2.4.18 Boot Selection (SW3) Pin Name Signal Type Signal Level BOOT_MODE3 +1.8V BOOT_MODE2 +1.8V BOOT_MODE1 +1.8V BOOT_MODE0 +1.8V Boot Mode Table BOOT_MODE BOOT_MODE BOOT_MODE BOOT_MODE Boot Modes Boot from internal fuses USB serial download USDHC3 (eMMC boot only, SD3 8-bit) USDHC2 (SD boot only, SD2) Note 1: Number side is 1 (HIGH) and ON side is 0 (LOW).
  • Page 43: Chapter 3 - Product Setup And Configuration

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

    System Account Management 3.1.1 Debug Console When connecting a PC or laptop to the PICO-IMX8PL, using PuTTY with Windows 10 is recommended. 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). Switch Pin: PIN 1, 2, 4: Switch is OFF.
  • Page 45 Step 4: Open Device Manager and locate Multifunction Composite Gadget. Double click on the device. A pop-up should appear, with a notice that the CDC Serial is unrecognized. Download debug port driver: (usb->uart) : https://www.maxlinear.com/product/interface/uarts/usb-uarts/xr21v1410 Chapter 3 – Product Setup and Configuration...
  • Page 46 Step 5: Setting the putty configuration. Open the putty and use the settings to log into the system. Chapter 3 – Product Setup and Configuration...
  • Page 47 Chapter 3 – Product Setup and Configuration...
  • Page 48: Log In

    3.1.2 Log In Log into the system using the below credentials. Login Settings Username root Password Pw#12345 Chapter 3 – Product Setup and Configuration...
  • Page 49: I/O Control Command And Example

    I/O Control Command and Example 3.2.1 CANBus Please refer to the red lines in the picture. Please connect the pin as follows. CAN1 Pin H >>>>>>>>>>>>>>>>> CAN2 Pin H CAN1 Pin L >>>>>>>>>>>>>>>>> CAN2 Pin L Run CANBus script: Step 1: Set can0 and can1 bitrate to 1000000, and turn on can0 and can1. sudo ip link set can0 type can bitrate 1000000 triple-sampling on sudo ifconfig can0 up sudo ip link set can1 type can bitrate 1000000 triple-sampling on...
  • Page 50: Dio

    Step 3: candump CAN1 candump can1& cansend can1 111#8877665544332211 3.2.2 SPI/I2C/GPIO Connector (CN4) pin define: Please refer to table 2.4.1 CN4_pin_6: GPIO1_IO01 CN4_pin_8: EXT_GPIO_4 (GPIO4_IO23) Command: gpioset 0 1=0 gpioset 0 1=1 gpioset 3 23=0 gpioset 3 23=1 Chapter 3 – Product Setup and Configuration...
  • Page 51: Ethernet

    3.2.3 Ethernet This section will show you how to check and setup the network settings. NETWORKPROFILE ->It should be: Profile Support Hardware eth1 eth0 Modem 4G LTE Module Step 1: Connect the cable, and check the Ethernet device $ sudo ifconfig Chapter 3 –...
  • Page 52 Step 2: Ping test: Ping 8.8.8.8 Chapter 3 – Product Setup and Configuration...
  • Page 53: Pcie (M.2 E-Key)

    3.2.4 PCIe (M.2 E-Key) Host pin define: SAI1_TXD6 -> Mini1_Reset_EN -> GPIO4_IO18 SAI1_TXD7 -> Mini2_Reset_EN -> GPIO4_IO19 Reset CN12 mini card (USB interface) and CN140 M.2 E-Key (PCIe interface) Set GPIO4_IO18 high. Set GPIO4_IO19 high. Command: gpioset 3 18=1 // Reset CN12 mini card gpioset 3 19=1 // Reset CN140 M.2 key E You can run command to check when you insert an external card into the M.2 slot (CN140).
  • Page 54: Rtc

    3.2.5 Step 1: Read rtc0 name. cat /sys/class/rtc/rtc0/name PCF85063 is our default RTC. Step 2: Read rtc1 name. cat /sys/class/rtc/rtc1/name SNVS_RTC is the built-in RTC of the CPU 3.2.6 SD Card Step 1: Select the switch: 0x10 (emmc boot).. Step 2: lsblk. mmcblk1: SD card mmcblk2: emmc Run command to mount SD card:...
  • Page 55: Serial

    partition 1 sudo mount /dev/mmcblk1p2 /sd_rootfs // Link sd_rootfs folder → sd card partition 2 lsblk 3.2.7 Serial Chapter 3 – Product Setup and Configuration...
  • Page 56 3.2.7.1 RS-232 Please refer to the red lines in the picture. Please connect the pin as follows. Command: gpioset 0 7=0 gpioset 0 8=0 gpioset 0 12=1 gpioset 0 14=0 gpioset 2 22=0 gpioset 2 21=1 stty -F /dev/ttymxc0 -echo -onlcr 115200 stty -F /dev/ttymxc2 -echo -onlcr 115200 cat /dev/ttymxc0 &...
  • Page 57 echo hello > /dev/ttymxc0 // You can see the hello string Chapter 3 – Product Setup and Configuration...
  • Page 58 3.2.7.2 RS-422 Please refer to the red lines in the picture. Please connect the pin as follows. Command: gpioset 0 7=0 gpioset 0 8=0 gpioset 0 12=0 gpioset 0 14=0 gpioset 2 22=0 gpioset 2 21=0 stty -F /dev/ttymxc0 -echo -onlcr 115200 stty -F /dev/ttymxc2 -echo -onlcr 115200 cat /dev/ttymxc0 &...
  • Page 59 echo hello > /dev/ttymxc0 // You can see the hello string Chapter 3 – Product Setup and Configuration...
  • Page 60 3.2.7.3 RS-485 Please refer to the red lines in the picture. Please connect the pin as follows. Command: Install python3 package: apt -get install python3 Set GPIO to RS485 mode: gpioset 0 7=0 gpioset 0 8=1 gpioset 0 12=1 gpioset 0 14=0 gpioset 2 22=1 gpioset 2 21=1 Chapter 3 –...
  • Page 61 Run RS485_test.py (com port A send data to com port B). python3 RS485_test.py: import serial comA = serial.Serial("/dev/ttymxc0", 115200, timeout=1) comB = serial.Serial("/dev/ttymxc2", 115200, timeout=1) comA.setRTS(0) #sender comB.setRTS(1) #receiver data_len = comA.write(b'test string') data = comB.read(data_len) print(data) comA.close() comB.close() Result: b'test string' Chapter 3 –...
  • Page 62: Uart2

    3.2.7.4 UART2 UART Port 2/Port 4 pin define: Please refer to the table in section 2.4.17. Pin 1 and pin 3 are connected. Pin 5 and pin 7 are connected. Command: stty -F /dev/ttymxc1 crtscts stty -F /dev/ttymxc1 -echo -onlcr 115200 cat /dev/ttymxc1 &...
  • Page 63: Tpm

    3.2.8 Command: tpm2_selftest // Do TPM self test: tpm2_getcap properties-fixed // Get TPM chip information: Result: TPM2_PT_FAMILY_INDICATOR: raw: 0x322E3000 value: "2.0" TPM2_PT_LEVEL: raw: 0 TPM2_PT_REVISION: raw: 0x8A value: 1.38 TPM2_PT_DAY_OF_YEAR: raw: 0x12F TPM2_PT_YEAR: raw: 0x7E3 TPM2_PT_MANUFACTURER: raw: 0x4E544300 value: "NTC" TPM2_PT_VENDOR_STRING_1: raw: 0x4E504354 value: "NPCT"...
  • Page 64: Usb

    3.2.9 Step 1: Run command: lsblk. Step 2: Plug the USB storage into the PICO-IMX8PL board. Step 3: Run command: lsblk. USB device name : /dev/sda1 USB mount point: /media/xxxxxx Ex: /media/KING is my USB storage. You can run command as follows if you don’t see the mountpoint (/media/KING) . sudo mkdir -p /media/KING sudo mount /dev/sda1 /media/KING You can run umount command if you want to remove the USB storage.
  • Page 65: Watchdog Timer

    3.2.10 Watchdog Timer CPU built-in watchdog: Run command as follows: sw_wdt <timeout (second)> <sleep (sceond)> < 0 (ioctrl) > sudo /usr/sbin/sw_wdt 180 60 0 Every 60 seconds, the watchdog count will restart counting, otherwise watchdog will reset the CPU after 180 seconds. sw_wdt source code: wdt_driver_test.c: #include "test_utils.h"...
  • Page 66 test = atoi(argv[3]); printf("Starting wdt_driver (timeout: %d, sleep: %d, test: %s)\n", timeout, sleep_sec, (test == 0) ? "ioctl" : "write"); fd = open("/dev/watchdog", O_WRONLY); if (fd == -1) { perror("watchdog"); exit(1); printf("Trying to set timeout value=%d seconds\n", timeout); ioctl(fd, WDIOC_SETTIMEOUT, &timeout); printf("The actual timeout was set to %d seconds\n", timeout);...
  • Page 67 printf(" sleep: value in seconds to service the wdt\n"); printf(" test: 0 - Service wdt with ioctl(), 1 - with write()\n"); test_utils.h: inline void print_name(char * const argv[]) printf("\n---- Running < %s > test ----\n\n", argv[0]); inline void print_result(char * const argv[]) printf("\n---- Test <...
  • Page 68 gpioset 1 8=0 sleep 4.9 done You have to call watchdog.sh when booting. Please refer to watchdog.service . It calls /usr/sbin/watchdog.sh when booting. watchdog.service : [Unit] Description=WatchDog supervise [Service] Type=simple ExecStart=/usr/sbin/watchdog.sh Restart=always [Install] WantedBy=multi-user.target Chapter 3 – Product Setup and Configuration...
  • Page 69: Wireless Control Command And Example

    Wireless Control Command and Example 3.3.1 Insert the EG25G card (4G module) into the PICO-IMX8PL board (CN12). GPIO02_IO00: The GPIO control 4G module power (CN12). Command: gpioset 1 0=1 // It will turn off the 4G module power if the GPIO02_IO00 is high. gpioset 1 0=0 //It will turn on the 4G module power if the GPIO02_IO00 is low.
  • Page 70 mmcli -m 0 -e nmcli -a nmcli c add con-name test type gsm ifname ttyUSB2 apn internet Command: ifconfig ping 8.8.8.8 Chapter 3 – Product Setup and Configuration...
  • Page 71: Bluetooth

    3.3.2 Bluetooth Command: $ bluetoothctl # power on # agent off # agent NoInputNoOutput # default-agent # scan on // Find the K380 mac address Trust K380 mac address # trust XX: XX: XX: XX: XX: XX Pair K380 mac address # pair XX: XX: XX: XX: XX: XX # connect XX: XX: XX: XX: XX: XX # info XX: XX: XX: XX: XX: XX...
  • Page 72: Wi-Fi

    3.3.3 Wi-Fi 3.3.3.1 Wi-Fi Connect Insert an M.2 WIFI module into the PICO-IMX8PL. Set up your phone to use as a Wi-Fi hotspot. nmcli dev wifi connect 'SSID' password 'XXXXXXXX' ifconfig ping 8.8.8.8 Chapter 3 – Product Setup and Configuration...
  • Page 73: Wi-Fi Ap Mode

    3.3.3.2 Wi-Fi AP Mode Please put these files in the same directory. Please install hostapd package: apt-get install hostapd Enable WIFI AP mode: ./enable_wifi_ap_mode.sh Disable wifi ap mode: ./disable_wifi_ap_mode.sh enable_wifi_ap_mode.sh: #!/bin/sh hostapd ./hostapd.conf -B ifconfig wlan0 192.168.175.1 udhcpd ./udhcpd.conf echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i eth0 -o wlan0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT...
  • Page 74 hostapd.conf: interface=wlan0 driver=nl80211 ssid=aaeon_srg_wifi channel=6 hw_mode=g ignore_broadcast_ssid=0 auth_algs=1 wpa=3 wpa_passphrase=11111111 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP udhcpd.conf: start 192.168.175.2 end 192.168.175.254 interface wlan0 max_leases 234 opt router 192.168.175.1 Test wifi ap mode on Windows NB: ping 8.8.8.8 -S 192.168.175.xxx -t Chapter 3 – Product Setup and Configuration...
  • Page 75: Hdmi

    HDMI Precautions: The graphics must be initialized at boot time if you want to use the GUI interface software. If you connect the PICO-IMX8PL screen with an HDMI cable after booting, you will miss this initialization opportunity, and you won't see any GUI patterns on the screen.
  • Page 76: Lvds Display

    LVDS Display Step 1: Use LVDS cable to connect LVDS panel and PICO-IMX8PL. board. Step 2: Insert jumper into the corresponding position Step 3: After booting, check whether the screen displays normally. Step 4: Run command to set backlight brightness cd /sys/class/backlight/lvds_backlight/ echo 200 >...
  • Page 77: Audio

    Audio Use audio cable to connect as follows: PICO-IMX8PL Line in ==> Computer headphone jack. PICO-IMX8PL Line out ==> Headphones or speakers.s PICO-IMX8PL mic ==> microphone Chapter 3 – Product Setup and Configuration...
  • Page 78: Line Out Test

    3.6.1 Line Out Test Command: cd /rootfs/root/Music aplay -l card 0: tlv320audio [tlv320-audio], device 0: 30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0 [30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0] card 1: audiohdmi [audio-hdmi], device 0: i.MX HDMI i2s-hifi-0 [i.MX HDMI i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 tlv320audio is card0 . Command: aplay -D plughw:0,0 Beijing_Bass.wav If tlv320audio is card1, run command as follows:...
  • Page 79: Line In Test

    3.6.2 Line In Test Command: aplay -l card 0: tlv320audio [tlv320-audio], device 0: 30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0 [30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0] card 1: audiohdmi [audio-hdmi], device 0: i.MX HDMI i2s-hifi-0 [i.MX HDMI i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 tlv320audio is card0 . Command: arecord -Dhw:0,0 -r 48000 -c 2 --period-size=64 -f S16_LE | aplay -Dhw:0,0 If tlv320audio is card1, run command as follows: Command:...
  • Page 80: Microphone Test

    3.6.3 Microphone Test Command: aplay -l card 0: tlv320audio [tlv320-audio], device 0: 30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0 [30c30000.sai-tlv320aic3x-hifi tlv320aic3x-hifi-0] card 1: audiohdmi [audio-hdmi], device 0: i.MX HDMI i2s-hifi-0 [i.MX HDMI i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 tlv320audio is card0 Command: arecord -Dhw:0,0 -r 48000 -c 2 --period-size=64 -f S16_LE | aplay -Dhw:0,0 If tlv320audio is card1, run command as follows Command: arecord -Dhw:1,0 -r 48000 -c 2 --period-size=64 -f S16_LE | aplay -Dhw:1,0...
  • Page 81: Os Installation

    OS Installation 3.7.1 Flash SD Card Step 1: Download balenaEtcher tool: https://www.balena.io/etcher/ Step 2: Insert SD card to computer. Step 3: Flash from file: Select the image you want to flash. Step 4: Select target: Target is SD card. Step 5: Press the Flash button. It will flash image to SD card. Chapter 3 –...
  • Page 82: Flash Emmc

    3.7.2 Flash eMMC Step 1: Insert a bootable SD card to the board. Step 2: Set the switch to 0x11. It will boot form SD card. Switch: 0011 Step 3: login: root Password: Pw#12345 Step 4: Run command as follows, and it will flash image from SD card to eMMC. Command: /usr/sbin/imx8_plus_emmc_flasher.sh Step 5: Turn off power.
  • Page 83: Check Version

    3.7.3 Check Version Check SW version on board (2G RAM). Command: cat /etc/os-release Check SW version on board (4G RAM). Command: cat /etc/os-release Chapter 3 – Product Setup and Configuration...
  • Page 84: Appendix A - Mating Connectors

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

    List of Mating Connectors and Cables The following table lists mating connectors and available cables. Conn Mating Connector Available Function Cable P/N Label Vendor Model No. Cable SPI/I2C/GPIO Connector PINREX 232-92-04GBEM 4G Module CN12 4G Full-Size Mini Card Slot Quectel Quectel.EG-25G 9686EG25G0 Card...