The burst length values of each Touch channel must be specified using the qm_burst_length[]
array in the main.c file. The burst length must be specified in the same order of Touch Channel
numbering.
The touch_qm_sensors_init API initializes the QTouch Library as well as the CAT module and
does the QMatrix method specific pin, register and Global Sensor configuration. The
touch_qm_sensor_config API is used to configure individual sensor. The Sensor specific
configuration parameter can be provided as input to this API.
The touch_qm_sensors_calibrate API is used to calibrate all the configured sensors thereby
preparing the sensors for acquisition. The touch_qm_sensors_start_acquisition API initiates a
QMatrix method measurement on all the configured Sensors. This API takes the peripheral DMA
channels as an input. When a filter_callback function is enabled, the touch_event_dispatcher
function calls the filter_callback function as soon as the raw acquisition data from the Sensors is
available. The user can now optionally apply any filtering routine on the raw acquisition data
before the QTouch Library does any processing on this data. (For an overview of Filter callback
usage, refer Section 5.6.6.4 Example code). Once the QTouch Library has finished processing
the acquisition data from Sensors, the touch_event_dispatcher
function calls the
measure_complete_callback function indicating the end of a single Touch measurement
operation. The measure_complete_callback provides the measured data and Touch status
information. The measured data is available in the same order of Touch Channel numbering.
Note 1: The Host Application code can execute once a QMatrix acquisition is initiated with the
touch_qm_sensors_start_acqusition API. Care must be taken in the Host Application such that
the touch_event_dispatcher function is called frequently in order to process the acquired data.
For a single Touch measurement operation (between a touch_qm_sensors_start_acquisition API
call and the measure_complete_callback function being called), the touch_event_dispatcher
function may execute multiple times in order to resolve the Touch status of Sensors. Failing to
call the touch_event_dispatcher frequently can adversely impact the Touch Sensitivity.
Note 2: Once the Touch Library has been initialized for QMatrix method using the
touch_qm_sensors_init API, a new qm_burst_length[x] value of a Touch channel must be
updated only using the touch_qm_channel_update_burstlen API. It is recommended to have
qm_burst_length array as global variable as the Touch Library updates this array when the
touch_qm_channel_update_burstlen API is called.
Note 3: QMatrix burst length setting recommendation.
For a given X Line, the burst length value of ALL enabled Y Lines MUST be the same or set to
0x01(disabled). For example, the burst length value corresponding to (X0,Y1),(X0,Y2)...(X0,Yn)
must be the same. In case of a scenario, wherein it is required to have a different a burst length,
then the following option can be tried out - Enable the 1k ohm drive resistors on all the enabled Y
lines by setting the corresponding bit in the CSARES register.
Note 4: For QMatrix operation, the Analog comparators channels are used (using the ACIFB
interface) depending on the Y Lines enabled. For example, when Y lines Y2 and Y7 are enabled
the Analog comparator channels 2 and 7 are used by the CAT module for QMatrix operation.
The user can uses the rest of the Analog comparator channels in the main application. The
QTouch Library enables the ACIFB using the Control register (if not already enabled by the main
application) when the touch_qm_sensors_init API is called.
123
相关PDF资料
ATU6-P305T-R CABLE CAT6 FULL-BOX 305M GRAY
ATUP-P305T-R CABLE CAT5E PULL-BOX 305M GRAY
ATUP-V305T-R CABLE CAT5E REEL 305M GRAY
AWG28-05/F-1/300-R CABLE 5 COND MULTI 300' RIBBON
AWG28-05/G-1/300-R CABLE 5 COND GRAY 300' RIBBON
AWG28-09/F-1/300-R CABLE 9 COND MULTI 300' RIBBON
AWG28-09/G-1/300-R CABLE 9 COND GRAY 300' RIBBON
AWG28-25/F-1/300-R CABLE 25 COND MULTI 300' RIBBON
相关代理商/技术参数
ATQT600IB 功能描述:界面开发工具 ATQT600IB Interface Brd RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
ATQT6-XPRO 功能描述:Xplained Pro - Extension Board 制造商:atmel 系列:- 零件状态:有效 配件类型:扩展板 配套使用产品/相关产品:Xplained Pro 标准包装:1
ATR 1078 功能描述:TOOL INSERTION TWEEZER 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1079 功能描述:TWEEZER INSERTION 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080 制造商:Astro Tool Corp 功能描述:TOOL INSERTION 20 GA
ATR 1080-135 功能描述:INSERTION TOOL 20 GA ANGLED TIP 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080-S 功能描述:INSERTION TOOL STRAIGHT 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1105 功能描述:TOOL INSERTION TWEEZER 16 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1