Design of Touch Screen Driver Based on Linux
This paper introduces the touch screen driver design based on Linux plays an important role in applications of touch screen. In order to further explore embedded touch screen driver design, and then optimize and improve existing drivers at practice level, this paper accomplished the design of touch screen driver using SPI interface and ADS7843 touch screen chip controller based on Samsung S3C2410s microprocessor. We designed the touch screen hardware interrupt program using the bottom half mechanism of the kernel timer, utilized 16 clock cycles of coordinate conversion sequences to achieve touch point based data acquisition and present the process of coordinate collection. The touch screen driver ran well on the UP-NETARM2410-S platform. The hardware design was verified to be simple and reliable while the corresponding software accomplished touch state detection and touch data conversion efficiently. The touch screen control method is simple, efficient and easy to realize.