Difference between revisions of "AXEL Lite SOM/AXEL Lite Evaluation Kit/Interfaces and Connectors/Touchscreen"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "<section begin=History/> {| style="border-collapse:collapse; " !colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History |- !style="border-le...")
 
(Description)
Line 21: Line 21:
  
 
The touch controller is a TI TSC2003 device, connected to the I²C2 bus (address 0x1001000b).
 
The touch controller is a TI TSC2003 device, connected to the I²C2 bus (address 0x1001000b).
 +
 +
[[File:AXEL Lite-EVB-Touchscreen-connector.png|thumb|center| 500px|Touchscreen connector]]
  
 
===Signals ===
 
===Signals ===

Revision as of 09:13, 28 October 2020

History
Version Issue Date Notes
1.0.0 Oct 2020 First DESK release


Touchscreen[edit | edit source]

Description[edit | edit source]

The 4-wire resistive touch controller signals are routed to J50, which is a 4 pin (1mm pitch vertical) ZIF connector for the 4-wires resistive controller.

The touch controller is a TI TSC2003 device, connected to the I²C2 bus (address 0x1001000b).

Touchscreen connector

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1 - TSC_YP Touch controller Y+
2 - TSC_XP Touch controller X+
3 - TSC_YM Touch controller Y-
4 - TSC_XM Touch controller X-

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 simplest tools for touch screen management are the tslib library and ts_tools utilities. To calibrate the touch screen, the ts_calibrate command line tool is available. After calibration, the touch screen can be tested using the graphical ts_test utility or the ts_print command line tool.