The MTCH6301 is a turnkey projected capacitive controller 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
2.0Configuration and Setup............................................................................................................................................................... 3
7.0Special Features ........................................................................................................................................................................ 18
9.0Ordering Information .................................................................................................................................................................. 24
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.0SYSTEM 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.0CONFIGURATION 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 configuration, most applications will require additional configuration 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 Solution 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 permanently 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.0PIN 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 NamePin NumberPin TypeDescription
RESET18I/PReset device (active low)
SCL44ISynchronous serial clock input/output for I2C™
SDA1I/OSynchronous serial data input/output for I2C
2
INT8OInterrupt (from MTCH6301 to master) for I
RX027I/O
RX126I/O
RX225I/O
RX324I/O
RX423I/O
RX522I/O
RX621I/O
RX720I/O
RX819I/O
RX915I/O
RX1014I/O
RX 1111I/O
RX1210I/O
TX033O
TX132O
TX231O
TX330O
TX434O
TX538O
TX637O
TX736O
TX835O
TX941O
TX1042O
TX1143O
TX1213O
TX1312O
TX145O
TX154O
TX163O
TX172O
N/C9N/CNo Connect
CAP7PCPU logic filter capacitor connection
V
VDD17, 28, 40PPositive supply for peripheral logic and I/O pins
V
SS6, 16, 29, 39PGround 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
RX0RX11
TX0TX8
GPIO/INT
SCL
SDA
MICROCHIP
PICkit™ Serial
Analyzer
4.0LAYOUT
4.1Typical Application Circuit
The following schematic portrays a typical application
circuit, based on a 12RX/9TX touch sensor.
FIGURE 4-1:TYPICAL APPLICATION CIRCUIT
4.2Touch 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.1RX/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 channels, the RX and TX pins are configured via pin map
arrays. To access these arrays, reference Section 5.0
4.3Sensor 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 “Memory Map” of this document.
The RX and TX lines are configurable for the purpose
of making trace routing and board layout more convenient. 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.3RX/TX SCALING COEFFICIENTS
TABLE 4-1:PIN MAP ID CHART
Pin
RX0278
RX1267
RX2256
RX3125
RX4114
RX5103
RX692
RX711
RX800
RX9249
RX102310
RX 112211
RX122112
TX013
TX16
TX23—
TX32—
TX44
TX57—
TX628—
TX729
TX830—
TX914—
TX1015
TX1116—
TX125—
TX138
TX1434
TX1533
TX1632
TX1731—
.
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
652429
743691
837449
932768
1029127
1126214
1223831
1321845
1420165
1518725
1617476
1716384
1815420
RX/TX
Scaling
Coefficient
65535
Controller
Output Range
[0-2047]
[0-4095]
4.3.4SENSOR ORIENTATION
The final output orientation is configured via the
FLIPSTATE register. This register can be adjusted during 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.2UNUSED 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
RX0RXn
TX0
TXn
SENSOR
RXnRX0
TX0
TXn
SENSOR
RX0RXn
TXn
TX0
SENSOR
RXnRX0
TXn
TX0
SENSOR
SENSOR
SENSOR
TX0TXn
SENSOR
TXnTX0
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
0, 04096, 0
4096, 40960, 4096
RX0
RXn
RX0
RXn
RX0
RXn
RX0
RXn
TX0TXn
TXnTX0
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-0U-0U-0U-0U-0R/W-0R/W-0R/W-1
—————SWAPTXFLIPRXFLIP
bit 7bit 0
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
1 = Invert the TX axis
0 = Do not invert the TX axis
bit 0RXFLIP
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
0TX1116
1TX1731
2TX1632
3TX1533
4TX1434
5RX1221
6RX1122
7TX138
8TX125
9RX1023
10RX924
RX
0RX510
1RX69
2RX71
3RX80
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
RX0RX3
TX0TX10
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.4Example 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
AxisChannels
RX465535[0-3071]
TX1126214[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.0COMMUNICATION PROTOCOL
5.1Overview
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 initiate 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.2Touch Protocol
The packet in Tab le 5 -1 is transmitted for each touch
that is present on the sensor.
TABLE 5-1:TOUCH PROTOCOL
PacketBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
01TOUCHID<3:0>TCH(0)0PEN
10X<6:0>
2000 X<11:7>
30Y<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.3Gesture Protocol
The packet in Ta bl e 5- 2 is transmitted whenever a gesture 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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.