background image

 
 

 
 
 

 
 
 

 
 
 

 
 
 

 
 
 
 

 
 
 

 
 

User Manual

 

 
 
 
 

 

ROM-5721

 

 

 
 

 
 

RISC-based SMARC 2.0/2.1 
Module with NXP i.MX8 ARM®  
Cortex™ A53 Processor

 

Summary of Contents for ROM-5721

Page 1: ...User Manual ROM 5721 RISC based SMARC 2 0 2 1 Module with NXP i MX8 ARM Cortex A53 Processor ...

Page 2: ...buse accident or improper installation Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair service If an Advantech product is defec tive it will be repaired or replaced at no charge during the warranty period For out of warranty r...

Page 3: ...aged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help Packing List Before setting up the system chec...

Page 4: ... Number Description Commercial grade Part No ROM 5721CQ REA1E ROM 5721CD RDA1E CPU i MX8M Mini Quad i MX8M Mini Dual Memory 2GB LPDDR4 1GB LPDDR4 eMMC 16GB eMMC 8GB eMMC MIPI DSI Option 1 HDMI Option Option LVDS 1 Option PCIe 1 1 USB Host 5 5 USB OTG 1 1 I2S 2 2 GPIO 12 12 Serial 4 4 CAN 1 1 I2C 4 4 SDIO 1 1 Operation temperature 0 60 C 0 60 C iV ...

Page 5: ......

Page 6: ...t overvoltage 12 Never pour any liquid into an opening This may cause fire or electrical shock 13 Never open the equipment For safety reasons the equipment should be opened only by qualified service personnel 14 If one of the following situations arises get the equipment checked by service personnel The power cord or plug is damaged Liquid has penetrated into the equipment The equipment has been e...

Page 7: ...Test 25 3 2 Package Content 26 3 2 1 Source Code Package 26 3 3 Setting up a Build Environment 29 3 3 1 Conventions 30 3 3 2 Introducing BSP 30 3 3 3 Build Instructions 33 3 3 4 Creating boot up on board flash from pre built image 34 3 3 5 Creating boot up on board flash from built sdcard image 34 3 4 Customization 36 3 4 1 Package addition 36 3 4 2 Setting up SDK 36 3 4 3 Setting up cross compili...

Page 8: ... 5721 User Manual viii Chapter 4 System Recovery 48 4 1 System Recovery 48 Chapter 5 Advantech Services 50 5 1 RISC Design in Services 50 5 2 Contact Information 54 5 3 Technical Support and Assistance 55 ...

Page 9: ...Chapter 1 1 Product Overview This chapter briefly introduces the ROM 5721 platform Sections include Introduction Specification ...

Page 10: ...o market The reference schematics and layout checklists documentations for carrier board development will be provided along with the open sourced Linux BSP test utilities hardware design utilities and reference drive HMI Human Machine Interface Industrial controller IoT gateway engine Medical Application The main features of ROM 5721 as following NXP i MX 8M Mini processor with up to 4 Arm Cortex ...

Page 11: ...ncoder H 264 VP8 1080p Ethernet HDMI Display 1 dual channel 24bits LVDS or 1 x 4 lane MIPI DSI or 1 Display Port up to 1080P Chipset NXP i MX8M mini integrated RGMII Speed 1 10 100 1000 Mbps Watch Dog Timer Yes PCIe PCIe x 1 SATA USB 4 USB 2 0 1 USB2 0 OTG Audio I2S SDIO 1 I O Serial Port 4 CAN GPIO 12 I2C 4 I2C O S Linux Android Power Supply Voltage 5 V Operation 0 60 40 85 C Environment Physical...

Page 12: ...ROM 5721 0 841W 2 173W Test Condition 1 Test temperature room temperature 2 Test voltage rated voltage AC 110V 60Hz 3 Test loading 3 1 Maximum load mode Running programs 3 2 Idle mode DUT power management off and no running any program 4 OS Linux 5 Test software cd tools power_run 1 5 Environmental Specifications Operating temperature 0 60 C 40 85 C The operating temperature refers to the environm...

Page 13: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the ROM 5721 Computer on Module Sections include Connector Information Mechanical Drawing ...

Page 14: ...RX0 MIPI_CSI_D0P P8 CSI1_RX0 MIPI_CSI_D0N P9 GND P10 CSI1_RX1 MIPI_CSI_D1P P11 CSI1_RX1 MIPI_CSI_D1N P12 GND P13 CSI1_RX2 MIPI_CSI_D2P P14 CSI1_RX2 MIPI_CSI_D2N P15 GND P16 CSI1_RX3 MIPI_CSI_D3P P17 CSI1_RX3 MIPI_CSI_D3N P18 GND P19 GBE0_MDI3 GBE0_MDI3 P20 GBE0_MDI3 GBE0_MDI3 P21 GBE0_LINK100 GBE0_LINK100 P22 GBE0_LINK1000 GBE0_LINK1000 P23 GBE0_MDI2 GBE0_MDI2 P24 GBE0_MDI2 GBE0_MDI2 P25 GBE0_LINK...

