The Starterkit STKa8XxS consisting of the TQMa8XxS module and MB-SMARC-2 mainboard is intended as evaluation platform for the TQMa8XxS. To bring up the board a comprehensive set of accessories is supplied with the kit. The STKa8XxS is delivered preconfigured to boot the latest released Linux BSP revision at the time of delivery, so only the Host Computer has to be set up properly to bring the STKa8XxS up. This page guides through the first steps with the STKa8XxS Starterkit.

The TQMa8XxS debug UART is connected via a RS232 Tranceiver to X39 (Molex Connector) on the MB-SMARC-2. A Molex/Sub-D cable is part of the STKa8xxS accessory set.

Linux

The driver is maintained in the Linux Mainline Kernel, please check that the following options are activated in the Linux Kernel configuration.

  • CONFIG_USB_SERIAL
  • CONFIG_USB_SERIAL_CP210X

Windows

The driver can be downloaded from the Vendor website:
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers

Linux

The FTDI driver is maintained in the Linux mainline kernel, the configuration options below must be activated in the Linux kernel configuration to operate the USB-to-Serial converter

  • CONFIG_USB_SERIAL
  • CONFIG_USB_SERIAL_FTDI_SIO

Windows

The driver can be downloaded from the FTDI website:
https://ftdichip.com/drivers/vcp-drivers/

An installation guide can be found at the following link:
https://ftdichip.com/document/installation-guides/

Linux

In order to be able to use the MCP2200/MCP2221 with Linux, the kernel must have support for USB CDC class drivers. The cdc_acm driver is used for the CDC interface of the device.

Windows

The driver can be downloaded from the Microchip website:
https://www.microchip.com/en-us/product/MCP2221

Linux

Minicom

Minicom is a command line based serial terminal for serial communication with hardware like our starterkits.

Install Minicom using APT(Debian/Ubuntu)
$ sudo apt install minicom

In order for the terminal to work properly with full rights you need to add your user to the dialout group:

$ sudo usermod -a -G dialout $USER


Connect Starterkit to Host

To determine the serial device name under linux you can use dmesg. Just run the command below and then plug in the starter kit to see the new detected interface names:

$ dmesg -w

once the interface name is clear you can abort dmesg with ctrl + c.
Now you can start minicom via the command line interface:

$ minicom -D /dev/ttySx
Make sure to replace /dev/ttySx with the serial interface you found out before with dmesg.
Configure minicom

The serial configuration should be correct by default. However, hardware flow control must be disabled for some starter kits, otherwise the communication works only in one direction.

  1. Press CTRL + A, then press O to open the configuration menu
  2. Go to Serial port setup
  3. Press F to change Hardware Flow Control to No
  4. Hit Return key
  5. Select Save setup as dfl to save this configuration as default
  6. Press ESC to exit the menu

Now you should be able to communicate with the starter kit

Windows

TeraTerm

TeraTerm is an open source terminal emulator for windows. it can be downloaded here.

Configure TeraTerm
  1. Download and install TeraTerm
  2. Start TeraTerm and open the Serial Port Settings
  3. select your serial port and configure it with the values defined in the chapter Serial Configuration
  4. after passing the values click on the button new Setting

Now TeraTerm should be ready for use with our starter kits.

The serial port which connects the STKa8XxS to the Host PC must be configured as follows:

Bautrate: 115200
Data bits: 8
Parity: none
Stop bits: 1
Handshake : XON/XOFF

Please follow the quick start guide delivered with the kit, or open it from the following link: Quick start guide


As soon as logging in on the Linux shell for the first time, the question about the login credential comes up.
By default the user root is used to log into the Linux shell, no password is set for user root.

tqmaxx-mbaxx login: root

To get familiar with the interfaces of the STKa8XxS we recommend to work through the interface tutorials first.

The Board Support Packages provided by TQ may not contain all software packages to evaluate the STKa8XxS, therefore TQ provides some guides how to build the BSP and customize it for your needs,

In addition to the BSP documentation, the Yocto SDK build and Eclipse IDE setup for the STKa8XxS is also documented.

The STKa8XxS can be setup to boot from different sources please see the DIP switch settings below to change the boot source.

The following boot modes of the i.MX8X can be selected by the DIP switch S3 on the MB-SMARC-2.

SD-Card

S3

eMMC

S3

QSPI NOR

S3

Serial Downloader

S3 1 - 3 have no effect

Boot from Fuses

S3

DIP-Switch settings for audio and display interface.

Audio configuration (S1)

DIP switch S1 is used to switch between I2S or High definition Audio.

# S1
ON I2S
OFF HDA

Display configuration (S2)

DIP switch S2 is used to switch between eDP or LVDS video output.

# S2
ON eDP
OFF LVDS

  • Last modified: 2022/08/04 15:02