Datasheet MTCH6301 Datasheet

MTCH6301 PROJECTED CAPACITIVE
TOUCH CONTROLLER
MTCH6301 Pr ojecte d Capacitive Touch Controller
Description
The MTCH6301 is a turnkey projected capacitive con­troller that allows easy integration of multi-touch and gestures to create a rich user interface in your design. Through a sophisticated combination of Self and Mutual Capacitive scanning for both XY screens and touch pads, the MTCH6301 allows designers to quickly and easily integrate projected capacitive touch into their application.
Applications:
• Human-machine interfaces with configurable button, keypad or scrolling functions
• Single-finger gesture based interfaces to swipe, scroll, or doubletap controls
• Home automation control panels
• Security control keypads
• Automotive center stack controls
• Gaming devices
• Remote control touch pads
Touch Sensor Support
• Up to 13RX x 18TX channels
• Works with printed circuit board (PCB), film, glass, and flexible circuit board (FPC) sensors
• Supports sensor sizes up to 4.3”
• Individual channel tuning for optimal sensitivity
• Cover layer support:
- Plastic: up to 3 mm
- Glass: up to 5 mm
Touch Features
• Multitouch (up to 10 touches)
• Gesture detection and reporting
• Single and dual touch drawing
• Self and Mutual signal acquisition
• Built-in noise detection and filtering
Power Management
• Configurable Sleep mode
• Integrated Power-on Reset and Brown-out Reset
• 20 µA sleep current (typical)
Communication Interface
•I2C™ (up to 400 kbps)
Operating Conditions
• 2.4V to 3.6V, -40ºC to +105ºC
Package Types
• 44-Lead TQFP
• 44-Lead QFN
Touch Performance
• >100 reports per second single touch
• >60 reports per second dual touch
• Up to 12-bit resolution coordinate reporting
2012 Microchip Technology Inc. DS41663A-page 1
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
Table of Contents
1.0 System Block Diagram................................................................................................................................................................. 3
2.0 Configuration and Setup............................................................................................................................................................... 3
3.0 Pin Diagram.................................................................................................................................................................................. 4
4.0 Layout........................................................................................................................................................................................... 6
5.0 Communication Protocol ............................................................................................................................................................ 10
6.0 Memory Map .............................................................................................................................................................................. 16
7.0 Special Features ........................................................................................................................................................................ 18
8.0 Electrical Characteristics............................................................................................................................................................ 21
9.0 Ordering Information .................................................................................................................................................................. 24
10.0 Packaging Information................................................................................................................................................................ 25
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page. The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page) When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
DS41663A-page 2 2012 Microchip Technology Inc.
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
Touch Sensor
TX0..17
RX0..12
User Configuration Data
Noise Reduction / Filtering Engine
Gesture Engine
MultiTouch
Decode
I2C™
Module
Signal Acquisition Controller
TX Drive
RX
Sense
ADC
MTCH6301
Communications Engine
[Master Controller]
Touch Data
MICROCHIP
PICkit™ Serial
Analyzer
USB
Connection only for initial tuning or configuration

1.0 SYSTEM BLOCK DIAGRAM

The MTCH6301 is a turnkey projected capacitive touch controller that allows easy integration of multitouch and gestures to create a rich user interface in your design. Through a sophisticated combination of Self and Mutual Capacitive scanning for both XY screens and touch pads, the MTCH6301 allows designers to quickly and easily integrate projected capacitive touch into their application.

FIGURE 1-1: BLOCK DIAGRAM

The Projected Capacitive Configuration Utility with an autotune feature allows fast customization for different sizes and top layer thicknesses.
For further customization, designers can also get access to the firmware library to optimize and improve designs as needed.

2.0 CONFIGURATION AND SETUP