Page 15: ...9 GND P60 USB0 USB1_OTG_DP P61 USB0 USB1_OTG_DN P62 USB0_EN_OC USB1_OTG_EN_OC P63 USB0_VBUS_DET USB1_OTG_DET P64 USB0_OTG_ID USB1_OTG_ID P65 USB1 USBDN3_DP P66 USB1 USBDN3_DM P67 USB1_EN_OC USB3_EN_OC P68 GND P69 USB2 USBDN2_DP P70 USB2 USBDN2_DM P71 USB2_EN_OC USB2_EN_OC P72 RSVD NA P73 RSVD NA P74 USB3_EN_OC USB1_EN_OC Key Key P75 PCIE_A_RST PCIE_A_RST P76 USB4_EN_OC USB4_EN_OC P77 RSVD NA P78 R...

Page 16: ...6 RESET_OUT RESET_OUT P127 RESET_IN RESET_IN P128 POWER_BTN POWER_BTN P129 SER0_TX UART3_TX P130 SER0_RX UART3_RX P131 SER0_RTS UART3_RTS P132 SER0_CTS UART3_CTS P133 GND P134 SER1_TX UART4_TX P135 SER1_RX UART4_RX P136 SER2_TX UART1_TX P137 SER2_RX UART1_RX P138 SER2_RTS UART1_RTS P139 SER2_CTS UART1_CTS P140 SER3_TX UART2_TX P141 SER3_RX UART2_RX P142 GND P143 CAN0_TX NA P144 CAN0_RX NA P145 CAN...

Page 17: ...41 I2S0_SDIN SAI1_SDIN S42 I2S0_CK SAI1_CK S43 ESPI_ALERT0 NA S44 ESPI_ALERT1 NA S45 RSVD NA S46 RSVD NA S47 GND S48 I2C_GP_CK I2C4_SCL S49 I2C_GP_DAT I2C4_SDA S50 HDA_SYNC I2S2_LRCK SAI6_LRCK S51 HDA_SDO I2S2_SDOUT SAI6_SDOUT S52 HDA_SDI I2S2_SDIN SAI6_SDIN S53 HDA_CK I2S2_CK SAI6_CK S54 SATA_ACT NA S55 USB5_EN_OC NA S56 ESPI_IO_2 NA S57 ESPI_IO_3 NA S58 ESPI_RESET NA S59 USB5 NA S60 USB5 NA S61 ...

Page 18: ..._D2N only dual channel S119 GND S120 LVDS1_3 eDP1_TX3 DSI1_D3 LVDS1_D3P only dual channel S121 LVDS1_3 eDP1_TX3 DSI1_D3 LVDS1_D3N only dual channel S122 LCD1_BKLT_PWM NA S123 RSVD NA S124 GND S125 LVDS0_0 eDP0_TX0 DSI0_D0 LVDS0_D0P MIPI_DSI_D0P S126 LVDS0_0 eDP0_TX0 DSI0_D0 LVDS0_D0N MIPI_DSI_D0N S127 LCD0_BKLT_EN LCD0_BKLT_EN S128 LVDS0_1 eDP0_TX1 DSI0_D1 LVDS0_D1P MIPI_DSI_D1P S129 LVDS0_1 eDP0_...

Page 19: ...Chapter 2 H W Installation ...

Page 20: ...ROM 5721 User Manual 8 2 2 Board Block Diagram Below is the block diagram of ROM 5721 Figure 2 1 ROM 5721 Block Diagram ...

Page 21: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 5721 plat form ...

Page 22: ...se prepare the required test fixtures before verifying each specified I O If you have any problems with testing please contact your Advantech contact window for help 3 1 1 Display Test Login to device Step 1 Connect LVDS panel eg auo g070vw01 Step 2 Power on Step 3 Weston UI will be displayed on the screen ...

Page 23: ...11 ROM 5721 User Manual Chapter 3 Software Functionality ...

Page 24: ...dec sgtl5000 audio codec module connected to I2S_CN3 ROM DB5901 Set MIC and headphone Record and playback cat proc asound cards 0 sgtl5000 sgtl5000 sgtl5000 sgtl5000 amixer set Mic 100 amixer set Headphone 100 arecord t wav c 1 r 44100 d 5 tmp mic wav aplay tmp mic wav ...

Page 25: ......

Page 26: ...ing 8 8 8 8 killall wpa_supplicant ifconfig wlan0 up wpa_passphrase SSID PASSWORD tmp wpa conf wpa_supplicant BDwext iwlan0 c tmp wpa conf udhcpc b i wlan0 ping 8 8 8 8 PING 8 8 8 8 8 8 8 8 56 84 bytes of data 64 bytes from 8 8 8 8 icmp_seq 1 ttl 54 time 2 10 ms 64 bytes from 8 8 8 8 icmp_seq 2 ttl 54 time 2 10 ms ...

