IBASE Technology RP-103-SMC User Manual

IBASE Technology RP-103-SMC User Manual

Carrier board for rm-n8/rm-n8m/rm-n8mmi smarc2.0 cpu module
Table of Contents

Advertisement

Quick Links

SMARC2.0
RP-103-SMC
Carrier Board for
RM-N8/RM-N8M/RM-N8MMI
CPU Module
User's Manual
September 2020 V.0.6

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RP-103-SMC and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IBASE Technology RP-103-SMC

  • Page 1 SMARC2.0 RP-103-SMC Carrier Board for RM-N8/RM-N8M/RM-N8MMI CPU Module User’s Manual September 2020 V.0.6...
  • 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”).
  • Page 3 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) RP-103-SMC User Manual...
  • Page 4: Warranty Policy

    Software in use (such as OS and application software, including the version numbers) 3. 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. RP-103-SMC User Manual...
  • Page 5: Quick Start Guide

    Note: Different LVDS panel needs different customization; please check with your sales contact. e. For advanced users building their own products, please refer to Chapter 4~5. f. For special requests or assistance, please contact the IBASE sales department. RP-103-SMC User Manual...
  • Page 6: Table Of Contents

    Chapter 1 Introduction ................1 Introduction ....................2 1.1. IBASE i.MX 8 Series SMARC Solution ............ 2 1.2. SMARC Modules and RP-103-SMC Carrier Board ......... 2 1.3. Board Dimensions ..................8 1.4. I/O View ....................10 1.5. Installing the SMARC ................11 Chapter 2 Jumpers and Connectors on the Carrier Board ....
  • Page 7 P26: RS232/422/485 ................59 SW2: UART Mode Select (Enable P26 COM port) ......... 60 SW1: Boot Mode Select (for RM-N8QM) ..........61 SW1: Boot Mode Select (for RM-N8M/RM-N8MMI) ........ 61 SW3: I/O & Display Select ..............62 RP-103-SMC User Manual...
  • Page 8 BSP Source Guide ..............65 4.1.1 Preparation ................66 4.1.2 Installing Toolchain ..............66 4.1.3 Building release ............... 67 4.1.4 Installing release to board ............67 Chapter 5 Carrier Board Design Guide ..........69 Appendix ....................... 80 viii RP-103-SMC User Manual...
  • Page 9: Chapter 1 Introduction

    Chapter 1 Introduction The information provided in this chapter includes: IBASE i.MX 8 Series SMARC Solution SMARC Modules and RP-103-SMC Carrier Board Board Dimensions I/O View Installation...
  • Page 10: Introduction

    Measuring 82mm x 50mm, the RM-N8/RM-N8M/RM-N8MMI SMARC module integrates the i.MX 8/i.MX 8M/i.MX 8M Mini processor. Measuring 170mm x 170mm, the RP-103-SMC (VDDIO=3.3V) carrier board is compatible with 82mm x 50mm standard SMARC form factors. Engineers can choose the required embedded IOs to verify developed software application under specified operation systems, aside from setting the default HDMI output with preloaded O.S.
  • Page 11 8M Quad Processor Industrial Grade, up to 1.3GHz 4Kp60 HEVC/H.265/VP9 and 4Kp30 AVC/H.264 decoder OpenGL ES 1.1, 2.0, 3.0, 3.1, Open CL 1.2, and Vulkan 3GB LPDDR4, 16GB eMMC on board Supports 4K HDMI or 1080P 4-lane MIPI-DSI Supports Yocto v2.5, Android 9 RP-103-SMC User Manual...
  • Page 12 8M Mini Quad Processor Industrial Grade, up to 1.6GHz 1080p60 HEVC/H.265/1080p60 VP8 and 1080p60 AVC/H.264 decoder OpenGL ES 1.1, 2.0 / Open VG 1.1 2GB LPDDR4, 8GB eMMC on board Supports 1080p60 4-lane MIPI-DSI Supports Yocto v2.5, Android 9 RP-103-SMC User Manual...
  • Page 13 Operating Temperature -40°C ~ 85°C Board Connector MXM3.0 / 314 pins Supports Yocto v2.5, Android 9 Operating System Features of RP-103-SMC : Designed for SMARC2.0 form factor modules 19V~24V DC-in Carrier Board for RM-N8M, RM-N8MMI and RM-N8QM series SMARC 2.0 CPU Module Validated with Yocto v2.5 and Android 9...
  • Page 14 Specifications of RP-103-SMC: Form Factor Standard (170mm x 170mm) 1x 19~24V DC-in Jack 2x RJ45 Gigabit LAN (one for RM-N8 only) 2x USB3.0 1x OTG Micro USB2.0 2x HDMI Tx (one for RM-N8 only) Edge IO 1x HDMI Rx (for RM-N8 only) 1x Headphone &...
  • Page 15 Introduction RP-103-SMC User Manual...
  • Page 16: Board Dimensions

    1.3. Board Dimensions RM-N8-QM408A Dimensions RM-N8M-Q316I Dimensions RM-N8MMI-Q208I Dimensions RP-103-SMC User Manual...
  • Page 17 Introduction RP-103-SMC Dimensions RP-103-SMC User Manual...
  • Page 18: I/O View

    1.4. I/O View RP-103-SMC User Manual...
  • Page 19: Installing The Smarc

    Introduction 1.5. Installing the SMARC The MXM3.0 connector on RP-103-SMC supports the SMARC form factor (82mm x 50mm). To install SMARC modules to the MXM slot on the board, please perform the following steps: Hold the SMARC module so that the edge fingers of the SMARC module aligns with the MXM connector.
  • Page 20: Jumpers And Connectors On The Carrier Board

    Chapter 2 Jumpers and Connectors on the Carrier Board...
  • Page 21: Switch On Rm-N8-Qm408A

    103-SMC before doing the panel connection and boot up. 2.1. Switch on RM-N8-QM408A Signal Name Mode SW1_1-4 SW1_2-3 Normal Boot Auto Test USB Download 2.2. Switch on RM-N8M-Q316I Signal Name Mode SW1_2-3 SW1_1-4 Normal Boot Auto Test USB Download RP-103-SMC User Manual...
  • Page 22: Switch On Rm-N8Mmi-Q208I

    2.3. Switch on RM-N8MMI-Q208I Signal Name Mode SW1_2-3 SW1_1-4 Normal Boot Auto Test USB Download RP-103-SMC User Manual...
  • Page 23: Connectors On Rp-103-Smc

    Settings on the Carrier Board 2.4. Connectors on RP-103-SMC DC-in CN1 QSPI Internal DC-in CN2 SPI (2.2.1 (2.2.1 SD/MMC slot CN3 SPI SD/MMC slot (2.2.1 CN4 MIPI DSI0 HDMI TX1/EDP TX CN5 LVDS2 ch0 HDMI TX2 (2.2.1 CN6 LVDS2 ch1 HDMI RX (2.2.1...
  • Page 24: Connector Functions On Difference Smarc Module

    LVDS1 LCD power select Headphone & Mic Line In/Out OTG USB RS232/422/485 QSPI MIPI DSI0 LVDS2 ch0 LVDS2 ch1 DSI0/LVDS2 Backlight DSI0/LVDS2 TP (i2c for touch) MIPI DSI1 CN10 DSI1 Backlight CN11 LVDS0 ch0 CN12 LVDS0 ch1 CN13 LVDS0 Backlight RP-103-SMC User Manual...
  • Page 25 CN28 CAN2/3 CAN2 CAN2 CN29 COM1/3 CN30 UART0/4 CN31 CN32 CN33 UART(4-wire) CN34 BTB Conn CN35 RTC BAT Boot Mode Select UART Mode Select I/O & Display Select Power ON/OFF button Sleep button LID button Reset button RP-103-SMC User Manual...
  • Page 26: Cn1: Qspi (Df13E-10Dp-1.25V)

    CN1: QSPI (DF13E-10DP-1.25V) Pin # Signal Name Pin # Signal Name QSPI_IO_3 QSPI_CS0_B QSPI_SCLK QSPI_CS1_B QSPI_IO_0 QSPI_RST_B QSPI_IO_1 QSPI_IO_2 RP-103-SMC User Manual...
  • Page 27: Cn2: Spi3 (Df13E-10Dp-1.25V, Rm-N8Qm Only)

    Settings on the Carrier Board CN2: SPI3 (DF13E-10DP-1.25V, RM-N8QM only) Pin # Signal Name Signal Name Pin # N.C. SPI3_CS0_B SPI3_SCLK SPI3_CS1_B SPI3_MOSI N.C. SPI3_MISO N.C. RP-103-SMC User Manual...
  • Page 28: Cn3: Spi0 (Df13E-10Dp-1.25V, Rm-N8Qm Only)

    CN3: SPI0 (DF13E-10DP-1.25V, RM-N8QM only) Pin # Signal Name Pin # Signal Name N.C. SPI0_CS0_B SPI0_SCLK SPI0_CS1_B SPI0_MOSI N.C. SPI0_MISO N.C. RP-103-SMC User Manual...
  • Page 29: Cn4: Mipi-Dsi0

    Settings on the Carrier Board CN4: MIPI-DSI0 Pin # Signal Name Signal Name Pin # MIPI_DSI0_CKN MIPI_DSI0_CKP MIPI_DSI0_DNO MIPI_DSI0_DP0 DSI0_VLCD MIPI_DSI0_DN1 MIPI_DSI0_DP1 MIPI_DSI0_DN2 MIPI_DSI0_DP2 SPDIF_TX0 HDMI_INT MIPI_DSI0_DN3 MIPI_DSI0_DP3 DSI0_VLCD LVDS0_TS_SCL DSI0_BKLT LVDS0_TS_SDA RP-103-SMC User Manual...
  • Page 30: Cn5: Dual-Channel Lvds2 Ch0

    CN5: Dual-channel LVDS2 ch0 Pin # Signal Name Pin # Signal Name LVDS2_0_TX0_N LVDS2_0_TX0_P LVDS2_0_TX1_N LVDS2_0_TX1_P DSI0_VLCD LVDS2_0_TX3_N LVDS2_0_TX3_P LVDS2_0_TX2_N LVDS2_0_TX2_P LVDS2_0_CLK_N LVDS2_0_CLK_P DSI0_VLCD DSI0_BL_PWM DSI0_BKLT DSI0_BKLT RP-103-SMC User Manual...
  • Page 31: Cn6: Dual-Channel Lvds2 Ch1

    Settings on the Carrier Board CN6: Dual-channel LVDS2 ch1 Pin # Signal Name Pin # Signal Name LVDS2_1_TX0_N LVDS2_1_TX0_P LVDS2_1_TX1_N LVDS2_1_TX1_P DSI0_VLCD LVDS2_1_TX3_N LVDS2_1_TX3_P LVDS2_1_TX2_N LVDS2_1_TX2_P LVDS2_1_CLK_N LVDS2_1_CLK_P DSI0_VLCD DSI0_BL_PWM DSI0_BKLT DSI0_BKLT RP-103-SMC User Manual...
  • Page 32: Cn7: Dsi0/Lvds2 Backlight

    CN7: DSI0/LVDS2 Backlight Pin # Signal Name DSI0_BKLT DSI0_BKLT_EN DSI0_BKLT_PWM RP-103-SMC User Manual...
  • Page 33: Cn8: Dsi0/Lvds2 Tp (I2C For Touch)

    Settings on the Carrier Board CN8: DSI0/LVDS2 TP (i2c for touch) Pin # Signal Name TP_INT_B TP_RST_B LVDS0_TS_SCL LVDS0_TS_SDA RP-103-SMC User Manual...
  • Page 34: Cn9: Mipi-Dsi1 (Rm-N8Qm Only)

    CN9: MIPI-DSI1 (RM-N8QM only) Pin # Signal Name Pin # Signal Name MIPI_DSI1_CKN MIPI_DSI1_CKP MIPI_DSI1_DNO MIPI_DSI1_DP0 DSI0_VLCD MIPI_DSI0_DN1 MIPI_DSI1_DP1 MIPI_DSI0_DN2 MIPI_DSI1_DP2 SPDIF0_TX1 DSI1_INT_B MIPI_DSI1_DN3 MIPI_DSI1_DP3 DSI1_VLCD DSI1_TS_SCL DSI1_BKLT DSI1_TS_SDA RP-103-SMC User Manual...
  • Page 35: Cn10: Dsi1 Backlight (Rm-N8Qm Only)

    Settings on the Carrier Board CN10: DSI1 Backlight (RM-N8QM only) Pin # Signal Name DSI0_BKLT DSI0_BKLT_EN DSI0_BKLT_PWM RP-103-SMC User Manual...
  • Page 36: Cn11: Dual-Channel Lvds0 Ch0

    CN11: Dual-channel LVDS0 ch0 Pin # Signal Name Pin # Signal Name LVDS0_0_TX0_N LVDS0_0_TX0_P LVDS0_0_TX1_N LVDS0_0_TX1_P LVDS0_VLCD LVDS0_0_TX3_N LVDS0_0_TX3_P LVDS0_0_TX2_N LVDS0_0_TX2_P LVDS0_0_CLK_N LVDS0_0_CLK_P LVDS0_VLCD LVDS0_BL_PWM LVDS0_BKLT LVDS0_BKLT RP-103-SMC User Manual...
  • Page 37: Cn12: Dual-Channel Lvds0 Ch1

    Settings on the Carrier Board CN12: Dual-channel LVDS0 ch1 Pin # Signal Name Pin # Signal Name LVDS0_1_TX0_N LVDS0_1_TX0_P LVDS0_1_TX1_N LVDS0_1_TX1_P LVDS0_VLCD LVDS0_1_TX3_N LVDS0_1_TX3_P LVDS0_1_TX2_N LVDS0_1_TX2_P LVDS0_1_CLK_N LVDS0_1_CLK_P LVDS0_VLCD LVDS0_BL_PWM LVDS0_BKLT LVDS0_BKLT RP-103-SMC User Manual...
  • Page 38: Cn13: Lvds0 Backlight

    CN13: LVDS0 Backlight Pin # Signal Name LVDS0_BKLT LVDS0_BKLT_EN LVDS0_BKLT_PWM RP-103-SMC User Manual...
  • Page 39: Cn14: Dual-Channel Lvds1 Ch0 (Rm-N8Qm Only)

    Settings on the Carrier Board CN14: Dual-channel LVDS1 ch0 (RM-N8QM only) Pin # Signal Name Pin # Signal Name LVDS1_0_TX0_N LVDS1_0_TX0_P LVDS1_0_TX1_N LVDS1_0_TX1_P LVDS1_VLCD LVDS1_0_TX3_N LVDS1_0_TX3_P LVDS1_0_TX2_N LVDS1_0_TX2_P LVDS1_0_CLK_N LVDS1_0_CLK_P LVDS1_VLCD LVDS1_BL_PWM LVDS1_BKLT LVDS1_BKLT RP-103-SMC User Manual...
  • Page 40: Cn15: Dual-Channel Lvds1 Ch1 (Rm-N8Qm Only)

    CN15: Dual-channel LVDS1 ch1 (RM-N8QM only) Pin # Signal Name Pin # Signal Name LVDS1_1_TX0_N LVDS1_1_TX0_P LVDS1_1_TX1_N LVDS1_1_TX1_P LVDS1_VLCD LVDS1_1_TX3_N LVDS1_1_TX3_P LVDS1_1_TX2_N LVDS1_1_TX2_P LVDS1_1_CLK_N LVDS1_1_CLK_P LVDS1_VLCD LVDS1_BL_PWM LVDS1_BKLT LVDS1_BKLT RP-103-SMC User Manual...
  • Page 41: Cn16: Lvds1 Backlight (Rm-N8Qm Only)

    Settings on the Carrier Board CN16: LVDS1 Backlight (RM-N8QM only) Pin # Signal Name LVDS1_BKLT LVDS1_BKLT_EN LVDS1_BKLT_PWM RP-103-SMC User Manual...
  • Page 42: Cn17: Lvds1 Tp (I2C For Touch) (Rm-N8Qm Only)

    CN17: LVDS1 TP (i2c for touch) (RM-N8QM only) Pin # Signal Name LVDS1_TP_INT LVDS1_TP_RST_B LVDS1_TS_SCL LVDS1_TS_SDA RP-103-SMC User Manual...
  • Page 43: Cn18: Speaker L

    Settings on the Carrier Board CN18: Speaker L Pin # Signal Name SPK_LP SPK_LN CN19: Speaker R Pin # Signal Name SPK_RP SPK_RN RP-103-SMC User Manual...
  • Page 44: Cn20: Usb3/4

    CN20: USB3/4 Pin # Signal Name Pin # Signal Name USB_PWR_OUT3 RXDM3 USB_PWR_OUT4 RXDP3 RXDM4 RXDP4 TXDM3 TXDP3 TXDM4 TXDP4 N.C. RP-103-SMC User Manual...
  • Page 45: Cn21: Mipi Csi1 (Rm-N8Qm Only)

    Settings on the Carrier Board CN21: MIPI CSI1 (RM-N8QM only) Pin # Signal Name Pin # Signal Name MIPI_CSI1_CKN MIPI_CSI1_CKP MIPI_CSI1_DNO MIPI_CSI1_DP0 MIPI_CSI1_DN1 MIPI_CSI1_DP1 N.C. N.C. N.C. N.C. CSI1_SDA CSI1_SCL CSI1_RST_B CSI1_PWEN_B CSI_MCLK *Multi-Pin are used with others. RP-103-SMC User Manual...
  • Page 46: Cn22: Mipi Csi1

    CN22: MIPI CSI1 Pin # Signal Name Pin # Signal Name MIPI_CSI2_CKN MIPI_CSI2_CKP MIPI_CSI2_DNO MIPI_CSI2_DP0 MIPI_CSI2_DN1 MIPI_CSI2_DP1 MIPI_CSI2_DN2 MIPI_CSI2_DP2 MIPI_CSI2_DN3 MIPI_CSI2_DP3 CSI2_SDA CSI2_SCL CSI2_RST_B CSI2_PWEN_B CSI_MCLK *Multi-Pin are used with others. RP-103-SMC User Manual...
  • Page 47: Cn23: Sata (Rm-N8Qm Only)

    Settings on the Carrier Board CN23: SATA0 (RM-N8QM only) Pin # Signal Name SATA0_TXP SATA0_TXN SATA0_RXN SATA0_RXP RP-103-SMC User Manual...
  • Page 48: Cn24: Sata Power (Rm-N8Qm Only)

    CN24: SATA power (RM-N8QM only) Pin # Signal Name RP-103-SMC User Manual...
  • Page 49: Cn25: Sata

    Settings on the Carrier Board CN25: SATA1 Pin # Signal Name SATA_TXP SATA_TXN SATA_RXN SATA_RXP RP-103-SMC User Manual...
  • Page 50: Cn26: Sata Power

    CN26: SATA power Pin # Signal Name RP-103-SMC User Manual...
  • Page 51: Cn27: Can0/1 (Rm-N8Qm Only)

    Settings on the Carrier Board CN27: CAN0/1 (RM-N8QM only) Pin # Signal Name CAN0_H CAN0_L CAN1_H CAN1_L RP-103-SMC User Manual...
  • Page 52: Cn28: Can2/3

    CN28: CAN2/3 Pin # Signal Name CAN2_H CAN2_L CAN3_H CAN3_L RP-103-SMC User Manual...
  • Page 53: Cn29: Com1/3

    Settings on the Carrier Board CN29: COM1/3 Pin # Signal Name RS232_1_TX RS232_1_RX RS232_3_TX RS232_3_RX RP-103-SMC User Manual...
  • Page 54: Cn30: Com1/3 (Rm-N8Qm Only)

    CN30: UART0/UART4 (RM-N8QM only) Pin # Signal Name UART4_TX UART4_RX UART0_TX UART0_RX RP-103-SMC User Manual...
  • Page 55: Cn31: Dio

    Settings on the Carrier Board CN31: DIO Pin # Signal Name Pin # Signal Name GPIO6/M2_I2C_IRQ_B GPIO7/HP_DET_B GPIO0/CSI1_PWEN_B GPIO8/MIC_DET_B GPIO1/CSI2_PWEN_B GPIO9/TP_INT_B GPIO2/CSI1_RST_B GPIO10/TP_RST_B GPIO3/CSI2_RST_B GPIO11/M2_BT_DIS_B GPIO4/HDA_RST_B GPIO5/M2_WIFI_DIS_B *Multi-Pin are used with others. RP-103-SMC User Manual...
  • Page 56: Cn32: Fan

    CN32: FAN Pin # Signal Name N.C. RP-103-SMC User Manual...
  • Page 57: Cn33: Uart

    Settings on the Carrier Board CN33: UART Pin # Signal Name UART_TXD UART_RXD UART_RTS UART_CTS RP-103-SMC User Manual...
  • Page 58: Cn34: Btb Conn (Rm-N8Qm Only)

    HDMI_RX_DAT0- DSI1_DAT1+ HDMI_RX_DAT1+ DSI1_DAT1- HDMI_RX_DAT1- DSI1_DAT2+ HDMI_RX_DAT2+ DSI1_DAT2- HDMI_RX_DAT2- DSI1_DAT3+ HDMI_RX_ARC+ DSI1_DAT3- HDMI_RX_ARC- DSI1_BL_PWM HDMI_RX_CEC DSI1_TS_INT_B HDMI_RX_SCL DSI1_TS_SCL HDMI_RX_SDA DSI1_TS_SDA HDMI_RX_MON HDMI_RX_HDP LVDS1_CH0_CLK+ M40_UART0_RX LVDS1_CH0_CLK- M40_UART0_TX M41_UART4_RX LVDS1_CH0_TX0+ M41_UART4_TX LVDS1_CH0_TX0- RSVD LVDS1_CH0_TX1+ RSVD LVDS1_CH0_TX1- RSVD LVDS1_CH0_TX2+ RSVD RP-103-SMC User Manual...
  • Page 59 SPI0_CS1 SPI3_SCK LVDS1_CH1_TX0+ SPI3_SDO LVDS1_CH1_TX0- SPI3_SDI LVDS1_CH1_TX1+ SPI3_CS0 LVDS1_CH1_TX1- SPI3_CS1 LVDS1_CH1_TX2+ LVDS1_CH1_TX2- SDHC1_CLK LVDS1_CH1_TX3+ SDHC1_CMD LVDS1_CH1_TX3- SDHC1_DATA0 LVDS1_BL_PWM SDHC1_DATA1 LVDS1_TS_INT SDHC1_DATA2 LVDS1_I2C_SCL SDHC1_DATA3 LVDS1_I2C_SDA SDHC1_DATA4 LVDS1_TS_SCL SDHC1_DATA5 LVDS1_TS_SDA SDHC1_DATA6 GPT0_I2C_CLK SDHC1_DATA7 GPT0_I2C_SDA SDHC1_STROBE M41_I2C_SCL SDHC1_RESET_B M41_I2C_SDA SDHC1_VSELECT RP-103-SMC User Manual...
  • Page 60: Cn35: Rtc Bat

    CN35: RTC BAT Pin # Signal Name LI_CELL RP-103-SMC User Manual...
  • Page 61: P2: Internal Dc-In

    Settings on the Carrier Board P2: Internal DC-in Pin # Signal Name DC-IN DC-IN RP-103-SMC User Manual...
  • Page 62: P15: Dsi0/Lvds2 Backlight Power Select

    P15: DSI0/LVDS2 Backlight Power Select Mode Setting 1-2:ON, 3-4:OFF, 5-6:OFF 1-2:OFF, 3-4:ON, 5-6:OFF 1-2:OFF, 3-4:OFF, 5-6:ON P16: DSI0/LVDS2 LCD Power Select Mode Setting 1-2:ON 2-3:ON RP-103-SMC User Manual...
  • Page 63: P17: Dsi1 Backlight Power Select

    Settings on the Carrier Board P17: DSI1 Backlight Power Select Mode Setting 1-2:ON, 3-4:OFF, 5-6:OFF 1-2:OFF, 3-4:ON, 5-6:OFF 1-2:OFF, 3-4:OFF, 5-6:ON P18: DSI1 LCD Power Select Mode Setting 1-2:ON 2-3:ON RP-103-SMC User Manual...
  • Page 64: P19: Lvds0 Backlight Power Select

    P19: LVDS0 Backlight Power Select Mode Setting 1-2:ON, 3-4:OFF, 5-6:OFF 1-2:OFF, 3-4:ON, 5-6:OFF 1-2:OFF, 3-4:OFF, 5-6:ON P20: LVDS0 LCD Power Select Mode Setting 1-2:ON 2-3:ON RP-103-SMC User Manual...
  • Page 65: P21: Lvds1 Backlight Power Select

    Settings on the Carrier Board P21: LVDS1 Backlight Power Select Mode Setting 1-2:ON, 3-4:OFF, 5-6:OFF 1-2:OFF, 3-4:ON, 5-6:OFF 1-2:OFF, 3-4:OFF, 5-6:ON P22: LVDS1 LCD Power Select Pin # Setting 1-2:ON 2-3:ON RP-103-SMC User Manual...
  • Page 66: P24: Line In/Out

    P24: Line In/Out Pin # Signal Name Pin # Signal Name N.C. Analog_GND LINE_IN_R Analog_GND LINE_IN_L Analog_GND Analog_GND LINE_OUT_L Analog_GND LINE_OUT_R RP-103-SMC User Manual...
  • Page 67: P26: Rs232/422/485

    Pin # Signal Name 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 N.C. Pin # RS-232 RS-422 RS-485 DATA- DATA+ RP-103-SMC User Manual...
  • Page 68: Sw2: Uart Mode Select (Enable P26 Com Port)

    OFF OFF ON OFF Pure RS-232 1T/1R RS-232 co-exists with RS485 OFF ON OFF OFF RS-485 Half Duplex 1T/1R RS-485 with termination resistor OFF OFF OFF OFF Low Power Shutdown All I/O pins are High Impedance No output RP-103-SMC User Manual...
  • Page 69: Sw1: Boot Mode Select (For Rm-N8Qm)

    Module eMMC Flash (Default) Force Recovery SW1: Boot Mode Select (for RM-N8M/RM-N8MMI) Function 2-7 3-6 4-5 OFF OFF reserve OFF ON OFF OFF reserve OFF OFF OFF reserve OFF OFF OFF OFF Module eMMC Flash (Default) Force Recovery RP-103-SMC User Manual...
  • Page 70: Sw3: I/O & Display Select

    I/O Output Select SW3_1-8 Function CN31 I/O Free Definition CN31 I/O Normal Function (Default) DSI0 Output Select Function 2-7 3-6 DSI0 Output ON OFF LVDS2 Output LVDS0 CH0 Output DSI1 Output Select SW3_4-5 Function HDMI TX2 Output DSI1 Output RP-103-SMC User Manual...
  • Page 71: Chapter 3 Software Setup

    Software Setup Chapter 3 Software Setup Make a Recovery SD card (for advanced users only) • Display Parameter Setting in Kernel • RP-103-SMC User Manual...
  • Page 72 3.2 Display Parameter Setting in Kernel *SMARC2.0 supports HDMI output by default. 1. If you use HDMI to display, run the command below. /home/root/display_config/config_displag_mode.sh 1 2. If you use LVDS 21.5” to display, run the command below. /home/root/display_config/config_displag_mode.sh 5 RP-103-SMC User Manual...
  • Page 73: Chapter 4 Bsp Source Guide

    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 • RP-103-SMC User Manual...
  • Page 74: Preparation

    $ sudo apt-get install uboot-mkimage i.MX layers host packages for a Ubuntu 14.04 host setup only are: $ sudo apt-get install u-boot-tools 2. Decompress the BSP source file (e.g. RM-N8M-bsp-20200901.tar) into "/home/" folder. 4.1.2 Installing Toolchain Run ./fsl-imx-wayland-glibc-x86_64-meta-toolchain- aarch64-toolchain-4.14-sumo.sh RP-103-SMC User Manual...
  • Page 75: Building Release

    2. Set board to download mode, and connect OTG to USB 3. run : For 7GByte emmc uuu_imx_android_flash.bat -f imx8mq -tos -c 7 –e or FW Download emmc 7GB .bat For 16GByte emmc uuu_imx_android_flash.bat -f imx8mq -tos –e or FW Download emmc 16GB .bat RP-103-SMC User Manual...
  • Page 76 This page is intentionally left blank. RP-103-SMC User Manual...
  • Page 77: Chapter 5 Carrier Board Design Guide

    This Chapter is for advanced EE to create carrier boards (or products). Layout suggestions can also be found for RP-103- SMC carrier board design schematic file. Please contact your sales representative in advance. Block Diagram • SMARC Module Interfaces • Layout recommendations • RP-103-SMC User Manual...
  • Page 78 Gbit Ethernet I/F Bidirectional P21 RGMII_LED_10_100 Gbit Ethernet I/F Output 2.5V P22 RGMII_LED_1000 Gbit Ethernet I/F Output 2.5V P23 RGMII_TRXN2 Gbit Ethernet I/F Bidirectional P24 RGMII_TRXP2 Gbit Ethernet I/F Bidirectional P25 RGMII_LED_ACT Gbit Ethernet I/F Output 2.5V RP-103-SMC User Manual...
  • Page 79 P57 ESPI_IO_0 QSPI A I/F Bidirectional 1.8V other Carrier board Can be used as GPIO for P58 ESPI_IO_1 QSPI A I/F Bidirectional 1.8V other Carrier board P59 GND Ground P60 USB1_DP USB1 I/F P61 USB1_DN USB1 I/F RP-103-SMC User Manual...
  • Page 80 P96 HDMI_TX1_N HDMI I/F P97 GND Ground P98 HDMI_TX0_P HDMI I/F P99 HDMI_TX0_N HDMI I/F P100 GND Ground P101 HDMI_TXC_P HDMI I/F P102 HDMI_TXC_N HDMI I/F P103 GND Ground P104 HDMI_HPD HDMI I/F P105 HDMI_DDC_SCL HDMI I/F RP-103-SMC User Manual...
  • Page 81 UART3 I/F Input 1.8V other Carrier board Can be used as GPIO for P136 UART4_TXD UART4 I/F Output 1.8V other Carrier board Can be used as GPIO for P137 UART4_RXD UART4 I/F Input 1.8V other Carrier board RP-103-SMC User Manual...
  • Page 82 Ground S14 CSI_P1_DP1 MIPI CSI1 I/F Input S15 CSI_P1_DN1 MIPI CSI1 I/F Input S16 GND Ground S17 NC S18 NC S19 NC S20 NC S21 NC S22 NC S23 NC S24 NC S25 GND Ground S26 NC RP-103-SMC User Manual...
  • Page 83 Can be used as GPIO for S58 ECSPI2_RST_B/GPIO3_04 Output High 1.8V control, Active Low other Carrier board S59 NC S60 NC S61 GND Ground S62 USB2_TXP USB2 I/F S63 USB2_TXN USB2 I/F S64 GND Ground S65 USB2_RXP USB2 I/F RP-103-SMC User Manual...
  • Page 84 Input High 1.8V S105 NC S106 NC I/O: LVDS LCD Backlight Can be used as GPIO for S107 LVDS_BL_PWEN/GPIO4_11 Output 1.8V power control, Active High other Carrier board S108 NC S109 NC S110 GND Ground S111 NC RP-103-SMC User Manual...
  • Page 85 Active Low other Carrier board Input Power bad state Open S150 VIN_PWR_BAD_B Output output, Active Low Drive I/O: Battery charging state Can be used as GPIO for S151 CHARGING_B/GPIO3_11 Input High 1.8V detect, Active Low other Carrier board RP-103-SMC User Manual...
  • Page 86 Diff signals: LVDS, SATA, HDMI, DDR, PCIE_CLK,MIPI 100 Ω Differential (CSI & DSI), MLB, PHY IC to Ethernet Connector PCB stack up and trace width/space recommendation (based on RP-103-SMC reference board) L1. Top signals L2. GND L3. Int1 signals L4. Int2 signals L5.
  • Page 87 Glass Style & Cu Wt. Thickness 0.5OZ plating to 1OZ 3313 0.5OZ 0.65 CORE 0.102 FR-4 0.5OZ 0.65 7628 CORE 0.71 FR-4 7628 0.5OZ 0.65 CORE 0.102 FR-4 0.5OZ 0.65 3313 0.5OZ plating to 1OZ Total thickness 62.8mil 1.595mm RP-103-SMC User Manual...
  • Page 88: Appendix

    3. eMMC Test 4. USB (flash disk) Test 5. SD Card Test 6. RS-232 Test 7. RS-485 Test 8. Audio Test 9. Ethernet Test 10. LVDS Test 11. HDMI Test 12. SATA (hard disk) Test 13. CAN Test RP-103-SMC User Manual...
  • Page 89 //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); RP-103-SMC User Manual...
  • Page 90 #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 RP-103-SMC User Manual...
  • Page 91 #read data2, and compare with data1 cmp $USB_DIR/data2 /var/data1 USB speed test • USB_DIR="/run/media/mmcblk1p1" # usb write speed dd if=/dev/zero of=$BASIC_DIR/$i/test bs=1M count=1000 oflag=nocache # usb read speed dd if=$BASIC_DIR/$i/test of=/dev/null bs=1M oflag=nocache RP-103-SMC User Manual...
  • Page 92 SD_DIR/data2 bs=1024k count=100 #read data2, and compare with data1 cmp $SD_DIR/data2 /var/data1 SD card speed test • SD_DIR="/run/media/mmcblk1" # SD write speed dd if=/dev/zero of=$SD_DIR/test bs=1M count=1000 oflag=nocache # SD read speed dd if=$SD_DIR/test of=/dev/null bs=1M oflag=nocache RP-103-SMC User Manual...
  • Page 93 &= ~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))) RP-103-SMC User Manual...
  • Page 94 &= ~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))) RP-103-SMC User Manual...
  • Page 95 -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 RP-103-SMC User Manual...
  • Page 96 = 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); RP-103-SMC User Manual...
  • Page 97 *(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 RP-103-SMC User Manual...
  • Page 98 #read data2, and compare with data1 cmp $HD_DIR/data2 /var/data1 Hard disk speed test • HD_DIR="/run/media/mmcblk1p1" # hard disk write speed dd if=/dev/zero of=$HD_DIR/$i/test bs=1M count=1000 oflag=nocache # hard disk read speed dd if=$HD_DIR/$i/test of=/dev/null bs=1M oflag=nocache RP-103-SMC User Manual...
  • Page 99 Testing CAN • #config can parrameter ip link set can0 type can bitrate 125000 triple-sampling #enable can ifconfig can0 up #disable ifconfig can0 down #send data cangen can0 & #receive data candump -n 10 can1 -T 5000 RP-103-SMC User Manual...

Table of Contents