Embedded Touchscreen Drivers Development: A Bare-Metal Approach
Build a bare-metal STM32 driver for the XPT2046 touchscreen controller and turn raw touch readings into calibrated display coordinates.
About this course
A touch panel returns measurements. Firmware has to decide which readings represent a touch and where that touch lands on the display. This course develops that path from the register level up.
You’ll build the STM32 interfaces for the XPT2046, read touch coordinates, apply median filtering, and calibrate the driver against the display.
Read moreShow less
This course isn't just an academic endeavor—it's a synthesis of theory, real-world application, and forward-thinking. Every module, lesson, and example has been scrutinized and refined to ensure clarity, relevance, and depth.
Elevate Your Expertise: Join us in this immersive exploration into the world of touchscreen driver development. Discover the algorithms and designs that power our digital interactions daily. Secure your place in the vanguard of technology and innovation.
- Engineers and tech enthusiasts aiming for mastery in embedded systems.
- Professionals desiring to enhance their portfolio with cutting-edge skills.
- Scholars looking to gain a holistic and advanced understanding of touchscreen technologies
What you’ll be able to do
Explain touch sensing and calibration
- Compare the touchscreen technologies introduced in the course.
- Explain how the XPT2046 samples a resistive touch panel.
- Describe how chip select and SPI transactions carry touch commands and readings.
- Explain why a single sample can give an unstable touch location.
- Describe how median selection reduces the effect of outlying samples.
- Explain how calibration maps raw touch readings to screen coordinates.
Build and verify a touchscreen driver
- Implement the STM32 SPI operations needed by the touch controller.
- Configure and exercise the XPT2046 chip-select line.
- Read controller data and implement the touch-point function.
- Collect multiple samples to improve touch detection accuracy.
- Implement the Quickselect-based median calculation.
- Calibrate the driver and check touch positions against the display.
Course curriculum
Embedded Touchscreen Drivers Development: A Bare-Metal Approach
A Practical Guide to Touchscreen Driver Development
Watch Promo
This course isn't just an academic endeavor—it's a synthesis of theory, real-world application, and forward-thinking. Every module, lesson, and example has been scrutinized and refined to ensure clarity, relevance, and depth.
Elevate Your Expertise: Join us in this immersive exploration into the world of touchscreen driver development. Discover the algorithms and designs that power our digital interactions daily. Secure your place in the vanguard of technology and innovation.
- Engineers and tech enthusiasts aiming for mastery in embedded systems.
- Professionals desiring to enhance their portfolio with cutting-edge skills.
- Scholars looking to gain a holistic and advanced understanding of touchscreen technologies
Frequently Asked Questions
Course Curriculum
-
StartTools and Resources Needed
-
StartCourse Overview and Learning Objectives
-
StartDownloading CubeIDE (2:34)
-
StartInstalling CubeIDE (2:38)
-
StartGetting the required documentation (7:41)
-
StartGetting the required package for bare-metal development (21:19)
-
StartTesting the project setup (15:54)
-
StartImportant information about this section
-
StartProgramming : Enabling the Floating Point Unit (FPU) (18:00)
-
StartProgramming : Developing a UART Driver - Analyzing the Documentation (11:35)
-
StartProgramming : Developing a UART Driver - Listing out the steps (4:00)
-
StartProgramming : Developing a UART Driver - Implementing the Init. function (22:13)
-
StartProgramming : Developing a UART Driver - Implementing the Write function (5:39)
-
StartProgramming : Developing a UART Driver - Testing the Driver (6:39)
-
StartProgramming : Developing the System Timebase - Analyzing the Documentation (8:28)
-
StartProgramming : Developing the System Timebase - Implementing the Init. function (9:52)
-
StartProgramming : Developing the System Timebase - The rest of the functions (12:15)
-
StartProgramming : Developing the System Timebase - Testing the Timebase (5:34)
-
StartProgramming : BSP : Listing the out the Required Functions (7:55)
-
StartProgramming : Writing the LED Driver (5:01)
-
StartProgramming : Writing the PushButton Driver (4:00)
-
StartProgramming : Testing the Board Support Package (3:35)
-
StartProgramming : Analyzing the ADC Documentation (5:21)
-
StartProgramming : Listing out the steps for developing the ADC Driver (5:27)
-
StartProgramming : Writing the ADC Initialization function (13:21)
-
StartProgramming : Writing the ADC Read function (14:05)
-
StartProgramming : Analyzing the Documentation for the SPI Driver (7:34)
-
StartProgramming : Intializing the GPIO Pins for SPI (11:00)
-
StartProgramming : Implementaing Structures for Configruation Parameters (15:29)
-
StartProgramming : Configuring the Parameters (15:41)
-
StartProgramming : Writing the SPI Initialization function (14:55)
-
StartProgramming : Writing the SPI Transmit Function (Pt.1) (9:27)
-
StartProgramming : Writing the SPI Transmit Function (Pt.2) (10:26)
-
StartProgramming : Transmitting 16-bit Data (17:54)
-
StartProgramming : Transmitting 8-bit Data (6:46)
-
StartProgramming : Receiving Data (11:05)
-
StartProgramming : Testing the SPI Driver (15:47)
-
StartProgramming : Extending the SPI Driver (16:00)
Your Instructor
EmbeddedExpertIO represents a vibrant collective dedicated to the mastery of sophisticated embedded systems software development for professionals.
Our core objective is to equip individuals and organizations with the indispensable skills to thrive in the swiftly evolving embedded systems sector. We achieve this by providing immersive, hands-on education under the guidance of seasoned industry specialists. Our ambition is to emerge as the favored learning platform for embedded systems development professionals across the globe.