SLAAEU1A August   2025  – September 2026 MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1 Introduction
  5. 2 LaunchPad Setup
  6. 3 Hardware Connection
  7. 4 Design Considerations
    1. 4.1 IO Selection Consideration
    2. 4.2 Measurement Method
      1. 4.2.1 Touch Detection Method
      2. 4.2.2 X-Axis and Y-Axis Measurement
  8. 5 Software Structure
    1. 5.1 Touch Detection Example
    2. 5.2 Resistive Click and Drag Detection
    3. 5.3 Pin Mode Switching
  9. 6 Steps for Execution
  10. 7 Results
    1. 7.1 Touch Detection
    2. 7.2 Click and Drag Detection
  11. 8 Summary
  12. 9 References
  13. 10Revision History

Hardware Connection

Figure 3-1 shows the system block diagram which follows the Launchpad Pin Connection table.

 System Block Diagram Figure 3-1 System Block Diagram

The hardware setup is shown in Figure 3-2 where the details in the touchscreen can be seen. The Resistive Touchscreen used is of 780Ω and 250Ω resistance across the X and Y axis respectively. The pin configurations information for the resistive touchscreen being used and the calculations that need to be made based on the resistance, is shown in the Design Considerations section.

 Hardware Setup Figure 3-2 Hardware Setup