The MTCH6301 is pre-configured for a 12 Receiver (RX)/9 Transmitter (TX) touch sensor, mapped as
shown in Section4.0 “Layout”. While the device will
work out of the box using this specific sensor configu­ration, most applications will require additional configu­ration and sensor tuning to determine the correct set of parameters to be used in the final application.
Microchip provides a PC-based configuration tool for this purpose, available in the mTouch™ Sensing Solu­tion Design Center (www.microchip.com/mtouch). Use of this tool requires a PICkit™ Serial Analyzer (updated with MTCH6301 support), as well as access to the I communications bus of the MTCH6301.
2012 Microchip Technology Inc. DS41663A-page 3
2
C
Once the development process is complete, these modified parameters must either be written perma­nently to the controller (via NVRAM, refer to
Section 7.3 “Non-Volatile RAM (NVRAM)”), or alter-
natively can be sent every time the system is powered on. Either the PICkit Serial Analyzer or the Master I Controller can be used for this purpose.
2
C
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
44-Pin TQFP
(1,2)
44-Pin QFN
(1,2)
Note 1: All RX/TX are remappable. Refer to Section 4.3 “Sensor Layout Configuration” for further
information.
2: The metal plane at the bottom of the device is not connected to any pins and is recommended to be
connected to V
SS externally.
MTCH6301
SDA TX17 TX16 TX15 TX14
VSS
VCAP
INT
N/C RX12 RX11
SCL
TX11
TX10
TX9
VDD
VSS
TX5
TX6
TX7
TX8
TX4
TX0 TX1 TX2 TX3 VSS VDD RX0 RX1 RX2 RX3 RX4
TX13
TX12
RX10
RX9
VSS
VDD
RESET
RX8
RX7
RX6
RX5
MTCH6301
44
43
42
41
40
39
38
37
36
35
34
12
13
141516
17
18
19
20
21
22
1
2 3
4 5
6
7
8
9 10
11
33
32 31
30 29
28
27
26
25 24
23

3.0 PIN DIAGRAM

FIGURE 3-1: PIN DIAGRAM

DS41663A-page 4 2012 Microchip Technology Inc.
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER

TABLE 3-1: PINOUT I/O DESCRIPTIONS

Pin Name Pin Number Pin Type Description
RESET 18 I/P Reset device (active low)
SCL 44 I Synchronous serial clock input/output for I2C™
SDA 1 I/O Synchronous serial data input/output for I2C
2
INT 8 O Interrupt (from MTCH6301 to master) for I
RX0 27 I/O
RX1 26 I/O
RX2 25 I/O
RX3 24 I/O
RX4 23 I/O
RX5 22 I/O
RX6 21 I/O
RX7 20 I/O
RX8 19 I/O
RX9 15 I/O
RX10 14 I/O
RX 11 11 I/O
RX12 10 I/O
TX0 33 O
TX1 32 O
TX2 31 O
TX3 30 O
TX4 34 O
TX5 38 O
TX6 37 O
TX7 36 O
TX8 35 O
TX9 41 O
TX10 42 O
TX11 43 O
TX12 13 O
TX13 12 O
TX14 5 O
TX15 4 O
TX16 3 O
TX17 2 O
N/C 9 N/C No Connect
CAP 7 P CPU logic filter capacitor connection
V
VDD 17, 28, 40 P Positive supply for peripheral logic and I/O pins
V
SS 6, 16, 29, 39 P Ground reference for logic and I/O pins. This pin must be
RX Sense (or TX Drive)
TX Drive
connected at all times
C
2012 Microchip Technology Inc. DS41663A-page 5
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
Master I2C™ Controller
MTCH6301
TX3
TX2
TX1
TX0
VSS
VDD
RX0
RX1 RX2
RX3 RX4
30
31
32
33
29 28 27 26 25 24 23
4
3
2
1
5 6 7 8
9 10 11
TX15
TX16
TX17
SDA
TX14 VSS VCAP
INT N/C
RX12 RX11
TX9
TX10
TX11
SCL
VDD
VSS
TX5
TX6
TX7
TX8
TX4
41
42
43
44
40393837363534
RX9
RX10
TX12
TX13
VSS
VDD
RESET
RX8
RX7
RX6
RX5
15
14
13
12
16171819202122
10 µF
20k O
0.1 µF
0.1 µF
0.1 µF
RX0 RX11
TX0 TX8
GPIO/INT
SCL
SDA
MICROCHIP
PICkit™ Serial
Analyzer

4.0 LAYOUT

4.1 Typical Application Circuit

The following schematic portrays a typical application circuit, based on a 12RX/9TX touch sensor.

FIGURE 4-1: TYPICAL APPLICATION CIRCUIT

4.2 Touch Sensor Design

Please refer to the mTouch Sensing Solution design center at www.microchip.com/mtouch for additional information regarding design and layout of touch sensors.

