2. QTOUCH_STUDIO_MASKS needs to be enabled if using pin configurability .If not enabled
then, static pin mapping will work same as in the earlier versions of the libraries
5.8.2 Pin Configuration for QMatrix Acquisition Method
The QMatrix acquisition method libraries needs to be used after configuring X and YA and
YB lines on IO pins of the port as described in the configuration rules described in the
section below. The QTouch Studio Pin Configurator Wizard can be used to assign X, YA,
YB, SMP lines on the pins and rules are internally taken care in the Qtouch Studio Pin
Configurator Wizard.
The snippets can be taken from the QTouch Studio Pin Configurator Wizard and copied to
appropriate places in the main.c and touch_ config.h files in the example projects provided.
5.8.2.1
Configuration Rules:
1. The X lines can be configured on different ports up to a maximum of 3 ports
Ex: NUM_X_PORTS = 3 (maximum value supported). However the possible values
are NUM_X_PORTS = 1 or NUM_X_PORTS = 2 or NUM_X_PORTS = 3
2. The X lines can be configured on the three different ports.
3. The X lines can be configured on any pins of the ports selected above
Ex: X0 on PB2, X1 on PD5, X2 on PE0, X3 on PD1( when NUM_X_LINES= 4),
Provided that these pins do not conflict with the other pins for touch sensing or with the
host application usage.
4. The Y lines can be configured on the any of the pins of the ports selected
Ex: Any pins on the PORT_YA and PORT_YB selected.
Suppose, PORT_YA is D, and PORT_YB is C
Since, pin 5 and pin 1 PORTD are already used for X lines(X1, X3), the user can select
any of the remaining pins for Y0A lines. Suppose that Y0 is on pin2 and Y1 is on pin6
Hence, Y0A – PD2, Y0B – PC2, Y1A – PD6, Y1B – PC6,
5. All the Qmatrix usage Pins X lines,YA lines, YB lines and SMP line can be on same
port.Both YA and YB lines can share the same port. And the YA and YB need not be on
same corresponding pins of the ports.The Macro SHARED_YAYB should be defined as 1
if YA and YB are on same port else should be defined as 0.
6. The PORT_YB is fixed for each device and should be same as the PORT on which the
ADC input pins are available.
7. The SMP pin can be configured on any of the IO PORT pins available.
Ex:
PORT_SMP = D
SMP_PIN = 7 as this pin is not being used by touch sensing.
Note:
?
Please take care that the touch sensing pins do not conflict with other IO pins used by host
application
101
相关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