поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

STMPE811 датащи(PDF) 45 Page - STMicroelectronics

номер детали STMPE811
подробное описание детали  Advanced resistive touch screen controller with 8-bit GPIO expander
PDF  64 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STMPE811 датащи(HTML) 45 Page - STMicroelectronics

Back Button STMPE811_09 Datasheet HTML 41Page - STMicroelectronics STMPE811_09 Datasheet HTML 42Page - STMicroelectronics STMPE811_09 Datasheet HTML 43Page - STMicroelectronics STMPE811_09 Datasheet HTML 44Page - STMicroelectronics STMPE811_09 Datasheet HTML 45Page - STMicroelectronics STMPE811_09 Datasheet HTML 46Page - STMicroelectronics STMPE811_09 Datasheet HTML 47Page - STMicroelectronics STMPE811_09 Datasheet HTML 48Page - STMicroelectronics STMPE811_09 Datasheet HTML 49Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 64 page
background image
STMPE811
Touch screen controller programming sequence
Doc ID 14489 Rev 2
45/64
11
Touch screen controller programming sequence
The following are the steps to configure the touch screen controller (TSC):
a)
Disable the clock gating for the touch screen controller and ADC in the
SYS_CFG2 register.
b)
Configure the touch screen 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 touch screen 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 touch screen controller is
sent to the interrupt module. Therefore, even if the interrupt flag is cleared, the
interrupt flag will automatically be 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 touch screen 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 touch screen
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 touch
screen panel resistance. This allows the user to specify the resolution of the Z



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 54 55 56 57 58 59 60 61 62 63 64


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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