DEBIX EMB-AS-E01 User Manual

I/o board
Hide thumbs Also See for EMB-AS-E01:

Advertisement

Quick Links

Polyhex Technology Company Limited
DEBIX I/O Board User Guide
Version: V1.0(2023-07)
Complied by: Polyhex Technology Company Limited(http://www.polyhex.net/)
DEBIX I/O Board is an add-on board designed for DEBIX Model A and DEBIX Model B SBC. It
adds one RJ45 Gigabit network interface and POE capability to DEBIX Model A/B. It comes
with RS232, RS485 and CAN Transceiver to allow connection with more industrial equipment,
and its strong expansion ability brings unlimited possibilities.
Figure 1 DEBIX I/O Board
1 / 43
www.debix.io

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EMB-AS-E01 and is the answer not in the manual?

Questions and answers

Summary of Contents for DEBIX EMB-AS-E01

  • Page 1 Version: V1.0(2023-07) Complied by: Polyhex Technology Company Limited(http://www.polyhex.net/) DEBIX I/O Board is an add-on board designed for DEBIX Model A and DEBIX Model B SBC. It adds one RJ45 Gigabit network interface and POE capability to DEBIX Model A/B. It comes with RS232, RS485 and CAN Transceiver to allow connection with more industrial equipment, and its strong expansion ability brings unlimited possibilities.
  • Page 2 Polyhex Technology Company Limited REVISION HISTORY Rev. Date Description 2022.07.21 First edition 2 / 43 www.debix.io...
  • Page 3: Table Of Contents

    1.1. Safety Precaution ......................5 1.2. Safety Instruction ......................5 1.3. Declaration of Compliance ..................6 1.4. Technical Support ......................7 Chapter 2 DEBIX I/O board Introduction ..................8 2.1. Overview ........................9 2.2. Interface ........................11 2.2.1. Ethernet Interface ................... 11 2.2.2. Debug Interface ....................11 2.2.3.
  • Page 4 Polyhex Technology Company Limited 4.5.2. RS485 ......................36 4.5.3. RS232 ......................38 4.6. Verification of RTC ....................39 4.7. Usage of Raspberry Pi POE HAT ................41 4 / 43 www.debix.io...
  • Page 5: 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 6: Declaration Of Compliance

    1.3. Declaration of Compliance This equipment has passed CE certified. FCC: This equipment has passed FCC certified. RoHS: This equipment is manufactured in compliance with RoHS regulations. UKCA: This equipment has passed UKCA certified. 6 / 43 www.debix.io...
  • Page 7: Technical Support

    Polyhex Technology Company Limited 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. Please have the following info ready before you call: ...
  • Page 8: Chapter 2 Debix I/O Board Introduction

    Polyhex Technology Company Limited Chapter 2 DEBIX I/O board Introduction DEBIX I/O board expands I/O interfaces of the DEBIX motherboard, for example, RJ45 Gigabit LAN, RS232, RS485, CAN etc., which can be compatible with Raspberry Pi’s peripherals, and it is more convenient to communicate with industrial equipment.
  • Page 9: Overview

    Polyhex Technology Company Limited 2.1. Overview Figure 2 DEBIX I/O Board DEBIX I/O board expands the I/O interface of DEBIX motherboard to support Gigabit Ethernet, POE, etc. The data specifications are as below: Table 2 DEBIX I/O Board specification Communication...
  • Page 10 Default: 3 x UART, 2 x SPI, 2 x I2C, 2 x CAN, 6 x GPIO, refer to  Double-Row DEBIX website "DEBIX Model A Reduced GPIO Function List", Headers which can be configured to I2S, PWM, SPDIF, GPIO, etc. via...
  • Page 11: Interface

    Link (Green), network connection indicator and the other is Active (Yellow), signal transmission indicator. One 2 x 6Pin LAN pins (J5) for connecting to the LAN port (J6) of DEBIX motherboard. ...
  • Page 12: Rs485/Rs232/Can

    Polyhex Technology Company Limited Figure 4 Debug interface 2.2.3. RS485/RS232/CAN DEBIX I/O board provides a green RS232/RS485/CAN interface (J12) with a standard industrial communication connector, its model is KF2EDGR-2P5_7P. For the specification of RS232/RS485/CAN connector, please refer to "RS232/RS485/CAN Connector Specification" of DEBIX I/O Board to match its connector as required.
  • Page 13 HIGH-level CAN bus line CAN1_L LOW-level CAN bus line RS485 RS485_A /dev/ttymxc3 Noninverting Receiver input and Driver Output RS485_B Inverting Receiver Input and Driver Output RS232 UART3-RXD /dev/ttymxc2 DEBIX serial port receive UART3-TXD DEBIX serial port send 13 / 43 www.debix.io...
  • Page 14: Poe Interface

    Polyhex Technology Company Limited 2.2.4. POE Interface DEBIX I/O Board provides one 4-pin header POE interface (J4) for POE power supply when needed. Figure 7 POE interface 2.2.5. GPIO Interface DEBIX I/O board has a set of 2*20Pin/2.0mm GPIO interface (J2), which extends the RS232, RS485, CAN and other interfaces of DEBIX motherboard, and can also be used for external hardware such as LED, button, sensor, function modules, etc.
  • Page 15 Polyhex Technology Company Limited Figure 8 GPIO interface The GPIO interface pins are defined in the table below; please refer to “DEBIX Model A Reduced GPIO Function List” on the DEBIX website for pin function mapping definitions. Table 5 Pin definition of GPIO...
  • Page 16: Mipi Dsi

    CAN2_TXD 2.2.6. MIPI DSI DEBIX I/O board provides two DSI interfaces: DSI to DEBIX (J6), the connector is a 24Pin 0.5mm Pitch FPC socket, which is used to  connect to the DSI interface of DEBIX motherboard. MIPI DSI (J7), the connector is a 30Pin 1.0mm Pitch FPC socket, which is used to ...
  • Page 17: Mipi Csi

    8 interface types. The DIP switch, which is facing up by default, is in the ON state. DIP switches make it realizable that DEBIX is able to be compatible with Raspberry Pi 40 pins, if you want to use the function of RS232, RS485, DEBUG, CAN, turn the corresponding switch to the down OFF state.
  • Page 18 Figure 12 DIP Switch Silkscreen The left side is SW1, and the right side is SW2, the switches of SW1 and SW2 are set to the corresponding state, and the interface types selected are shown in the table below: 18 / 43 www.debix.io...
  • Page 19: Rtc

    Note: switch up stands for ON, switch down stands for OF. 2.2.9. RTC DEBIX I/O board has one RTC interface (J11), which provides precise time reference and improves timeliness for DEBIX system. RTC chip model is HYM8563S, I2C address is 0x51.
  • Page 20: Chapter 3 Getting Started

    2 x FPC cable (wide with alphabet)  The connection steps are as follows: Align the female header of the DEBIX I/O Board with the top pin header on the DEBIX motherboard, and press to insert, as shown below: NOTE...
  • Page 21 Figure 16 DEBIX I/O Board and DEBIX motherboard are connected Connect the LAN 1 of DEBIX I/O board to the LAN 2 of DEBIX motherboard with the DuPont cable shown in the following figure; when connecting, the slots correspond to each other, and no need to distinguish the color of the cable.
  • Page 22 Figure 18 LAN Figure 19 LAN port connection Pull up the black plastic snaps of the DSI interface of DEBIX I/O board and DEBIX motherboard, and then connect them with FPC cable, press the snap to fix it after the connection is completed.
  • Page 23 Polyhex Technology Company Limited Figure 20 DSI interface Pull up the black plastic snaps of the CSI interface of DEBIX I/O board and DEBIX motherboard, and then connect them with FPC cable, press the snap to fix it after the connection is completed.
  • Page 24 Polyhex Technology Company Limited Figure 22 Insert Micro SD card with DEBIX system into the slot of DEBIX motherboard, connect DEBIX peripherals (HDMI, keyboard, mouse, etc.), power on, DEBIX can work normally. 24 / 43 www.debix.io...
  • Page 25: Chapter 4 Function Examples

    4.1. Usage of LAN2 Connect DEBIX I/O board and DEBIX as the steps described above, plug the network cable into the RJ45 port (LAN: ens34) of DEBIX I/O board, and then power up DEBIX; Figure 23 Connect network cable After DEBIX starts up, open terminal, run command ifconfig, query the connected network port.
  • Page 26: Usage Of Type-C Debug

    Polyhex Technology Company Limited 4.2. Usage of Type-C Debug Use a USB Type-C cable to connect the Debug port of DEBIX I/O board to Windows PC, as shown in the following figure: Figure 24 Connect Debug interface to PC Download the...
  • Page 27 Download and install the putty tool; Open putty tool to configure, select Session, set Connection type to Serial, set the port to COM3 (keep the same port number as in Device Manager), set Speed to 115200, click Open. 27 / 43 www.debix.io...
  • Page 28 Polyhex Technology Company Limited Figure 27 Putty configuration After the serial port is open, type the command to debug. Figure 28 Putty Serial 28 / 43 www.debix.io...
  • Page 29: Usage Of Camera

    CSI1_PWDN Reset control CSI1_nRST I2C2_SDA /dev/i2c-1 I2C2_SCL CSI1_DN0/CSI1_DP0~ mipi_csi_0 CSI1_DN3/CSI1_DP3 Hardware Connection  Connect DEBIX I/O board to DEBIX motherboard, and use the 24Pin FPC cable to connect the CSI interfaces of the two single boards; 29 / 43 www.debix.io...
  • Page 30 Polyhex Technology Company Limited Figure 30 Connect the CSI interfaces Connect the Raspberry Pi camera to the MIPI CSI interface (J9) of DEBIX I/O board with the 30Pin FPC cable; Figure 31 Connect the Raspberry Pi Camera Insert Micro SD card with the latest system into the slot of DEBIX motherboard, connect the DEBIX peripherals (HDMI, keyboard, mouse, network cable), and power up DEBIX.
  • Page 31 9.114981] mx8-img-md: created link [imx219 1-0010] => [mxc-mipi-csi2.0] 15.574934] mx8-img-md: Registered sensor subdevice: imx219 1-0010 (1) 15.574949] mx8-img-md: created link [imx219 1-0010] => [mxc-mipi-csi2.0] Open Cheese app on the desktop and click on to take a picture, as shown below: Figure 32 31 / 43 www.debix.io...
  • Page 32: Usage Of Dsi Display

    Connect the Raspberry Pi display to the MIPI DSI interface (J7) of DEBIX I/O board with the DSI cable (30Pin FPC cable); Connect the GPIO Pin2 (VDD_5V) of DEBIX I/O board to the 5V power pin of the display with the DuPont cable (white), and power up the DEBIX to light up the screen.
  • Page 33 Polyhex Technology Company Limited Figure 35 Figure 36 33 / 43 www.debix.io...
  • Page 34: Verification Of Can/Rs485/Rs232

    2.0 Female-to-female DuPont cables  4.5.1. CAN CAN connection: Connect H to H and L to L of the CAN interfaces of two DEBIX I/O boards, as shown in the table below: Table 8 Can interface connection DEBIX I/O board 1...
  • Page 35 Polyhex Technology Company Limited Figure 38 Can interface connection Connect two pieces of DEBIX I/O board + DEBIX motherboard, and set the DIP switch SW2-2 of the two DEBIX I/O boards to OFF. NOTE CAN function pin multiplexing: 1. When SW2-2 is OFF, CAN1 is connected to Pin1 and Pin2 of the green connector (J12) through the transceiver;...
  • Page 36 44 55 66 77 88), that is, the communication is successful. 4.5.2. RS485 Connection: Connect A to A and B to B of the RS485 interfaces of two DEBIX I/O boards, as shown in the table below: Table 9 RS485 connection...
  • Page 37 Polyhex Technology Company Limited Figure 40 RS485 connection Connect two pieces of DEBIX I/O board + DEBIX motherboard, and set the DIP switch SW1-2 of the two DEBIX I/O boards to OFF. Power on and test RS485 communication of two DEBIX: ...
  • Page 38 DEBIX, which means the communication is successful. 4.5.3. RS232 Connection: Connect T to R and R to T of the RS232 interfaces of two DEBIX I/O boards, as shown in the table below: Table 11 RS232 connection DEBIX I/O board 1...
  • Page 39 Polyhex Technology Company Limited Figure 42 RS232 connection Connect two pieces of DEBIX I/O board + DEBIX motherboard, and set the DIP switch SW1-1 of the two DEBIX I/O boards to OFF. Power on and test RS232 communication of two DEBIX: ...
  • Page 40 /dev/i2c-3 I2C4 clock I2C4-SDA I2C4 data pin Connect DEBIX I/O board to DEBIX motherboard and connect the peripherals, as shown below: Figure 43 RTC verification Confirm that the HYM8563S driver module is loaded successfully: open the terminal, run the command dmesg | grep rtc-hym8563, and printout rtc-hym8563, which proves that the module is loaded successfully;...
  • Page 41 DEBIX I/O board; Warning When connecting Raspberry Pi POE HAT and DEBIX I/O add-on board, except the 40-pin and 4-pin connection parts, the other components of the two boards should be kept away from each other in case that short circuit occurs.
  • Page 42 Figure 44 Raspberry Pi POE HAT Figure 45 POE interface of DEBIX I/O board Connect the switch (supporting POE) to the RJ45 port of DEBIX motherboard with a network cable, as shown in the following figure: Figure 46 Connect switch with DEBIX 42 / 43 www.debix.io...
  • Page 43 Polyhex Technology Company Limited Figure 47 Switch (with POE function) Insert the Micro SD card into the slot of DEBIX motherboard, power on the switch, and the red indicator of DEBIX motherboard will be on, which proves the POE function is normal.

Table of Contents