Resistive Touch Screen on WinCE
Resistive Touch Screen
The Colibri and Apalis modules come with an interface for a 4-wire resistive and 5-wire Resistive Touch Screen. The driver for this interface is already included in our pre-installed Win CE standard image.
Following table shows the availability of touch interface:
Colibri Module | 4-Wire Touch | 5-Wire Touch |
---|---|---|
PXA270 V2.2 and newer | Yes | Yes |
PXA300 | No | No |
PXA300 XT | Yes | Yes |
PXA310 | Yes | Yes |
PXA320 | Yes | No |
PXA320(IT) V2.0 and newer | Yes | Yes |
T20 | Yes | Yes |
T30 | Yes | No |
iMX6 | Yes | No |
VFxx | Yes | No |
iMX7 | Yes | No |
This article focuses on the resistive touch interface, however it is also very easy to integrate capacitive devices.
4 Wire Resistive Touch Interface
This kind of touch screen interface connects to the touch screen by four wires in two pairs: (TSPX and TSMX), (TSPY and TSMY). A 4-wire resistive touch screen consists of two conductive film layers which are laminated to a solid base material or directly to the TFT screen. Each layer has two electrodes. One layer has an electrode on the left and one on the right edge. The other layer has one on the top and one on the bottom edge. When connecting the touch screen it is important to connect one signal pair to one layer.
For example:
- TSPX to the left electrode and TSMX to the right electrode
- TSPY to the upper electrode and TSMY to the lower electrode
As long as each wire pair is connected to one layer, every combination will work.
After proper connection the touch screen needs to be calibrated.
For in-depth information on how the 4-wire touch interface is implemented on the Colibri Module see the UCB1400 or WM9715 datasheet.
5 Wire Resistive Touch Interface
On the Colibri T20, Colibri PXA300 XT, Colibri PXA310, Colibri PXA270 V2.2 and newer, and Colibri PXA320(IT) V2.0 and newer, it is possible to directly connect a 5-wire touch screen.
The signals can be found on at the following locations:
Colibri Pin | Evalboard | Iris | Orchid | 4-Wire | 5-Wire |
---|---|---|---|---|---|
SODIMM 14 | X16 Pin5 | X19 Pin5 | X1 Pin36 | TSPX(X+) | BR |
SODIMM 16 | X16 Pin3 | X19 Pin4 | X1 Pin34 | TSMX(X-) | TL |
SODIMM 18 | X16 Pin4 | X19 Pin3 | X1 Pin35 | TSPY(Y+) | TR |
SODIMM 20 | X16 Pin2 | X19 Pin2 | X1 Pin33 | TSMY(Y-) | BL |
SODIMM 2 | X16 Pin6 | X19 Pin6 | X3 Pin7 | - | WIPER |
The 5-wire feature is an option of the Wolfson Audio/Touch controller used on the modules mentioned above. For more information about the 5-wire feature see also the Wolfson WM9715 datasheet.