4.3.1 RX/TX PIN MAP

By default, the RX and TX pins are set as shown in the Typical Application Circuit (Figure 4.1). If you require a different layout or a different amount of sensor chan­nels, the RX and TX pins are configured via pin map
arrays. To access these arrays, reference Section 5.0

4.3 Sensor Layout Configuration

To properly configure a sensor from a physical layout standpoint, the following registers must be correctly configured:
• RX Pin Map/TX Pin Map
• RX Scaling Coefficient/TX Scaling Coefficient
•Flip State
DS41663A-page 6 2012 Microchip Technology Inc.
“Communication Protocol” and Section 6.0 “Mem­ory Map” of this document.
The RX and TX lines are configurable for the purpose of making trace routing and board layout more conve­nient. Please note that while RX pins can be used as TX pins instead, a single pin cannot be used as BOTH an RX and a TX channel concurrently. The pin maps are comprised of “Pin Map ID” numbers, which are shown in Tab le 4 -1 .
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER

4.3.3 RX/TX SCALING COEFFICIENTS

TABLE 4-1: PIN MAP ID CHART
Pin
RX0 27 8
RX1 26 7
RX2 25 6
RX3 12 5
RX4 11 4
RX5 10 3
RX6 9 2
RX7 1 1
RX8 0 0
RX9 24 9
RX10 23 10
RX 11 22 11
RX12 21 12
TX0 13
TX1 6
TX2 3
TX3 2
TX4 4
TX5 7
TX6 28
TX7 29
TX8 30
TX9 14
TX10 15
TX11 16
TX12 5
TX13 8
TX14 34
TX15 33
TX16 32
TX17 31
.
Note: Trace routing for sensors requires proper
design technique. Please refer to the mTouch Sensing Solution design center at
www.microchip.com/mtouch for additional
information on correctly routing touch sensor traces.
Map ID
(TX)
Map ID
(RX)
Scaling coefficient registers exist in RAM for each axis (RX/TX) and must be modified in accordance with the number of channels that are in use. Special attention must be paid to sensor dimensions that have fewer than 5 channels, which will have a smaller maximum touch output value (coordinate).
The relationship between these constant, as well as the maximum coordinates that will be transmitted are displayed in Tab le 4 -2 .
TABLE 4-2: RX/TX SCALING
COEFFICIENTS
Number of
Channels
3
4 [0-3071]
5
6 52429
7 43691
8 37449
9 32768
10 29127
11 26214
12 23831
13 21845
14 20165
15 18725
16 17476
17 16384
18 15420
RX/TX
Scaling
Coefficient
65535
Controller
Output Range
[0-2047]
[0-4095]

4.3.4 SENSOR ORIENTATION

The final output orientation is configured via the FLIPSTATE register. This register can be adjusted dur­ing operation for applications where rotation occurs during use.
Figure 4-2 shows the initial upright orientation
FLIPSTATE register values for all possible sensor layouts.

4.3.2 UNUSED RX/TX PINS

