Please enable JavaScript to view this site.

IDS peak 2.15.0 / uEye+ firmware 3.50

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

The UART functionality is only available for cameras that support UART communication on the hardware. This feature is only supported by the following uEye+ cameras.

USB 3 uEye+ XCP Rev. 1.2

USB 3 uEye+ XLE Rev. 1.2

USB 3 uEye+ XLS Rev. 1.2

The hardware must be Rev. 1.2 (or higher), as UART support is included from this hardware on. The description of the GPIO (General Purpose I/O) can be found in the camera manual of the respective camera family.

This chapter contains the descriptions of all supported features from the Uart Control category.

Name

UartControl

Category

Root

Interface

Category

Access

Read

Unit

-

Visibility

Expert

Values

-

Standard

IDS

Availability uEye+

icon-u3v

Availability uEye

-

Specifications for USB 3 uEye+ XCP Rev. 1.2/USB 3 uEye+ XLE Rev. 1.2/USB 3 uEye+ XLS Rev. 1.2

hint_notice

NOTICE! The General Purpose I/Os are not potential-free and have no protective circuit. Faulty wiring (overvoltage, undervoltage or inverting the wiring when used as serial interface) can result in a damage in the electronics.

During operation as serial interface only 3.3 V LVCMOS levels are allowed to the connector pins. E.g. to get a serial RS-232 compliant interface, an external level shifter (LVCMOS/RS-232) is required.

Applying RS-232 levels directly to the pins as well as mixing up the signals Rx and Tx can destroy the camera electronics.

The two GPIOs are used for the UART functionality. The direction is fixed:

GPIO 1 (Line2) = UART Tx to send data.

GPIO 2 (Line3) = UART Rx to receive data.

Transmission mode: Full duplex, 8N1
With the 8N1 mode, the maximum payload data rate achievable is 80% of the selected baud rate.

Data bits: 8

Stop bits: 1

Parity: None

 

Symbol

Min.

Typ.

Max.

Unit

IO voltage range

VCCIO

0

-

3.3

V

Input high range

VIH

2.0

-

3.3

V

Input low range

VIL

0

-

0.8

V

Output high range

VOH

2,4

-

3.3

V

Output low range

VOL

0

-

0.4

V

Output current high

IOH

-

-

10

mA

Output current low

IOL

-10

-

-

mA

Fig. 218: UART interface

Fig. 218: UART interface

Fig. 219: UART interface with level shifter

Fig. 219: UART interface with level shifter

Configuration

You must configure the camera correctly to send data. To do this, set the LineMode for Line2 to "Output" and LineSource to "UartTx". Use UartTxDataLength to specify the number of bytes that are sent. In UartTxBuffer, you specify the data to be sent. Send the data with UartTxExecute.

To receive data, prepare a buffer and start reception. To do this, set the LineMode for Line3 to "Input" and UartRxSource to "Line3". Use UartRxPacketLength to specify the number of bytes that form a packet under UART. When you start reception with UartRxExecute, the camera expects a complete packet with the specified number of bytes on the UART Rx line. Meanwhile, UartRxStatus changes to "Listening". When the package is complete, it is copied into UartRxBuffer.

When the buffer is full, a "UartRxStatusChanged" event is generated and the UartRxStatus changes to "Idle".

To receive the next data via UART, execute UartRxExecute again. This prevents the previous data from being overwritten by the next package.

© 2025 IDS Imaging Development Systems GmbH