DEBIX C Single Board Computer User Guide

C Single Board Computer

Product Information

Specifications

  • Model: DEBIX Model C
  • Version: V1.5
  • Manufacturer: Polyhex Technology Company Limited
  • Website: www.polyhex.net

Product Usage Instructions

Chapter 1: Security

1.1 Safety Precaution

Follow safety guidelines provided in the user manual to ensure
safe operation of the device.

1.2 Safety Instruction

Refer to safety instructions outlined in the user manual before
using the product.

Chapter 2: DEBIX Model C Introduction

2.1 Overview

The DEBIX Model C is a cutting-edge device designed for various
applications.

2.2 Composition

Understand the components that make up the DEBIX Model C for
efficient use.

2.3 Interface

2.3.1 Power Interface

Connect the power source to the designated power interface as
per the user manual.

2.3.2 USB Interface

Utilize the USB interface for data transfer and connectivity
with external devices.

2.3.3 Ethernet Interface

Connect to a network using the Ethernet interface for internet
access and data sharing.

FAQ

Q: How do I update the supported operating system version?

A: Refer to the user manual section detailing the process for
updating the supported OS version.

Q: What should I do in case of technical issues?

A: Contact the provided technical support information for
assistance with troubleshooting.

Polyhex Technology Company Limited
DEBIX Model C User Guide
Version: V1.52025-03 Compiled by: Polyhex Technology Company Limitedhttp://www.polyhex.net/
DEBIX Model C is the first DEBIX single board computer to feature the NXP i.MX 93, a low-power processor rating up to 1.7GHz with only 1 watt of power at full load consumption, and the Arm EthosTM-U65 microNPU enables developers to create more capable ML applications. Engineered to deliver a more energy-efficient and cost-effective solutions for intelligent edge computing, DEBIX Model C provides multiple extensible interfaces for IoT edge, contactless HMI, smart home, building control and industrial applications.

www.debix.io

Figure 1 DEBIX Model C

1 / 56

Polyhex Technology Company Limited

Rev. 1.0 1.1 1.2
1.3
1.4 1.5

REVISION HISTORY

Date

Description

2023.08.29 First edition

2024.04.19 Added 4.7.Usage of Display and 4.8.Usage of Camera.
Revised 4.7.Usage of Display: updated the display model, and 2024.08.16
modified the pin connection instructions.

1. Updated the supported OS version in the specifications 2025.01.14 table
2. Updated the technical support contact information

2025.01.23 Revised the supply voltage options of LVDS

2025.03.07 Revised the part of 3.1.2 System Boot and optimized content

www.debix.io

2 / 56

Polyhex Technology Company Limited

INDEX

REVISION HISTORY ………………………………………………………………………………………………….. 2

INDEX ………………………………………………………………………………………………………………………..3

Chapter 1 Security …………………………………………………………………………………………………… 6

1.1. Safety Precaution ……………………………………………………………………………………….6

1.2. Safety Instruction ……………………………………………………………………………………….6

1.3. Declaration of Compliance ……………………………………………………………………….. 7

1.4. Technical Support ……………………………………………………………………………………… 8

Chapter 2 DEBIX Model C Introduction ………………………………………………………………… 10

2.1. Overview ………………………………………………………………………………………………….. 11

2.2. Composition ……………………………………………………………………………………………..14

2.3. Interface ……………………………………………………………………………………………………14

2.3.1. Power Interface ………………………………………………………………………………14

2.3.2. USB Interface ………………………………………………………………………………….15

2.3.3. Ethernet Interface …………………………………………………………………………. 16

2.3.4. Display Interface ……………………………………………………………………………. 17

2.3.4.1. LVDS Interface ………………………………………………………………………17

2.3.4.2. MIPI DSI ……………………………………………………………………………….. 19

2.3.5. MIPI CSI ………………………………………………………………………………………….. 21

2.3.6. Audio ……………………………………………………………………………………………… 25

2.3.7. GPIO ………………………………………………………………………………………………..26

www.debix.io

3 / 56

Polyhex Technology Company Limited

2.3.8. LED & Key ………………………………………………………………………………………. 27

2.3.9. DIP Switch ……………………………………………………………………………………….28

2.3.10. Slot ………………………………………………………………………………………………..29

2.4. Packing List ……………………………………………………………………………………………….30

Chapter 3 Get Started …………………………………………………………………………………………….31

3.1. Software Installation ……………………………………………………………………………….. 31

3.1.1. Download Image …………………………………………………………………………….31

3.1.2. System Boot ……………………………………………………………………………………31

3.1.2.1. Flashing Micro SD Image …………………………………………………….. 32

3.1.2.2. Flashing eMMC Image ………………………………………………………….34

3.2. Hardware Installation ……………………………………………………………………………… 36

Chapter 4 Software Application Examples …………………………………………………………….37

4.1. Switch Boot Mode …………………………………………………………………………………….37

4.2. Usage of Ethernet ……………………………………………………………………………………. 38

4.3. Usage of WiFi …………………………………………………………………………………………… 40

4.4. Usage of BT ……………………………………………………………………………………………… 42

4.5. Usage of Audio ………………………………………………………………………………………… 43

