STMicroelectronics AN2807 STMPE811 Touchscreen Controller Reference Code Application Note

This document provides the reference code for the operation of the STMPE811 touchscreen controller. The first part describes how to initialize the STMPE811 device, while the second part provides two practical methods to handle the data coming from the device.


STMicroelectronics AN2807 STMPE811 Touchscreen Controller Reference Code Application Note - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
11
File format
PDF
File size
99 KB
Published
06 August, 2012
Updated
29 September, 2023
MD5 checksum
7D900DD2BD083CD51B52A8488797EB22

About this manual

This document serves as a reference guide for developers using the STMPE811 touchscreen controller. It details the specific register initialization sequence required to configure the device for touchscreen operation, covering settings for interrupts, ADC control, GPIO functions, and FIFO management.

The note further explains two practical methods for handling data from the device: group point reading and single point reading. It includes flowcharts and C code examples demonstrating how to implement these interrupt service routines (ISR) to efficiently process touch events.

What's inside

  • Introduction
  • Device initialization
  • Interrupt service routine (ISR)
  • Group point reading
  • Single point reading

Frequently asked questions

What filter capacitor values are recommended for small versus large touchscreen screens?

For screens less than 6 inches, a 1-2 nF capacitor is recommended, while bigger screens can use 5-10 nF capacitors.

What settling time and touch detect delay should be used with 1-2 nF capacitors?

A 500 uS settling time and 500uS touch detect delay are recommended for 1-2 nF capacitors.

What settling time and touch detect delay should be used with 5-10 nF capacitors?

A 1 mS settling time and touch detect delay are recommended for 5-10 nF capacitors.

Download PDF (99 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →