Advertisement

Quick Links

Polyhex Technology Company Limited
DEBIX SOM A I/O Board User Guide
Version: V1.0(2023-08)
Complied by: Polyhex Technology Company Limited(http://www.polyhex.net/)
DEBIX SOM A IO Board is a full-featured carrier board specially designed for DEBIX SOM A
i.MX 8M Plus core board. It connects DEBIX SOM A through 4 double-sided board-to-board
Socket connectors on the front of the board, and supports all functions and interfaces on the
core board, providing a comprehensive solution for applications in industrial control, IoT
connection and multimedia fields.
Figure 1 DEBIX SOM A I/O Board
1 / 104
www.debix.io

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BMB-08 and is the answer not in the manual?

Questions and answers

Summary of Contents for DEBIX BMB-08

  • Page 1 Version: V1.0(2023-08) Complied by: Polyhex Technology Company Limited(http://www.polyhex.net/) DEBIX SOM A IO Board is a full-featured carrier board specially designed for DEBIX SOM A i.MX 8M Plus core board. It connects DEBIX SOM A through 4 double-sided board-to-board Socket connectors on the front of the board, and supports all functions and interfaces on the core board, providing a comprehensive solution for applications in industrial control, IoT connection and multimedia fields.
  • Page 2 Polyhex Technology Company Limited REVISION HISTORY Rev. Date Description 2023.08.29 First edition 2 / 104 www.debix.io...
  • Page 3: Table Of Contents

    1.1. Safety Precaution ......................6 1.2. Safety Instruction ......................6 1.3. Declaration of Compliance ..................7 1.4. Technical Support ......................8 Chapter 2 DEBIX SOM A I/O Board Introduction ...............9 2.1. Overview ........................10 2.2. Interface ........................14 2.2.1. Power Interface ....................14 2.2.1.1.
  • Page 4 3.1.2.3. USB Flash ................... 74 3.2. Hardware Installation ....................75 Chapter 4 Software Application Examples ................78 4.1. Usage of Ethernet ..................... 78 4.2. Usage of USB ......................80 4.3. Nor-Flash Verification ....................83 4.4. LED & Key ......................... 85 4 / 104 www.debix.io...
  • Page 5 4.5.3. RS485 ......................92 4.5.4. CAN ........................ 94 4.6. DO/DI .........................96 4.6.1. DO ........................96 4.6.2. DI ........................98 4.7. Mini PCIe ........................99 4.8. I2C ........................... 101 4.9. LVDS BL CTRL ....................... 102 4.10. RTC ........................103 5 / 104 www.debix.io...
  • Page 6: Chapter 1 Security

    Always ground yourself to remove any static electric charge before touching DEBIX product. Modern electronic devices are very sensitive to electric charges. Use a grounding wrist strap at all times. Place all electronic components on a static-dissipative surface or in a static-shielded bag.
  • Page 7: Declaration Of Compliance

    DISCLAIMER: Polyhex disclaims all responsibility for the accuracy of any statement of this instructional document. 1.3. Declaration of Compliance This product has passed the following certifications: Table 2 Compliance Certification Symbol Meaning This equipment has passed CE certified. This equipment is manufactured in compliance with RoHS regulations. 7 / 104 www.debix.io...
  • Page 8: Technical Support

    This equipment has passed C-Tick certified. This equipment is manufactured in compliance with RCM regulations. 1.4. Technical Support 1. Visit DEBIX website https://www.debix.io/ where you can find the latest information about the product. 2. Contact your distributor, sales representative or Polyhex’s customer service center for technical support if you need additional assistance.
  • Page 9: Chapter 2 Debix Som A I/O Board Introduction

    Polyhex Technology Company Limited Chapter 2 DEBIX SOM A I/O Board Introduction DEBIX SOM A IO Board is a carrier board specially designed for DEBIX SOM A, which combining the functions required for industrial control, IoT connection and multimedia. Main features: Feature rich interfaces to take advantage of the i.MX 8M Plus processor to the fullest...
  • Page 10: Overview

    Polyhex Technology Company Limited 2.1. Overview Figure 2 DEBIX SOM A I/O Board Front Figure 3 DEBIX SOM A I/O Board Back 10 / 104 www.debix.io...
  • Page 11 Polyhex Technology Company Limited DEBIX SOM A I/O Board supports all the functions and interfaces on the DEBIX SOM A core board, the data specifications are as follows: Table 3 DEBIX SOM A I/O Board specification System Core Board DEBIX SOM A...
  • Page 12 2) 2 x Programmable Control Indicator ports 3) 1 x ON/OFF port 4) Built-in small key for eMMC upgrade The above share a connector, the connector is 1*6Pin/2.0mm header DC Block 1) 1 x DC socket for 5.5mm x 2.1mm plug 12 / 104 www.debix.io...
  • Page 13 Power Input Default DC 12V power input, support DC 12V~36V wide voltage input Mechanical & Environmental Size (L x W) 146.0mm x 102.0mm Weight 206g Operating 1) Industrial grade: -20°C~70°C Temperature 2) Industrial grade: -40°C~85°C (optional) 13 / 104 www.debix.io...
  • Page 14: Interface

    Polyhex Technology Company Limited 2.2. Interface DEBIX SOM A I/O Board has feature rich I/O interfaces, which can fully unlock the potential of the i.MX 8M Plus processor. Figure 4 DEBIX SOM A I/O Board interfaces 2.2.1. Power Interface 2.2.1.1. Power Interface There are 2 power interfaces (J2, J1) on DEBIX SOM A I/O Board, the voltage range is 12-36V.
  • Page 15 The pin sequence of J1 and J2 is as shown in the figure: Figure 6 Pin sequence of J1&J2 The J2 interface is defined as follows: Table 4 Pin definition of J2 Definition Description DC_IN Voltage input range is 12-36V 15 / 104 www.debix.io...
  • Page 16: Poe

    POE function will be device connected to the Ethernet interface for DC power supply of DEBIX device. Figure 7 POE Interface The pin sequence of J7 and J9 is as shown in the figure: 16 / 104 www.debix.io...
  • Page 17: Ethernet Interface

    POE2_VB2 POE2 power input pin B2 2.2.2. Ethernet Interface DEBIX SOM A implements two Ethernet controllers, both of which can operate synchronously. ENET_QOS (Ethernet Quality of Service) (ETH1), based on Synopsys proprietary,  supports time-sensitive networking (TSN), EEE, Ethernet AVB (IEEE802.1Qav), 17 / 104 www.debix.io...
  • Page 18 Two independent MAC RJ45 Gigabit Ethernet ports on board (ETH1: J8, ETH2: J10), both support POE power supply (POE power supply module is required), connect DEBIX to the network through the network cable of the RJ45 connector, and there is also a set of status indicators below the interface to display the signal, one is Link and the other is Active.
  • Page 19: Usb Interface

    2.2.3. USB Interface 2.2.3.1. USB3.0 There are four USB 3.0 Host A type interfaces (J16, J17) on DEBIX SOM A IO Board, and the connectors are double-layer Type-A interfaces. Among them, three USB 3.0 HOST (H-USB3-1, L-USB3-2, H-USB3-3) are CPU USB ...
  • Page 20 Polyhex Technology Company Limited Figure 12 USB 3.0 silkscreen The pin sequence of USB 3.0 is as shown in the figure: Figure 13 Pin sequence of J16 20 / 104 www.debix.io...
  • Page 21: Usb2.0

    Polyhex Technology Company Limited Figure 14 Pin sequence of J17 2.2.3.2. USB2.0 There are three USB 2.0 interfaces (J18, J19, J20) on DEBIX SOM A I/O Board, the connector is 1*4Pin/2.0mm header. 21 / 104 www.debix.io...
  • Page 22 The pin sequence of USB 2.0 is as shown in the figure: Figure 16 Pin sequence of J18 Figure 17 Pin sequence of J19 Figure 18 Pin sequence of J20 The J18 interface is defined as follows: Table 8 Pin definition of J18 22 / 104 www.debix.io...
  • Page 23: Display Interface

    USB data(-) USB_HUB_DP4 USB data(+) To ground 2.2.4. Display Interface DEBIX SOM A I/O Board supports the following displays: One LCDIF driver for MIPI DSI, up to UWHD and WUXGA  One LCDIF driver for LVDS Tx, up to 1920x1080p60 ...
  • Page 24: Hdmi

    1080p60 + HDMI 4kp30. 2.2.4.1. HDMI There is an HDMI interface (J30) on the DEBIX SOM A I/O Board, and the connector is an A-type HDMI female socket, which is used to connect a monitor, TV or projector. HDMI resolution up to 3840x2160p30.
  • Page 25 Polyhex Technology Company Limited Figure 20 Pin sequence of HDMI The interface is defined as follows: Table 11 Pin definition of HDMI Definition Definition HDMI-TXP2 HDMI-TXN2 HDMI-TXP1 HDMI-TXN1 HDMI-TXP0 HDMI-TXN0 HDMI-TXCP HDMI-TXCN PORT_CEC HDMI_Utility_CN DDC_SCL DDC_SDA VDD5V HDMI_HPD_CN 25 / 104 www.debix.io...
  • Page 26: Lvds

    The purpose of the LVDS display bridge (LDB) is to transmit synchronous RGB data to an external display device through the LVDS interface. DEBIX SOM A I/O Board provides one LVDS output interface (J27) with 2*15Pin/2.0mm header, and driven by LDB to support single or dual LVDS display.
  • Page 27 LVDS0 Differential data channel 0(-) LVDS0_TX0_P LVDS0 Differential data channel 0(+) LVDS0_TX1_N LVDS0 Differential data channel 1(-) LVDS0_TX1_P LVDS0 Differential data channel 1(+) LVDS0_TX2_N LVDS0 Differential data channel 2(-) LVDS0_TX2_P LVDS0 Differential data channel 2(+) To Ground To Ground 27 / 104 www.debix.io...
  • Page 28: Lvds Backlight Control Adjustment Interface

    There is a LVDS backlight control adjustment interface (J29) with 1*6Pin/2.0mm header on the DEBIX SOM A I/O Board. Through this interface, the LVDS backlight can be turned on or off, and the brightness of the backlight can be adjusted.
  • Page 29 Figure 24 Pin sequence of J29 The interface is defined as follows: Table 13 Pin definition of J29 Definition Description DC_IN DC 12-36V DC_IN DC 12-36V LVDS_BL_EN Backlight switch enable port LVDS_BL_PWM Backlight brightness PWM control port To Ground To Ground 29 / 104 www.debix.io...
  • Page 30: Mipi Dsi

    Polyhex Technology Company Limited 2.2.4.4. MIPI DSI There is a MIPI-DSI interface (J28) with 2*10Pin/1.25mm header on the DEBIX SOM A I/O Board, which can be used to connect a MIPI display touch screen. Key features of MIPI DSI include: MIPI DSI complies with MIPI-DSI standard V1.2, compatible with standard specification...
  • Page 31 The pin sequence is as shown in the figure: Figure 26 Pin sequence of MIPI DSI The interface is defined as follows: Table 14 Pin definition of MIPI DSI Definition Description VDD3V3 3.3V input DSI_TP_RST DSI reset 31 / 104 www.debix.io...
  • Page 32: Mipi Csi

    The MIPI CSI-2 controller has the following features: Supports major and minor image formats  YUV420, YUV420(Legacy), YUV420(CSPS), 8-bits and 10-bits YUV422  RGB565, RGB666, RGB888  RAW6, RAW7, RAW8, RAW10, RAW12, RAW14  Support D-PHY up to 4 lanes  Interfaces  32 / 104 www.debix.io...
  • Page 33 Pixel clock can be controlled when no PPI data is coming  There are two MIPI-CSI interfaces (J25, J26) with 2*10Pin/1.25mm header on DEBIX SOM A I/O Board, which is used to connect DEBIX's camera module. When one MIPI-CSI interface is used, the MIPI-CSI interface supports up to 12MP ...
  • Page 34 Description VDD3V3 3.3V input VDD1V8 1.8V input CSI1_CKN CSI Differential Clock Signal Line(-) CSI1_CKP CSI Differential Clock Signal Line(+) To ground To ground CSI1_DN0 CSI Differential data signal line0(-) CSI1_DP0 CSI Differential data signal line 0(+) 34 / 104 www.debix.io...
  • Page 35 To ground To ground CSI2_DN0 CSI Differential data signal line 0(-) CSI2_DP0 CSI Differential data signal line 0(+) CSI2_DN1 CSI Differential data signal line 1(-) CSI2_DP1 CSI Differential data signal line 1(+) To ground CSI2_PWDN Camera enable 35 / 104 www.debix.io...
  • Page 36: Audio Interface

    There is a combined headphone and microphone input interface (J13). The connector is a 3.5mm socket, compatible with the built-in header design, has audio input/output functions, and supports rated voltage 1.5V MIC audio input. Figure 30 Headphone and Mic 36 / 104 www.debix.io...
  • Page 37: Audio Internal Interface

    There is a 2*5Pin audio internal interface (J14), in addition to the internal pins of the headphone and microphone input combination interface (J13), and also leads to an audio input and output, with audio input/output functions. Figure 32 Audio Internal Interface The pin sequence is as shown in the figure: 37 / 104 www.debix.io...
  • Page 38: Speaker Interface

    HP_DET Headphone insertion detection terminal HP_LOUT Headphone left channel output 2.2.6.3. Speaker Interface There is a 1*4Pin left and right speaker output interface (J15). Support dual audio channel  Support 4Ω 3w or 8Ω 1.7W  38 / 104 www.debix.io...
  • Page 39: Spdif Tx/Rx Interface

    Right channel speaker interface Right speaker output Left speaker output Left channel speaker interface Left speaker output 2.2.6.4. SPDIF TX/RX Interface There is a 1*4Pin SPDIF TX/RX interface (J49), which is used to transfer audio signals 39 / 104 www.debix.io...
  • Page 40 Figure 37 Pin sequence of SPDIF TX/RX The interface is defined as follows: Table 19 Pin definition of SPDIF TX/RX Definition Description SPDIF_TX Digital Audio sender SPDIF_RX Digital Audio receiver SPDIF_EXT_CLK Digital Audio Clock Terminal To ground 40 / 104 www.debix.io...
  • Page 41: Mini Pcie

     Mini PCIe expansion module, such as network card, SATA card, serial port card, etc.  Figure 38 Mini PCIe The pin sequence is as shown in the figure: Figure 39 Pin sequence of Mini PCIe 41 / 104 www.debix.io...
  • Page 42 Not used USIM_POWER USIM_DATA MiniPCIe_CLKN USIM_CLK MiniPCIe_CLKP USIM_RESET RF_PWREN LORA1_SCLK LORA1_MISO 4G-DISABLE 4G-RESET MiniPCIe_RXN VDD3P3V MiniPCIe_RXP Not used Not used MiniPCIe_TXN Not used MiniPCIe_TXP 4G_USB_DM 4G_USB_DP VDD3P3V VDD3P3V LEDN Not used LORA2_SCLK Not used LORA2_MISO Not used 42 / 104 www.debix.io...
  • Page 43 VDD3P3V 2.2.8. UART/RS232/RS485 2.2.8.1. UART DEBIX SOM A I/O Board uses serial port 2 as UART TTL 3.3V system debug serial interface (J47), the connector is a 1*4Pin/1.25mm pitch header. NOTE By default, it is used as the DEBUG port for system debugging.
  • Page 44 Default system DEBUG serial port 2 sender /dev/ttymxc1 (default baud rate 115200) DEBUG_RXD Default system DEBUG serial port 2 receiver To ground 2.2.8.2. RS232/RS485 There are six RS232/RS485 interfaces (J31-J36) with 1*5Pin/2.0mm headers, which are compatible with RS232/RS485 without physical isolation. IMPORTANT 44 / 104 www.debix.io...
  • Page 45 The pin sequence of the RS232/RS485 interface (J31-J36) is as shown in the figure: Figure 44 Pin sequence of J31 Figure 45 Pin sequence of J32 Figure 46 Pin sequence of J33 Figure 47 Pin sequence of J34 45 / 104 www.debix.io...
  • Page 46 RS485 differential signal line B /dev/ttyWCH1 SPI_RS232_TXD1 RS232 sender SPI_RS232_RXD1 RS232 receiver RS_GND1 To ground Table 24 Pin definition of J33 Definition Description Device Node RS485_AH2 RS485 differential signal line A /dev/ttyWCH2 RS485_BL2 RS485 differential signal line B 46 / 104 www.debix.io...
  • Page 47 RS232 receiver RS_GND4 To ground Table 27 Pin definition of J36 Definition Description Device Node RS485_AH5 RS485 differential signal line A RS485_BL5 RS485 differential signal line B /dev/ttymxc3 SPI_RS232_TXD5 RS232 sender SPI_RS232_RXD5 RS232 receiver RS_GND5 To ground 47 / 104 www.debix.io...
  • Page 48 Polyhex Technology Company Limited 2.2.9. CAN There are two physically isolated CAN bus interfaces (J23, J24) with 1*3Pin/2.0mm headers on the DEBIX SOM A I/O Board. Figure 50 CAN The pin sequence is as shown in the figure: Figure 51 Pin sequence of J23...
  • Page 49 DO-PCOM, the higher the node DO-PCOM voltage, the higher the DO signal output voltage (compared with the node DO-PCOM, there is a 1~3V voltage drop); When the SOM A signal is high level, the corresponding DO signal output voltage is 0.  49 / 104 www.debix.io...
  • Page 50 Figure 54 Pin sequence of DO The interface is defined as follows: Table 30 Pin definition of DO Definition Description DO_PCOM Isolated Digital Input Power Common DO_1 Digital isolated output 1 DO_2 Digital isolated output 2 DO_3 Digital isolated output 3 50 / 104 www.debix.io...
  • Page 51 When the signal input voltage is 0~3V DC, the corresponding SOM A signal is low  level; When the signal input voltage is 5~30V DC, the corresponding SOM A signal is high  level; Dry contact:  Open state: high level  Short state with GND: low level  51 / 104 www.debix.io...
  • Page 52 Figure 57 Pin sequence of DI The interface is defined as follows: Table 31 Pin definition of DI Definition Description DI_ISO_12V Digital isolated power supply 12V output DI_1 Digital isolated input 1 DI_2 Digital isolated input 2 52 / 104 www.debix.io...
  • Page 53 Circuit schematic of DI interface: Figure 58 Circuit schematic of DI interface 2.2.12. RTC There is a RTC interface (J38) with a 1*2Pin/1.25mm pitch header on board. Figure 59 RTC The pin sequence is as shown in the figure: 53 / 104 www.debix.io...
  • Page 54 There is a I2C touch screen interface (J39) with a 1*6Pin/2.0mm pitch header, which is powered by 3.3V by default (1.8V optional). Figure 61 I2C Touch Screen Interface The pin sequence is as shown in the figure: 54 / 104 www.debix.io...
  • Page 55 To ground 2.2.14. LED & Key There is a extended LED and Key interface (J50) with a 1*6Pin/2.0mm pitch header onboard, Pin2 is the power indicator pin, Pin3 and Pin4 are the programmable control indicator pin. 55 / 104 www.debix.io...
  • Page 56 The interface is defined as follows: Table 34 Pin definition of LED & Key Definition Description DC_IN 12-36V VSYS_3V8 3.8V GPIO_LED1 Pull-down output high level (controlled by GPIO4_IO01) GPIO_LED2 Pull-down output high level (controlled by GPIO4_IO20) 56 / 104 www.debix.io...
  • Page 57 0010-DEBIX SOM A On-board eMMC Boot  0011-DEBIX SOM A I/O Board Micro SD Card Boot  0110-DEBIX SOM A I/O Board SPI Nor Flash boot (reserved)  Warning In order to protect the DIP switch, the following guidelines need to be observed: The yellow tape on the DIP switch needs to be torn off;...
  • Page 58 Micro SD Slot DEBIX SOM A I/O board provides a Micro SD slot (J11), set the DIP switch to "0011" (Micro SD card boot mode), Micro SD card can be used as a system boot card, insert the Micro SD 58 / 104 www.debix.io...
  • Page 59 Polyhex Technology Company Limited card with the system installed here, and then power on DEBIX to start the system in the Micro SD card. Please refer to Setting BOOT Mode by DIP Switch for Micro SD card boot mode. When the DIP switch is set to other modes and the device is power on, the Micro SD card can be used as a standard memory card to save user data.
  • Page 60 2.2.16.2. Micro SIM Slot DEBIX SOM A I/O board provides a Micro SIM slot (J22), which is used to insert a SIM card to provide network connection and data transmission for the 4G module when Mini PCIe is connected to the 4G module.
  • Page 61 The pin sequence is as shown in the figure: Figure 70 Pin sequence of Micro SIM Slot The interface is defined as follows: Table 37 Pin definition of Micro SIM Slot Definition Description Micro SIM power Micro SIM reset 61 / 104 www.debix.io...
  • Page 62 To ground To ground To ground To ground 2.2.17. Built-in/upgrade Button There is a built-in/upgrade button (K1) on the back of DEBIX SOM A I/O Board, which is used for eMMC upgrade. Figure 71 Built-in Key 62 / 104 www.debix.io...
  • Page 63 BOOT_MODE1 level is pulled down to force USB mode boot 2.3. Accessories Cable DEBIX SOM A I/O Board is equipped with 11 types of cables, all of which are 20cm in length, as shown in the following table. For pin definitions, please refer to the detailed description of interface.
  • Page 64 ONOFF blue black DC_IN DC_IN AB20736W-R06-13, LVDS white PH2.0-6A, backlight cable blue 6pin/2.0mm pitch black black USB_5V AB20736W-R04-13, white J18, J19, USB cable PH2.0-4A, green 4pin/2.0mm pitch black yellow SPK signal AB20736W-R04-13, cable PH2.0-4A, green 64 / 104 www.debix.io...
  • Page 65 RTC battery 1.25SMT2PIN, RTC_CELL cable 2Pin/1.25mm pitch black MIC_R yellow MIC_L green white blue AB29266W-R2X5-0 AUDIO audio AGND black 1, 2*5Pin/2.0mm cable AGND black pitch HP_R orange HP_DET gray HP_L purple LVDS cable AB29266W-R2X15- LVDS_VDD 65 / 104 www.debix.io...
  • Page 66 A1_N blue A1_P white A2_N blue A2_P white black black ACLK_N blue ACLK_P white A3_N blue A3_P white B0_N blue B0_P white B1_N blue B1_P white B2_N blue B2_P white black black BCLK_N blue BCLK_P white 66 / 104 www.debix.io...
  • Page 67 MIPI_CSI J25, J26 cable black CSI_PWDN orange AB97524W-R2X10- 01, 2*10Pin/1.25mm blue pitch white blue white black CSI_nRST gray blue white VDD3V3 DSI_RST yellow MIPI_DSI blue cable white black 67 / 104 www.debix.io...
  • Page 68 DSI_EN orange blue white blue white black DSI_PWM gray blue white Chapter 3 Get Started 3.1. Software Installation 3.1.1. Download Image Download the latest system image from the software download page of DEBIX official website; IMPORTANT 68 / 104 www.debix.io...
  • Page 69 The memory version of the image downloaded depends on the memory size of the  DEBIX SOM A core board and must correspond one to one, e.g., if the board’s memory is 4GB, you can only download the image with 4GB DDR Version;...
  • Page 70 Click Flash! Wait patiently and the program will write the system to the Micro SD card; NOTE The system may prompt you that the disk is unavailable and needs to be formatted, please ignore it, it is not an error! 70 / 104 www.debix.io...
  • Page 71 Mode by DIP Switch for Micro SD card boot mode. Insert the Micro SD card into the slot of DEBIX SOM A I/O Board, connect the display and power on, then you can see the boot screen. 3.1.2.2. Boot from eMMC (default) Component Preparation ...
  • Page 72 Card”. Then burn it to eMMC with the following steps: Insert the Micro SD card into DEBIX SOM A I/O board, and power on. The system will automatically write to eMMC through the Micro SD card, this burn process will not be displayed on screen.
  • Page 73 "0011" to start the system from the Micro SD card, and power on. 2) In the Terminal, enter the default username “debix” and password "debix" to enter the command line, and run the following commands (as shown in the figure below):...
  • Page 74 PC; Use USB cable to connect the OTG port of DEBIX SOM A I/O Board to the USB port of PC, set the DIP switch to "0001" or press built-in key, connect the power supply, the system will enter the USB burning mode;...
  • Page 75 Wait for the system burning to finish; when the terminal shows green "Done", it means the burning is finished; After burning, disconnect the power supply and OTG USB cable, make sure the DEBIX is completely powered off, and then connect the power supply to start.
  • Page 76 Peripheral connection: as shown in the figure and the steps are as follows:  Insert the Micro SD card with the system installed: Insert it into the slot on DEBIX SOM A I/O Board; if you need to remove it, just gently pull out the card after power off.
  • Page 77 Polyhex Technology Company Limited Figure 78 77 / 104 www.debix.io...
  • Page 78 Network port 1 (ENET_QOS), bit number: J8, device node: ens33  Enter the system desktop, open a terminal and type the command to query network port ifconfig ens33 Query the speed of network port 1. sudo ethtool ens33 78 / 104 www.debix.io...
  • Page 79 Network port 2 (ENET1) bit number: J10, device node: ens34  Type the command to query network port 2; ifconfig ens34 Query the speed of network port 2. sudo ethtool ens34 The desktop settings for Ethernet (Settings >> Network) are shown below:  79 / 104 www.debix.io...
  • Page 80 Polyhex Technology Company Limited Figure 79 Ethernet desktop setting 4.2. Usage of USB Hardware connection: Connect a USB 2.0 interface to the USB female connector, as shown in the figure below: 80 / 104 www.debix.io...
  • Page 81 Access the U disk in FAT32 format, the system will automatically mount it to the /mnt path. df -h If the U disk is not mounted, you can mount the U disk with the following command:   Query the U disk letter. fdisk -l 81 / 104 www.debix.io...
  • Page 82 Polyhex Technology Company Limited  Mount the U disk. mount /dev/sda1 /mnt Enter the U disk directory. cd /mnt Clear the cache: run before each read and write test command. 82 / 104 www.debix.io...
  • Page 83 There is a Nor-Flash on board, the functions are as follows: Table 40 Nor Flash function node Function Name Capacity Device Node Nor-Flash /dev/mtd0 Enter the system desktop, open a terminal and switch to the root user sudo su Install mtd-utils via the command: 83 / 104 www.debix.io...
  • Page 84 /dev/mtd0 0 10 WriteTo Read verification: mtd_debug read /dev/mtd0 0 10 Readfrom cat Readfrom Erase Verification: NOTE The erase operation will set the Nor-Flash data to 1 and display it in ARCII format, which may be garbled. 84 / 104 www.debix.io...
  • Page 85 Table 41 Description of LED device node Function Name Device Node File Path GPIO_LED1 /sys/devices/platform/gpio-leds/leds/GPIO_LED1 GPIO_LED2 /sys/devices/platform/gpio-leds/leds/GPIO_LED2 The following is an example of GPIO_LED1: Hardware connection: Connect two LEDs and one key to the J50 interface, as shown in the figure below: 85 / 104 www.debix.io...
  • Page 86  GPIO_LED1 outputs low level, LED1 is off. echo 0 > brightness  GPIO_LED1 outputs high level, LED1 is on. echo 1 > brightness 4.4.2. Key DEBIX SOM A I/O Board automatically starts up when powered on. Table 42 Description of KEY function Function Name Status Description When the green light is off, the system enters the sleep state ...
  • Page 87  Connect the GND of the debugging serial port to the GND port of the USB-TTL module Figure 82 Open the Windows Device Manager and check the serial port number of the USB-TTL 3.3V device. 87 / 104 www.debix.io...
  • Page 88 Open MobaXterm, click Sessions on the menu bar, select New session. Figure 84 Select Serial in the pop-up "Session settings" dialog box. Figure 85 Change the port number to the COM port found in the device manager, set the Speed(bps) to 115200, and click OK. 88 / 104 www.debix.io...
  • Page 89 Figure 86 On the terminal, you can see the boot process logs output by Uboot, Kernel, and System. After the system boot is complete, type the default user and password (both debix) on the terminal to enter the serial console.
  • Page 90  Pin5 of J31 is connected to the ground terminal of USB-RS232  USB-RS232 is connected to the onboard USB 3.0 interface Figure 88 Open a Terminal on the DEBIX SOM A and run the following command to install the cutecom serial port tool: sudo apt update...
  • Page 91 Send and receive data via cutecom: Type the test string in the cutecom input box, press Enter to send, you can see that another cutecom receiving box receives the same message, indicating that the communication is successful, and the result is as follows: 91 / 104 www.debix.io...
  • Page 92  Pin1 of J33 is connected to Pin1 of J34 (that is, A to A)  Pin2 of J33 is connected to Pin2 of J34 (that is, B to B) Figure 92 92 / 104 www.debix.io...
  • Page 93 Send and receive data via cutecom: Type the test string in the cutecom input box, press Enter to send, you can see that another cutecom receiving box receives the same message, indicating that the communication is successful, and the result is as follows: 93 / 104 www.debix.io...
  • Page 94 Hardware connection: Connect two CAN interfaces (J23 and J24 for example), as shown in the figure below:  Pin1 of J23 is connected to Pin1 of J24  Pin2 of J23 is connected to Pin2 of J24  Pin3 of J23 is connected to Pin3 of J24 94 / 104 www.debix.io...
  • Page 95 500000 ifconfig can0 up ifconfig can1 down ip link set can1 type can bitrate 500000 ifconfig can1 up candump can0 #(can0 receive data in background) cansend can1 123#1122334455667788 #(can1 send data) 95 / 104 www.debix.io...
  • Page 96 #(can1 receive data in background) cansend can0 123#1122334455667788 #(can0 send data) 4.6. DO/DI 4.6.1. DO Take DO_1 as an example, the current supported by DO_1 is 500mA. Hardware connection: Isolated digital output connection, as shown in the following figure: 96 / 104 www.debix.io...
  • Page 97 GPIO output is high, DO_1 output is low, and the relay is on. echo 1 > brightness NOTE The other DO verification methods are the same, the DOUT_1, DOUT_2, DOUT_3, and DOUT_4 files under /sys/devices/platform/gpio-leds/leds/ correspond to DO_1, DO_2, DO_3, and DO_4 ports respectively. 97 / 104 www.debix.io...
  • Page 98 Figure 98 Enter the GPIO directory: cd /sys/class/gpio Export GPIO, after successful export, it will automatically generate gpio5 directory, where 5 is calculated from GPIO number. As shown in the following figure: echo 5 > export 98 / 104 www.debix.io...
  • Page 99 /dev/sd* (* is automatically generated by the system Mini PCIe SATA Module when the device is inserted, and modified according to the actual situation) The connection of Mini PCIe to 4G module and SATA module are shown in the figure below: 99 / 104 www.debix.io...
  • Page 100 Settings app, select Network to set up the network, and after the IP Address is displayed, ping Ethernet to test the connectivity. For specific verification details, please refer to the Function Examples DEBIX 4G Board User Manual. 100 / 104...
  • Page 101 Mini PCIe interface, and then power on the device. 4.8. I2C I2C4 mounts RTC, EEPROM, and I2C external expansion interface (J39) on DEBIX SOM A I/O Board. The J39 interface can be used for TP, etc. Table 46 Description of I2C mount module...
  • Page 102 4.9. LVDS BL CTRL DEBIX SOM A IO Board defaults to HDMI output. To use LVDS output, you need to open the Add on Board APP in the system desktop, select a suitable LVDS screen, and then restart the system.
  • Page 103 NOTE Parameters 30 and 90 are the PWM duty cycle, and the parameters can be adjusted according to the actual situation. 4.10. RTC Query the current system time: date Query the current RTC time: sudo hwclock 103 / 104 www.debix.io...
  • Page 104 Modify the current system time: sudo date -s “2022-12-08 8:45:00” Write the system time to RTC: sudo hwclock -w sudo hwclock #Check the RTC time Write the RTC time to system: sudo hwclock -s date #Check the system time 104 / 104 www.debix.io...

This manual is also suitable for:

Som a

Table of Contents