4.6. Usage of USB …………………………………………………………………………………………… 44

4.7. Usage of Display ……………………………………………………………………………………….47

4.8. Usage of Camera ………………………………………………………………………………………51

4.9. ADC IN Verification ………………………………………………………………………………….. 52

www.debix.io

4 / 56

Polyhex Technology Company Limited
4.10. LED & Key ………………………………………………………………………………………………. 53 4.11. Usage of GPIO ……………………………………………………………………………………….. 53 4.12. Heat Dissipation ……………………………………………………………………………………..56

www.debix.io

5 / 56

Chapter 1 Security

Polyhex Technology Company Limited

1.1. Safety Precaution

This document inform how to make each cable connection. In most cases, you will

simply need to connect a standard cable.

Table 1 Terms and conventions

Symbol

Meaning

Warning! Caution!

Always disconnect the power cord from the chassis whenever there is no workload required on it. Do not connect the power cable while the power is on. Sudden power surges can damage sensitive electronic components. Only experienced electricians should open the chassis.
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.

1.2. Safety Instruction
To avoid malfunction or damage to this product please observe the following:
1Disconnect the device from the DC power supply before cleaning. Use a damp cloth. Do not use liquid detergents or spray-on detergents. 2Keep the device away from moisture.
3During installation, set the device down on a reliable surface. Drops and bumps will lead to damage. 4Before connecting the power supply, ensure that the voltage is in the required range, and the way of wiring is correct. 5Carefully put the power cable in place to avoid stepping on it.
6If the device is not used for a long time, power it off to avoid damage caused by 6 / 56
www.debix.io

Polyhex Technology Company Limited
sudden overvoltage.
7Do not pour liquid into the venting holes of the enclosure, as this could cause fire or electric shock. 8For safety reasons, the device can only be disassembled by professional personnel.
9If one of the following situations occur, get the equipment checked by service personnel:
The power cord or plug is damaged. Liquid has penetrated into the equipment. The equipment has been exposed to moisture. The equipment does not work well, or you cannot get it to work according to
the user’s manual. The equipment has been dropped and damaged. The equipment has obvious signs of breakage.
10Do not place the device outside the specified ambient temperature range. This will damage the machine. It needs to be kept in an environment at controlled temperature. 11Due to the sensitive nature of the equipment, it must be stored in a restricted access location, only accessible by qualified engineer.
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.

www.debix.io

7 / 56

Polyhex Technology Company Limited
This equipment is manufactured in compliance with RoHS regulations. This equipment has passed UKCA certified. This equipment has passed FCC certified. This equipment has passed PSE certified. 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.
Quick Links
Debix Documentation: https://debix.io/Document/manual.html Debix Blog: https://debix.io/Software/blog.html Debix GitHub: https://github.com/debix-tech 2. Contact your distributor, sales representative or Polyhex’s customer service center for
technical support if you need additional assistance. Please have the following info ready before you call: Product name and memory size Description of your peripheral attachments

www.debix.io

8 / 56

Polyhex Technology Company Limited
Description of your software(operating system, version, application software, etc.) A complete description of the problem The exact wording of any error messages
TechSupport Platforms
Discord Community (recommended): https://discord.com/invite/adaHHaDkH2 Email: teksupport@debix.io

www.debix.io

9 / 56

Polyhex Technology Company Limited
Chapter 2 DEBIX Model C Introduction
DEBIX Model C is based on an NXP i.MX 93 single-board computer that integrates two Arm® Cortex®-A55 cores, an Arm Cortex-M33 core, and an Arm® EthosTM-U65 Neural Processing Unit (NPU) to provide high performance, low power consumption, multiple power modes, and advanced security. It is widely used in machine vision and machine learning, smart city, IoT gateway, edge computing, and security.
Main features: Powerful Dual Core Arm® Cortex® -A55 processor at up to 1.7 GHz with integrated
NPU to accelerate machine learning inference; General-purpose Arm® Cortex®-M33 at rates up to 250 MHz for real-time and
low-power processing; Arm EthosTM-U65 microNPU to bring MCU-level ML efficiency; Dual 1 Gbps Ethernet controllers drive low latency for gateway applications, one of
which supports Time Sensitive Networking (TSN); Compatible with DEBIX PoE module, Camera 200A/500A and DEBIX 5″/7″/8″/10.1″
LCD monitors; Supports system switching between Ubuntu 22.04 Server, Yocto-L6.1.36 and Debian
12 Server. Supports cooperative work on FreeRTOS and Linux dual systems.

www.debix.io

10 / 56

2.1. Overview

Polyhex Technology Company Limited

Figure 2

Figure 3

DEBIX Model C uses NXP i.MX 93 Plus based Soc, supports Gigabit Ethernet, 2.4GHz &

5GHz dual-band wireless network and Bluetooth 5.2, etc. The data specifications are as

below:

Table 3 DEBIX Model C Specification

System

CPU

NXP i.MX9352 (i.MX 93 series CPU optional),

www.debix.io

11 / 56

Polyhex Technology Company Limited

2 x Arm® Cortex®-A55 @1.7 GHz,

1 x Arm Cortex-M33 @250 MHz,

