CY8CTMG110
TrueTouch™ Multi-Touch Gesture
Touchscreen Controller
Features
■
TrueTouch™ Capacitive Touchscreen Controller
❐
Supports Single-Touch and Multi-Touch Applications
❐
Supports up to 24 X/Y Sensor Inputs
❐
Supports Screen Sizes 4.3” and Below (Typical)
❐
Fast Scan Rates: Typical 0.5 ms per Sensor
❐
High Resolution: Typical 320 x 240 for 2.6” Screen
❐
Available in 32-Pin QFN Package
Highly Configurable Sensing Circuitry
❐
Allows Maximum Design Flexibility
❐
Allows Trade-Off Between Scan Time and Noise Performance
Includes Gesture Detection Library
Allows Development of Customized Gestures
Provides Maximum EMI Immunity
❐
Selectable Spread-Spectrum Clock Source
Low Power TrueTouch Single-Touch Touchscreen Device
❐
4 mA Average Supply Current at 8 ms Report Rate
❐
2 mA Average Supply Current at 16 ms Report Rate
Powerful Harvard Architecture Processor
❐
M8C Processor Speeds to 24 MHz
❐
Low Power at High Speed
❐
2.7V to 5.25V Operating Voltage
❐
Industrial Temperature Range: –40°C to +85°C
Flexible On-Chip Memory
❐
8K Flash Program Storage, 50000 Erase/Write Cycles
❐
512 Bytes SRAM Data Storage
❐
In-System Serial Programming (ISSP™)
❐
Partial Flash Updates
❐
Flexible Protection Modes
❐
EEPROM Emulation in Flash
Complete Development Tools
❐
Free Development Software (PSoC Designer™)
❐
TrueTouch Touchscreen Tuner
❐
Full-Featured, In-Circuit Emulator and Programmer
❐
Full Speed Emulation
❐
Complex Breakpoint Structure
❐
128K Trace Memory
Precision, Programmable Clocking
❐
Internal ±2.5% 24 and 48 MHz Oscillator
❐
Internal Oscillator for Watchdog and Sleep
■
Programmable Pin Configurations
❐
25 mA Sink, 10 mA Drive on All GPIO
❐
Pull Up, Pull Down, High Z, Strong, or Open Drain Drive Modes
on All GPIO
❐
Up to 8 Analog Inputs on GPIO
❐
Configurable Interrupt on All GPIO
Additional System Resources
2
❐
I C™ Master, Slave, and Multi-Master to 400 kHz
❐
Watchdog and Sleep Timers
❐
User-Configurable Low Voltage Detection
❐
Integrated Supervisory Circuit
❐
On-Chip Precision Voltage Reference
■
■
■
■
■
Logic Block Diagram
■
■
■
■
■
Cypress Semiconductor Corporation
Document Number: 001-46928 Rev. *B
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised July 28, 2008
[+] Feedback
CY8CTMG110
TrueTouch Functional Overview
The TrueTouch family provides the fastest and most efficient way
to develop and tune a capacitive touchscreen application. A
TrueTouch device includes the configurable TrueTouch block,
configurable analog and digital logic, and programmable inter-
connect. This architecture enables the user to create flexible,
customized touchscreen configurations to match the require-
ments of each individual touchscreen application. Various
configurations of Flash program memory, SRAM data memory,
and configurable IO are included in a range of convenient
pinouts.
The TrueTouch architecture consists of four main areas: the
Core, the System Resources, the Digital System, and the
TrueTouch Analog System. Configurable global bus resources
allow combining all the device resources into a complete custom
touchscreen system. Each CY8TMG110 TrueTouch device
includes four digital blocks and the TrueTouch controller block.
The CY8CTMG110 is offered in a 32-pin QFN package, with up
to 28 general purpose IO (GPIO), and support of up to 24 X/Y
sensors.
When designing touchscreen applications, refer to the UM data
sheet for performance requirements to meet and detailed design
process explanation.
The Digital System
The Digital System consists of 4 digital PSoC blocks. Each block
is an 8-bit resource that is used alone or combined with other
blocks to form 8, 16, 24, and 32-bit peripherals, which are called
user module references. Digital peripheral configurations include
the following.
■
■
■
■
■
■
■
■
PWMs (8 to 32 bit)
PWMs with Dead band (8 to 32 bit)
Counters (8 to 32 bit)
Timers (8 to 32 bit)
UART 8 bit with selectable parity
SPI master and slave
I2C slave and multi-master
Pseudo Random Sequence Generators (8 to 32 bit)
The digital blocks are connected to any GPIO through a series
of global buses that can route any signal to any pin. The buses
also allow signal multiplexing and performing logic operations.
This configurability frees your designs from the constraints of a
fixed peripheral controller.
Digital blocks are provided in rows of four, where the number of
blocks varies by PSoC device family. This allows the optimum
choice of system resources for your application. Family charac-
teristics are shown in
Table 1
on page 4.
Figure 1. Digital System Block Diagram
Port 3
Port 2
Port 1
Port 0
The TrueTouch Core
The core encompasses SRAM for data storage, an interrupt
controller, sleep and watchdog timers, and IMO (Internal Main
Oscillator) and ILO (Internal Low speed Oscillator). The CPU
core, called the M8C, is a powerful processor with speeds up to
24 MHz. The M8C is a four MIPS 8-bit Harvard architecture
microprocessor.
System Resources provide the following additional capabilities:
■
■
■
■
Digital clocks to increase the flexibility of the PSoC
mixed-signal arrays.
I2C functionality to implement an I2C master and slave.
An internal voltage reference, MultiMaster, that provides an
absolute value of 1.3V to a number of TrueTouch subsystems.
Various system resets supported by the M8C.
Digital Clocks
FromCore
To SystemBus
ToAnalog
System
DIGITAL SYSTEM
Digital PSoC Block Array
Row 0
DBB00
DBB01
DCB02
Row Input
Configuration
The Digital System consists of an array of digital blocks that may
be configured into any number of digital peripherals. The digital
blocks are connected to the GPIO through a series of global
buses that can route any signal to any pin, freeing designs from
the constraints of a fixed peripheral controller.
The Analog System consists of four analog blocks, supporting
comparators and analog-to-digital conversion up to 8 bits in
precision.
Implementation of touchscreen applications allows additional
digital and analog resources to be used, depending on the touch-
screen design.
8
8
4
DCB03
4
Row Output
Configuration
8
8
GIE[7:0]
GIO[7:0]
Global Digital
Interconnect
GOE[7:0]
GOO[7:0]
Document Number: 001-46928 Rev. *B
Page 2 of 31
[+] Feedback
CY8CTMG110
The Analog System
The Analog System consists of 4 configurable blocks that allow
the creation of complex analog signal flows. Analog peripherals
are very flexible and may be customized to support specific
application requirements. Some of the common PSoC analog
functions for this device (most available as user modules) are:
■
■
■
■
The Analog Multiplexer System
The Analog Mux Bus connects to every GPIO pin. Pins are
connected to the bus individually or in any combination. The bus
also connects to the analog system for capacitive sensing with
the TrueTouch block comparator. An additional 8:1 analog input
multiplexer provides a second path to bring Port 0 pins to the
analog array.
Switch control logic enables selected pins to switch dynamically
under hardware control. This allows capacitive measurement for
the touchscreen application. Other multiplexer applications
include:
■
■
Analog-to-digital converters (single or dual, with 8-bit
resolution)
Pin-to-pin comparator
Single-ended comparators (up to 2) with absolute (1.3V)
reference or 8-bit DAC reference
1.3V reference (as a System Resource)
Chip-wide mux that allows analog input from any IO pin.
Electrical connection between any IO pin combinations.
Figure 2. Analog System Block Diagram
Additional System Resources
System Resources, some of which are listed in the previous
sections, provide additional capability useful to complete
systems. Additional resources include low voltage detection and
power on reset. Brief statements describing the merits of each
system resource follow.
■
Array Input
Configuration
Digital clock dividers provide three customizable clock
frequencies for use in applications. The clocks may be routed
to both the digital and analog systems. Additional clocks can
be generated using digital PSoC blocks as clock dividers.
The I2C module provides 100 and 400 kHz communication over
two wires. Slave, master, and multi-master modes are all
supported.
Low Voltage Detection (LVD) interrupts can signal the
application of falling voltage levels, while the advanced POR
(Power On Reset) circuit eliminates the need for a system
supervisor.
An internal 1.3 voltage reference provides an absolute
reference for the analog system, including ADCs and DACs.
Versatile analog multiplexer system.
ACI0[1:0]
A IO
ll
X
X
X
X
ACI1[1:0]
■
■
ACOL1MUX
Analog MuxBus
X
Array
ACE00
ASE10
ACE01
■
■
ASE11
Document Number: 001-46928 Rev. *B
Page 3 of 31
[+] Feedback
CY8CTMG110
Getting Started
To understand the TrueTouch device, read this data sheet and
use the PSoC Designer™ Integrated Development Environment
(IDE). This data sheet is an overview of the general silicon infor-
mation and electrical specifications. For in depth touchscreen
application information, including touchscreen specific specifica-
tions, read the touchscreen user module data sheet that is
supported by this specific device.
Development Kits
Development Kits are available from the following distributors:
Digi-Key, Avnet, Arrow, and Future. The Cypress Online Store
contains development kits, C compilers, and all accessories for
PSoC development. Go to the Cypress Online Store web site at
http://www.cypress.com,
click the Online Store shopping cart
icon at the bottom of the web page, and click
PSoC (Program-
mable System-on-Chip)
to view a current list of available items.
TrueTouch Device Characteristics
Depending on your TrueTouch device selected for a touchscreen
application, characteristics and capabilities of each device
changes.
Table 1
lists the touchscreen sensing capabilities
available for specific TrueTouch devices. The TrueTouch device
covered by this data sheet is highlighted in this table.
Table 1. TrueTouch Device Characteristics
Current
Consumption
[2]
Scan
Speed (ms)
[1]
Single-Touch
Multi-Touch
Gesture
Max Screen
Size (Inches)
Multi-Touch
All-Point
Flash Size
Technical Training Modules
Free PSoC technical training modules are available for users
new to PSoC. Training modules cover designing, debugging,
advanced
analog,
and
CapSense.
Go
to
http://www.cypress.com/training.
Consultants
Certified PSoC Consultants offer everything from technical
assistance to completed PSoC designs. To contact or become a
PSoC Consultant go to
http://www.cypress.com,
click on Design
Support located on the left side of the web page, and select
CYPros Consultants.
Sensor
Inputs
TrueTouch Part
Number
SRAM
Size
Technical Support
512
Bytes
CY8CTST110
CY8CTST120
CY8CTMG110
CY8CTMG120
CY8CTMA120
up to 4.3”
24
up to 8.4”
44
up to 4.3”
24
up to 8.4
44
up to 7.3”
37
Y N
Y N
Y Y
Y Y
Y Y
N
N
N
N
Y
0.5
0.5
0.5
0.5
3
16
3
16
8K
16K 1K
8K
512
Bytes
PSoC application engineers take pride in fast and accurate
response. They are available with a four hour guaranteed
response at
http://www.cypress.com/support.
Application Notes
16K 1K
16K 1K
0.12 16
A long list of application notes can assist you in every aspect of
your design effort. To view the PSoC application notes, go to the
http://www.cypress.com
web site and select Application Notes
under the Design Resources list located in the center of the web
page. Application notes are sorted by date by default.
Development Tools
PSoC Designer is a Microsoft
®
Windows based, integrated
development
environment
for
the
Programmable
System-on-Chip (PSoC) devices. The PSoC Designer IDE and
application runs on Windows NT 4.0, Windows 2000, Windows
Millennium (Me), or Windows XP (see
Figure 3
on page 5).
PSoC Designer helps the customer to select an operating
configuration for the PSoC, write application code that uses the
PSoC, and debug the application. This system provides design
database management by project, an integrated debugger with
In-Circuit Emulator, in-system programming support, and the
CYASM macro assembler for the CPUs.
PSoC Designer also supports a high level C language compiler
developed specifically for the devices in the family.
Notes
1. Per sensor typical. Depends on touchscreen panel. For MA120 per X/Y crossing Vcc = 3.3V.
2. Average mA supply current. Based on 8 ms report rate, except for MA120.
Document Number: 001-46928 Rev. *B
Page 4 of 31
[+] Feedback
CY8CTMG110
Figure 3. PSoC Designer Subsystems
Context
Sensitive
Help
300-baud modem, LIN Bus master and slave, fan controller, and
magnetic card reader.
Application Editor
The Application Editor edits the C language and assembly
language source code. It also assembles, compiles, links, and
builds.
Assembler.
The macro assembler allows the seamless
merging of the assembly code with C code. The link libraries
automatically use absolute addressing or are compiled in relative
mode, and linked with other software modules to get absolute
addressing.
PSoC
Configuration
Sheet
PSoC
Designer
Graphical Designer
Interface
Commands
Results
Importable
Design
Database
Device
Database
Application
Database
Project
Database
User
Modules
Library
PSoC
Designer
Core
Engine
Manufacturing
Information
File
C Language Compiler.
A C language compiler that supports
the PSoC family of devices is available. Even if you have never
worked in the C language before, the product quickly helps you
create complete C programs for the PSoC family devices.
The embedded, optimizing C compiler provides all the features
of C tailored to the PSoC architecture. It comes complete with
embedded libraries providing port and bus operations, standard
keypad and display support, and extended math functionality.
Debugger
The PSoC Designer Debugger subsystem provides hardware
in-circuit emulation, allowing the designer to test the program in
a physical system while providing an internal view of the PSoC
device. Debugger commands allow the designer to read the
program and read and write data memory, read and write IO
registers, read and write CPU registers, set and clear break-
points, and provide program run, halt, and step control. The
debugger also allows the designer to create a trace buffer of
registers and memory locations of interest.
Online Help System
The online help system displays online, context-sensitive help
for the user. Designed for procedural and quick reference, each
functional subsystem has its own context-sensitive help. This
system also provides tutorials and links to FAQs and an Online
Support Forum to aid the designer in getting started.
Emulation
Pod
In-Circuit
Emulator
Device
Programmer
TrueTouch Designer Software Subsystems
Device Editor
The device editor subsystem enables the user to select different
onboard analog and digital components called user modules
using the PSoC blocks. Examples of user modules are ADCs,
DACs, Amplifiers, and Filters.
The device editor also supports easy development of multiple
configurations and dynamic reconfiguration. Dynamic
reconfiguration allows changing configurations at run time.
PSoC Designer sets up power on initialization tables for selected
PSoC block configurations and creates source code for an
application framework. The framework contains software to
operate the selected components. If the project uses more than
one operating configuration, then it contains routines to switch
between different sets of PSoC block configurations at run time.
PSoC Designer prints out a configuration sheet for a given
project configuration for use during application programming in
conjunction with the device data sheet. After the framework is
generated, the user adds application-specific code to flesh out
the framework. It is also possible to change the selected
components and regenerate the framework.
Design Browser
The Design Browser enables users to select and import
preconfigured designs into the user’s project. Users can easily
browse a catalog of preconfigured designs to facilitate
time-to-design. Examples provided in the tools include a
Hardware Tools
In-Circuit Emulator
A low cost, high functionality ICE (In-Circuit Emulator) is
available for development support. This hardware has the
capability to program single devices.
The emulator consists of a base unit that connects to the PC by
way of a USB port. The base unit is universal and operates with
all PSoC devices. Emulation pods for each device family are
available separately. The emulation pod takes the place of the
PSoC device in the target board and performs full speed
(24 MHz) operation.
TrueTouch Touchscreen Tuner
The TrueTouch tuner is a Microsoft
®
Windows based graphical
user interface allowing developers to set critical parameters and
observe changes to the touchscreen application in real time.
Optimal configuration from the tuner can be immediately applied
to the TrueTouch user module settings.
Document Number: 001-46928 Rev. *B
Page 5 of 31
[+] Feedback