Touchscreen Configuration

Before starting, make sure you have enabled touchscreen support in the device tree of the STK

To set up the Touchscreen on STKa335x or STKa6x start with a simple fb_test to make sure the device is working properly.

After startup, run the command

 fb_test 

which launches a variety of tests, consisting of both black and white and coloured images.

Afterwards, calibrate the Touchscreen with

 ts_calibrate 

Sometimes the system does not recognize that a touchscreen device is connected. If so, you will have to export Tslib before starting the calibration. Should this be the case, run the command “export TSLIB_TSDEVICE=/dev/input/event2”, then recalibrate.

To make sure everything is working as intended, run

 ts_test 

Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.