Arm® EthosTM U-65 microNPU @0.5 TOPS

Memory

1GB LPDDR4 (2GB optional)

Micro SD Card (8GB/16GB/32GB/64GB/128GB/256GB optional)

Storage

Onboard eMMC (8GB/16GB/32GB/64GB/128GB/256GB

optional)

OS

Ubuntu 22.04 Server, Yocto-L6.1.36, Debian 12 Server

Nor Flash (Default)

Boot Mode

Micro SD card

eMMC

Communication

Gigabit Network

2 x 10/100/1000M Ethernet interfaces 1 x Gigabit Ethernet port, support TSN and POE power supply (need POE power supply module) 1 x Gigabit Ethernet port (POE power supply is not

supported)

Wi-Fi & BT

2.4GHz & 5GHz WiFi IEEE 802.11a/b/g/n, BT 5.2, external Wi-Fi SMA antenna connector

Video & Audio

LVDS

1 x 720p60 LVDS output, single channel 8 bit, 2 x 10 Pin double-row headers

MIPI DSI

1 x 1080p60 MIPI DSI, support 4-lane, 24Pin 0.5mm Pitch FPC socket

MIPI CSI

1 x 1080p60 MIPI CSI, support 2-lane, 24Pin 0.5mm Pitch FPC socket

Audio

1 x 3.5mm headphone and microphone combo port

External I/O Interface www.debix.io

12 / 56

Polyhex Technology Company Limited

2 x USB 2.0 Host, the connector is double layer Type-A

interface

USB

1 x USB 2.0 OTG, the connector is Type-C interface

1 x USB 2.0 PWR, the connector is Type-C interface for DC 5V

power input

40-Pin

1 x I2C, 2 x USB 2.0 Host, 4 x 12bit ADC in, 1 x UART Debug Default 6 x GPIO, which can be configured to PWM, UART, SPI,

Double-Row Headers

I2C, CAN via software 5V power input/output, 1.8V/3.3V@300mA power output,

system reset, ON/OFF

LED & Key

1 x ACT LED (Green) 1 x PWR LED (Red and Blue) 1 x ON/OFF Key 1 x Reset Key

DIP Switch

1 x DIP Switch 3

Slot

1 x Micro SD slot

Power Supply

Power Input

Default DC 5V/2A power input, the connector is Type-C interface

Mechanical & Environmental

Size (L x W)

85.0mm x 56.0mm (±0.5mm)

Weight

43g (±0.5g)

Operating Temp.

Industrial grade: -20°C~70°C Industrial grade: -40°C~85°C (Wide temperature optional)

www.debix.io

13 / 56

Polyhex Technology Company Limited
2.2. Composition
DEBIX Model C consists of a range of different computer components. The most important component is the “brain” of the computer, the system-on-chip (SoC) in the center of the motherboard. The SoC contains most of the components of the computer, often containing both the central processing unit (CPU) and the graphics processing unit (GPU). DEBIX Model C has Random Memory (RAM), eMMC (reserved), WiFi Bluetooth module that contains the wireless communication components, and the PMIC (PCA9451AHN) that manages the power devices of the host machine, as shown in the following figure:

Figure 4 DEBIX Model C
2.3. Interface
2.3.1. Power Interface DEBIX Model C provides a USB Type-C power interface (J12) with default DC 5V/2A voltage.

www.debix.io

14 / 56

Polyhex Technology Company Limited

Figure 5 Power Interface
2.3.2. USB Interface DEBIX Model C has two USB controllers and PHY, supports USB 2.0. 2 x USB 2.0 Host with double layer Type-A interface (J13) 2 x USB 2.0 with Type-C interface, one is to DC 5V power input, and one is a OTG
interface (J11) which can be used for programming, system updating, or USB drive & hard disk connecting etc.

www.debix.io

Figure 6 OTG and USB 2.0 Host

15 / 56

Polyhex Technology Company Limited
2.3.3. Ethernet Interface DEBIX Model C implements two Ethernet controllers, both of which can operate synchronously. There are two Gigabit Ethernet interfaces onboard, both of which are independent MAC Gigabit Ethernet port: One independent MAC Gigabit Ethernet port (J4), supports POE power supply (need
POE power supply module): ENET_QOS (Ethernet Quality of Service) (ETH1), based on Synopsys proprietary, supports time-sensitive networking (TSN), EEE, Ethernet AVB (IEEE802.1Qav), IEEE1588. One independent MAC Gigabit Ethernet port (J5): ENET1 (ETH2), Gigabit Ethernet controller, supports EEE, Ethernet AVB (IEEE802.1Qav), IEEE1588 time stamp module, the time stamp module is distributed control for industrial automation applications nodes provide accurate clock synchronization. Connect DEBIX Model C to the network through the network cable of the RJ45 connector, and a set of status indicators below the interface to display the status signal, green indicator is Link and yellow indicator is Active.

Figure 7 Ethernet Interface

Table 4 Description of Gigabit Ethernet Port Status Indicator

LED

Color

Description

Link

Light, the network cable is plugged in, network connection status is

Green

good

Active

Yellow

Blinking, network data is being transmitted

www.debix.io