Unused RX/TX pins are driven to Vss automatically, and should be left as no connects.
2012 Microchip Technology Inc. DS41663A-page 7
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
SENSOR
RX0 RXn
TX0
TXn
SENSOR
RXn RX0
TX0
TXn
SENSOR
RX0 RXn
TXn
TX0
SENSOR
RXn RX0
TXn
TX0
SENSOR
SENSOR
SENSOR
TX0 TXn
SENSOR
TXn TX0
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
0, 0 4096, 0
4096, 40960, 4096
RX0
RXn
RX0
RXn
RX0
RXn
RX0
RXn
TX0 TXn
TXn TX0
SWAP TXFLIP RXFLIP
0 0 1
SWAP TXFLIP RXFLIP
0 0 0
SWAP TXFLIP RXFLIP
0 1 1
SWAP TXFLIP RXFLIP
0 1 0
SWAP TXFLIP RXFLIP
1 0 1
SWAP TXFLIP RXFLIP
1 0 0
SWAP TXFLIP RXFLIP
1 1 1
SWAP TXFLIP RXFLIP
1 1 0
Default Configuration
REGISTER 4-1: FLIPSTATE REGISTER
U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-1
SWAP TXFLIP RXFLIP
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-3 Unimplemented: Read as ‘0’ bit 2 SWAP
1 = RX axis horizontal; TX axis vertical 0 = RX axis vertical; TX axis horizontal
bit 1 TXFLIP
1 = Invert the TX axis 0 = Do not invert the TX axis
bit 0 RXFLIP
1 = Invert the RX axis 0 = Do not invert the RX axis
FIGURE 4-2: SENSOR ORIENTATION CHART
DS41663A-page 8 2012 Microchip Technology Inc.
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER
Sensor Line
MTCH63001
Pin
Map ID
TX
0TX11 16
1TX17 31
2TX16 32
3TX15 33
4TX14 34
5RX12 21
6RX11 22
7TX13 8
8TX12 5
9RX10 23
10 RX9 24
RX
0RX5 10
1RX6 9
2RX7 1
3RX8 0
MTCH6301
TX3
TX2
TX1
TX0
VSS
VDD
RX0
RX1
RX2
RX3
RX4
TX15
TX16
TX17
SDA
TX14
VSS
VCAP
INT
N/C
RX12
RX11
TX9
TX10
TX11
SCL
VDD
VSS
TX5
TX6
TX7
TX8
TX4
RX9
RX10
TX12
TX13
VSS
VDD
RESET
RX8
RX7
RX6
RX5
RX0 RX3
TX0 TX10
SENSOR
The Pin Map arrays for this particular setup are as follows (arrays are shown as organized in memory):
RXPinMap: {10,9,1,0}
TXPinMap: {16,31,32,33,34,21,22,8,5,23,24}

4.4 Example Custom Application Layout

An example 4-channel RX/11-channel TX sensor is shown in Figure 4-3. In addition to using a completely modified pin layout, this example differs from the default configuration by also having the TX axis along the bottom (X) and RX axis along the side (Y). Note that some RX pins are used as TX lines in this example.

FIGURE 4-3: NON-STANDARD LAYOUT EXAMPLE

Using the scaling coefficient table generates the values displayed in Tab le 4 -3 .
TABLE 4-3: CUSTOM APPLICATION
Axis Channels
RX 4 65535 [0-3071]
TX 11 26214 [0-4095]
The FLIPSTATE register, using Figure 4-2, should be set to 0b111, or 0x7, for this particular example.
2012 Microchip Technology Inc. DS41663A-page 9
Scaling
Coefficient
SCALING COEFFICIENTS
Maximum
Output
MTCH6301 PROJECTED CAPACITIVE TOUCH CONTROLLER

5.0 COMMUNICATION PROTOCOL

5.1 Overview

The MTCH6301 has two basic communication types: Touch & Gesture Protocol, and Command Protocol.
Touch & Gesture Protocol
Fully processed touch coordinates and gestures will be transmitted immediately as they are processed by the MTCH6301. Since it is a slave device, the INT pin will be asserted whenever one of these packets is ready for transmission. This requires the master controller to ini­tiate a READ command to receive the touch or gesture packet.
Command Protocol
2
All other commands are invoked by the I controller. Commands are used for configuring and controlling the device.
Master Read Details
Please note that any read from the controller by the master, including both touch & gesture protocol and command protocol, will be prefixed by a single byte. This single byte denotes the number of bytes that are to be transferred. This byte is NOT represented in the tables and figures for the protocol, but is detailed in
Figure 5-6 and Figure 5-7.
C master

5.2 Touch Protocol

The packet in Tab le 5 -1 is transmitted for each touch that is present on the sensor.

TABLE 5-1: TOUCH PROTOCOL

Packet Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 1 TOUCHID<3:0> TCH(0) 0 PEN
10 X<6:0>
2000 X<11:7>
30 Y<6:0>
4000 Y<11:7>
Legend: TOUCHID:
PEN:
X: Y: TCH:
Touch ID (0-9) Pen State 0 = Pen Up 1 = Pen Down X Coordinate of Touch Y Coordinate of Touch Always 0, denotes a touch packet

5.3 Gesture Protocol

The packet in Ta bl e 5- 2 is transmitted whenever a ges­ture is performed on the sensor. This feature can be enabled via the Gesture Protocol register (Table 5-2). Gestures are NOT enabled by default.
Note: For any “hold” gestures, packets are sent
continuously until the gesture (touch) is released.
DS41663A-page 10 2012 Microchip Technology Inc.
Loading...
+ 22 hidden pages