Page 27: ...14 15 ROM 5721 User Manual 3 1 4 RS 232 Test Loopback test eg ttymxc0 Connect loopback test tool stty F dev ttymxc0 115200 stty F dev ttymxc0 echo cat dev ttymxc0 echo test dev ttymxc0 ...

Page 28: ... usb disk is dev sda root imx8mmrom5721a1 i2cset f y 3 0x0a 0 0xff00 w root imx8mmrom5721a1 i2cget f y 3 0x0a 0 w 0x11a0 dd if dev urandom of data bs 1 count 1024 dd if dev sda of backup bs 1 count 1024 skip 4096 dd if data of dev sda bs 1 seek 4096 dd if dev sda of data1 bs 1 count 1024 skip 4096 diff data data1 dd if backup of dev sda bs 1 seek 4096 ...

Page 29: ... read time from RTC to verify Restore the RTC time to system time 3 1 8 Storage Test Below is the storage system path eMMC dev mmcblk2 SD dev mmcblk1 QSPI1 dev mtd0 Test eg emmc dd if dev urandom of data bs 1 count 1024 dd if dev mmcblk2 of backup bs 1 count 1024 skip 4096 dd if data of dev mmcblk2 bs 1 seek 4096 dd if dev mmcblk2 of data1 bs 1 count 1024 skip 4096 diff data data1 dd if backup of ...

Page 30: ...ROM 5721 User Manual 15 Chapter 3 Software Functionality 3 1 9 Ethernet Test Check Ethernet device Connect cable and ping test eg eth0 i ...

Page 31: ......

Page 32: ...073 pca9538 P3 499 In p115 GPIO7 i2c 7 0073 pca9538 P4 500 In p116 GPIO8 i2c 7 0073 pca9538 P5 501 In p117 GPIO9 i2c 7 0073 pca9538 P6 502 In p118 GPIO10 i2c 7 0073 pca9538 P7 503 In p119 GPIO11 MX8MM_IOMUXC_SPDIF_TX_GPIO5_IO3 131 in 3 1 10 2 GPIO Test method Loopback test take GPIO0 and GPIO2 as an example Step 1 Connect GPIO0 and GPIO2 on ROM DB5901 Step 2 Export GPIO interface Step 3 Set direct...

Page 33: ...Chapter 4 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally ...

Page 34: ...B disk and SD card then Boot from SD 6 Enter usb disk folder make a bootable emmc 4 1 2 Recovery by UUU tool USB OTG 1 Download uuu tool from https github com ADVANTECH Corp uuu releases tag v20200619 2 Create a folder with below files uuu imx boot imx8mmrom5721a1 sd bin flash_evk fsl image validation imx imx8mmrom5721a1 20200508182440 rootfs sdcard 3 Connect USB OTG cable from PC to device 4 Set ...

Page 35: ...Chapter 5 5 Advantech Services This chapter introduces Advantech design in serviceability technical support and warranty policy for ROM 5721 evaluation kit ...

Page 36: ...o easy develop their carrier board and differentiate their embedded products and applications Full Range of RISC Product Offerings Comprehensive Document Support Design Assistance Service Advantech provides a check list for engineers to check their schematics and also review service based on customer carrier board schematics Those services are preventative and help to catch design errors before th...

Page 37: ......

Page 38: ... CPU modules were born out of this trend Concentrating all necessary components on the CPU module and placing other parts on the carrier board in response to market requirements for specialization provides greater flexibility while retaining its low power consumption credentials Advantech has been involved in the industrial computer industry for many years and found that customers usually have the...

Page 39: ... build up a software development environment for their RISC platforms Advantech RISC design in services helps customers overcome their problems to achieve the most important goal of faster time to market through a streamlined RISC Design in services Along with our multi stage development process which includes planning design integration and validation Advantech s RISC design in service provides c...

Page 40: ...perience on platforms customers need to spend a certain amount of time on analyzing integration problems In addition peripheral module implementation has a lot to do with driver designs on carrier boards RISC platforms usually have less support for ready made drivers on the carrier board therefore the customer has to learn from trial and error and finally get the best solution with the least effor...

Page 41: ...88 1809 Australia Toll Free 1300 308 531 800 810 0345 China Toll Free 800 810 8389 Sales advantech com cn India Toll Free 1 800 425 5071 Japan Toll Free 0800 500 1055 Korea Toll Free 080 363 9494 080 363 9495 Taiwan Toll Free 0800 777 111 Russia Toll Free 8 800 555 01 50 You can also reach our service team through the website below our technical sup port engineer will provide quick response once t...

Page 42: ...e at www advantech com support where you can find the latest information about the product 2 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 you call Product name and serial number Description of your peripheral attachments Description of your software ope...

Page 43: ...duct 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 All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2020 i ...

Reviews: