The Starterkit STKLX2160A consisting of the TQMLX2160A module and MBLX2160A mainboard is intended as evaluation platform for the TQMLX2160A. To bring up the board a comprehensive set of accessories is supplied with the kit. The STKLX2160A 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 STKLX2160A up. This page guides through the first steps with the STKLX2160A Starterkit.
The TQMLX2160A debug UART is connected via a Silicon Labs USB-to-Serial converter to X41 (micro-USB) on the MBLX2160A. A micro-USB/USB-A cable is part of the STKLX2160A accessory set. Depending on the host operating system, driver may need to be installed.
The driver is maintained in the Linux Mainline Kernel, please check that the following options are activated in the Linux Kernel configuration.
The driver can be downloaded from the Vendor website:
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
Minicom is a command line based serial terminal for serial communication with hardware like our starterkits.
$ 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
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
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.
TeraTerm is an open source terminal emulator for windows. It can be downloaded here.
The serial port which connects the STKLX2160A to the Host PC must be configured as follows:
| Baud rate: | 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 STKLX2160A 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 STKLX2160A, 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 STKLX2160A is also documented.
The STKLX2160A can be setup to boot from different sources. Please see the DIP switch settings below to change the boot source.
By default the latest TQMLX2160A BSP has the following SerDes configuration:
| SerDes module | SerDes protocol |
|---|---|
| 1 | 14 |
| 2 | 11 |
| 3 | 2 |
Depending on the standard BSP SerDes configuration and boot source, the DIP switches must be configured as shown below:
S1
S2
For information about S2, please see table “S2: EMMC_SEL[0,1]”
S1
S2
For information about S2, please see table “S2: EMMC_SEL[0,1]”
S1
S2
For information about S2, please see table “S2: EMMC_SEL[0,1]”
| DIP | Function |
|---|---|
| 1 | BOOT_SRC0 |
| 2 | BOOT_SRC1 |
| 3 | BOOT_SRC2 |
| 4 | NOR_SWAP# |
| DIP | Function |
|---|---|
| 1 | EMMC_SEL0 |
| 2 | EMMC_SEL1 |
| 3 | EVDD_SEL |
| 4 | LX_CONIG_RFU1 |
| Function | EMMC_SEL0 | EMMC_SEL1 |
|---|---|---|
| 8Bit eMMC | OFF | OFF |
| 4Bit eMMC + 2x I²C | OFF | ON |
| undefined | ON | OFF |
| SDHC2 on Module Connector | ON | ON |
| DIP | Function | ON | OFF |
|---|---|---|---|
| 1 | SD1_MUX_SEL | SGMII | PCIe |
| 2 | SD2_2_MUX_SE | SGMII | SATA |
| 3 | SD2_3_MUX_SEL | SGMII | SATA |
| 4 | SD2_4_MUX_SEL | mPCIe | SATA |
| DIP | Function | ON | OFF |
|---|---|---|---|
| 1 | SD2_6_MUX_SEL | XFI | SGMII |
| 2 | SD2_7_MUX_SEL | XFI | SGMII |
| 3 | SD3_MUX_SEL | PCIe x8 (X37) | 2x PCIe x4 (X35, X36) |
| 4 | ENABLE_FAN | Fan disabled | Fan enabled |
| DIP | ON | OFF |
|---|---|---|
| 1 | EC2 Muxing | EC2 1588 Muxing |
| 2 | — | — |