Advantech ROM-5620 User Manual

Advantech ROM-5620 User Manual

Nxp i.mx8x cortex-a35 smarc 2.0/2.1 computer-on-module

Advertisement

Quick Links

User Manual
ROM-5620
NXP i.MX8X Cortex®-A35
SMARC 2.0/2.1 Computer-on-
Module

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ROM-5620 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Advantech ROM-5620

  • Page 1 User Manual ROM-5620 NXP i.MX8X Cortex®-A35 SMARC 2.0/2.1 Computer-on- Module...
  • 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. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3 ROM-5620WU-OEA1E ~ 185 °F) ROM-DB5901-SWA1 Development board for SMARC v2.0 RISC Module series Packing List Before installation, please ensure the following items have been shipped: 1 x ROM-5620  4 x Screws  1 x China ROHS  ROM-5620 User Manual...
  • Page 4 Optional Accessories Part No. Description 1701100300 Debug port cable for ROM-5620 1700019474 D-SUB 9P(F)/D-SUB 9P(F) RS232/RS485 100c 1970004483T001 Heat Spreader for -40 ~ 85 °C (-40 ~ 185 °F) 1960063089N001 Semi Heat Sink for -40 ~ 85 °C (-40 ~ 185 °F)
  • Page 5 The equipment has been dropped and damaged The equipment has obvious signs of breakage DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein. Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage.
  • Page 6 ROM-5620 User Manual...
  • Page 7: Table Of Contents

    4.1.13 Camera Test ................31 4.1.14 CANbus Test................31 4.1.15 TPM Test ..................32 Chapter Embedded O.S........33 Introduction ..................... 34 5.1.1 Device Tree Source File Select for ROM-5620......34 Chapter System Recovery.......35 System Recovery ..................36 ROM-5620 User Manual...
  • Page 8 Recovery by SD Card ..............36 6.1.2 Recovery by UUU Tool ............... 37 Chapter Advantech Services......39 RISC Design-In Services ................ 40 Contact Information................. 43 Technical Support and Assistance............43 7.3.1 Warranty Policy................43 7.3.2 Repair Process ................44 ROM-5620 User Manual viii...
  • Page 9: Chapter 1 General Introduction

    Chapter General Introduction This chapter briefly introduces the ROM-5620 platform Sections include:  Introduction  Specifications...
  • Page 10: Introduction

    This package also includes open-sourced Linux BSP, test utilities, hardware design utili- ties, and reference drivers. ROM-5620 is an excellent choice for diverse industrial automation, medical, Human-machine-Interface, and portable applications.
  • Page 11: Mechanical Specifications

    Dimensions: SMARC form factor size: (D x W) 82 x 50 mm / 3.22 x 1.96 in  Height on Top: Under 3.0 mm (0.11 in) base on SPEC definition (without heat  sink) Height on Bottom: Under 1.3 mm (.051 in) base on SPEC definition  ROM-5620 User Manual...
  • Page 12: Electrical Specifications

    Electrical Specifications Power Supply Voltage:  – Voltage requirements: +5 V Power Supply Current:  Model Kernel idle Maximum mode ROM-5620 2.46 W 4.45 W ROM-5620 User Manual...
  • Page 13: Environmental Specifications

    Operating Humidity: 5% ~ 95% relative humidity, non-condensing  Storage Temperature: -40 ~ 60 °C / -40 ~ 85 °C (-40 ~ 140 °F / -40 ~ 185 °F)  Storage Humidity:  – Relative humidity: 95% @ 60 °C (140 °F) ROM-5620 User Manual...
  • Page 14 ROM-5620 User Manual...
  • Page 15: Chapter 2 H/W Installation

    Chapter H/W Installation This chapter details mechanical and connector information for the ROM-5620 CPU Computer on Module Sections include:  Connector Information  Block Diagram  Functions available with ROM- DB5901-SWA1...
  • Page 16: Board Connectors

    UART & Debug Port selection SW1(2) AT & ATX mode selection SW1(1): UART & Debug Port Selection Setting Function 1-On Normal UART 1-Off Debug Console (Default) SW1(2): AT/ATX Mode Selection Setting Function 2-On AT Mode (Default) 2-Off ATX Mode ROM-5620 User Manual...
  • Page 17 If SW1(1-4) is set to 1-On and reboot, after the uboot message, the COM3 port can be used as normal UART as displayed below: ROM-5620 User Manual...
  • Page 18: Block Diagram

    Block Diagram Figure 2.1 ROM-5620 Block Diagram Functions Available for ROM-DB5901-SWA1 ROM-5620 User Manual...
  • Page 19 ROM-5620 User Manual...
  • Page 20 ROM-5620 User Manual...
  • Page 21: Pin Definition And Start Guide

    Chapter Pin Definition and Quick Start Guide This chapter details pin defini- tions and a quick start guide...
  • Page 22: Pin Definition

    GBE1_MDI0+ GBE1_MDI0- GBE0_MDI3- GBE1_LED_10_100# GBE0_MDI3+ GBE1_MDI1+ GBE0_LED_10_100# GBE1_MDI1- GBE0_LED_1000# GBE1_LED_1000# GBE0_MDI2- GBE1_MDI2+ GBE0_MDI2+ GBE1_MDI2- GBE0_LED_ACT# GBE0_MDI1- GBE1_MDI3+ GBE0_MDI1+ GBE1_MDI3- GBE0_MDI0- GBE0_MDI0+ SPI3_CS1# GBE1_LINK_ACT# SDIO_WP SDIO_CMD SDIO_CD# SDIO_CK SDIO_PWR_EN AUDIO_MCLK SDIO_D0 SAI1_LRCLK SDIO_D1 SAI1_SDOUT SDIO_D2 SAI1_SDIN SDIO_D3 SAI1_CK ROM-5620 User Manual...
  • Page 23 SPI3_SCK SPI3_SDI SPI3_SDO MIPI_DSI1_I2C0_SCL MIPI_DSI1_I2C0_SDA SAI0_LRCLK SAI0_SDOUT SAI0_SDIN SAI0_CK QSPIA_CS0# QSPIA_CS1# QSPIA_SCLK QSPIA_D2 QSPIA_D1 QSPIA_D3 QSPIA_D0 QSPIA_RESET# USB0_D+ USB0_D- USB0_OTG_EN_OC# USB0_VBUS_EN USB0_ID USB1_D+ USB1_D- USB1_EN_OC# USB2_EN_OC# USB2_SSTX_P USB2_SSTX_N USB2_SSRX_P <Key> USB2_SSRX_N PCIE_A_RESET# <Key> PCIE_A_REF_P PCIE_A_REF_N PCIE_A_RX0_P PCIE_A_RX0_N ROM-5620 User Manual...
  • Page 24 CB_RESET# S126 MIPI_DSI0_DATA0_N P127 RESET_IN# S127 LCD0_BKLT_EN P128 POWER_BTN# S128 MIPI_DSI0_DATA1_P P129 SER0_UART1_TX S129 MIPI_DSI0_DATA1_N P130 SER0_UART1_RX S130 P131 SER0_UART1_RTS# S131 MIPI_DSI0_DATA2_P P132 SER0_UART1_CTS# S132 MIPI_DSI0_DATA2_N P133 S133 LCD0_VDD_EN P134 SER1_UART2_TX S134 MIPI_DSI0_CLK_P P135 SER1_UART2_RX S135 MIPI_DSI0_CLK_N ROM-5620 User Manual...
  • Page 25: Quick Start Guide

    Quick Start Guide 3.2.1 Debug Port Connection Connect debug port cable (1701100300) to debug port (COM3) on ROM- DB5901. Connect it to your PC with RS-232 Cable (1700019474). Item Picture Debug Port Cable 1701100300 RS-232 Cable 1700019474 ROM-5620 User Manual...
  • Page 26: Debug Port Settings

    3.2.2 Debug Port Settings ROM-5620 can communicate with a host server by using serial cables. Common serial communication programs such as HyperTerminal, Tera Term or PuTTY can be used in this case. The example below describes the serial terminal setup using HyperTerminal on a Windows host: Connect ROM-5620 with your PC by using a serial cable.
  • Page 27: Chapter 4 Software Functionality

    Chapter Software Functionality This chapter details the software programs on the ROM-5620 plat- form...
  • Page 28: Test Tools

    Test Tools All test tools must be verified on the ROM-5620 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. 4.1.1 Display Test 4.1.1.1 Single Channel LVDS0 + Single Channel LVDS1 (Default) The default Weston UI will be displayed on the screen.
  • Page 29 Step 4: Press enter after boot, the system will stop at u-boot, run the command below: Normal Boot Hit any key to stop autoboot: u-boot=> u-boot=> run lvds_dual Step 5: Weston UI will be displayed on the screen. ROM-5620 User Manual...
  • Page 30 4.1.1.3 MIPI DSI to HDMI with ROM-EG56 on LVDS1 Step 1: Connect ROM-EG56 board with cable (1700030769-01) to LVDS1 and Backlight cable to LVDS1_BK_PWR. Step 2: Change LVDS1_VDD0 jumper to (1-2 short), LVDS1_BL jumper to (1-2 short). ROM-5620 User Manual...
  • Page 31 Step 4: Press enter after boot, system will stop at u-boot, run the command below: Normal Boot Hit any key to stop autoboot: u-boot=> u-boot=> run hdmi_bridge Step 5: Weston UI will be displayed on the screen. 4.1.1.4 Test Different Resolutions: Step 1: Disable Weston UI: # systemctl stop weston ROM-5620 User Manual...
  • Page 32: Audio Test

    Step 3: Play colorbar of the specified resolution on HDMI. # modetest -s 46:1920x1080-60 4.1.2 Audio Test Step 1: Connect ROM-EG51 to I2S_CN3, connect MIC and headphone. Step 2: Power on and check Audio Codec (SGTL5000): # cat /proc/asound/cards 0 [sgtl5000 ]: sgtl5000 - sgtl5000 sgtl5000 ROM-5620 User Manual...
  • Page 33: Test

    Step 4: Power on and execute the pppd command to connect to the network. # pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99***4#" "CONNECT" ""' user username password password /dev/ttyACM2 460800 nodetach crtscts debug usepeerdns defaultroute & ROM-5620 User Manual...
  • Page 34: Wifi/Bt Test

    ROM-5620 (i.MX8X) ROM-DB5901 Carrier Board COM Port Name COM3 (Default as Debug Console, 2-wire, can be used as normal /dev/ttyLP0 UART by SW1 setting on ROM-5620) /dev/ttyLP1 COM0 or M.2 (by CN27,CN28, CN29, CN30 jumper setting, 4-wire) /dev/ttyLP2 COM1 (2-wire) COM2 (2-wire, for SCU message only) A.
  • Page 35: I2C Test

    - - - - - - - - - - - - - - - - C set and get root@imx8qxprom5620a1:~# i2cset -f -y 3 0x0a 0 0xff00 w root@imx8qxprom5620a1:~# i2cget -f -y 3 0x0a 0 w 0x11a0 ROM-5620 User Manual...
  • Page 36: Usb Test

    4.1.7 USB Test USB(2.0/3.0) disk test After inserting the USB disk into 2.0 or 3.0 port: (Please note that with ROM-5620, USB3.0 port on ROM-DB5901 coastline can only recognize USB 3.0 devices. It can- not recognize USB 2.0 only devices) root@imx8qxprom5620a1:~# lsusb -t Bus 02.
  • Page 37: Emmc/Sd/Spi Flash Test

    HWaddr 00 : 04 : 9f : 01 : 30 : e0 inet addr : 192 . 168 . 1. 1 Bcast : 192 . 168 . 1. 255 Mask:255.255.255.0 UP BROADCAST MULTICAST DYNAMIC MTU : 1500 Metric : 1 ROM-5620 User Manual...
  • Page 38: Gpio Test

    Step 1: Connect GPIO4 and GPIO5 Step 2: Export GPIO interface root@imx8qxprom5620a1 : ~# echo > /sys/class/gpio/export root@imx8qxprom5620a1 : ~# echo > /sys/class/gpio/export Step 3: Set direction root@imx8qxprom5620a1 : ~# echo > /sys/class/gpio/gpio1/direction root@imx8qxprom5620a1 : ~# echo > /sys/class/gpio/gpio2/direction ROM-5620 User Manual...
  • Page 39: Watchdog Test

    Trying to set time out value=1 seconds Uboot 2018.03-5620A1AIM20LIV90064+g5ebc362 (Jan 10 2020 - 17:39:04 +0000) CPU: Freescale i.MX8QXP revB A35 at 1200 MHz at 33C Model: Freescale i.MX8QXP ROM-5620 A1 4.1.13 Camera Test Please connect MIPI-CSI2 camera (OV5640) to CN39 FPC connector.
  • Page 40: Tpm Test

    1F334455 [8] 11 22 33 44 55 66 77 4.1.15 TPM Test Using the “tpm_test.bin” to test, please connect to your Advantech contact window for the test tool. root@imx8qxprom5620a1:~# cp /run/media/sda1/tpm_test.bin . root@imx8qxprom5620a1:~# ls tpm_test.bin root@imx8qxprom5620a1:~# ./tpm_test.bin [TPM Command]...
  • Page 41: Embedded Os

    Chapter Embedded OS This chapter introduces Linux systems instructions...
  • Page 42: Introduction

    ROM-5620 platform is preloaded with the Yocto 2.5 based embedded O.S. (Linux kernel starting from 4.14.98). It contains all system-required shell commands and drivers for the ROM-5620 platform. Advantech does not offer an IDE developing envi- ronment in ROM-5620 BSP. Users can evaluate and develop environments using Ubuntu 16.04 LTS.
  • Page 43: Chapter 6 System Recovery

    Chapter System Recovery This chapter details system recov- ery for damaged Linux os...
  • Page 44: System Recovery

    Insert USB disk and SD card then boot the whole system from SD card by changing SW1 on ROM-DB5901 to 1OFF, 2-3ON, 4-6OFF as demonstrated in the following photo Enter USB disk folder, make a bootable eMMC # cd /run/media/sda1/ # cd 5620A1AIM20LIV90064_iMX8X_flash_tool/mk_inand/ # sudo ./mksd-linux.sh /dev/mmcblk0 ROM-5620 User Manual...
  • Page 45: Recovery By Uuu Tool

    6.1.2 Recovery by UUU Tool Download UUU tool from (https://github.com/ADVANTECH-Corp/uuu/releases/ tag/v20191101) Create a folder with the files below: 1) UUU 2) imx-boot-imx8qxprom5620a1-sd.bin-flash 3) fsl-image-validation-imx-imx8qxprom5620a1- 20200110174717.rootfs.sdcard Set the correct boot mode on ROM-DB5901 SW1 with 4ON, turn every other pin OFF, then power the system on.
  • Page 46 ROM-5620 User Manual...
  • Page 47: Chapter 7 Advantech Services

    Chapter Advantech Services This chapter details Advantech’s Design-In serviceability, technical support, and warranty policy for the ROM-5620 evaluation kit...
  • Page 48: Risc Design-In Services

    Comprehensive document support  Design Assistance Service Advantech provides a checklist for engineers to check their schematics and review services based on customer carrier board schematics. These services prevent design errors before they occur. This saves time and reduces costs associated with developing carrier boards.
  • Page 49 Advantech's services not only enable customers to effectively distribute their resources, but also reduce R&D costs and hardware investment. By virtue of a cooperative relationship with leading original manufacturers of CPUs and chipsets, such as ARM, TI, and NXP, Advantech helps solve communication and ROM-5620 User Manual...
  • Page 50 I/O and perfor- mance. Advantech also offers software evaluation and peripheral module recommen- dations (such as WiFi, 3G, BT). At this stage, Advantech seeks to resolve customer concerns. Product evaluation with a focus on performance and specification is vital during the planning period.
  • Page 51: Contact Information

    Advantech's technical support, customers optimize their applications with ease. Advantech's team can provide professional consulting services regarding further test- ing and equipment usage. This helps customers find the right tools to efficiently iden- tify and solve problems to enhance product quality and performance.
  • Page 52: Repair Process

    Cross-Shipment excludes any damage incurred during shipping as well as custom- ized and/or built-to-order products. For those products which are not DOA, the return fee to an authorized Advantech repair facility will be at the customers' expense. The shipping fee for refurbished products from AAdvantech back to customers' sites will be Advantech's expense.
  • Page 53  ranty. If a product has been repaired by Advantech, and within three months after such a repair the product requires another repair for the same problem, Advantech will do this repair free of charge. However, such free repairs do not apply to products which have been misused, abused, or subjected to unauthorized disassembly/modification;...
  • Page 54 "Our Ref". Advantech reserves the right to deny repair services to cus- tomers that do not return the DOA unit or sign the P/I. Meanwhile, Advantech will scrap defective products without prior notice if customers do not return the signed P/I within 3 months.
  • Page 55 ROM-5620 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 from the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2020...

Table of Contents