SMP Pin should be less than equal to 19 pin of any Port.
The configurability is provided to select X,SMP and YA lines on Same Port ,X,SMP and
YB lines on same port.
Number of X ports should be 1 means the X lines should be connected to a single port.
Note: YA and YB cannot be on the same port.
th
5.6.10.3.3 Checklist of items for integrating QMatrix Capacitive sensing libraries
When integrating QMatrix acquisition method libraries, ensure the following
?
?
?
?
?
Check that the CLKPR register is available for the selected device. If not remove the
CLKPR statements.
Ensure that the configuration for the QMatrix is done in touch_config.h and the arrays of
the x_line_info and y_line info are filled as indicated section 5.8.2
MCUCR register is available and if so disable pullups
Check if the timer registers and bit fields used are correct and change them if necessary.
The above settings can be modified by the user by changing the API’s that are available
to the user. The API’s include
o
qt_set_parameters ( )
?
?
The host application must provide the current time.
This information is passed to the library as an argument to the function
qt_measure_sensors()”. This is used for time-based library operations such as drift
compensation.
The GPIO internal pull-ups must be disabled for all port pins used for touch sensing when
calling the library.
For 8-bit AVR devices, this can be done by
b. Setting the “PUD” bit in the “MCUCR” register or
c.
Setting the “PUD” bit in the “SFIOR” register.
?
?
?
Setting the JTD bit in the “MCUCR” register to disable JTAG Interface in MCU ( if
available ). This can be done only when the JTAG lines are in conflict with the desired
touch sensing lines.
The library must be called often enough to provide a reasonable response time to user
touches. The typical time to call the library is from 25 ms to 50 ms.
Care should be taken while using the ADC conversion logic and QMatrix library such that
the host application waits for approximately 1msec before actually calling the
qt_measure_sensors() API depending upon the ADC clock.
5.6.10.4 Common checklist items
5.6.10.4.1 Configuring the stack size for the application
The stack requirements for the QTouch library should be accounted for and the stack size
adjusted in the user’s project for proper operation of the software when using the IAR IDE. This
section lists the stack usage for the different variants of the QTouch and QMatrix acquisition
method libraries applicable to the IAR compiler tool chain.
Note: When using the IAR IDE / compiler tool chain, the map file generated for the application will
list total CSTACK & RSTACK requirements. Please adjust the total CSTACK and RSTACK
values in the IAR project options to be greater than the values listed in the map file. Refer to
section 5.6.11.4 which illustrates how to change the settings in IAR IDE.
Table 5 : Stack requirements of the QTouch capacitive sensing libraries when using IAR IDE
projects
66
8207L-AT42-05/12
相关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