UNICA SBC/Interfaces and Connectors/Touchscreen

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2026/09/17 First documentation release


Touchscreen[edit | edit source]

Description[edit | edit source]

A PCAP touch controller can be connected to J16, which is a 6-pin Molex 53398-0671 connector. The touch controller will be enabled via the SOC I²C bus.

PCAP touchscreen connector

Signals[edit | edit source]

The following table describes the interface signals:

Pin# Pin name Pin function
1 +V_TOUCH Touch power supply
2 TOUCH_SDA Touch SDA signal
3 TOUCH_SCL Touch SCL signal
4 TOUCH_INT Touch interrupt signal
5 TOUCH_RST Touch reset signal
6 DGND Ground

Power control[edit | edit source]

The touch controller can be powered with the following signals and levels:

  • TOUCH_PWREN: used to enable the touch power supply using a GPIO in the GPIO expander
  • +V_TOUCH: the touch power supply can be 3V3 or 5V with an hardware mounting option (3V3 by default)

Device mapping[edit | edit source]

The device is typically mapped to /dev/touchscreen0 device in Linux.

The touch controller is attached to the generic Linux input event interface (evdev).

Device usage[edit | edit source]

The touchscreen device is often passed as a parameter to the user interface application or is automatically discovered.

The touchscreen can be tested with the evtest tool that prints the finger coordinates to the console.