16 / 56

Polyhex Technology Company Limited
2.3.4. Display Interface
2.3.4.1. LVDS Interface
The LVDS display bridge (LDB) connects to an External LVDS Display Interface. The purpose of the LDB is to support flow of synchronous RGB data to external display devices through the LVDS interface. DEBIX Model C provides one 2 x 10Pin LVDS display output interface (J8) driven by LDB to support single LVDS display. Supports FPD link. Single channel (4 lanes) 80MHz pixel clock and LVDS clock output. It supports
resolutions up to 1366x768p60 or 1280x800p60. Supports VESA and JEIDA pixel mapping. Supports LVDS Transmitter with four 7-bit channels. Each channel sends the 6 pixel
bits and one control signal at 7 times the pixel clock rate. The data and control signals are transmitted over an LVDS link.

Figure 8 LVDS Interface
The pin sequence is as shown in the figure:
www.debix.io

17 / 56

Polyhex Technology Company Limited

Figure 9 Pin sequence of LVDS

The interface is defined as follows:

Table 5 Pin definition of LVDS

Pin

Definition

Description

1

VDD_LVDS

Default 5V (3.3V,5V optional)

2

VDD_LVDS

Default 5V (3.3V,5V optional)

3

VDD_LVDS

Default 5V (3.3V,5V optional)

4

GND

To Ground

5

GND

To Ground

6

GND

To Ground

7

LVDS_TX0_N

LVDS0 Differential data channel 0 (-)

8

LVDS_TX0_P

LVDS0 Differential data channel 0 (+)

9

LVDS_TX1_N

LVDS0 Differential data channel 1 (-)

10

LVDS_TX1_P

LVDS0 Differential data channel 1 (+)

11

LVDS_TX2_N

LVDS0 Differential data channel 2 (-)

12

LVDS_TX2_P

LVDS0 Differential data channel 2 (+)

13

GND

To Ground

14

GND

To Ground

15

LVDS_CLK_N

LVDS Clock differential signal path (-)

16

LVDS_CLK_P

LVDS Clock differential signal path (+)

www.debix.io

18 / 56

17

LVDS_TX3_N

18

LVDS_TX3_P

19

Not used

20

Not used

Polyhex Technology Company Limited
LVDS Differential data channel 3 (-) LVDS Differential data channel 3 (+) –

2.3.4.2. MIPI DSI
DEBIX Model C provides a MIPI DSI interface (J6) with a 24Pin/0.5mm Pitch FPC socket connector, which can be used to connect a MIPI display touch screen. Key features of MIPI DSI include: MIPI DSI compliant with MIPI-DSI specification V1.2 and MIPI-DPHY specification v1.2 Maximum resolution limited to resolutions achievable with a 200MHz pixel clock and
active pixel rate of 140Mpixel/s with 24-bit RGB. This includes resolutions such as: 1080p60 or 1920x1200p60 Support up to 4 Tx data lanes (plus 1 Tx clock lane) Support 80Mbps – 1.5Gbps data rate per lane in high speed operation Support 10Mbps data rate in low power operation

Figure 10
The pin sequence is as shown in the figure:
www.debix.io

19 / 56

Polyhex Technology Company Limited

Figure 11 Pin sequence of MIPI DSI

The interface is defined as follows:

Table 6 Pin definition of MIPI DSI

Pin

Definition

Description

1

VDD_5V

5V output

2

VDD_3V3

3.3V output

3

VDD_1V8

1.8V output

4

DSI_BL_PWM

Backlight control signal

5

DSI_EN

LCD enable signal

6

DSI_TP_nINT

touch interrupt pin

7

DSI_I2C_SDA

Touch the clock terminal of I2C (controlled by I2C2)

8

DSI_I2C_SCL

Touch the clock terminal of I2C (controlled by I2C2)

9

DSI_TS_nRST

IO control pin

10

GND

To Ground

11

DSI_DN0

DSI Differential data channel 0 (-)

12

DSI_DP0

DSI Differential data channel 0 (+)

www.debix.io

20 / 56

13

GND

14

DSI_DN1

15

DSI_DP1

16

GND

17

DSI_CKN

18

DSI_CKP

19

GND

20

DSI_DN2

21

DSI_DP2

22

GND

23

DSI_DN3

24

DSI_DP3

25

GND

26

GND

Polyhex Technology Company Limited
To Ground DSI Differential data channel 1 (-) DSI Differential data channel 1 (+) To Ground DSI Differential Clock Channels (-) DSI Differential Clock Channels (+) To Ground DSI Differential data channel 2 (-) DSI Differential data channel 2 (+) To Ground DSI Differential data channel 3 (-) DSI Differential data channel 3 (+) To Ground To Ground

2.3.5. MIPI CSI DEBIX Model C has a MIPI CSI-2 Host controller. This controller implements the protocol functions defined in the MIPI CSI-2 specification, allowing camera sensor communication consistent with MIPI CSI-2. The MIPI CSI-2 controller has the following features: PHY-Protocol Interface (PPI) Pattern Generator with programmable packet-to-packet
time Configurable pipeline interface (1 pipeline stage) between the PHY and MIPI CSI-2
controller Support for automatic D-PHY integration in non-automotive configurations Programmable value for the number of synchronization stages used for Clock

