The Design and Implementing of Touch Screen Driver in the Embedded System
- Author
- DingXiaoJun
- Advisor
- XieQinZuo
- School
- Central South University for Nationalities
- Major
- Communication and Information System
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 259
- Citations
- 2
Abstract
With the development of the Internet and the issuance of 3G license, the embedded system has become one of the most popular industry. Even if the face of the global financial crisis, the embedded market is still showing a huge demand. Also, this is a higher demand of the embedded produces, such as stable, intuitive, convenient, easy-to-use, etc. Touch screen is undoubtedly a great deal to offer people the convenience. Therefore, with good performance and stable operation, high precision touch-screen design has a wide range of positive significance in the embedded system .In the embedded system field recently, Linux relies on the open source code authorization pattern based on GPL, and the characteristics of being easy to customize, cut out and porting, so Linux is the most popular operating system in the development platform and application platform.Based on the above two points,this paper studys the design of touch-screen of embedded system using Linux operating system based on S3C2410A processor. In hardware design,we chose Samsung S3C2410 as the processor. At the same time, external memory is Samsung K9F1208U0B,internal memory SDRAM is a HY57V561620 of Modern company,and the network card is CS8900A. The system selects a resistive 4-wire touch screen.When the touch pannel is pressed or touched, there are two signals-X and Y,must be generated.Through the A/D of S3C2410A, it converted into digital signal,then sent to CPU processing,in order to achieve touch screen functionality.The sofeware system of embedded system mainly contains the bootloader, operating systems,file systems and applications, etc. Bootloader is between the range of hardware and operating system layer, the role of which likes the BIOS in PC. For an embedded system, Bootloader ususally relies on hardware. With different types of embedded chips, and different operating systems and peripheral interface, it needs re-transplantation, modify and compile Bootloader. The guiding programme of Bootloader usually have U-Boot, redboot, blob and vivi in the embedded Linux system. U-boot of which followed the terms of the GPL open source projects, and is the most powerful. The paper chooses U-boot as the guiding programme of Bootloader, and studyed in-depth the whole design process, containing the Bootloader。Embedded software systems mainly contains Bootloader,operating systems,file systems,applications,drivers,etc.To an embedded system,bootloader usually relies on hardware.The system chose U-boot as the leading program of the Bootloader.Using that to complete the transplant of embedded system based on S3C2410A,and realize the U-boot transplant.In the kernel configuration and transplantioin process,corresponding to the development board’s hardware configuration and application functionality,we chose S3C2410A of core configuration as the template,and cut the Linux kernel and configurate it,then compiled to generate the kernel image file.In the configuraion,the first choice is the default configuration,then according to the actual needs we configurated individually in the system.At the same time,in the kernel configuration process,a part of function code that works closely with the kernel can directly compiles to the kernel.In the design of touch screen driver,this paper uses the diven management based on the Linux platform.Against unexpected pulse interference led to the deviations of the voltage value, touch-sceen coordinates of the origin,scale and display the coordinates of the origin is different when touch screen and the dot-matix LCD screen used with complementary.We used the method of the filtering algorithm and the coordinate transformation,and data accuracy has been greatly improved.It proved the algorithm of the paper has good processing performace.At present , the system based on S3C2410 development board is running stably, and its accuracy meets the requriement of civilian embedded device .Therefore, it definitely has a positive effect for the development of embedded technology.
Table of contents
Abstract 7-9
ABSTRACT 9-11
first chapter 11-14
1.1 Introduction 11
1.2 touch screen development status 11-12
1.3 paper the main work and arrangement of the chapters 12-14
1.3.1 of done 12-13
1.3.2 The paper is organized 13-14
the overall hardware and software development environment for embedded systems
14-22
2.1 system development, hardware environment introduced 14-19
2.1.1 Central CPU module - microprocessor S3C2410A 14-16
2.1.2 Memory Module - data memory (SDRAM), and program memory (FLASH) 16-19
2.1.3 Touch Panel Module 19
2.1.4 communication module 19
2.2 software introduces 19-22
2.2.1 Embedded Linux
About 19-20
2.2.2 U-Boot introduced 20-21
2.2.3 embedded file system introduced 21-22
touch screen principle and its controller 22-29
3.1 touch screen works 22-23
the touch screen controller and the operating mode of the
3.2 S3C2410A 23-25
3.2.1 S3C2410A touch screen controller 23-24
3.2.2 S3C2410A touch screen controller mode selection 24-25
3.3 touch screen data accuracy factors 25
3.4 to eliminate the impact of the touch screen data accuracy 25-29
value of the average filtering algorithm principle
3.4.1 25-26
3.4.2 touch screen LCD screen coordinate transform 26-29
Embedded LINUX system, touch screen capabilities to achieve 29-52
4.1 The touch screen control of the hardware design 29-30
4.2 embedded system platform for the realization 30-45
4.2.1 embedded Linux development of the general steps 30
4.2.2 U-of-boot transplantation 30-34
4.2.3 Linux kernel transplantation 34-40
4.2.4 file system produced 40-45
4.3 touch screen driver 45-52
4.3.1 touch screen device initialization 47-48
4.3.2 wait for the touch interrupt mode 48-49
4.3.3 interrupt service routine 49-52
Chapter V summarizes 52-53
References 53-54
thank 54-55
published
Appendix to pursue a degree during the academic catalog 55
Related dissertations
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research on Embedded Control System for Palletizing Robot
- Research and Design on Embedded Face Recognition Entrance Guard System
- The Design and Implementation of Embedded High Definition Video Monitoring System
- Embedded TCP streaming media playing system based on
- Research on Embedded Network Video Monitoring System Based on the ARM
- The Study of Intelligent Traffic Signal Based on Fuzzy Neural Network
- System of Video Surveillance on Slip-form Paver
- Design of the ECG Telemobitoring Terminal Based on Embedded Linux and GPRS
- Design and Research on Chinese Medicine Coating’s Monitoring System Based on ARM-LINUX
- The Research and Design of Embedded Video Surveillance for Baby Based on OpenCV
- ARM embedded video monitoring system based on compressed sensing
- Research of Protocol Conversion Module Based on CANopen-EtherNet/IP
- Research and Design of the Embedded Network Control System Based on ARM&Linux
- Research and Design of PAC Control System Based on Virtual Machine
- Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
- Design of Embedded Remote Monitoring System for Intelligent Home
- Smart Home Control System Based on Embedded Technology
- Intelligent Household System Research Based on Embedded Technology
- Research and Implementation of Embedded System in Intelligent Household