I-Tech AO-IBR117 User Manual

3.5” arm-based sbc with nxp cortex a9 dual core i.mx6

Advertisement

Quick Links

AO-IBR117
3.5" ARM-based SBC
With NXP Cortex™ A9 Dual Core i.MX6
User's Manual
Version 1.1
(June 2018)
i-Tech Company LLC
TOLL FREE: (888) 483-2418 • EMAIL:
info@itechlcd.com
• WEB:
www.iTechLCD.com

Advertisement

Table of Contents
loading

Summary of Contents for I-Tech AO-IBR117

  • Page 1 AO-IBR117 3.5” ARM-based SBC With NXP Cortex™ A9 Dual Core i.MX6 User’s Manual Version 1.1 (June 2018) i-Tech Company LLC TOLL FREE: (888) 483-2418 • EMAIL: info@itechlcd.com • WEB: www.iTechLCD.com...
  • Page 2 Technology, Inc. (hereinafter referred to as “i-Tech”). Disclaimer i-TECH reserves the right to make changes and improvements to the products described in this document without prior notice. Every effort has been made to ensure the information in the document is correct; however, i-TECH does not guarantee this document is error-free.
  • 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) AO-IBR117 User’s Manual...
  • Page 4: Important Safety Information

    -40° C or above 85° C. To prevent from damages, the product must be used in a controlled environment. Care for your i-TECH products: • Before cleaning the PCB, unplug all cables and remove the battery.
  • Page 5: Warranty Policy

    -party parts: 12-month (1-year) warranty from delivery for the 3 -party parts that are not manufactured by i-TECH, such as CPU, CPU cooler, memory, storage devices, power adapter, panel and touchscreen. * PRODUCTS, HOWEVER, THAT FAIL DUE TO MISUSE, ACCIDENT,...
  • Page 6: Table Of Contents

    Hardware Configuration .......... 9 Mini-PCIe & M.2 Card Installation ............10 Setting the Jumpers ................11 2.2.1 How to Set Jumpers ............. 11 Jumper & Connector Locations on AO-IBR117........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 ..................35 RS-232 Test ..................36 RS-485 Test ..................37 Audio Test ..................37 Ethernet Test ..................38 LVDS Test ..................39 HDMI Test ..................40 SATA (hard disk) Test ...............41 CAN Test ...................42 3G Test ....................43 Onboard Connector Types ..............44 AO-IBR117 User’s Manual...
  • Page 8 This page is intentionally left blank. AO-IBR117 User’s Manual viii...
  • Page 9: Chapter 1 General Information

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

    Introduction AO-IBR117 is a 3.5" Disk-Size SBC w/ ARM Base NXP i.MX6 Cortex-A9 1 GHz CPU. The device offers 2D, 3D graphics and multimedia accelerations, while also supporting numerous peripherals, including RS-232/422/485, CAN bus, COM, GPIO, USB, USB OTG, LAN and audio interfaces.
  • Page 11: Packing List

    General Information Packing List Your AO-IBR117 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. AO-IBR117 3.5” SBC • • This User Manual Optional Accessories I-TECH provides optional accessories as follows.
  • Page 12: Specifications

    (up to 1366 x 768 at 60 Hz for 1 channel / 1920 x 1080 for 2 channels) 1 x RJ45 GbE LAN • 2 x USB 2.0 Type A • 1 x USB OTG via mini-USB Type B AO-IBR117 User’s Manual...
  • Page 13 0 ~ 60 °C (32 ~ 140 °F) • Operating Temperature -40 ~ 85 °C (-40 ~ 185 °F) with the optional heatsink • Relative 10 ~ 90 %, non-condensing Humidity All specifications are subject to change without prior notice. AO-IBR117 User’s Manual...
  • Page 14: Overview

    *The photos above are for reference only. Some minor components may differ. I/O View Name Name USB OTG Port USB 2.0 Ports COM RS-232/422/485 Port DC Jack HDMI Port Reset Button LED Indicators (from left to GbE LAN Port right: Power, Wireless, Programmable Setting) AO-IBR117 User’s Manual...
  • Page 15: Dimensions

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

    Chapter 2 Hardware Configuration This section provides information on jumper settings and connectors on the AO-IBR117 in order to set up a workable system. The topics covered are: • M.2 card Installation • Jumper and connector locations • Jumper settings and information of connectors...
  • 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.) AO-IBR117 User’s Manual...
  • Page 19: Setting The Jumpers

    Hardware Configuration Setting the Jumpers Set up and configure your AO-IBR117 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 Ao-Ibr117

    Jumper & Connector Locations on AO-IBR117 Board diagram of AO-IBR117 AO-IBR117 User’s Manual...
  • Page 21: Jumpers Quick Reference

    Hardware Configuration Jumpers Quick Reference Function Jumper Name Page LVDS Power Setting LVDS Backlight Power Setting 2.4.1 LVDS Power Setting (P16) Function Pin closed Illustration 3.3V (default) AO-IBR117 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) AO-IBR117 User’s Manual...
  • Page 23: Connectors Quick Reference

    SD Card Slot HDMI Port GbE LAN Port Dual USB 2.0 Type-A Port Mini-USB OTG Port NGFF M.2 E2230 Slot Mini-PCIe Slot SIM Card Socket SATA II Connector System Reset Button Factory Use Only SW1, P11, P19 AO-IBR117 User’s Manual...
  • Page 24: Rtc Lithium Cell Connector (P2)

    Assigment RTC_VCC Ground 2.5.2 COM RS-232/422/485 Selection (SW3) Panel Type RS-422 Full Duplex Pure RS232 (3T/5R) RS-485 Half Duplex (TX Low-Active) RS-485 Half Duplex (TX High-Active) RS-422 Full Duplex Pure RS232 (1T/1R) RS-485 Half Duplex Shutdown (Default) AO-IBR117 User’s Manual...
  • Page 25: Com Rs-232/422/485 Port (P10)

    Assigment DCD, Data carrier detect DSR, Data set ready RXD, Receive data RTS, Request to send TXD, Transmit data CTS, Clear to send DTR, Data terminal ready Ground Assignment RS-232 RS-422 RS-485 DATA- DATA+ Ground Ground Ground AO-IBR117 User’s Manual...
  • Page 26: Lvds Display Connector (P8, P22)

    2.5.4 LVDS Display Connector (P8, P22) 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 AO-IBR117 User’s Manual...
  • Page 27: Uart Connector (P17)

    Hardware Configuration 2.5.5 UART Connector (P17) Assigment Assigment UART2_TXD UART3_TXD UART2_RXD UART3_RXD Ground Ground 2.5.6 LVDS Backlight Control Connector (P9) Assigment Assigment BKLT_VCC LCD_BKLT_PWM LCD_BKLT_EN Ground AO-IBR117 User’s Manual...
  • Page 28: Audio Line-In & Line-Out Connector (P14)

    2.5.7 Audio Line-In & Line-Out Connector (P14) Assigment Assigment Ground LINE_IN_R Ground LINE_IN_L Ground Ground LINE_OUT_L Ground LINE_OUT_R 2.5.8 USB Hub Connector (P13) Assigment Assigment Ground USB1_DP USB2_POWER USB1_DM USB2_DM USB1_POWER USB2_DP Ground AO-IBR117 User’s Manual...
  • Page 29: Digital I/O (Gpio) Connector (P18)

    Hardware Configuration 2.5.9 Digital I/O (GPIO) Connector (P18) Assigment Assigment 3.3V DIO5 DIO1 DIO6 DIO2 DIO7 DIO3 DIO8 DIO4 Ground 2.5.10 SATA Power Connector (P21) Assigment Assigment Ground Ground AO-IBR117 User’s Manual...
  • Page 30: Can Bus Connector (P25)

    2.5.11 CAN Bus Connector (P25) Assigment Assigment CAN1_TXD CAN2_TXD CAN1_RXD CAN2_RXD Ground Ground 2.5.12 C Connector (P26) Assigment Assigment I2C3_SCL TP_INT_B I2C3_SDA TP_RST_B AO-IBR117 User’s Manual...
  • Page 31: 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 32: Make A Recovery Sd Card

    Make a Recovery SD Card Note: This is for advanced users who has I-TECH standard image file only. Basically, AO-IBR117 is preloaded with O.S (Android / Linux) into eMMC by default. Connect the TFT-LCD with AO-IBR117 (or HDMI), and 12V power directly.
  • Page 33 Driver Installation Copy the image to the directory mfgtools-2.3\Profiles\Linux\OS Firmware\files\AO-IBR117\. Select the script of mfgtools sdcard recovery. AO-IBR117 User’s Manual...
  • Page 34: Upgrade Firmware Through The Recovery Sd Card

    Insert the recovery SD card and U disk to the board for upgrade. Power up the board and the recovery program starts. When the recovery finishes, power down the board, pull out the recovery SD card and U disk. AO-IBR117 User’s Manual...
  • Page 35: Display Parameter Setting In Kernel

    Driver Installation Display Parameter Setting in Kernel AO-IBR117 supports HDMI output by default. If you use HDMI to display, run the command below. /home/root/display_config/config_displag_mode.sh 1 If you use LVDS 7” to display, run the command below. /home/root/display_config/config_displag_mode.sh 2 If you use LVDS 15” to display, run the command below.
  • Page 36: Chapter 4 Bsp Source Guide

    Chapter 4 BSP Source Guide This chapter is dedicated for advanced software engineers only to build BSP source. The topics covered in this chapter are as follows: • Preparation • Installing Toolchain • Building U-Boot • Building Kernel • Building RAMdisk Image (Optional) •...
  • Page 37: Preparation

    Decompress the AO-IBR117 source file AO-IBR117.tar.xz into "/home/" folder. Installing Toolchain Decompress Toolchain poky.tar into directory "/opt". Building U-Boot...
  • Page 38: Building Ramdisk Image (Optional)

    Connect LVDS 15” display panel. Power on and you will see U-Boot prompt. If you want to change to another monitor (or display panel) type, refer to the section 3.2 Display Parameter Setting in Kernel to set video output command. AO-IBR117 User’s Manual...
  • Page 39: Appendix

    Appendix This section provides the information of reference code.
  • Page 40: 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); AO-IBR117 User’s Manual...
  • Page 41: 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 AO-IBR117 User’s Manual...
  • Page 42: Usb (Flash Disk) Test

    USB (flash disk) Test Insert the USB flash disk then assure it is in AO-IBR117 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 43: Sd Card Test

    Appendix SD Card Test When AO-IBR117 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 AO-IBR117 is booted from SD card, replace test pattern “/dev/ mmcblk1” to “/dev/mmcblk0”.
  • Page 44: 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))) AO-IBR117 User’s Manual...
  • Page 45: Rs-485 Test

    TCSANOW, &options) //write ttymxc1 write(fd, write_buf, sizeof(write_buf)); //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 -D plughw:1,0 // record mp3 by audio (ALC5640) arecord -f cd $basepath/b.mp3 -D plughw:1,0 AO-IBR117 User’s Manual...
  • Page 46: 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 AO-IBR117 User’s Manual...
  • Page 47: Lvds Test

    = 0; location = (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); AO-IBR117 User’s Manual...
  • Page 48: 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 AO-IBR117 User’s Manual...
  • Page 49: Sata (Hard Disk) Test

    Appendix SATA (hard disk) Test Insert the hard disk then assure it is in AO-IBR117 device list. Note: This operation may damage the data stored in the hard disk. Before starting the test, make sure there is no critical data in the hard disk being used.
  • Page 50: Can Test

    Testing CAN #config can parrameter ip link set can0 type can bitrate 125000 triple-sampling on #enable can ifconfig can0 up #disable ifconfig can0 down #send data cangen can0 & #receive data candump -n 10 can1 -T 5000 AO-IBR117 User’s Manual...
  • Page 51: Test

    • Testing 3G # the command will connect 3g to network # make sure that the simcard is inserted right, and ANT connected pppd call wcdma echo "ping www.baidu.com to make sure the network ok" ping www.baidu.com AO-IBR117 User’s Manual...
  • Page 52: Onboard Connector Types

    USB Hub Hirose Hirose Connector DF13E-10DP-1.25V DF13E-10DP-1.25C JCTC Digital I/O (GPIO) E-Call 11002H00-1P Connector 0110-01-53101100 Well-Lin, 1010H CAN Bus TechBest Connector WT02M-30002-06132 SHR-03V-S-B TechBest C Connector WT02M-30002-06132 SHR-03V-S-B Connector types may be subject to change without prior notice. AO-IBR117 User’s Manual...

Table of Contents