www.debix.io

21 / 56

Polyhex Technology Company Limited

Crossing Domain (CDC) Image Pixel Interface (IPI)
Two operating modes: Camera Timing – The frame timing signals, and the vertical or horizontal

synchronism are generated based on the synchronization of Short Packets

received from the sensor. Controller Timing – The frame timing signals are generated based on the IPI

registers. Generates pixel stream in two different modes:
48-Bit 16-Bit Supports several data formats: RGB YUV RAW User defined Embedded data (when operating in Camera Timing mode and only with RAW

image data) Data decoding based on configurable data type Additional pins that provide useful information:
End-of-Line indication Number of valid pixels/bytes transmitted per clock cycle First and Last Data Valid Indications End-of-Frame indication Possibility to flush IPI memory (automatically or manually) Possibility to ignore Frame Start as a synchronization event Possibility to select Packets used for IPI Synchronism Events Possibility to reduce memory requirements, down to the minimum FIFO depth

www.debix.io

22 / 56

Polyhex Technology Company Limited of 32 Back-pressure mechanism There is a MIPI CSI interface (J7) on board, with a 24Pin/0.5mm Pitch FPC socket connector for connecting DEBIX camera module. Data transfer rates up to 1.5 Gbps per channel.
Figure 12 MIPI CSI
The pin sequence is as shown in the figure:

Figure 13 Pin sequence of MIPI CSI
The interface is defined as follows:
www.debix.io

23 / 56

Table 7 Pin definition of MIPI CSI

Pin

Definition

1

VDD_5V

2

VDD_3V3

3

VDD_1V8

4

CSI_PWDN

5

CSI_nRST

6

CSI_SDA

7

CSI_SCL

8

CSI_SYNC

9

CSI_MCLK

10

GND

11

CSI1_DN0

12

CSI1_DP0

13

GND

14

CSI1_DN1

15

CSI1_DP1

16

GND

17

CSI1_CKN

18

CSI1_CKP

19

GND

20

Not used

21

Not used

22

GND

23

Not used

24

Not used

25

GND

www.debix.io

Polyhex Technology Company Limited

Description 5V output 3.3V output 1.8V output CSI low power mode CSI reset signal CSI data signal CSI clock signal CSI synchronization signal CSI external clock input To Ground CSI Differential data channel 0 (-) CSI Differential data channel 0 (+) To Ground CSI Differential data channel 1 (-) CSI Differential data channel 1 (+) To Ground CSI Differential Clock Channels (-) CSI Differential Clock Channels (+) To Ground To Ground To Ground

24 / 56

26

GND

Polyhex Technology Company Limited
To Ground

2.3.6. Audio DEBIX Model C provides a combined headphone and microphone input interface (J3), the connector is 3.5mm socket, with audio in/out function, and supports rated voltage 1.5V MIC audio input.

NOTE

Figure 14 Audio

DEBIX uses MIC and only supports four-segment headphones. The definition is shown in the following figure, which includes left channel, right channel, GND, and MIC recording. It is necessary to connect to the DEBIX audio interface according to the GND and MIC connection lines for normal use.

www.debix.io

Figure 15 Definition of four-segment headphones

25 / 56

Polyhex Technology Company Limited
2.3.7. GPIO DEBIX Model C has a set of 2*20Pin/2.0mm GPIO interface (J1), which can be used for external hardware such as LED, button, sensor, function modules, etc. The voltage of I2C, UART (default for Debug), CAN, SPI, GPIO pin is 3.3V. The voltage of ADC IN is 1.8V. 5V pins (pin6, pin8) can be used to power to DEBIX Model C or peripherals.
Figure 16 40Pin
The pin sequence is as shown in the figure:

Figure 17 Pin sequence of J1
The interface is defined as follows:
www.debix.io

26 / 56

Polyhex Technology Company Limited

Table 8 Pin definition of GPIO

Pin

Definition

Pin

Definition

1

POE_VA1

2

POE_VA2

3

POE_VB1

4

POE_VB2

5

GND

6

DC5V_IN

7

GND

8

DC5V_IN

9

UART1_RXD

10

SW_VDD5V

11

UART1_TXD

12

VDD_3V3

13

I2C1_SCL

14

VDD_1V8

15

I2C1_SDA

16

ONOFF

17

GPIO1_IO08

18

SYS_nRST

19

GPIO1_IO09

20

GND

21

GPIO2_IO15

22

ADC_IN0

23

GPIO2_IO14

24

ADC_IN1

25

GPIO2_IO13

26

ADC_IN2

27

GPIO2_IO12

28

ADC_IN3

29

GND

30

GND

31

USB20_5V_34

32

USB20_5V_34

33

USB_HUB_DM3

34

USB_HUB_DM4

35

USB_HUB_DP3

36

USB_HUB_DP4

37

GND

38

GND

39

GND

40

GND

For detailed GPIO function MUX, please refer to “GPIO Pin Multiplexing Function List” from

DEBIX Model C Documents.

2.3.8. LED & Key DEBIX Model C has two LED indicators and two Keys. LED
www.debix.io

