Drivers Compulab



The CP2104 UART to UART Bridge provides a complete plug and play interface solution that includes royalty-free drivers. This USB 2.0 compliant device includes 4 digital I/O pins and is availble in a 4x4 mm QFN24 package. Download USB to UART Bridge VCP Drivers. It works for any EEPROM, but has special support for Compulab SoMs by being aware of the EEPROM layout, and using that information to display the EEPROM contents in a human readable format. The utility provides a WYSIWYG UI for updating EEPROM contents; the user can specify the target field by name, and provide the new value in the same. Driver version: 10.1.; Upload date: 2019.07.16; MD5 checksum: 77df7bcbfcefcaa4ff6988; HW revisions supported: All revisions. Support of additional panels can be obtained using CompuLab's panel adaptation service. The PXA270 keypad interface supports matrix keyboards with up to 64 keys. Modifying the HKEYLOCALMACHINEDriversBuiltInKeypad registry key can customize the keypad size and layout. Here is a short explanation of the most important values.

State-of-the-art miniature fanless PCs that are extremely small, very low power and have more features than any other PC in their category.

  • CPU: Xeon E-2276 | Core i7-9850
  • RAM: Up to 64GB DDR4-2400
  • Storage: HDD | SSD | NVME | M.2
  • Display: up to 3 x 4K HDMI or DisplayPort
  • LAN: 1Gb | 10 Gb | Optical | POE
  • Serial: USB | CANbus | RS232/485
  • Cellular modem: Sierra EM7455, Cat-6
  • WiFi & BT: Intel AX200
  • Expansion: M.2 | mini PCI Express
  • Power: 12 – 56V, 30W (typical)
  • Size: 30 x 20 x 3 cm [other size options available]
  • Fanless cooling
  • Intel Xeon E 2288G / Core i9-9900K
  • Up to 128GB DDR4
  • 4x SATA 2.5' HDDs + 2x NVMe
  • NVIDIA Quadro RTX 4000 GPU
  • Up to 7x DisplayPort
  • 19V supply, 8W – 300W
  • WiFi 802.11ac + 4G modem
  • Up-to 6x GbE and 6x USB3.0
  • FACE Modules expansion
  • Passive zero-fans cooling
  • 100 x 300 x 255 mm
  • Intel Apollo Lake x7-E3950 CPU
  • Intel HD Graphics GPU
  • Up to 16GB SODIMM RAM
  • M.2 and eMMC storage
  • HDMI 1.4 + mini DisplayPort 1.2
  • 9V to 36V DC input, 5-15W
  • WiFi 802.11ac + BT 4.0
  • 3G/LTE cellular modem
  • Up to 4x Gbit Ethernet
  • 2x USB3.0, up-to 6x USB2
  • FACET card expansions
  • 112 x 84 x 34 mm
  • Intel 7th Gen. Core CPU @3.5GHz
  • Intel HD Graphics GPU
  • Up to 32GB DDR3
  • 2.5” HDD/SSD + SATA M.2 2260
  • HDMI 1.4a + DisplayPort 1.2
  • 12V supply, 6-24W
  • WiFi 802.11ac + BT 4.0
  • Gbit Ethernet x2
  • USB3.0 x4 + USB2.0 x2
  • miniPCIe and RS232 x3
  • FACE Modules expansion
  • 190 x 160 x 40 mm
  • 4WiFi
    • 4.3Creating an Access Point
  • 5Bluetooth
  • 6Controller–area network (CAN)
  • 7Cellular Modem
  • 9RS485 / RS232
    • 9.1RS485 / RS232 Mode Selection
  • 10ModBus

The example run-time Yocto Linux image for the CompuLab IOT-GATE-iMX8 and SBC-IOT-iMX8 was generated with Zeus Yocto build.The image includes the needed drivers and utilities to operate the hardware components of the IOT-GATE-iMX8/SBC-IOT-iMX8.

The default Zeus Yocto image includes many software packages. Among them:

  • Core system
  • SSH server and client
  • NetworkManager
  • ModemManager
  • Bluez5 Bluetooth tools and daemons
  • SocketCAN
  • Minicom
  • GPSD

This Yocto rootfs comes with an empty root password.No password is required for login.

To login into the Linux system, you may use a terminal emulator as described here, or connect through the network (ssh).

The following examples assume root user.

To configure networking, edit /etc/network/interfaces, /etc/resolv.conf, /etc/hostname and /etc/hosts.For more information about Debian Linux network configuration read:

  • Network setup chapter in the Debian Reference
  • Network chapter in the Debian Wiki

The majority of network setup can be done via the interfaces configuration file at /etc/network/interfaces.

auto line is required for interfaces that have to be brought up at boot time.
  • Using DHCP to automatically configure the interface
  • Configuring the interface manually

IOT-GATE-iMX8 / SBC-IOT-iMX8 features an optional 802.11ac WiFi interface, implemented with the Intel WiFi 6 AX200 module.

Simple Scanning

  • Sample WiFi scanning:

The output will show the list of Access Points and Ad-Hoc cells in range.For more information about tuning WiFi interfaces refer to the “wireless-tools” man pages.

Connecting to an Access Point

The NetworkManager can be used to connect to an access point.
Access point connection command example.

Replace SSID with the wireless network name.
Replace PASSWORD with the wireless network password.
Replace Connection-Name with the new connection name.

Creating an Access Point

The hostapd can be used to create an access point.

Access point creation example

Access point network mask 50.150.250.0/24 is used.
Replace the mask with the desired network mask.

  • Install the required utilities
  • Create the configuration file.
Replace SSID with the wireless network name.
Replace PASSWORD with the wireless network password.
  • Update the network interfaces configuration to force the WiFi interface to only run in the access point mode.
  • Update the dnsmasq configuration file for DNS relay and DHCP server on our WiFi interface.
  • Use iptables for NAT configuration
  • Prevent Network Manager from interfering with hostapd.
  • Restart the system.

IOT-GATE-iMX8 / SBC-IOT-iMX8 features an optional Bluetooth 5.1 BLE interface, implemented with the Intel WiFi 6 AX200 module.

Host Controller Interface (HCI) Initialization

  • HCI requires no user interaction for being configured. The driver gets loaded automatically unless this option has been disabled by putting a black list rule for this device.
  • HCI device configuration utility can be run to retrieve detailed information about the Bluetooth interfaces:
  • If the HCI device is not running, use the below command to enable the HCI device:
  • HCI Inquire remote devices.

IOT-GATE-iMX8 / SBC-IOT-iMX8 features an optional FCAN2 add-on board with two MCP2518FD chips. Each MCP2518FD implements full CAN protocol version 2.0B and CAN FD, supports both the standard and the extended frame format.

CAN interface configuration

Drivers

Drivers Compliance

  • Configure the CAN interface bit-rate to 1 Mbits/sec:
  • Enable the CAN interface:

Send/Receive packets

Use cansend and candump utilities to send and receive packets via CAN interface. Cardbus network & wireless cards driver download for windows 10 windows 7.

  • Send standard CAN frame (on the first device):
  • Send extended CAN frame (on the first device):
  • CAN frames (extended mode) generator, random payload, interval between two successive flames 50 msec:
  • Dump all received data frames as well as error frames (on the second device):

WvDial

WvDial is a Point-to-Point Protocol dialer that automatically detects modem, and can log into almost any Internet Service Provider without a complicated configuration.First, edit the wldial configuration file. Please use the a correct ISP APN instead of YOUR_ISP_APN stub.

Example configuration file /etc/wvdial.conf:

The following command can be used for dialing:

Optional GPS interface is implemented with the cellular modem module.
The cgps client can be used to display the GPS information.The cgps client utility depends on the gpsd daemon (starts automatically).

  • Select the GPS interface:
  • Enable the GPS with the following AT commands:
  • Start the cgps client to display GPS information.

The synchronization process might take a few minutes.

IOT-GATE-iMX8 / SBC-IOT-iMX8 features a RS485 / RS232 port. Only half-duplex mode is supported for the RS485.
The RS485 / RS232 interface is routed to rear panel terminal block connector (see drawing).
RS485 / RS232 connector pin-out:

Pin NumberRS485 FunctionalityRS232 Functionality
1NEG A/-TXD
2NEG B/+RTS
3GroundGround
4NCCTS
5NCRXD
6GroundGround

RS485 / RS232 Mode Selection

The UART mode is stored in the U-Boot environment.
U-Boot environmnet commands are used to set/get the UART mode.

Set RS485 mode

Set RS232 mode

Driver Compilation

Get UART mode

Example

Serial terminal emulator application can be used to test the RS485 port.

  • Use the following command to start Minicom with the user space device of the RS485 (/dev/ttymxc0).
  • Follow the following steps to disable hardware flow control
    • Open the menu 'Configure Minicom' with CTRL-a followed by the letter 'o'.
    • Select 'Serial port setup'
    • Press the letter 'f'.
    • Press the Esc key twice.
  • The characters that are typed in the terminal are transmitted to the RS485 port.
  • The characters that are received from the RS485 port are displayed in the terminal.
  • Press CTRL-a followed by the letter 'x' to exit from Minicom

Modbus is a standard communication protocol and is a commonly available means of connecting industrial electronic devices.IOT-GATE-iMX8 RS485 ports can be used to implement the Modbus protocol.
It is recommended to use the mbpoll Modbus utility preinstalled in the IOT-GATE-iMX8 Debian Linux package.

Modbus Communication Example

Drivers Compliance Tulsa

[XY-MD02] is a high-precision temperature and humidity sensor.XY-MD02 uses the RS485 hardware interface and protocol layer compatible with standard industrial Modbus RTU protocol.

  • Connect the XY-MD02 sensor to the IOT-GATE-iMX8, RS485 port:
    • Connect power lines to a DC power supply 5V-30V
    • Connect RS485 lines
  • Read temperature once:
  • Read humidity once:
  • Yocto Project.

Drivers Complaint

Retrieved from 'https://www.mediawiki.compulab.com/w/index.php?title=IOT-GATE-iMX8_and_SBC-IOT-iMX8:_Yocto_Linux:_How-To_Guide&oldid=4695'