The STMPE811 is a GPIO (general purpose
input/output) port expander able to interface a
main digital ASIC via the two-line bidirectional bus
2
(I
C). A separate GPIO expander is often used in
mobile multimedia platforms to solve the
problems of the limited amount of GPIOs typically
available on the digital engine.
Applications
■ Portable media players
■ Game consoles
■ Mobile and smartphones
■ GPS
Table 1.Device summary
Order codePackagePackaging
STMPE811QTRQFN16Tape and reel
The STMPE811 offers great flexibility, as each I/O
can be configured as input, output or specific
functions. The device has been designed with
very low quiescent current and includes a wakeup
feature for each I/O, to optimize the power
consumption of the device.
A 4-wire touchscreen controller is built into the
STMPE811. The touchscreen controller is
enhanced with a movement tracking algorithm (to
avoid excessive data), a 128 x 32 bit buffer and
programmable active window feature.
Figure 2.STMPE811 pin configuration (top through view)
12 11 10 9
13
14
15
STMPE811
16
1 2 3 4
Table 2.Pin assignments
PinNameFunction
1Y-Y-/GPIO-7
2INTInterrupt output (VCC domain), open drain
2
3A0/Data OutI
4SCLKI
5SDATI
6V
CC
7Data inSPI Data In (V
C address in Reset, Data out in SPI mode (VCC domain)
2
C/SPI clock (VCC domain)
2
C data/SPI CS (VCC domain)
1.8 −3.3 V supply voltage
domain)
CC
8IN0IN0/GPIO-0
8
7
6
5
IN1/GPIO-1/MODE
9IN1
In RESET state, MODE selects the type of serial interface
2
C
"0" - I
"1" - SPI
10GNDGround
11IN2IN2/GPIO-2
12IN3IN3/GPIO-3
13X+X+/GPIO-4
14VioSupply for touchscreen driver and GPIO
15Y+Y+/GPIO-5
16X-X-/GPIO-6
Doc ID 14489 Rev 67/65
Pin configuration and functionsSTMPE811
2.1 Pin functions
The STMPE811 is designed to provide maximum features and flexibility in a very small pin-
count package. Most of the pins are multi-functional. Ta bl e 3 and Ta bl e 4 show how to select
the pin’s function.
Table 3.Pin configuration for IN2, IN3
GPIO_AF = 1GPIO_AF = 0
Pin / control
register
IN0GPIO-0ADC
IN1GPIO-1ADC
IN2GPIO-2ADCExternal reference +
IN3GPIO-3ADCExternal reference -
Table 4.Pin configuration for X+, Y+, X-, Y-
Pin / control
register
ADC control 1 bit 1 =
don’t care
GPIO_AF = 1GPIO_AF = 0
TSC control 1 bit 0 =
don’t care
ADC control 1 bit 1 = 0ADC control 1 bit 1 = 1
TSC control 1 bit 0 = 0TSC control 1 bit 0 = 1
X+GPIO-4ADCTSC X+
Y+GPIO-5ADCTSC Y+
X-GPIO-6ADCTSC X-
Y-GPIO-7ADCTSC Y-
8/65Doc ID 14489 Rev 6
STMPE811I2C and SPI interface
3 I2C and SPI interface
3.1 Interface selection
The STMPE811 interfaces with the host CPU via a I2C or SPI interface. The pin IN_1 allows
the selection of interface protocol at reset state.
Figure 3.STMPE811 interface
DIN
SPI I/F
module
DOUT
CLK
CS
SDAT
2
I C I/F
module
Table 5.Interface selection pins
PinI2C functionSPI functionReset state
3Address 0Data outCPHA for SPI
4CLOCKCLOCK
5SDATACSCPOL_N for SPI
7
9MODEI
SCLK
A0
−
MUX
unit
−
Data in
2
C set to ‘0’Set to ‘1’ for SPI
−
Doc ID 14489 Rev 69/65
I2C interfaceSTMPE811
SC
SC
4 I2C interface
The addressing scheme of STMPE811 is designed to allow up to 2 devices to be connected
to the same I
Figure 4.STMPE811 I
LK
2
C bus.
2
C interface
LK
STMPE811
Table 6.I
2
C address
ADDR0Address
00x82
10x88
For the bus master to communicate to the slave device, the bus master must initiate a Start
condition and be followed by the slave device address. Accompanying the slave device
address, is a read/write bit (R/W). The bit is set to 1 for read and 0 for write operation. If a
match occurs on the slave device address, the corresponding device gives an acknowledge
on the SDA during the 9
th
bit time. If there is no match, it deselects itself from the bus by not
responding to the transaction.
Figure 5.I
SDA
SCL
2
C timing diagram
tHD:STAtBUF
SP
tHD:STA
tHIGH
tLOW
tF
tSU:DAT
tHD:DAT
SR
tSU:STOtSU:STA
P
AI00589
tR
10/65Doc ID 14489 Rev 6
STMPE811I2C interface
Table 7.I2C timing
SymbolParameterMinTypMaxUni
f
SCL
t
LOW
t
HIGH
t
F
t
HD:STA
t
SU:STA
t
SU:DAT
t
HD:DAT
t
SU:STO
t
BUF
SCL clock frequency0
Clock low period1.3
Clock high period600
SDA and SCL fall time
START condition hold time (after this
period the first clock is generated)
START condition setup time (only relevant
for a repeated start period)
600
600
Data setup time100
Data hold time0
STOP condition setup time600
Time the bus must be free before a new
transmission can start
1.3
−
400kHz
−−
−−
−
300ns
−−
−−
−−
−−
−−
−−
µs
ns
ns
ns
ns
µs
ns
µs
Doc ID 14489 Rev 611/65
I2C interfaceSTMPE811
4.1 I2C features
The features that are supported by the I2C interface are listed below:
2
●I
C slave device
●Operates at 1.8 V
●Compliant to Philips I
●Supports standard (up to 100 Kbps) and fast (up to 400 Kbps) modes
Start condition
A Start condition is identified by a falling edge of SDATA while SCLK is stable at high state.
A Start condition must precede any data/command transfer. The device continuously
monitors for a Start condition and does not respond to any transaction unless one is
encountered.
Stop condition
A Stop condition is identified by a rising edge of SDATA while SCLK is stable at high state. A
Stop condition terminates communication between the slave device and the bus master. A
read command that is followed by NoAck can be followed by a Stop condition to force the
slave device into idle mode. When the slave device is in idle mode, it is ready to receive the
2
next I
C transaction. A Stop condition at the end of a write command stops the write
operation to registers.
2
C specification version 2.1
Acknowledge bit
The acknowledge bit is used to indicate a successful byte transfer. The bus transmitter
releases the SDATA after sending eight bits of data. During the ninth bit, the receiver pulls
the SDATA low to acknowledge the receipt of the eight bits of data. The receiver may leave
the SDATA in high state if it does not acknowledge the receipt of the data.
12/65Doc ID 14489 Rev 6
STMPE811I2C interface
4.2 Data input
The device samples the data input on SDATA on the rising edge of the SCLK. The SDATA
signal must be stable during the rising edge of SCLK and the SDATA signal must change
only when SCLK is driven low.
Table 8.Operating modes
ModeByteProgramming sequence
Read≥1
Start, Device address, R/W
Restart, Device address, R/W
If no Stop is issued, the Data Read can be continuously performed. If
= 0, Register address to be read
= 1, Data Read, Stop
the register address falls within the range that allows an address autoincrement, then the register address auto-increments internally after
every byte of data being read.
Start, Device address, R/W
= 0, Register address to be written, Data
Write, Stop
If no Stop is issued, the Data Write can be continuously performed. If
Write≥1
the register address falls within the range that allows address autoincrement, then the register address auto-increments internally after
every byte of data being written in. For those register addresses that
fall within a non-incremental address range, the address is kept static
throughout the entire write operation. Refer to the memory map table
for the address ranges that are auto and non-increment.
Figure 6.Read and write modes (random and sequential)
R/W=0
R/W=0
Ack
Ack
Reg
Address
Reg
Address
Ack
Ack
Device
Address
Device
Address
Restart
R/W=1
R/W=1
Data
Ack
Read
Data
Ack
Read
One byte
Read
More than one byte
Read
Start
Start
Device
Address
Device
Address
Stop
No Ack
Ack
Data
Read + 1
Ack
Data
Read + 2
Stop
No Ack
One byte
Write
More than one byte
Read
Start
Start
Device
Address
Device
Address
Master
Slave
R/W=0
R/W=0
Ack
Ack
Reg
Address
Reg
Address
Ack
Ack
Data
to be
written
Data to
Write
Ack
Ack
Write + 1
Stop
Data to
Ack
Write + 2
Data to
Ack
Stop
AM00775V1
Doc ID 14489 Rev 613/65
I2C interfaceSTMPE811
4.3 Read operation
A write is first performed to load the register address into the Address Counter but without
sending a Stop condition. Then, the bus master sends a reStart condition and repeats the
Device Address with the R/W bit set to 1. The slave device acknowledges and outputs the
content of the addressed byte. If no additional data is to be read, the bus master must not
acknowledge the byte and terminates the transfer with a Stop condition.
If the bus master acknowledges the data byte, then it can continue to perform the data
reading. To terminate the stream of data bytes, the bus master must not acknowledge the
last output byte, and be followed by a Stop condition. If the address of the register written
into the Address Counter falls within the range of addresses that has the auto-increment
function, the data being read are coming from consecutive addresses, which the internal
Address Counter automatically increments after each byte output. After the last memory
address, the Address Counter 'rolls-over' and the device continues to output data from the
memory address of 0x00. Similarly, for the register address that falls within a non-increment
range of addresses, the output data byte comes from the same address (which is the
address referred by the Address Counter).
Acknowledgement in read operation
For the above read command, the slave device waits, after each byte read, for an
acknowledgement during the ninth bit time. If the bus master does not drive the SDA to a
low state, then the slave device terminates and switches back to its idle mode, waiting for
the next command.
4.4 Write operations
A write is first performed to load the register address into the Address Counter without
sending a Stop condition. After the bus master receives an acknowledgement from the slave
device, it may start to send a data byte to the register (referred by the Address Counter).
The slave device again acknowledges and the bus master terminates the transfer with a
Stop condition.
If the bus master needs to write more data, it can continue the write operation without
issuing the Stop condition. Whether the Address Counter autoincrements or not after each
data byte write depends on the address of the register written into the Address Counter.
After the bus master writes the last data byte and the slave device acknowledges the receipt
of the last data, the bus master may terminate the write operation by sending a Stop
condition. When the Address Counter reaches the last memory address, it 'rolls-over' to the
next data byte write.
14/65Doc ID 14489 Rev 6
STMPE811SPI interface
5 SPI interface
The SPI (serial peripheral interface) in STMPE811 uses a 4-wire communication connection
(DATA IN, DATA OUT, CLK, CS). In the diagram, “Data in” is referred to as MOSI (master
out slave in) and “DATA out” is referred to as MISO (master in slave out).
5.1 SPI protocol definition
The SPI follows a byte-sized transfer protocol. All transfers begin with an assertion of CS_n
signal (falling edge). The protocol for reading and writing is different and the selection
between a read and a write cycle is dependent on the first captured bit on the slave device.
A '1' denotes a read operation and a '0' denotes a write operation. The SPI protocol defined
in this section is shown in Figure 3.
The following are the main features supported by this SPI implementation.
●Support of 1 MHz maximum clock frequency.
●Support for autoincrement of address for both read and write.
●Full duplex support for read operation.
●Daisy chain configuration support for write operation.
●Robust implementation that can filter glitches of up to 50 ns on the CS_n and SCL pins.
●Support for all 4 modes of SPI as defined by the CPHA, CPOL bits on SPICON.
5.1.1 Register reading
The following steps need to be followed for the register read through the SPI.
1. Assert CS_n by driving a '0' on this pin.
2. Drive a '1' on the first SCL launch clock on MOSI to select a read operation.
3. The next 7 bits on MOSI denote the 7-bit register address (MSB first).
4. The next address byte can now be transmitted on the MOSI. If the autoincrement bit is
set, the following address transmitted on the MOSI is ignored. Internally, the address is
incremented. If the autoincrement bit is not set, then the following byte denotes the
address of the register to be read next.
5. Read data is transmitted by the slave device on the MISO (MSB first), starting from the
launch clock following the last address bit on the MOSI.
6. Full duplex read operation is achieved by transmitting the next address on MOSI while
the data from the previous address is available on MISO.
7. To end the read operation, a dummy address of all 0's is sent on MOSI.
Doc ID 14489 Rev 615/65
SPI interfaceSTMPE811
5.1.2 Register write
The following steps need to be followed for register write through SPI.
1. Assert CS_n by driving a '0' on this pin.
2. Drive a '0' on the first SCL launch clock on MOSI to select a write operation.
3. The next 7 bits on MOSI denote the 7-bit register address (MSB first).
4. The next byte on the MOSI denotes data to be written.
5. The following transmissions on MOSI are considered byte-sized data. The register
address to which the following data is written depends on whether the autoincrement
bit in the SPICON register is set. If this bit has been set previously, the register address
is incremented for data writes.
5.1.3 Termination of data transfer
A transfer can be terminated before the last launch edge by deasserting the CS_n signal. If
the last launch clock is detected, it is assumed that the data transfer is successful.
16/65Doc ID 14489 Rev 6
STMPE811SPI interface
5.2 SPI timing modes
The SPI timing modes are defined by CPHA and CPOL,CPHA and CPOL are read from the
"SDAT" and "A0" pins during power-up reset. The following four modes are defined
according to this setting.
Table 9.SPI timing modes
CPOL_N (SDAT pin)CPOLCPHA (ADDR pin)Mode
1000
1011
0102
0113
The clocking diagrams of these modes are shown in ON reset. The device always operates
in mode 0. Once the bits are set in the SPICON register, the mode change takes effect on
the next transaction defined by the CS_n pin being deasserted and asserted.
5.2.1 SPI timing definition
Table 10.SPI timing specification
SymbolDescription
CS_n falling to
t
CSS
t
CL
t
CH
t
LDI
t
LDO
t
t
CCS
t
CSH
DI
first capture
clock
Clock low
period
Clock high
period
Launch clock
to MOSI data
valid
Launch clock
to MISO data
valid
Data on MOSI
valid
Last clock
edge to CS_n
high
CS_n high
period
Timing
MinTypMax
1
500
500
−−
−−
1
1
2
−−
−−
−−
20ns
330µs
−−
−−
−−
Unit
µs
ns
ns
µs
µs
µs
Doc ID 14489 Rev 617/65
SPI interfaceSTMPE811
Table 10.SPI timing specification (continued)
Timing
SymbolDescription
MinTypMax
Unit
t
CSCL
t
CSZ
CS_n high to
first clock edge
CS_n high to
tri-state on
MISO
300
Figure 7.SPI timing specification
−−
1
−−
ns
µs
18/65Doc ID 14489 Rev 6
STMPE811STMPE811 registers
6 STMPE811 registers
This section lists and describes the registers of the STMPE811 device, starting with a
register map and then provides detailed descriptions of register types.
Table 11.Register summary map table
AddressRegister nameBitTypeReset valueFunction
0x00CHIP_ID16R0x0811Device identification
Revision number
0x02ID_VER8R0x03
0x03SYS_CTRL18R/W0x00Reset control
0x04SYS_CTRL28R/W0x0FClock control
0x08SPI_CFG8R/W0x01SPI interface configuration
0x09INT_CTRL8R/W0x00Interrupt control register
0x0AINT_EN8R/W0x00Interrupt enable register
0x0BINT_STA8R0x10interrupt status register
0x0CGPIO_EN8R/W0x00
0x0DGPIO_INT_STA8R0x00
0x01 for engineering sample
0x03 for final silicon
GPIO interrupt enable
register
GPIO interrupt status
register
0x0EADC_INT_EN8R/W0x00
0x0FADC_INT_STA8R0x00ADC interrupt status register
0x10GPIO_SET_PIN8R/W0x00GPIO set pin register
0x11GPIO_CLR_PIN8R/W0x00GPIO clear pin register
0x12GPIO_MP_STA8R/W0x00
0x13GPIO_DIR8R/W0x00GPIO direction register
0x14GPIO_ED8R/W0x00GPIO edge detect register
0x15GPIO_RE8R/W0x00GPIO rising edge register
0x16GPIO_FE8R/W0x00GPIO falling edge register
0x17GPIO_AF8R/W0x00Alternate function register
0x20ADC_CTRL18R/W0x1CADC control
0x21ADC_CTRL28R/W0x01ADC control
0x22ADC_CAPT8R/W0xFF
0x30ADC_DATA_CH016R0x0000ADC channel 0
0x32ADC_DATA_CH116R0x0000ADC channel 1
ADC interrupt enable
register
GPIO monitor pin state
register
To initiate ADC data
acquisition
Doc ID 14489 Rev 619/65
STMPE811 registersSTMPE811
Table 11.Register summary map table (continued)
AddressRegister nameBitTypeReset valueFunction
0x34ADC_DATA_CH216R0x0000ADC channel 2
0x36ADC_DATA_CH316R0x0000ADC channel 3
0x38ADC_DATA_CH416R0x0000ADC channel 4
0x3AADC_DATA_CH516R0x0000ADC channel 5
0x3CADC_DATA_CH616R0x0000ADC channel 6
0x3EADC_DATA_CH716R0x0000ADC channel 7
0x40TSC_CTRL8R/W0x90
0x41TSC_CFG8R/W0x00
0x42WDW_TR_X16R/W0x0FFFWindow setup for top right X
0x44WDW_TR_Y16R/W0x0FFFWindow setup for top right Y
4-wire touchscreen
controller setup
Touchscreen controller
configuration
0x46WDW_BL_X16R/W0x0000
0x48WDW_BL_Y16R/W0x0000
0x4AFIFO_TH8R/W0x00
0x4BFIFO_STA8R/W0x20Current status of FIFO
0x4CFIFO_SIZE8R0x00Current filled level of FIFO
0x4DTSC_DATA_X16R0x0000
0x4FTSC_DATA_Y16R0x0000
0x51TSC_DATA_Z8R0x0000
0x52TSC_DATA_XYZ32R0x00000000
0x56
0x57TSC_DATA8R0x00
0x58TSC_I_DRIVE8R/W0x00
0x59TSC_SHIELD8R/W0x00
TSC_FRACTION
_Z
80x00
Window setup for bottom left
X
Window setup for bottom left
Y
FIFO level to generate
interrupt
Data port for touchscreen
controller data access
Data port for touchscreen
controller data access
Data port for touchscreen
controller data access
Data port for touchscreen
controller data access
Touchscreen controller
FRACTION_Z
Data port for touchscreen
controller data access
Touchscreen controller drive
I
Touchscreen controller
shield
0x60TEMP_CTRL8R/W0x00Temperature sensor setup
20/65Doc ID 14489 Rev 6
STMPE811STMPE811 registers
Table 11.Register summary map table (continued)
AddressRegister nameBitTypeReset valueFunction
0x61TEMP_DATA8R0x00
0x62TEMP_TH8R/W0x00
Temperature data access
port
Threshold for temperature
controlled interrupt
Doc ID 14489 Rev 621/65
System and identification registersSTMPE811
7 System and identification registers
Table 12.System and identification registers map
AddressRegister nameBitTypeResetFunction
0x00CHIP_ID16R0x0811Device identification
0x02ID_VER8R0x03
Revision number
(0x03 for engineering sample)
0x03SYS_CTRL18R/W0x00Reset control
0x04SYS_CTRL28R/W0x0FClock control
0x08SPI_CFG8R/W0x01SPI interface configuration
22/65Doc ID 14489 Rev 6
STMPE811System and identification registers
CHIP_IDDevice identification
Address:0x00
Type:R
Reset:0x0811
Description:16-bit device identification
ID_VERRevision number
Address:0x02
Type:R
Reset:0x03 (0x01 for engineering samples)
Description:16-bit revision number
SYS_CTRL1Reset control
76543210
RESERVEDSOFT_RESETHIBERNATE
Address:0x03
Type:R/W
Reset:0x00
Description:The reset control register enables to reset the device
[7:2] RESERVED
[1] SOFT_RESET: Reset the STMPE811 using the serial communication interface
[0] HIBERNATE: Force the device into hibernation mode.
Forcing the device into hibernation mode by writing ‘1’ to this bit would disable the hot-key
feature. If the hot-key feature is required, use the default auto-hibernation mode.
SYS_CTRL2Clock control
76543210
----TS_OFFGPIO_OFFTSC_OFFADC_OFF
Address:0x04
Type:R/W
Reset:0x0F
Description:This register enables to switch off the clock supply
[7:4] RESERVED
[3] TS_OFF: Switch off the clock supply to the temperature sensor
1: Switches off the clock supply to the temperature sensor
[2] GPIO_OFF: Switch off the clock supply to the GPIO
1: Switches off the clock supply to the GPIO
Doc ID 14489 Rev 623/65
System and identification registersSTMPE811
[1] TSC_OFF: Switch off the clock supplyto the touchscreen controller
1: Switches off the clock supply to the touchscreen controller
[0] ADC_OFF: Switch off the clock supply to the ADC
1: Switches off the clock supply to the ADC
SPI_CFGSPI interface configuration
76543210
RESERVEDAUTO_INCRSPI_CLK_MOD1SPI_CLK_MOD0
Address:0x08
Type:R/W
Reset:0x01
Description:SPI interface configuration register
[7:3] RESERVED
[2] AUTO_INCR:
This bit defines whether the SPI transaction follows an addressing scheme that internally
autoincrements or not
[1] SPI_CLK_MOD1:
This bit reflects the value of the SCAD/A0 pin during power-up reset
[0] SPI_CLK_MOD0:
This bit reflects the value of the SCAD/A0 pin during power-up reset
24/65Doc ID 14489 Rev 6
STMPE811Interrupt system
8 Interrupt system
The STMPE811 uses a 2-tier interrupt structure. The ADC interrupts and GPIO interrupts
are ganged as a single bit in the “interrupt status register”. The interrupts from the
touchscreen controller and temperature sensor can be seen directly in the interrupt status
register.
Figure 8.Interrupt system diagram
GPIO
interrupt
status
GPIO
interrupt
enable
ADC
interrupt
status
ADC
interrupt
enable
FIFO status,
TSC touch,
Temp sensor
AND
AND
Interrupt
status
Interrupt
enable
AND
Doc ID 14489 Rev 625/65
Interrupt systemSTMPE811
INT_CTRLInterrupt control register
76543210
RESERVEDINT_POLARITYINT_TYPEGLOBAL_INT
Address:0x09
Type:R/W
Reset:0x00
Description:The interrupt control register is used to enable the interruption from a system-related
interrupt source to the host.
[7:3] RESERVED
[2] INT_POLARITY: This bit sets the INT pin polarity
1: Active high/rising edge
0: Active low/falling edge
[1] INT_TYPE: This bit sets the type of interrupt signal required by the host
1: Edge interrupt
0: Level interrupt
[0] GLOBAL_INT: This is master enable for the interrupt system
Description:The interrupt status register monitors the status of the interruption from a particular
interrupt source to the host. Regardless of whether the INT_EN bits are enabled, the
INT_STA bits are still updated. Writing '1' to this register clears the corresponding
bits. Writing '0' has no effect.
[7] GPIO: Any enabled GPIO interrupts
[6] ADC: Any enabled ADC interrupts
[5] TEMP_SENS: Temperature threshold triggering
[4] FIFO_EMPTY: FIFO is empty
[3] FIFO_FULL: FIFO is full
[2] FIFO_OFLOW: FIFO is overflowed
[1] FIFO_TH: FIFO is equal or above threshold value.
This bit is set when FIFO level equals to threshold value. It will only be asserted again if FIFO
level drops to < threshold value, and increased back to threshold value.
[0] TOUCH_DET: Touch is detected
GPIO_INT_ENGPIO interrupt enable register
76543210
IEG[x]
Address:0x0C
Type:R/W
Reset:0x00
Description:The GPIO interrupt register enables the GPIO interruption of a particular GPIO
source to the host.
[7:0] IEG[x]: Interrupt enable GPIO mask (where x = 7 to 0)
1: Writing ‘1’ to the IE[x] bit enables the interruption to the host
GPIO_INT_STAGPIO interrupt status register
76543210
ISG[x]
Address:0x0D
Type:R
Reset:0x00
Description:The GPIO interrupt status register monitors the status of the interruption from a
particular GPIO pin interrupt source to the host. Regardless of whether or not the
GPIO_INT_STA bits are enabled, the corresponding GPIO_STA bits are still updated.
Doc ID 14489 Rev 627/65
Interrupt systemSTMPE811
The ISG[7:0] bits are the interrupt status bits corresponding to the GPIO[7:0] pins.
Writing '1' to this register clears the corresponding bits. Writing '0' has no effect.
[7:0] ISG[x]: GPIO interrupt status (where x = 7 to 0)
Read:
Interrupt status of the GPIO[x]. Reading the register clears any bits that have been set to '1'
Write:
Writing to this register has no effect
ADC_INT_ENADC interrupt enable register
76543210
IEAC[x]
Address:0x0E
Type:R/W
Reset:0x00
Description:The ADC enable register enables the interruption of a particular ADC source to the
host.
[7:0] IEAC[x]: Interrupt enable ADC mask (where x = 7 to 0)
1: Writing ‘1’ to the IE[x] bit enables the interruption to the host
ADC_INT_STAADC interrupt status register
76543210
ISA[x]
Address:0x0F
Type:R
Reset:0x00
Description:The ADC interrupt status register monitors the status of the interruption from a
particular ADC source to the host. Regardless of whether or not the ADC_INT_EN
bits are enabled, the corresponding ADC_STA bits are still updated. The ISA[7:0] bits
are the interrupt status bits corresponding to the ADC[7:0] pins. Writing '1' to this
register clears the corresponding bits. Writing '0' has no effect.
[7:0] ISA[x]: ADC interrupt status (where x = 7 to 0)
Read:
Interrupt status of the ADC[x]. Reading the register clears any bits that have been set to '1'
Write:
Writing to this register has no effect.
Note: Refer to Ta bl e 1 3 for the associated ADC intput pins to each ADC channels.
28/65Doc ID 14489 Rev 6
STMPE811Analog-to-digital converter
9 Analog-to-digital converter
An 8-input,12-bit analog-to-digital converter (ADC) is integrated in the STMPE811. The ADC
can be used as a generic analog-to-digital converter, or as a touchscreen controller capable
of controlling a 4-wire resistive touchscreen.
Write '1' to initiate data acquisition for the corresponding channel. Writing '0' has no effect.
Reads '1' if conversion is completed. Reads '0' if conversion is in progress.
ADC_DATA_CHnADC channel data registers
11109876543 210
DATA[11:0]
Address:Add address
Type:R/W
Reset:0x0000
Description:
ADC data register 0-7 (DATA_CHn=0 -7)
[11:0] DATA[11:0]: ADC channel data
If TSC is enabled, CH3-0 is used for TSC and all readings to these channels give 0x0000
The ADC in STMPE811 operates on an internal RC clock with a typical frequency of
6.5 MHz. The total conversion time in ADC mode depends on the "SampleTime" setting,
and the clock division field 'Freq'.
The following table shows the conversion time based on 6.5 MHz, 3.25 MHz and 1.625 MHz
clock.
The STMPE811 is integrated with a hard-wired touchscreen controller for 4-wire resistive
type touchscreen. The touchscreen controller is able to operate completely autonomously,
and interrupt the connected CPU only when a pre-defined event occurs.
Figure 9.Touchscreen controller block diagram
Movement
&
window tracking
FIFO
FIFO
&
interrupt control
10.1 Driver and switch control unit
The driver and switch control unit allows coordination of the ADC and the MUX/switch. With
the coordination of this unit, a stream of data is produced at a selected frequency.
The touchscreen drivers can be configured with 2 current ratings: 20 mA or 50 mA. In the
case where multiple touch-down on the screen is causing a short, the current from the driver
is limited to these values. Tolerance of these current setting is +/- 25%.
Movement tracking
10/12 bit
ADC
Driver
&
switch control
Switch
&
drivers
s
The "Tracking Index" in the TSC_CTRL register specifies a value, which determines the
distance between the current touch position and the previous touch position. If the distance
is shorter than the tracking index, it is discarded.
The tracking is calculated by summation of the horizontal and vertical movement. Movement
is only reported if:
(Current X - Previously Reported X) + (Current Y - Previously Reported Y) > Tracking Index
If pressure reporting is enabled (X/Y/Z), an increase in pressure override the movement
tracking and report the new data set, even if X/Y is within the previous tracking index. This is
to ensure that a slow touch is not discarded.
If pressure data is not used, select X/Y mode in touchscreen data acquisition. (Opmode field
in TSCControl register).
Doc ID 14489 Rev 633/65
Touchscreen controllerSTMPE811
Window tracking
The -WDW_X and WDW_Y registers allow to pre-set a sub-window in the touchscreen such
that any touch position that is outside the sub-window is discarded.
Figure 10. Window tracking
Top right coordinates
Active window
Bottom left coordinates
FIFO
FIFO has a depth of 128 sectors. This is enough for 128 sets of touch data at maximum
resolution (2 x 12 bits). FIFO can be programmed to generate an interrupt when it is filled to
a pre-determined level.
Sampling
The STMPE811 touchscreen controller has an internal 180 kHz, 12-bit ADC able to execute
autonomous driving/sampling. Each "sample" consists of 4 ADC readings that provide the X
and Y locations, as well as the touch pressure.
Figure 11. Sampling
Drive X
ADC
takes X reading
Settling
period
Drive Y
Settling
period
ADC
takes Y reading
34/65Doc ID 14489 Rev 6
STMPE811Touchscreen controller
Sampling time calculation
The equation for a complete sampling cycle is described below.
Figure 12. Sampling time calculation
-
-
Settling Time
Sampling X
Settling Time
Sampling Y
Settling Time
To uch Detect Delay
A complete sampling cycle
Sampling Z
To uch Detect Delay
Time taken for sampling;
- Touch Detect Delay x 2 + Settling Time x 3 + (AVE_CTRL x ADC_SAMPLE_TIME) x 3 for X/Y/Z mode
- Touch Detect Delay x 2 + Settling Time x 2 + (AVE_CTRL x ADC_SAMPLE_TIME) x 2 for X/Y mode
AM08681V3
Oversampling and averaging function
The STMPE811 touchscreen controller can be configured to oversample by 2/4/8 times and
provide the averaged value as final output. This feature helps to reduce the effect of
surrounding noise.
1. For large panels (> 6”), a capacitor of 10 nF is recommended at the touchscreen terminals for noise filtering.
In this case, settling time of 1 ms or more is recommended.
(1)
38/65Doc ID 14489 Rev 6
STMPE811Touchscreen controller
10.2 Touch detect delay
Touch Detect Delay is an additional method used to compensate for the time it takes for the
panel voltage to be pulled high during a non-touch condition.
For example, the way it works to detect a touch:
X+ is pulled high and Y+ is driven low. After Touch Detect Delay is expired the level of X+ is
read. If no touch, X+ is high. If there is a touch, X+ is low.
If the initial voltage of X+ is low before being pulled high by the internal resistor, especially if
a filtering capacitor is connected, this time needs to be compensated. The Touch Delay
setting provides time for the voltage to be pulled high in a non-touch condition and avoids a
false report of a touch condition.
Normally the Touch Detect Delay needs to be long enough to allow the voltage to rise to V+
in a non-touch condition and this will depend on the presence of external filtering capacitors.
For more details on recommendation of Touch Detect delay register setting, refer to
STMPE811 Application Note (AN2825 ST document).
Doc ID 14489 Rev 639/65
Touchscreen controllerSTMPE811
WDW_TR_XWindow setup for top right X
76543 210
TR_X [11:0]
Address:0x42
Type:R/W
Reset:0x0FFF
Description:
Window setup for top right X coordinates.
[11:0] TR_X: Bit 11:0 of top right X coordinates
WDW_TR_YWindow setup for top right Y
76543 210
TR_Y [11:0]
Address:0x44
Type:R/W
Reset:0x0FFF
Description:
Window setup for top right Y coordinates.
[11:0] TR_X: Bit 11:0 of top right Y coordinates
WDW_BL_XWindow setup for bottom left X
76543 210
BL_X [11:0]
Address:0x46
Type:R/W
Reset:0x0000
Description:
Window setup for bottom left X coordinates.
[11:0] BL_X: Bit 11:0 of bottom left X coordinates
WDW_BL_YWindow setup for bottom left Y
76543 210
BL_Y [11:0]
Address:0x48
Type:R/W
Reset:0x0000
Description:
40/65Doc ID 14489 Rev 6
Window setup for bottom left Y coordinates.
[11:0] BL_X: Bit 11:0 of bottom left Y coordinates
STMPE811Touchscreen controller
FIFO_THFIFO threshold
76543210
FIFO_TH
Address:0x4A
Type:R/W
Reset:0x00
Description:
Triggers an interrupt upon reaching or exceeding the threshold value. This field must not be set
as zero.
The data format from the TSC_DATA register depends on the setting of "OpMode" field in
TSC_CTRL register. The samples acquired are accessed in "packed samples". The size of
each "packed sample" depends on which mode the touchscreen controller is operating in.
The TSC_DATA register can be accessed in 2 modes:
●Autoincrement
●Non autoincrement
To access the 128-sets buffer, the non autoincrement mode should be used.
Table 16.Touchscreen controller DATA register
TSC_CTRL in
operation
mode
0004[11:4] of X
0013[11:4] of X
0102[11:4] of X[3:0] of X
0112[11:4] of Y[3:0] of Y
1001[7:0] of Z-
Number of
bytes to read
from
TSC_DATA_XYZ
Byte0Byte1Byte2Byte3
[3:0] of X
[11:8] of Y
[3:0] of X
[11:8] of Y
[7:0] of Y[7:0] of Z
[7:0] of Y
−
−−
−−
−−
Doc ID 14489 Rev 643/65
Touchscreen controllerSTMPE811
TSC_FRACTION_ZTouchscreen controller FRACTION_Z
76543210
RESERVEDFRACTION_Z
Address:0x56
Type:R
Reset:0x00
Description:This register allows to select the range and accuracy of the pressure measurement
[7:3] RESERVED
[2:0] FRACTION_Z:
000: Fractional part is 0, whole part is 8
001: Fractional part is 1, whole part is 7
010: Fractional part is 2, whole part is 6
011: Fractional part is 3, whole part is 5
100: Fractional part is 4, whole part is 4
101: Fractional part is 5, whole part is 3
110: Fractional part is 6, whole part is 2
111: Fractional part is 7, whole part is 1
TSC_I_DRIVETouchscreen controller drive I
76543210
RESERVEDDRIVE
Address:0x58
Type:R/W
Reset:0x00
Description:This register sets the current limit value of the touchscreen drivers
[7:1] RESERVED
[0] DRIVE: maximum current on the touchscreen controller (TSC) driving channel
0: 20 mA typical, 35 mA max
1: 50 mA typical, 80 mA max
TSC_SHIELDTouchscreen controller shield
76543210
RESERVEDX+X-Y+Y-
Address:0x59
Type:R
Reset:0x00
Description:Writing each bit would ground the corresponding touchscreen wire
The following are the steps to configure the touchscreen controller (TSC):
a) Disable the clock gating for the touchscreen controller and ADC in the SYS_CFG2
register.
b) Configure the touchscreen operating mode and the window tracking index.
c) A touch detection status may also be enabled through enabling the corresponding
interrupt flag. With this interrupt, the user is informed through an interrupt when
the touch is detected as well as lifted.
d) Configure the TSC_CFG register to specify the “panel voltage settling time”, touch
detection delays and the averaging method used.
e) A windowing feature may also be enabled through TSCWdwTRX, TSCWdwTRY,
TSCWdwBLX and TSCWdwBLY registers. By default, the windowing covers the
entire touch panel.
f) Configure the TSC_FIFO_TH register to specify the threshold value to cause an
interrupt. The corresponding interrupt bit in the interrupt module must also be
enabled. This interrupt bit should be masked off during data fetching from the
FIFO in order to prevent an unnecessary trigger of this interrupt. Upon completion
of the data fetching, this bit can be re-enabled
g) By default, the FIFO_RESET bit in the TSC_FIFO_CTRL_STA register holds the
FIFO in Reset mode. Upon enabling the touchscreen controller (through the EN
bit in TSC_CTRL), this FIFO reset is automatically deasserted. The FIFO status
may be observed from the TSC_FIFO_CTRL_STA register or alternatively through
the interrupt.
h) Once the data is filled beyond the FIFO threshold value, an interrupt is triggered
(assuming the corresponding interrupt is being enabled). The user is required to
continuously read out the data set until the current FIFO size is below the
threshold, then, the user may clear the interrupt flag. As long as the current FIFO
size exceeds the threshold value, an interrupt from the touchscreen controller is
sent to the interrupt module. Therefore, even if the interrupt flag is cleared, the
interrupt flag is automatically asserted, as long as the FIFO size exceeds the
threshold value.
i) The current FIFO size can be obtained from the TSC_FIFO_Sz register. This
information may assists the user in how many data sets are to be read out from
the FIFO, if the user intends to read all in one shot. The user may also read a data
set by a data set.
j) The TSC_DATA_X register holds the X-coordinates. This register can be used in
all touchscreen operating modes.
k) The TSC_DATA_Y register holds the Y-coordinates. TSC_DATA_Y register holds
the Y-coordinates.
l) The TSC_DATA_Z register holds the Z value. TSC_DATA_Z register holds the Z-
coordinates.
m) The TSCDATA_XYZ register holds the X, Y and Z values. These values are
packed into 4 bytes. This register can only be used when the touchscreen
operating mode is 000 and 001. This register is to facilitate less byte read.
n) For the TSC_FRACT_Z register, the user may configure it based on the
touchscreen panel resistance. This allows the user to specify the resolution of the
Z value. With the Z value obtained from the register, the user simply needs to
multiply the Z value with the touchscreen panel resistance to obtain the touch
resistance.
o) The TSC_DATA register allows facilitation of another reading format with minimum
2
I
C transaction overhead by using the non autoincrement mode (or equivalent
mode in SPI). The data format is the same as TSC_DATA_XYZ, with the
exception that all the data fetched are from the same address.
p) Enable the EN bit of the TSC_CTRL register to start the touch detection and data
acquisition.
q) During the auto-hibernate mode, a touch detection can cause a wake-up to the
device only when the TSC is enabled and the touch detect status interrupt mask is
enabled.
r) In order to prevent confusion, it is recommended that the user not mix the data
fetching format (TSC_DATA_X, TSC_DATA_Y, TSC_DATA_Z, TSC_DATA_XYZ
and TSC_DATA) between one reading and the next.
s) It is also recommended that the user should perform a FIFO reset and TSC
disabling when the ADC or TSC setting are reconfigured.
Doc ID 14489 Rev 647/65
Temperature sensorSTMPE811
12 Temperature sensor
The STMPE811 internal temperature sensor can be used as a reference for compensation
of the touchscreen parameters. Temperature measurement is optimised for temperature
from 0
Table 17.Touchscreen parameters
° C to 85 ° C.
AddressRegister nameBitFunction
0x60TEMP_CTRL8Temperature sensor setup
0x61TEMP_DATA16Temperature data access port
0x63TEMP_TH16Threshold for temperature controlled interrupt
48/65Doc ID 14489 Rev 6
STMPE811Temperature sensor
TEMP_CTRLTemperature sensor setup
765 4 3210
RESERVEDTHRES_RANGE THRES_ENACQ_MODACQENABLE
Address:0x60
Type:R/W
Reset:0x00
Description:
Temperature sensor setup
[7:5] RESERVED
[4] THRES_RANGE:
'0' assert interrupt if temperature is >= threshold
'1' assert interrupt if otherwise
[3] THRES_EN: temperature threshold enable
[2] ACQ_MOD:
'0' to acquire temperature for once only
'1' to acquire temperature every 10mS
[1] ACQ
[0] ENABLE
TEMP_DATATemperature data
11109876543 210
TEMPERATURE
Address:0x61 is MSB, 0x62 is LSB
Type:R
Reset:0x00
Description:
Temperature data access port
[11:0] TEMPERATURE: Temperature reading
Absolute temperature
* temperature [11:0] ) / 7.51 (12-bit ADC)
= ( V
IO
= ( V
* temperature [9:0] ) / 7.51 (10-bit ADC)
IO
Note that V
Variations in V
is used as a reference in temperature acquisition.
IO
directly affect the accuracy of temperature acquired.
IO
Doc ID 14489 Rev 649/65
Temperature sensorSTMPE811
TEMP_THTemperature threshold
11109876543 210
TEMP_TH
Address:0x63 is MSB, 0x64 is LSB
Type:R/W
Reset:0x00
Description:
Threshold for temperature controlled interrupt
[11:0] TEMP_TH: temperature threshold
50/65Doc ID 14489 Rev 6
STMPE811GPIO controller
13 GPIO controller
A total of 8 GPIOs are available in the STMPE811 port expander device. Most of the GPIOs
share physical pins with some alternate functions. The GPIO controller contains the
registers that allow the host system to configure each of the pins into either a GPIO, or one
of the alternate functions. Unused GPIOs should be configured as outputs to minimize
power consumption.
A group of registers are used to control the exact function of each of the 8 GPIOs. The
registers and their respective addresses are listed in the following table.
Table 18.GPIO control registers
AddressRegister name
0x10GPIO_SET_PIN8Set pin register
0x11GPIO_CLR_PIN8Clear pin state
0x12GPIO_MP_STA8Monitor pin state
0x13GPIO_DIR8Set pin direction
0x14GPIO_ED8Edge detect status
0x15GPIO_RE8
0x16GPIO_FE8
0x17GPIO_ALT_FUNCT8Alternate function register
Size
(bit)
Function
Rising edge detection
enable
Falling edge detection
enable
All GPIO registers are named as GPIO-x, where x represents the functional group.
76543 210
GPIO-7GPIO-6GPIO-5GPIO-4GPIO-3GPIO-2GPIO-1GPIO-0
GPIO_SET_PINGPIO set pin register
Address:0x10
Type:R/W
Reset:0x00
Description:GPIO set pin register.
Writing 1 to this bit causes the corresponding GPIO to go to 1 state.
Writing 0 has no effect.
Doc ID 14489 Rev 651/65
GPIO controllerSTMPE811
GPIO_CLR_PINClear pin state register
Address:0x11
Type:R/W
Reset:0x00
Description:GPIO clear pin state register.
Writing ‘1’ to this bit causes the corresponding GPIO to go to 0 state.
Writing ‘0’ has no effect.
GPIO_MP_STAGPIO monitor pin state register
Address:0x12
Type:R/W
Reset:0x00
Description:GPIO monitor pin state.
Reading this bit yields the current state of the bit. Writing has no effect.
GPIO_DIRGPIO set pin direction
Address:0x13
Type:R/W
Reset:0x00
Description:GPIO set pin direction register.
Writing ‘0’ sets the corresponding GPIO to input state, and ‘1’ sets it to output state.
All bits are ‘0’ on reset.
GPIO_ED_STAGPIO edge detect status
Address:0x14
Type:R/W
Reset:0x00
Description:GPIO edge detect status register. An edge transition has been detected.
Setting this bit to ‘1’ would enable the detection of the rising edge transition.
The detection would be reflected in the GPIO edge detect status register.
GPIO_FEFalling edge detection enable register
Address:0x16
Type:R/W
Reset:0x00
Description:Setting this bit to ‘1’ would enable the detection of the falling edge transition.
The detection would be reflected in the GPIO edge detect status register.
GPIO_ALT_FUNCTAlternate function register
Address:0x17
Type:R/W
Reset:0x0F
Description:Alternate function register. "‘0’ sets the corresponding pin to function as
touchscreen/ADC, and ‘1’ sets it into GPIO mode.
13.0.1 Power supply
The STMPE811 GPIO operates from a separate supply pin (VIO). This dedicated supply pin
provides a level-shifting feature to the STMPE811. The GPIO remains valid until V
IO
is
removed.
The host system may choose to turn off V
not allowed to turn off supply to V
, while keeping the Vcc supplied.
IO
The touchscreen is always powered by V
supply while keeping VIO supplied. However it is
cc
. For better resolution and noise immunity, VIO
IO
above 2.8 V is advised.
13.0.2 Power-up reset (POR)
The STMPE811 is equipped with an internal POR circuit that holds the device in reset state,
until the V
On power-up reset, all GPIOs are set as input.
supply input is valid. The internal POR is tied to the VIO supply pin.
IO
Doc ID 14489 Rev 653/65
Maximum ratingSTMPE811
14 Maximum rating
Stressing the device above the ratings listed in the “Absolute maximum ratings” table may
cause permanent damage to the device. These are stress ratings only, and operation of the
device at these or any other conditions above those indicated in the operating sections of
this specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect the device’s reliability.
Table 19.Absolute maximum ratings
SymbolParameterValueUnit
V
V
Supply voltage4.5V
CC
GPIO supply voltage4.5V
IO
ESDESD protection on each GPIO pin (air discharge)4kV
TOperating temperature-40 - 85°C
T
Storage temperature-65 - 155°C
STG
Thermal resistance junction-ambient96°C/W
T
J
54/65Doc ID 14489 Rev 6
STMPE811Maximum rating
14.1 Recommended operating conditions
Table 20.Power consumption
Val ue
SymbolParameterTest condition
MinTypMax
Unit
VccI/O supply voltage
V
I
CC-active
I
IO-active
I
IO-active
I
CC-
hibernate
I
IO-hibernate
Core supply voltage1.65
IO
Core supply current
I/O supply current
I/O supply current
Core supply current
I/O supply current
Vio >= Vcc
Touchscreen
controller at 100 Hz
sampling
=1.8− 3.3 V
V
CC
Touchscreen
controller at 100 Hz
sampling
=1.8V
V
IO
Touchscreen
controller at 100 Hz
sampling
=3.3V
V
IO
Hibernate state, no
I2C/SPI activity
=1.8V
V
CC
Hibernate state, no
I2C/SPI activity
VIO=1.8− 3.3 V
Hibernate state, no
I2C/SPI activity
VIO=3.3V
1.65
−
−
−
−
−
−
−
−
3.6V
3.6V
0.51.0µA
0.81.2mA
2.02.8mA
0.51µA
0.51µA
1.03.0µA
Doc ID 14489 Rev 655/65
Electrical specificationsSTMPE811
15 Electrical specifications
Table 21.DC electrical characteristics (-40 ° C to 85 ° C) all GPIOs comply to JEDEC
standard JESD-8-7)
Val ue
SymbolParameterTest condition
MinTypMax
Unit
V
V
V
V
V
(I2C/SPI)
V
(I2C/SPI)
Input voltage low stateVIO=1.8 − 3.3 V-0.3 V
IL
Input voltage high stateVIO=1.8 − 3.3 V0.80 V
IH
V
Output voltage low state
OL
Output voltage high
OH
state
OL
Output voltage low state
Output voltage high
OH
state
= 1.8 V,
IO
IOL= 4 mA
= 3.3 V,
V
IO
IOL= 8 mA
= 1.8 V,
V
CC
= 4 mA
I
OL
= 3.3 V,
V
CC
IOL= 8 mA
0.85 V
0.85 V
Table 22.AC electrical characteristics (-40 ° C to 85 ° C)
SymbolParameterTest condition
CLKI2C
CLKSPI
I2C maximum SCLKVIO=1.8-3.3V400
max
=1.8V800
V
SPI maximum clock
max
IO
V
= 3.3 V1000
IO
0.20 V
−
VIO+0.3VV
−
IO
-0.3 V
IO
-0.3 V
CC
0.15 V
−
−−
0.15 V
−
VCC+0.3VV
−
Val ue
MinTypMax
−−
−−
−−
IO
IO
CC
V
V
V
V
Unit
kHz
kHz
kHz
56/65Doc ID 14489 Rev 6
STMPE811Electrical specifications
Table 23.ADC specification (-40 ° C to 85 ° C)
Val ue
ParameterTest condition
MinTypMax
Unit
Full-scale input span0
Absolute input range
Input capacitance
Leakage current
Resolution
No missing codes11
Integral linearity error
Offset error
Gain error
NoiseIncluding internal V
Power supply rejection ratio
Throughput rate
ref
Table 24.Switch drivers specification
ParameterTest condition
−
−−
−
−
−
25
0.1
12
V
ref
VCC+0.2V
−
−
−
−
−
−
−
−
−
−
MinTypMax
±4
±5
±14±18LSB
70
50
180
Val ue
−
−
−
−
−
V
pF
µA
Bits
Bits
Bits
LSB
µVrms
dB
ksps
Unit
ON resistance X+, Y+
ON resistance X-, Y-
Drive currentDuration 100 ms
−
−
5.5
7.3
−−
−
−
50mA
Ω
Ω
Doc ID 14489 Rev 657/65
Package mechanical dataSTMPE811
16 Package mechanical data
In order to meet environmental requirements, ST offers these devices in different grades of
ECOPACK
specifications, grade definitions and product status are available at: www.st.com.
ECOPACK
®
packages, depending on their level of environmental compliance. ECOPACK®
®
is an ST trademark.
58/65Doc ID 14489 Rev 6
STMPE811Package mechanical data
Figure 13. Package outline for QFN16 (3 x 3 x 1 mm) - 0.50 pitch
1. Drawing not to scale.
7185330_F
Doc ID 14489 Rev 659/65
Package mechanical dataSTMPE811
Table 25.Package mechanical data for QFN16 (3x3x 1 mm) - 0.50 pitch
Symbol
MinTypMax
A 0.800.901.00
A1
−
Millimeters
0.020.05
A3
b 0.180.250.30
D 2.853.003.15
D1
D2See exposed pad variation
E 2.853.003.15
E1
E2See exposed pad variation
e 0.450.500.55
L 0.300.400.50
ddd
−
−
−
−−
Table 26.Exposed pad variation
Symbol
MinTypMax
D21.701.801.90
E21.701.801.90
0.20
1.50
1.50
Millimeters
−
−
−
0.05
60/65Doc ID 14489 Rev 6
STMPE811Package mechanical data
Figure 14. Recommended footprint
1. Drawing not to scale.
Table 27.Footprint dimensions
Symbol
A
B
C
D
E
F
G
Millimeters
MinTypMax
−
−
−
−
−
−
−
3.8
3.8
0.5
0.3
0.8
1.5
0.35
−
−
−
−
−
−
−
Doc ID 14489 Rev 661/65
Package mechanical dataSTMPE811
Figure 15. Carrier tape for QFN16 (3 x 3 x 1 mm) - 0.50 pitch
1. Drawing not to scale.
62/65Doc ID 14489 Rev 6
7875978
STMPE811Package mechanical data
Figure 16. Reel information for QFN16 (3 x 3 x 1 mm) - 0.50 pitch
1. Drawing not to scale.
7875978_14
Doc ID 14489 Rev 663/65
Revision historySTMPE811
17 Revision history
Table 28.Document revision history
DateRevisionChanges
09-Jun-20081Initial release.
Document status promoted from preliminary data to datasheet.
Modified: title and package silhouette in the cover page.
Section 6: STMPE811 registers, Section 7: System and identification
22-Apr-20092
22-Sep-20103
10-Jan-20114
18-Apr-20115Updated: Temperature sensors registers information.
registers, Section 10: Touchscreen controller and Section 13: GPIO
controller: content reworked to improve readability, no technical
changes.
Updated: Figure 6, Ta bl e 3 , Section 14: Maximum rating and
Section 16: Package mechanical data.
Modified:Table 11: Register summary map table and information
related to the TSC_DATA_X register.
Updated: Table 11: Register summary map table and information
related to the ADC control register, Table 13: ADC controller register
summary table and removed Table 25.
19-Sep-20116
Added new section: Section 10.2: Touch detect delay
Updated V
parameter description: Ta b le 2 0
CC
64/65Doc ID 14489 Rev 6
STMPE811
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.