27 / 56

Polyhex Technology Company Limited

1 x ACT LED (Green) 1 x Power LED (Red and Blue) Key 1 x ON/OFF Key 1 x Reset Key

The specific states are described in the following table:

Table 9 Description of LED & Key

Function Name

Status

Description

Lighting Power LED
off LED
Blinking ACT LED
off

Power is on, and red & blue light Power is off, and red & blue change to red, until off System is normal System fault

Short press

Sleep/Wake

ON/OFF Key

Key

Long press

Power off/on

RESET Key

Press

System reset

2.3.9. DIP Switch There is a dip-switch combination, which is used to determine the BOOT startup mode. There are three switches in total, and each switch has the two states of ON/OFF. By default, the switch is turned ON. Four BOOT startup modes as follows: 001-USB burning mode 010-eMMC Boot 011-Micro SD Card Boot 100-SPI Nor Flash boot

www.debix.io

28 / 56

Polyhex Technology Company Limited

Figure 18 DIP Switch

The selected boot mode is shown in the table below:

Table 10 DIP switch set boot mode

Mod

e

USB

eMMC

Micro SD

Switch

Nor Flash

SW state setting

Note: The switch is facing up, it is ON state, the switch is facing down, it is OFF state.

2.3.10. Slot DEBIX Model C provides a Micro SD slot (J2), Micro SD card boot mode by default, Micro SD card can be used as a system boot card, insert the Micro SD card with the system installed here, and then power on DEBIX to start the system in the Micro SD card. The Micro SD card can also be used as a standard memory card to save user data.

www.debix.io

29 / 56

Polyhex Technology Company Limited
Figure 19 Micro SD Card Slot
2.4. Packing List
DEBIX Model C (without eMMC by default)

www.debix.io

30 / 56

Polyhex Technology Company Limited
Chapter 3 Get Started
3.1. Software Installation
3.1.1. Download Image 1. Download the latest system image from the software download page of DEBIX
official website; IMPORTANT
The boot type of the image downloaded depends on which boot mode image you choose to install, and whether or not the board contains eMMC, etc. For example, if you need to install an image with eMMC boot mode, and the board has an eMMC module, you can choose the image name with (boot from eMMC).
2. If the downloaded image file is a zip file, you need to decompress it into an .img file; 3. Write the .img file into the Micro SD card by balenaEtcher tool.
3.1.2. System Boot The DEBIX Model C motherboard defaults to NOR Flash boot. To enable NOR Flash boot, set the DIP switch to “100”. Upon successful NOR Flash initialization, the system loads the U-Boot bootloader. At this point, the user may select the boot modes (SD card boot or eMMC boot). Note: The SD card boot image and eMMC boot image do not contain Uboot files by default. Therefore, if the DIP switch is set to “011” or “010”, the motherboard cannot be started.

www.debix.io

31 / 56

Polyhex Technology Company Limited

3.1.2.1. Flashing Micro SD Image
Component Preparation DEBIX Model C Micro SD card, and card reader DC 5V/2A power adapter PC (windows 10/11)
Installing Micro SD Card Image Click [Boot from SD Card] to download the Micro SD card image for DEBIX Model C from software download page on your PC.

www.debix.io

32 / 56

Polyhex Technology Company Limited
Figure 20
1. Install and open the Etcher tool on your PC, insert the Micro SD card, select the img file to be installed and the disk partition corresponding to the Micro SD card;

Figure 21
2. Click [Flash!] Wait patiently and the program will write the system to the Micro SD

www.debix.io

33 / 56

Polyhex Technology Company Limited
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! 3. When Flash Complete! appears, it means the system has been successfully
programmed to the Micro SD card;

Figure 22
3.1.2.2. Flashing eMMC Image Component Preparation DEBIX Model C Micro SD card, and card reader DC 5V/2A power adapter
www.debix.io

34 / 56

PC (windows 10/11)

Polyhex Technology Company Limited

Installing eMMC Image IMPORTANT
For the default configuration, you need to select an eMMC module when purchasing.
Click [Boot from eMMC] to download the eMMC image for DEBIX Model C from software download page.

Figure 23
1. Write the downloaded system image to the Micro SD card according to the steps 1-3 operation of “Installing Micro SD Card Image”.
2. Insert the Micro SD card into DEBIX Model C and power on. After booting, the system will automatically write to eMMC through the Micro SD card. When burning, the green LED on the motherboard will flash quickly, please wait. When the green LED changes from fast flash to slow flash, that is, the programming is complete.

www.debix.io

35 / 56

Polyhex Technology Company Limited
3.2. Hardware Installation
Hardware connections are made as shown in the diagram and the steps are as follows: 1. Insert the Micro SD card with the system installed: Insert it into the slot on the
back of DEBIX Model C; if you need to remove it, just gently pull out the card after power off. 2. Connect the LVDS screen 3. Connect the keyboard 4. Connect the mouse 5. Connect the network cable 6. Connect the power adapter: Plug in the power supply, DEBIX Model C will power on, and the power indicator light (red and blue) of motherboard will be on, and system indicator light (green) will be blinking.

www.debix.io

Figure 24 Hardware connection

36 / 56

Polyhex Technology Company Limited
Chapter 4 Software Application Examples
4.1. Switch Boot Mode
IMPORTANT
The UEFI selection timeout is 3s, if no selection is made within this period, it will automatically enter the last selected system.
When DEBIX Model C has eMMC and Micro SD card, and both contain systems, you can switch the boot mode in the following way: 1. Select the boot mode through the serial port, when “select: SD boot” appears, you
can select it via the direction control key and press Enter to finish the selection. There are 4 options: select: SD boot select: emmc boot select: Reboot select: About 2. After entering the system, select the boot mode via Debix_boot command: For example, both Micro SD card and eMMC can be installed with yocto system, type the number to select as below:

www.debix.io

37 / 56

Polyhex Technology Company Limited
4.2. Usage of Ethernet
Network port 1 (ENET_QOS), bit number: J4, device node: eth0, device silkscreen: ETH-1
1. Enter the system desktop, open a terminal and type the command to query network port 1;
ifconfig eth0
2. Query the speed of network port 1; ethtool eth0

www.debix.io

38 / 56

Polyhex Technology Company Limited

Network port 2 (ENET1), bit number: J5, port number: eth1, device silkscreen: ETH-2 1. Type the command to query network port 2;
ifconfig eth1

2. Query the speed of network port 2; ethtool eth1
www.debix.io

39 / 56

Polyhex Technology Company Limited

3. Check the network connection status via ping command. ping 192.168.1.1

4.3. Usage of WiFi
WiFi device node for DEBIX Model C: wlan0. 1. Unplug the network cable and connect to WiFi (name: polyhex_mi) via the command:

www.debix.io

40 / 56

connmanctl enable wifi scan wifi services agent on connect xxx_psk

Polyhex Technology Company Limited #connect available wifi name, type wifi password

2. Query the WiFi network port ifconfig wlan0
www.debix.io

41 / 56

Polyhex Technology Company Limited 3. Check the WiFi network connection status via ping command.
ping 192.168.1.1

4.4. Usage of BT
Bluetooth device node for DEBIX Model C: hci0. 1. Enter the system desktop, open a terminal and type the command to query BT
device; hciconfig

2. Start bluetooth and match bluetooth.

hciconfig hci0 up bluetoothctl power on agent on default-agent scan on pair yourDeviceMAC

#Match the Bluetooth MAC address of the device

www.debix.io

42 / 56

Polyhex Technology Company Limited

4.5. Usage of Audio
Type the command to record for 10 seconds: arecord -d 10 -f cd -r 44100 -c 2 -t wav test5.wav
www.debix.io

43 / 56

Tyoe the command to play audio: aplay test5.wav

Polyhex Technology Company Limited

4.6. Usage of USB
1. 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

www.debix.io

44 / 56

Polyhex Technology Company Limited

Mount the U disk. mount /dev/sda1 /mnt
2. Enter the U disk directory.
www.debix.io

45 / 56

cd /mnt ls

Polyhex Technology Company Limited

3. Clear the cache: run before each read and write test command.

sh -c “sync && echo 3 > /proc/sys/vm/drop_caches”

4. Test write speed.

sh -c “sync && echo 3 > /proc/sys/vm/drop_caches” dd if=/dev/zero of=cc bs=400M count=1

#Clear the cache

5. Test read speed. sh -c “sync && echo 3 > /proc/sys/vm/drop_caches” dd if=./cc of=/dev/null bs=400M count=1

#Clear the cache

www.debix.io

46 / 56

Polyhex Technology Company Limited

4.7. Usage of Display

The three screens supported by DEBIX Model C are as follows:

Table 11 Display Screen supported by DEBIX Model C (Touchscreen with USB interface)

No. Screen Type

Specification Address

1

DEBIX TD050A

https://debix.io/Uploads/Temp/file/20240724/DEBIX%20TD0

800×480 5-inch LVDS display 50A.pdf

2

DEBIX TD070A

https://debix.io/Uploads/Temp/file/20240724/DEBIX%20TD0

1024×600 7-inch LVDS display 70A.pdf

www.debix.io

47 / 56

Polyhex Technology Company Limited 1. Usage of DEBIX TD070A 1024×600 7-inch LVDS screen 1) Component Preparation: LVDS screen cable, DEBIX Model C, LVDS screen, as
shown in the figure below:
Figure 25
2) Plug the double-row female header of LVDS screen cable to LVDS interface (J8) of DEBIX Model C, the red line should be connected to Pin1, Pin2; as for the sole 2Pin blue and white line, the blue line is connected to Pin27 of GPIO (J1), the white line is connected to Pin25 of GPIO (J1).

www.debix.io

Figure 25 Connect LVDS screen cable to DEBIX Model C

48 / 56

Polyhex Technology Company Limited Figure 26 Connect LVDS screen cable to LVDS screen

Figure 27 LVDS screen to DEBIX Model C completed
3) DEBIX Model C is connected to the power supply, the LVDS screen displays the following figure:

www.debix.io

49 / 56

Polyhex Technology Company Limited
Figure 28
2. Usage of DEBIX TD050A 800×480 5-inch LVDS screen is simliar to the one described above.

