Texa Port Devices Driver



  1. Texa Port Devices Driver
  2. Texa Port Devices Drivers
  3. Texa Port Devices Driver Portal
  4. Drivers License Texas
  5. Texa Port Devices Driver Login
  6. Texa Port Devices Driver Download

Sometimes this can happen accidentally. If a device is disabled, it has a red X across its icon, like the Bluetooth Communications Port in this picture. To enable it, right click on the device and select “Enable.” Afterwards, the device should not have a red X across its icon. Devices can also have issues loading or have device driver problems. COM Port Stress Test: Generates a serial stream of data with random comm. Settings: Comstresstest.zip: 3.34MB: COM Port Data Emulator: Emulates a COM port or an Ethernet device, that generates a serial stream of data. The program can create a data flow, wrap it to data packets (RS232, TCP/IP or UDP) and send to a port: ComEmulator.zip: 3.43MB. The package provides the installation files for Texas Instruments TUSB3410 USB to Serial Controller Driver version 6.7.2.0. In order to manually update your driver, follow the steps below (the next.

  1. Introduction
    1. Toradex Standard Interfaces
  2. Configuration
    1. Non-standard Baud Rates
    2. RS-485
  3. Carrier Boards
  4. Computer on Modules
    1. Colibri VFxx

Serial port (UART) access from userspace on Linux is provided through TTY devices under /dev. Depending on the driver used to drive the UART, those devices can have different names such as /dev/ttymxc0 or /dev/ttyS0 among others. This article is very useful if you plan to use UART for communication with other devices - often using RS-232 or RS-485 - but if you just want to access the Linux terminal on the default debug UART, make sure to follow the first lessons from our Quickstart Guide or alternatively read the article Configuring Serial Port Debug Console (Linux/U-Boot).

Toradex Standard Interfaces

Toradex SoMs are pin-compatible within a family, as long as you use the default pin muxing from the Toradex Embedded Linux BSP. In this section, you will learn what UART interfaces are available on all Toradex SoMs within a family.

Keep in mind that each SoM may have additional UART interfaces that you can use at the tradeoff of breaking pin-compatibility. You will need to check how many UARTs are available on your specific SoM and modify the default pin muxing. Reading the SoM datasheet and the article Device Tree Customization are good starting points.

Apalis Family

The Apalis family has 4 pin-compatible UART interfaces.

Toradex NameNote
UART1debug (console) for the main OS (Cortex-A), with RTS/CTS, DTR/DSR and RI
UART2general-purpose, with RTS/CTS
UART3general-purpose
UART4general-purpose

Colibri Family

The Colibri family has 3 pin-compatible UART interfaces.

Toradex NameLegacy Toradex NameNote
UART_AFF_UARTdebug (console) for the main OS (Cortex-A), with RTS/CTS, DTR/DSR and RI
UART_BBT_UARTgeneral-purpose, with RTS/CTS
UART_CSTD_UARTgeneral-purpose

Verdin Family

The Verdin family has 4 pin-compatible UART interfaces. Three of them have RX and TX signals in Always Compatible pins, and the fourth has RX and TX signals on Reserved pins.

Toradex NameAlways Compatible PinsReserved PinsNote
UART_1RX and TXRTS and CTSgeneral-purpose
UART_2RX and TXRTS and CTSgeneral-purpose
UART_3RX and TX-debug (console) for the main OS (Cortex-A)
UART_4-RX and TXdebug for the real-time OS (Cortex-M) or general-purpose

This section has information about how to configure and use the serial, including a sub-section for RS-485.

Command-line

Texa Port Devices Driver

From userspace, one can use the command line utility stty to configure the serial speed. Then the port can be treated as as a regular file:

C

Using C, use the struct termios to set the initial baud rate:

Standard Baud Rates

A fixed list of baud rates are pre-defined:

Baud rateSymbol
921600B921600
460800B460800
230400B230400
115200B115200
57600B57600
38400B38400
19200B19200
9600B9600
4800B4800
2400B2400
1200B1200

Non-standard Baud Rates

Vybrid modules

With the following userspace C program one can configure UART custom baud rates:

Vybrid's UART baud rate depends on the main bus clock. Since the two modules are clocked differently, the modules expose a different minimum and maximum baud rate. The baud rates which can practically be used are as follows:

ModuleMin-baudMax-baud
Colibri VF505104M
Colibri VF616405M

RS-485

The Toradex Carrier Board implements RS-485 using a single transceiver in a half-duplex communication mode, which means that one medium is shared for transmitting and receiving data. The transceiver switches to transmit mode when the RTS signal is asserted (low active).

RS-485 defines the electrical characteristics of drivers and receivers for serial communication and supports bus topology. How RS-485 is exactly implemented depends on application and requirements. The RS-485 support has been tested using the configuration as found on Toradex Carrier Boards.

Texa Port Devices Driver

Texa Port Devices Driver

Our modules provide the following support:

i.MX 6, i.MX 6ULL and i.MX 7 Modules

The driver uses the RTS output to control a RS-485 transceiver (see below).

Tegra Modules

Due to hardware limitations, there is no RS-485 transceiver control support.

Vybrid, i.MX 8, i.MX 8X and i.MX 8M Mini Modules

The Vybrid, i.MX 8, i.MX 8X and i.MX 8M Mini UART block has built-in support for RS-485 auto RTS for controlling the direction of the RS-485 transceiver (see below).

Enabling RS-485 support

Enable the RS-485 feature by either using ioctl from userspace or using device tree properties.

Userspace

Enable the RS-485 using ioctl TIOCSRS485 from userspace is described in RS-485 Kernel Documentation.

On Toradex carrier boards the following flags should be used:

Note that neither i.MX6 nor Vybrid based modules evaluate the delay parameters. i.MX6 based modules do additionally not evaluate the logic level parameters.

Texa Port Devices Drivers

Device Tree

Enable it in the device tree by setting linux,rs485-enabled-at-boot-time, rs485-rts-active-low and rs485-rx-during-tx property.

Note: Some kernel version do not support the device tree properties rs485-rts-active-low and rs485-rx-during-tx yet. However, having them specified is not harmful to older kernels. Due to different defaults, newer kernels require those properties for RS-485 operation on Toradex carrier boards.

Note: On Vybrids and i.MX8 CPUs rs485-rts-delay is not working due to lack of hardware support.

This section provides details about UARTs on Toradex carrier boards. Remember that our carrier boards are open source and you can check their implementation anytime, just browse on the corresponding product page.

Apalis Evaluation Board

The Apalis Evaluation carrier board does have three regular 9-pin male D-Sub serial connectors for UART1 (RS-232 on bottom X28), UART2 (RS-232 on top X28) and optionally UART2 (RS-422/485 on X55). The UART3 is routed to the IrDA transceiver X30 by default. To route it to the UART1 port instead proceed as follows:

  • Remove jumpers X3 rows 38 and 39 and X6 rows 33 to 40 to break the default UART1 to lower 9-pin male D-Sub and UART3 to IrDA connection.
  • Connect X2-38 to X7-39 and X2-39 to X7-36 to re-route the UART3_TXD and UART3_RXD MXM3 pins to the UART1 lower 9-pin male D-Sub serial connector.

The UART4 is routed to the mezzanine connector X38 by default. To route it to the UART2 port instead proceed as follows:

  • Remove jumpers X3 rows 36 and 37 and X6 rows 29 to 32 to break the default UART2 to upper 9-pin male D-Sub and UART4 to mezzanine connection.
  • Connect X2-36 to X7-32 and X2-37 to X7-29 to re-route the UART4_TXD and UART4_RXD MXM3 pins to the UART2 upper 9-pin male D-Sub serial connector.

UART1 can optionally be connected to an integrated FTDI USB-to-serial chip to conveniently access the debug console. Make sure J10 and J12 Pin 2 and 3 are each jumpered (USB) to route TXD/RXD to the FTDI chip. Then, a simple USB A-B cable is sufficient to get a serial console directly from a computer (through /dev/ttyUSB0 on Linux hosts).

Colibri Evaluation Board

The Colibri Evaluation carrier board does have two regular 9-pin male D-Sub serial connectors for UART_A (lower) and UART_B (upper). The UART_C is routed to the IR by default. To route it to the UART_A port instead proceed as follows:

  • Remove jumpers X11 rows 2, 3, 10 and 11 to break the default UART_A to lower 9-pin male D-Sub and UART_C to IR connection.
  • Connect X10-2 to X12-10 and X10-3 to X12-11 to re-route the UART_C_RXD and UART_C_TXD SODIMM pins to the UART_A lower 9-pin male D-Sub serial connector.

UART_A can optionally be connected to an integrated FTDI USB-to-serial chip to conveniently access the debug console. Make sure J17 and J19 Pin 2 and 3 are each jumpered (USB) to route TXD/RXD to the FTDI chip. Then, a simple USB A-B cable is sufficient to get a serial console directly from a computer (through /dev/ttyUSB0 on Linux hosts).

Dahlia Carrier Board

  • UART_3 and UART_4 are available on the USB Type Micro-B port (X18), via the USB to serial converter FT4232HL. You can use a regular USB Type Micro-B to Type-A.
    • It is possible to route those interfaces to the Primary Extension Header with Dahlia's assembly options. Consult the datasheet for more details.
    • In addition, FTDI and GPIO functions of the FT4232HL are connected to the Verdin SoM via R293-R296, JP6 and JP7. Consult the datasheet for more details.
  • UART_1 is available on the Primary Extension Header (X20), as +1.8V TTL signals.
  • UART_2 is available on the Secondary Extension Header (X19), as +1.8V TTL signals.

Iris Carrier Board

  • To use UART_A (FF_UART) on the Iris carrier board a regular 10 pin female IDC to 9-pin male D-Sub RS-232 serial cable adapter (e.g. as used for most former PC motherboards) on X13 is required.
  • To use the UART_B (BT_UART) on the Iris carrier board one can use the same regular RS-232 serial adapter from X13 on X14 as the RXD/TXD and RTS/CTS pins share the same connector layout.
  • To use UART_C (STD_UART) on the Iris carrier board one can use X14 pin 1 as UART_C_RXD and pin 7 as UART_C_TXD.

For more information, see also Iris Carrier Board Peripherals.

Ixora Carrier Board

  • To use UART1 on the Ixora carrier board a regular 10 pin female IDC to 9-pin male D-Sub RS-232 serial cable adapter (e.g. as used for most former PC motherboards) on X22 is required.
  • To use the UART2 on the Ixora carrier board one can use the same regular RS-232 serial adapter from X22 on X21 as the RXD/TXD and RTS/CTS pins share the same connector layout.
  • To use UART3 on the Ixora carrier board one can use X21 pin 1 as UART3_RXD and pin 7 as UART3_TXD.
  • UART4 is only available as TTL level on the extension connector X27.

Verdin Development Board

The Verdin Development Board exposes the four UART interfaces.

  • UART_3 and UART_4 are available on the USB Type Micro-B port (X66), via the USB to serial converter FT4232HL. You can use a regular USB Type Micro-B to Type-A.
    • In addition, FTDI and GPIO functions of the FT4232HL are connected to the Verdin SoM via the X67 jumper area.
  • UART_1 is available on a regular 9-pin male D-Sub serial connector (X50), through a RS-485 transceiver. Read the datasheet for available hardware configuration via jumpers JP6, JP9 and JP10.
  • UART_2 is available on a regular 9-pin male D-Sub serial connector (X51), through a RS-232 transceiver. Read the datasheet for available hardware configuration via jumpers JP12.

This section provides details about UARTs on Toradex Computer on Modules.

Apalis iMX6

Toradex NameNXP/Freescale NameDevice
UART1UART1/dev/ttymxc0
UART2UART2/dev/ttymxc1
UART3UART4/dev/ttymxc3
UART4UART5/dev/ttymxc4
-UART3-

Note: The i.MX6 UARTs can be switched between DTE and DCE mode. The Apalis iMX6 module's pin assignment is designed for DTE mode.

Note: For V1.0A modules the assignment is different. UART3 and UART4 are swapped. e.g. UART3 is implemented with the i.MX6 UART5. All RX/TX lines are swapped and the UARTs have to be used in DCE mode to get the RX/TX functionality on the correct pins.

Apalis iMX8

Toradex NameNXP/Freescale NameDevice
UART1LPUART1/dev/ttyLP1
UART2LPUART3/dev/ttyLP3
UART3LPUART0/dev/ttyLP0
UART4LPUART2/dev/ttyLP2

Apalis iMX8X

Toradex NameNXP/Freescale NameDevice
UART1LPUART1/dev/ttyLP1
UART2LPUART0/dev/ttyLP0
UART3LPUART2/dev/ttyLP2
UART4LPUART3/dev/ttyLP3

Apalis T30

Toradex NameNVIDIA NameDevice
UART1UART1/UARTA/dev/ttyS0
UART2UART4/UARTD/dev/ttyHS3
UART3UART2/UARTB/dev/ttyHS1
UART4UART3/UARTC/dev/ttyHS2
-UART5/UARTE

Apalis TK1

Toradex NameNVIDIA NameDeviceNote
UART1UART1/UARTA/UA3/dev/ttyS0RX/TX and RTS/CTS only
UART2UART2/UARTB/IR3/UB3/dev/ttyTHS1
UART3UART3/UARTC/UC3/dev/ttyTHS2
UART4UART4/UARTD/UD3/dev/ttyTHS3
-6x Kinetis K20 Companion MCU UARTs-not supported in regular Embedded Linux BSP

Colibri iMX6

Toradex NameLegacy Toradex NameNXP/Freescale NameDevice
UART_AFF_UARTUART1/dev/ttymxc0
UART_BBT_UARTUART2/dev/ttymxc1
UART_CSTD_UARTUART3/dev/ttymxc2
--UART4-
--UART5-

Note: The i.MX 6 UARTs can be switched between DTE and DCE mode. The Colibri iMX6 module's pin assignment is designed for DTE mode.

Colibri iMX6ULL

Toradex NameLegacy Toradex NameNXP/Freescale NameDeviceNotes
UART_AFF_UARTUART1/dev/ttymxc0
UART_BBT_UARTUART2/dev/ttymxc1
UART_CSTD_UARTUART5/dev/ttymxc4
--UART3-
--UART4-
--UART6-
--UART7-
--UART8-

Note: The i.MX 6ULL UARTs can be switched between DTE and DCE mode. The Colibri iMX6ULL module's pin assignment is designed for DTE mode.

Colibri iMX7

Texa Port Devices Driver Portal

Toradex NameLegacy Toradex NameNXP/Freescale NameDeviceNotes
UART_AFF_UARTUART1/dev/ttymxc0
UART_BBT_UARTUART2/dev/ttymxc1FreeRTOS/Cortex-M4 default console
UART_CSTD_UARTUART3/dev/ttymxc2
--UART4-
--UART5-
--UART6-
--UART7-

Note: The i.MX 7 UARTs can be switched between DTE and DCE mode. The Colibri iMX7 module's pin assignment is designed for DTE mode.

Colibri iMX8X

Toradex NameNXP/Freescale NameDevice
UART_ALPUART3/dev/ttyLP3
UART_BLPUART0/dev/ttyLP0
UART_CLPUART2/dev/ttyLP2

Colibri Txx

Toradex NameLegacy Toradex NameNVIDIA NameDevice
UART_AFF_UARTUART1/dev/ttyS0
UART_BBT_UARTUART4/dev/ttyHS3
UART_CSTD_UARTUART2/dev/ttyHS1
--UART3
--UART5

By default, the first serial port uses the compatible 8250 driver to show a serial console (since NVIDIA's HS driver does not support a serial console).

Resources used by serial port on T20 devices:

Colibri VFxx

Drivers License Texas

Our Vybrid based modules provide UART access through a Vybrid specific LP UART serial driver. The driver currently supports baud rates from 600 Baud up to 921600 Baud and can handle RTS/CTS hardware flow control.

Toradex NameLegacy Toradex NameNXP/Freescale NameDeviceRTS/CTS supportFIFO size
UART_AFF_UARTUART0/dev/ttyLP0Yes16
UART_BBT_UARTUART2/dev/ttyLP2Yes8
UART_CSTD_UARTUART1/dev/ttyLP1Yes (non-standard pinmux)16
--UART3/dev/ttyLP3No8
--UART4/dev/ttyLP4Yes (non-standard pinmux)8

Note: UART3 and UART4 are not enabled by default on our standard images and need device tree modifications to be enabled.

Especially on higher baud rates and the slower Colibri VF50, overruns (and hence loss of characters) can happen. Check the tty driver statistics if you are suffering from those issues:

To ensure that no character is lost, use hardware flow control signals such as RTS/CTS or lower baud rates.

Enabling/disabling DMA

The current driver has a weak DMA implementation, which can lead to lock ups, especially on the RX side. The non-DMA (PIO) mode is much more robust, and thanks to the hardware FIFO also quite efficient. The easiest way to disable the DMA mode is to overwrite the dma-names property (see also Device Tree Customization):

Releases after V2.5 Beta 1 have a kernel argument to enable/disable DMA. The DMA is by default disabled, to re-enable UART DMA use:

Verdin iMX8M Mini

Drivers vmi ability. UART devices available on Linux:

Toradex NameNXP NameDevice
UART_1UART1/dev/ttymxc1
UART_2UART2/dev/ttymxc2
UART_3UART3/dev/ttymxc0

UART devices available only for the Cortex-M4, unless you properly modify the device tree:

Note: The i.MX8M Mini UARTs can be switched between DTE and DCE mode. The Verdin standard data direction is designed for DTE mode - which means that the SoC is configured in DCE mode.

See also

-->

Starting with Windows 2000, a COM port is a type of serial port that complies with the following additional requirements:

  • You access the COM port through an instance of the COM port device interface class. The GUID for this class is GUID_DEVINTERFACE_COMPORT, which is defined in Ntddser.h.

  • You operate the COM port by using the 16550 UART-compatible interface that is defined in Ntddser.h.

  • To ensure compatibility with most applications that access COM ports, you should assign a symbolic link name that uses the standard naming convention 'COM<n>', where <n> is the COM port number (for example, COM1). If you use a COM<n> name, you must obtain the COM port number <n> from the COM port database. COM port numbers should only be used with COM<n> names.

Texa Port Devices Driver Login

By default, the combined operation of the class installer for the Ports device setup class and the Serial function driver configure a device as a COM port.

Texa Port Devices Driver Download

For information about how the Ports class installer and Serial create a COM port device interface for a COM port, see External Naming of COM Ports.