Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

STMPE812A Datasheet(PDF) 39 Page - STMicroelectronics

No. de pieza STMPE812A
Descripción Electrónicos  Integrated 4-wire resistive touchscreen controller, pen-down/real-time mode, fullyautonomous
PDF  53 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STMPE812A Datasheet(HTML) 39 Page - STMicroelectronics

Back Button STMPE812A Datasheet HTML 35Page - STMicroelectronics STMPE812A Datasheet HTML 36Page - STMicroelectronics STMPE812A Datasheet HTML 37Page - STMicroelectronics STMPE812A Datasheet HTML 38Page - STMicroelectronics STMPE812A Datasheet HTML 39Page - STMicroelectronics STMPE812A Datasheet HTML 40Page - STMicroelectronics STMPE812A Datasheet HTML 41Page - STMicroelectronics STMPE812A Datasheet HTML 42Page - STMicroelectronics STMPE812A Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 53 page
background image
STMPE812A
Touchscreen controller
Doc ID 18225 Rev 4
39/53
11.4
Programming model
Below are steps to configure the Touchscreen controller in 3 different acquisition modes.
A. Autonomous touchscreen controller, 100 Hz, lowest power possible
1.
Initialize the touchscreen controller (choose ACQ_Mode ‘00’ - data acquisition timed by
internal timer)
2.
Initialize interrupt (with TSC_Data enabled, normal interrupt mode)
3.
Wait for interrupt
4.
On interrupt: Read interrupt status (this clears the set bits too)
5.
If data is available, read data.
Note:
If one set of data is available in buffer, and not accessed by the I2C host, yet the sampling
timer is up for the next data, the STMPE812A samples the next data as scheduled.
If old data is still NOT accessed when new data is ready to be written to the buffer, it is over-
written.
If old data is IN PROGRESS of being accessed, new data is DISCARDED.
If I2C host accessed PART OF the data, and moved on to read ANY OTHER REGISTER
LOCATION, the existing data is CONSIDERED READ, and new data ready to be written into
buffer
B. Non-autonomous touchscreen controller style-interrupt, 100Hz, lowest
power possible:
1.
Initialize TSC (Choose ACQ_Mode ‘01’ - Data acquisition triggered by a write to “ACQ”
bit)
2.
Initialize Interrupt (With TSC_Data, TSC_Touch enabled, PEN_DOWN interrupt mode)
3.
Wait for Interrupt
4.
On Interrupt: Read Interrupt Status (this clears the set bits too)
5.
If PEN_DOWN, start SYSTEM_TIMER (10 ms typically)
6.
On TIMEOUT, write ACQ bit to start acquisition
7.
Poll interrupt status register or ACQ bit to check for acquisition status
8.
ON issuing ACQ, 812 may assume that data in buffer is already accessed by I2C host,
and reset the relevant pointers.
C. Host-controlled sampling rate (lowest bus utilization)
1.
Initialize TSC (choose ACQ_Mode ‘10’ - Data acquisition using host-controlled
sampling rate control)
2.
Initialize interrupt (with TSC_Data, TSC_Touch enabled, PEN_DOWN interrupt mode)
3.
Wait for Interrupt
4.
On interrupt: Read Interrupt Status (this clears the set bits too)
5.
If PEN_DOWN, start SYSTEM_TIMER (10 ms typically)
6.
On TIMEOUT, read data



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com