www.debix.io

50 / 56

Polyhex Technology Company Limited

4.8. Usage of Camera

DEBIX Model C supports two types of camera modules: DEBIX Camera 200A Module, DEBIX Camera 500A Module. The connection method of DEBIX Model C using DEBIX Camera Module is the same
as that of DEBIX Model A. Please refer to DEBIX Camera Module User Manual for detailed interface and usage information. Preview image commands: DEBIX Camera 200A Module
gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink DEBIX Camera 500A Module
gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,width=1920,height=1080,framerate=(fraction)15/1’ ! autovideosink #1080p resolution

gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,width=1280,height=720,framerate=(fraction)30/1’ ! autovideosink #720p resolution

gst-launch-1.0 v4l2src device=/dev/video0 !

‘video/x-raw,width=640,height=480,framerate=(fraction)30/1’ ! autovideosink #640×480

resolution

It is recommended to use the USB flash drive switching method, which is to

modify the Debix_Settings.xml file (stored in USB flash drive and inserted into the

device, and the device will switch automatically when powered on, after switching,

the device will restart automatically, and the switch will take effect) to switch

between the display and camera. As shown in the figure below, select to switch the

corresponding display and camera by modifying the value of enable to “true” or

www.debix.io

51 / 56

“false”.

Polyhex Technology Company Limited

4.9. ADC IN Verification

Power on the device after shorting Pin14 to Pin22 of the GPIO-40Pin using a DuPont

cable:

Table 12 ADC IN channel node description

Function Interface Pin

Definition

Channel Node

22

ADC_IN0

voltage0

ADC IN

24 J1
26

ADC_IN1 ADC_IN2

voltage1 voltage2

28

ADC_IN3

voltage3

Query Analogue Conversion Factors via the command:

cat /sys/bus/platform/drivers/imx93-adc/44530000.adc/iio:device0/in_voltage_scale

Get the ADC 1 channel voltage via the command:

cat /sys/bus/platform/drivers/imx93-adc/44530000.adc/iio:device0/in_voltage0_raw Query ADC channel 1 again (4.095 x 0.439453125 = 1.8V in the figure), to get an input
of 1.8V.

cat /sys/bus/platform/drivers/imx93-adc/44530000.adc/iio:device0/in_voltage0_raw

www.debix.io

52 / 56

Polyhex Technology Company Limited

4.10. LED & Key
1. LED The green indicator is the system LED, the device is running normally, the indicator blinks; otherwise the indicator is off. The red and blue indicator is power LED, after power on, the indicator light; after power off, the indicator light turn red until red light is off.
2. Key ON/OFF Key Short press: ACT green light is off, the system enters the sleep state. Short press again: ACT green light blinks to wake up the system. Long press: Long press, red and blue lights turn red until red light is off, and shut down the device. Long press again, until the red and blue light is on, and the device power on. RESET Key Press to reset the system, and green light blinks.

4.11. Usage of GPIO

DEBIX Model C OS has built-in GPIO interface operation command, you can set GPIO by GPIO command. IMPORTANT

The GPIO voltage input of DEBIX Mode A/B only supports 3.3V. If the input is higher than

3.3V, it may cause damage to the GPIO interface and CPU.

www.debix.io

53 / 56

Polyhex Technology Company Limited 1. In the terminal window, type command debix-gpio to print out the use of GPIO as
follows:
Command Format: debix-gpio <gpioName> <mode> [value]/[edge] gpioName: GPIO interface name, for example: GPIO1_IO12 mode: GPIO mode, respectively out (output) and in (input) value: When mode is out (output), the value attribute takes effect; the value can be 0 or 1, 0 means output low level, 1 means output high level Edge: When mode is in (input), the edge attribute takes effect; there are 4 GPIO states: 0-none, 1-rising, 2-falling, 3-both
2. Type command debix-gpio showGpioName to print out the definition of the GPIO interface and the location on the board, as follows:

www.debix.io

54 / 56

Polyhex Technology Company Limited
3. Example: Set GPIO1_IO08 to output high, type command debix-gpio GPIO1_IO08 out 1, GPIO1_IO08 will output 3.3V.
4. Example: Set GPIO2_IO12 to input rising edge, type command debix-gpio GPIO2_IO12 in 1, if Pin34 (GPIO2_IO12) detects power, the message INFO: pin:131 value=1; if the power is disconnected, the message INFO: pin:131 value=0. 55 / 56
www.debix.io

Polyhex Technology Company Limited

4.12. Heat Dissipation
When a DEBIX Model C runs for a prolonged period of time, it will result in an increase in its CPU temperature. Therefore, implementations should be considered to cool the CPU and the entire device passively. If the CPU needs to be cooled, it is recommended to use CPU aluminum alloy heatsink: paste aluminum alloy heatsink directly above the CPU for heat dissipation, as shown below:

Figure 29 Aluminum alloy heatsink

www.debix.io

56 / 56

Documents / Resources

DEBIX C Single Board Computer [pdf] User Guide
i.MX93, C Single Board Computer, Single Board Computer, Board Computer, Computer

References

Leave a comment

Your email address will not be published. Required fields are marked *