IBASE Technology IBR210 User Manual

3.5" arm-based sbc with nxp cortex a53 quad i.mx8m

Advertisement

Quick Links

IBR210
3.5" ARM-based SBC
With NXP Cortex™ A53 Quad i.MX8M
User's Manual
Version 0.3
(May 2020)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IBR210 and is the answer not in the manual?

Questions and answers

Summary of Contents for IBASE Technology IBR210

  • Page 1 IBR210 3.5” ARM-based SBC With NXP Cortex™ A53 Quad i.MX8M User’s Manual Version 0.3 (May 2020)
  • Page 2 No part of this publication may be reproduced, copied, stored in a retrieval system, translated into any language or transmitted in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written consent of IBASE Technology, Inc. (hereinafter referred to as “IBASE”). Disclaimer IBASE reserves the right to make changes and improvements to the products described in this document without prior notice.
  • Page 3: Compliance

    0.1% by weight (1000 ppm) except for cadmium, limited to 0.01% by weight (100 ppm). • Lead (Pb) • Mercury (Hg) • Cadmium (Cd) • Hexavalent chromium (Cr6+) • Polybrominated biphenyls (PBB) • Polybrominated diphenyl ether (PBDE) IBR210 User’s Manual...
  • Page 4: Important Safety Information

    Danger of explosion if the internal lithium-ion battery is replaced by an incorrect type. Replace only with the same or equivalent type recommended by the manufacturer. Dispose of used batteries according to the manufacturer’s instructions or recycle them at a local recycling facility or battery collection point. IBR210 User’s Manual...
  • Page 5: Warranty Policy

    Software in use (such as OS and application software, including the version numbers) If repair service is required, you can download the RMA form at http://www.ibase.com.tw/english/Supports/RMAService/. Fill out the form and contact your distributor or sales representative. IBR210 User’s Manual...
  • Page 6: Table Of Contents

    Dimensions .................... 7 Chapter 2 Hardware Configuration .......... 9 Mini-PCIe & M.2 Card Installation ............10 Setting the Jumpers ................11 Jumper & Connector Locations on IBR210 ......... 12 Jumpers Quick Reference ..............13 2.4.1 LVDS Power Setting (P16) ............. 13 2.4.2 LVDS Backlight Power Setting (P15) ........
  • Page 7 SD Card Test ..................41 RS-232 Test ..................42 RS-485 Test ..................43 Audio Test ................... 43 Ethernet Test ..................44 LVDS Test ................... 45 HDMI Test ................... 46 3G Test ....................47 Onboard Connector Types ..............48 IBR210 User’s Manual...
  • Page 8 This page is intentionally left blank. viii IBR210 User’s Manual...
  • Page 9: Chapter 1 General Information

    Chapter 1 General Information The information provided in this chapter includes: • Features • Packing List • Specifications • Block Diagram • Product View • Board Dimensions...
  • Page 10: Introduction

    Introduction IBR210 is a 3.5" Disk-Size SBC powered by the NXP i.MX8M Cortex-A53 1.3GHz processor. It offers 2D, 3D graphics and multimedia accelerations, and supports numerous peripheral interface, including RS-232/422/485, COM, GPIO, USB3.0/2.0, LAN and audio. For the display, it also supports 1 HDMI for a 4K display or FHD Dual-channel LVDS.
  • Page 11: Packing List

    General Information Packing List Your IBR210 package should include the items listed below. If any of the items below is missing, contact the distributor or dealer from whom you purchased the product. • IBR210 3.5” SBC IBR210 User’s Manual...
  • Page 12: Specifications

    1 x 12-24V DC jack • Dual-Channel LVDS (FHD) Display • HDMI V2.0a • 2x MIPI-CSI (2*10 pin header) Camera 1 x RJ45 GbE LAN • 2 x USB 3.0 Type A • 2 x USB 3.0 internal port IBR210 User’s Manual...
  • Page 13 • 0 ~ 70 °C (32 ~ 158 °F) Operating Temperature • -20 ~ 85 °C (-40 ~ 185 °F) / Industrial Grade Relative 10 ~ 90 %, non-condensing Humidity All specifications are subject to change without prior notice. IBR210 User’s Manual...
  • Page 14: Product View

    Product View Top View *The photo above is for reference only. Some minor components may differ. I/O View IBR210 User’s Manual...
  • Page 15: Dimensions

    General Information Dimensions Unit: mm IBR210 User’s Manual...
  • Page 16 IBR210 Reference Heat Sink IBR210 User’s Manual...
  • Page 17: Chapter 2 Hardware Configuration

    Chapter 2 Hardware Configuration This section provides information on jumper settings and connectors on the IBR210 in order to set up a workable system. The topics covered are: • Mini-PCIe & M.2 card Installation • Jumper and connector locations •...
  • Page 18: Mini-Pcie & M.2 Card Installation

    Locate the mini-PCIe slot, align the key of the mini-PCIe card to the interface, and insert the card slantwise. (Insert the M.2 card in the same way.) Push the mini-PCIe card down and fix it with 2 flat head screws. (Fix the M.2 card with one screw.) IBR210 User’s Manual...
  • Page 19: Setting The Jumpers

    Hardware Configuration Setting the Jumpers Set up and configure your IBR210 by using jumpers for various settings and features according to your needs and applications. Contact your supplier if you have doubts about the best configuration for your use. 2.2.1...
  • Page 20: Jumper & Connector Locations On Ibr210

    Jumper & Connector Locations on IBR210 IBR210 User’s Manual...
  • Page 21: Jumpers Quick Reference

    Hardware Configuration Jumpers Quick Reference Function Jumper Page LVDS Power Setting LVDS Backlight Power Setting 2.4.1 LVDS Power Setting (P16) Function Pin closed Illustration 3.3V (default) IBR210 User’s Manual...
  • Page 22: Lvds Backlight Power Setting (P15)

    2.4.2 LVDS Backlight Power Setting (P15) Function Pin closed Illustration 3.3V (default) IBR210 User’s Manual...
  • Page 23: Connectors Quick Reference

    DC Power Input P1, P27 SD Card Slot HDMI Port GbE LAN Port Dual USB 3.0 Type-A Port Mini-USB OTG Port NGFF M.2 E2230 Slot Mini-PCIe Slot SIM Card Socket System ON/OFF Button Factory Use Only SW1, P25 26,27 IBR210 User’s Manual...
  • Page 24: Rtc Lithium Cell Connector (P2)

    2.5.1 RTC Lithium Cell Connector (P2) Assigment Assigment RTC_VCC Ground 2.5.2 COM RS-232/422/485 Selection (SW3) Panel Type RS-422 Full Duplex RS-232 (Default) RS-485 Half Duplex (TX Low-Active) RS-485 Half Duplex (TX High-Active) Function Off IBR210 User’s Manual...
  • Page 25: Com Rs-232/422/485 Port (P20)

    Hardware Configuration 2.5.3 COM RS-232/422/485 Port (P20) Refer to the SW3 setting for RS-232/422/485 mode selection. Assignment RS-232 RS-422 RS-485 DATA- DATA+ Ground Ground Ground IBR210 User’s Manual...
  • Page 26: Lvds Display Connector (P13, P14)

    2.5.4 LVDS Display Connector (P13, P14) P13: Assigment Assigment LCD0_TX0_P LCD0_TX0_N Ground Ground LCD0_TX1_P LCD0_TX1_N Ground LCD_VDD LCD0_TX3_P LCD0_TX3_N LCD0_TX2_P LCD0_TX2_N Ground Ground LCD0_CLK_P LCD0_CLK_N BTL_PWM LCD_VDD BKLT_VCC BKLT_VCC IBR210 User’s Manual...
  • Page 27: Com Rs232 Connector (P19)

    Hardware Configuration P14: Assigment Assigment LCD1_TX0_P LCD1_TX0_N Ground Ground LCD1_TX1_P LCD1_TX1_N Ground LCD_VDD LCD1_TX3_P LCD1_TX3_N LCD1_TX2_P LCD1_TX2_N Ground Ground LCD1_CLK_P LCD1_CLK_N BTL_PWM LCD_VDD BKLT_VCC BKLT_VCC 2.5.5 COM RS232 Connector (P19) Assigment Assigment COM5_TXD COM3_TXD COM5_RXD COM3_RXD Ground Ground IBR210 User’s Manual...
  • Page 28: Lvds Backlight Control Connector (P18)

    2.5.6 LVDS Backlight Control Connector (P18) Assigment Assigment BKLT_VCC LCD_BKLT_PWM LCD_BKLT_EN Ground 2.5.7 Audio Line-In & Line-Out Connector (P9) Assigment Assigment Ground LINE_IN_R Ground LINE_IN_L Ground Ground LINE_OUT_L Ground LINE_OUT_R IBR210 User’s Manual...
  • Page 29: Internal Usb3.0 Connector (P7)

    Hardware Configuration 2.5.8 Internal USB3.0 Connector (P7) Assigment Assigment VCC(900mA) P1_SSRX- P1_SSRX+ P1_SSTX- P1_SSTX+ P1_U2_D- P1_U2_D+ P2_U2_D+ P2_U2_D- P2_SSTX+ P2_SSTX- P2_SSRX+ P2_SSRX- VCC(900mA) IBR210 User’s Manual...
  • Page 30: Digital I/O (Gpio) Connector (P24)

    2.5.9 Digital I/O (GPIO) Connector (P24) Assigment Assigment 3.3V DIO5 (gpio148) DIO1 (gpio146) DIO6 (gpio76) DIO2 (gpio74) DIO7 (gpio149) DIO3 (gpio147) DIO8 (gpio77) DIO4 (gpio75) Ground IBR210 User’s Manual...
  • Page 31: Mipi-Csi Connector (P10, P26)

    MIPI_CSI1_CKP MIPI_CSI1_CKN MIPI_CSI1_DP0 MIPI_CSI1_DN0 MIPI_CSI1_DP1 MIPI_CSI1_DN1 MIPI_CSI1_DP2 MIPI_CSI1_DN2 MIPI_CSI1_DP3 MIPI_CSI1_DN3 CSI1_SCL CSI1_SDA CSI1_RST_B VDD_2V8 CSI1_PWEN_B VDD_1V8 CSI1_MCLK P26: Assigment Assigment MIPI_CSI2_CKP MIPI_CSI2_CKN MIPI_CSI2_DP0 MIPI_CSI2_DN0 MIPI_CSI2_DP1 MIPI_CSI2_DN1 MIPI_CSI2_DP2 MIPI_CSI2_DN2 MIPI_CSI2_DP3 MIPI_CSI2_DN3 CSI2_SCL CSI2_SDA CSI2_RST_B VDD_2V8 CSI2_PWEN_B VDD_1V8 CSI2_MCLK IBR210 User’s Manual...
  • Page 32: Mipi-Dsi Connector (P12)

    2.5.11 MIPI-DSI Connector (P12) Assigment Assigment MIPI_DSI_CKP MIPI_DSI_CKN MIPI_DSI_DP0 MIPI_DSI_DN0 VCC_LCD MIPI_DSI_DP1 MIPI_DSI_DN1 MIPI_DSI_DP2 MIPI_DSI_DN2 HDMI_INT MIPI_DSI_DP3 MIPI_DSI_DN3 I2C2_SCL VCC_LCD I2C2_SDA BKLT IBR210 User’s Manual...
  • Page 33: I 2 C Connector (P17)

    Hardware Configuration 2.5.12 C Connector (P17) Assigment Assigment I2C2_SCL TP_INT_B I2C2_SDA TP_RST_B IBR210 User’s Manual...
  • Page 34 2.5.13 Boot mode select (SW1 Factory use only) Panel Type OTG Update Mode (Default) : Boot from SD : Boot from eMMC Boot form SD only IBR210 User’s Manual...
  • Page 35 Hardware Configuration 2.5.14 ES232 Debug Port (P25) Assigment Debug_RX Deubg_TX IBR210 User’s Manual...
  • Page 36 This page was intentionally left blank. IBR210 User’s Manual...
  • Page 37: Chapter 3 Software Setup

    Chapter 3 Software Setup This chapter introduces installation of the following drivers: • Make a recovery SD card (for advanced users only) • Display parameter setting in kernel...
  • Page 38: Make A Recovery Sd Card

    SD card: 4GB or greater in size Insert the SD card to the board (via the P3 connector). Connect the board to the PC through the mini-USB port (via the P6 connector). Change the boot mode to download mode. IBR210 User’s Manual...
  • Page 39 Driver Installation Boot IBR210 and flash SD via CMD command “uuu.exe uuu-sdcard.auto” or double click “FW Download SDcard.bat” (Same way as PCBA update) 3.1.2 Upgrade Firmware through the Recovery SD Card Put the recovery files into the USB flash disk (FAT32)
  • Page 40 Insert (Chapter 3.1.1) SD and (Chapter 3.1.2)USB flash disk into IBR210. Normal boot IBR210 (SW1 Pin1 OFF), start recovery eMMC automatically. The update information will show on HDMI. Show “Flashing successfully completed”, then power off and remove recovery SD and USB flash disk.
  • Page 41: Display Parameter Setting In Kernel(Feature Not Ready Yet)

    Driver Installation Display Parameter Setting in Kernel(Feature not ready yet) *IBR210 supports HDMI output by default. If you use HDMI for display, run the command below. /home/root/display_config/config_displag_mode.sh 1 If you use LVDS 21.5” for display, run the command below. /home/root/display_config/config_displag_mode.sh 4 Note: Script content may be changed by different LVDS models.
  • Page 42: Chapter 4 Bsp Source Guide

    Chapter 4 BSP Source Guide This chapter is dedicated for advanced software engineers to build BSP source. The topics covered in this chapter are as follows: • Preparation • Installing Toolchain • Building release • Installing release to board...
  • Page 43 Decompress the IBR210 source file (e.g. ibr210-bsp.tar.bz2) into "/home/" folder. 4.1.2 Installing Toolchain Decompress Toolchain poky.tar into directory "/opt".
  • Page 44 : For 7GByte emmc uuu_imx_android_flash.bat -f imx8mq -tos -c 7 –e For 16GByte emmc uuu_imx_android_flash.bat -f imx8mq -tos –e IBR210 User’s Manual...
  • Page 45: Appendix

    Appendix This section provides reference code information.
  • Page 46: How To Use Gpio In Linux

    //open watchdog device fd = open("/dev/watchdog", O_WRONLY); //get watchdog support ioctl(fd, WDIOC_GETSUPPORT, &ident); //get watchdog status ioctl(fd, WDIOC_GETSTATUS, &status); //get watchdog timeout ioctl(fd, WDIOC_GETTIMEOUT, &timeout_val); //set watchdog timeout ioctl(fd, WDIOC_SETTIMEOUT, &timeout_val); //feed dog ioctl(fd, WDIOC_KEEPALIVE, &dummy); IBR210 User’s Manual...
  • Page 47: Emmc Test

    #read data2, and compare with data1 cmp $MOUNT_POINT_STR/data2 /tmp/data1 • eMMC speed test MOUNT_POINT_STR="/var" #get emmc write speed" time dd if=/dev/urandom of=$MOUNT_POINT_STR/test bs=1024k count=10 # clean caches echo 3 > /proc/sys/vm/drop_caches #get emmc read speed" time dd if=$MOUNT_POINT_STR/test of=/dev/null bs=1024k count=10 IBR210 User’s Manual...
  • Page 48: Usb (Flash Disk) Test

    USB (flash disk) Test Insert the USB flash disk. Make sure it is in IBR210 device list. Note: This operation may damage the data stored in the USB flash disk. Before starting the test, make sure there is no critical data in the eMMC flash being used.
  • Page 49: Sd Card Test

    Appendix SD Card Test When IBR210 is booted from eMMC, SD card is “/dev/mmcblk1” and able to see by “ls /dev/mmcblk1*” Command: /dev/mmcblk1 /dev/mmcblk1p2 /dev/mmcblk1p4 /dev/mmcblk1p5 /dev/mmcblk1p6 When IBR210 is booted from SD card, replace test pattern “/dev/mmcblk1” to “/dev/mmcblk0”.
  • Page 50: Rs-232 Test

    &= ~CSIZE; options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); /*Input*/ options.c_oflag &= ~OPOST; /*Output*/ //options.c_cc options.c_cc[VTIME] = 150; options.c_cc[VMIN] = 0; #set parity tcsetattr(fd, TCSANOW, &options) //write ttymxc1 write(fd, write_buf, sizeof(write_buf)); //read ttymxc1 read(fd, read_buf, sizeof(read_buf))) IBR210 User’s Manual...
  • Page 51: Rs-485 Test

    //read ttymxc1 read(fd, read_buf, sizeof(read_buf))) Audio Test // play mp3 by audio (ALC5640) gplay-1.0 /home/root/ testscript/audio/a.mp3 --audio-sink=”alsasink –device=hw:1” // record mp3 by audio (ALC5640) arecord -f cd $basepath/b.mp3 -D plughw:1,0 Note: for Android, please use apk to test. IBR210 User’s Manual...
  • Page 52: Ethernet Test

    -c 192.168.1.123 -i 1 -t 20 -w 32M -P 4 • Ethernet UDP test #server 192.168.1.123 run command “iperf3 -s” #communicate with server 192.168.1.123 in udp mode by iperf3 iperf3 -c $SERVER_IP -u -i 1 -b 200M IBR210 User’s Manual...
  • Page 53: Lvds Test

    = (x+g_xoffset) * (g_bits_per_pixel/8) + (y+g_yoffset) * g_line_length; *(fbp + location + 0) = color_b; *(fbp + location + 1) = color_g; *(fbp + location + 2) = color_r; //close framebuffer fd close(framebuffer_fd); Note: Android is not supported. IBR210 User’s Manual...
  • Page 54: Hdmi Test

    *(fbp + location + 1) = color_g; *(fbp + location + 2) = color_r; //close framebuffer fd close(framebuffer_fd); • HDMI audio test #enable hdmi audio echo 0 > /sys/class/graphics/fb2/blank #play wav file by hdmi audio aplay /home/root/testscript/hdmi/1K.wav -D plughw:0,0 IBR210 User’s Manual...
  • Page 55: Test

    # make sure that the simcard is inserted right, and ANT connected pppd call quectel-ppp echo "ping www.baidu.com to make sure the network ok" ping www.baidu.com Note: Since Android includes 3G config in setting, this portion is not suited for the Android version. IBR210 User’s Manual...
  • Page 56: Onboard Connector Types

    0110-01-53101100 Well-Lin, 1010H MIPI-CSI Hirose Hirose P10, P26 Connector DF13E-10DP-1.25V DF13E-10DP-1.25C Hirose Hirose MIPI-DSI DF13E-10DP-1.25V DF13E-10DP-1.25C TechBest C Connector WT02M-30002-06132 SHR-03V-S-B Internal DC Power TechBest Input 2542-WS-04-LF Connector types may be subject to change without prior notice. IBR210 User’s Manual...

Table of Contents