数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STMPE610 数据表(PDF) 39 Page - STMicroelectronics

部件名 STMPE610
功能描述  S-Touch?? advanced touchscreen controller with 6-bit port expander
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE610 数据表(HTML) 39 Page - STMicroelectronics

Back Button STMPE610 Datasheet HTML 35Page - STMicroelectronics STMPE610 Datasheet HTML 36Page - STMicroelectronics STMPE610 Datasheet HTML 37Page - STMicroelectronics STMPE610 Datasheet HTML 38Page - STMicroelectronics STMPE610 Datasheet HTML 39Page - STMicroelectronics STMPE610 Datasheet HTML 40Page - STMicroelectronics STMPE610 Datasheet HTML 41Page - STMicroelectronics STMPE610 Datasheet HTML 42Page - STMicroelectronics STMPE610 Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 56 page
background image
STMPE610
Touchscreen controller programming sequence
Doc ID 15432 Rev 3
39/56
11
Touchscreen controller programming sequence
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 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 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



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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