MAX11803ETC [MAXIM]
Low-Power, Ultra-Small Resistive Touch-Screen Controllers with I2C/SPI Interface; 低功耗,超小尺寸电阻式触摸屏控制器,提供I²C / SPI接口型号: | MAX11803ETC |
厂家: | MAXIM INTEGRATED PRODUCTS |
描述: | Low-Power, Ultra-Small Resistive Touch-Screen Controllers with I2C/SPI Interface |
文件: | 总57页 (文件大小:894K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
19-4711; Rev 2; 3/10
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
General Description
Features
The MAX11800–MAX11803 low-power touch-screen con-
trollers operate from a single supply of 1.70V to 3.6V, tar-
geting power-sensitive applications such as handheld
equipment. The devices contain a 12-bit SAR ADC and a
multiplexer to interface with a resistive touch-screen
panel. A digital serial interface provides communications.
♦ 4-Wire Touch-Screen Interface
♦ X/Y Coordinate and Touch Pressure Measurement
♦ Ratiometric Measurement
♦ 12-Bit SAR ADC
♦ Single 1.7V to 3.6V Supply
The MAX11800–MAX11803 include digital preprocessing
of the touch-screen measurements, reducing bus loading
and application-processor resource requirements. The
included smart interrupt function generator greatly
reduces the frequency of interrupt servicing to the
devices. The MAX11800–MAX11803 enter low-power
modes automatically between conversions to save power,
making the devices ideal for portable applications.
♦ Two Operating Modes—Direct and Autonomous
♦ Data Tagging Provides Measurement and Touch
Event Information
♦ Data Filtering Provides Noise Reduction
♦ Aperture Mode† Provides Spatial Filtering
♦ Digital Processing Reduces Bus Activity and
Interrupt Generation
The MAX11800/MAX11801 offer two modes of operation:
direct and autonomous. Direct mode allows the applica-
tion processor to control all touch-screen controller activ-
ity. Autonomous mode allows the MAX11800/MAX11801
to control touch-screen activity, thereby freeing the
application processor to perform other functions. In
autonomous mode, the devices periodically scan the
touch screen for touch events without requiring host-
processor intervention. This can be used to reduce sys-
tem power consumption. An on-chip FIFO is used during
autonomous mode to store results and increase effective
data throughput and lower system power.
♦ Programmable Touch-Detect Pullup Resistors
♦ Auto Power-Down Control for Low-Power
Operation
♦ 25MHz SPI Interface (MAX11800/MAX11802)
♦ 400kHz I2C Interface (MAX11801/MAX11803)
♦ 1.6mm x 2.1mm, 12-Pin WLP and 4mm x 4mm,
12-Pin TQFN
♦ Low-Power Operation
343µW at V
= 1.7V, 34.4ksps
= 3.3V, 34.4ksps
DD
DD
888µW at V
The MAX11800–MAX11803 support data-tagging,
which records the type of measurement performed; X,
Y, Z1, or Z2, and the type of touch event; initial touch,
continuing touch, or touch release.
♦ ESD Protection
4kV HBM
8kV HBM (Xꢀ, X-, Yꢀ, Y-)
1kV CDM
200V MM
The MAX11800/MAX11802 support the SPI™ serial bus.
The MAX11801/MAX11803 support the I2C serial bus.
The MAX11800–MAX11803 are available in 12-pin TQFN
and 12-pin WLP packages, and are specified over the
-40°C to +85°C (extended) and -40°C to +105°C (auto-
motive) temperature ranges.
Ordering Information
PART
TEMP RANGE
-40°C to +85°C
-40°C to +105°C
-40°C to +85°C
-40°C to +85°C
-40°C to +105°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
PIN-PACKAGE
12 TQFN-EP*
12 TQFN-EP*
12 WLP
MAX11800ETC+
MAX11800GTC/V+
MAX11800EWC+T
MAX11801ETC+
MAX11801GTC/V+
MAX11801EWC+T
MAX11802ETC
Applications
Mobile Communication
Devices
POS Terminals
12 TQFN-EP*
12 TQFN-EP*
12 WLP
Handheld Games
PDAs, GPS Receivers,
Personal Navigation
Devices, Media Players
Automotive Center
Consoles
12 TQFN-EP*
12 WLP
MAX11802EWC+T
MAX11803ETC
Portable Instruments
12 TQFN-EP*
12 WLP
Typical Operating Circuits and Pin Configurations appear
at end of data sheet.
MAX11803EWC+T
*EP = Exposed pad.
+Denotes a lead(Pb)-free/RoHS-compliant package.
/V denotes an automotive qualified part.
SPI is a trademark of Motorola, Inc.
†Patents pending.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
TABLE OF CONTENTS
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
2
I C Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
SPI Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Typical Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Functional Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Position Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Pressure Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Touch-Detect Modes and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
PUR and PUF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Idle Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Features Common to the MAX11800–MAX11803 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Averaging Modes and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Combined Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Data Tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Panel Setup, Measurement, and Scan Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Direct Conversion Mode Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Interrupt Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Panel Setup Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Panel Measurement Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Combined Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Auxiliary Measurement Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Autonomous Conversion Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Measurement Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Combined Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Delayed Touch Detection During Mode Transitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
FIFO Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Clearing FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
FIFO Data Block Readback Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
FIFO Data Word Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Block Readback Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Clearing Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Aperture Modes* and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Aperture Range Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
FIFO Aperture Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
–MAX1803
2
_______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
TABLE OF CONTENTS (continued)
Applications Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Using Aperture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Examples of Using Aperture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
SPI Communication Sequence (MAX11800/MAX11802) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
SPI Configuration Register Write (MAX11800/MAX11802) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
SPI Configuration or Result Register Read (MAX11800/MAX11802) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
SPI Conversion Command (MAX11800/MAX11802) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2
I C-Supported Sequence (MAX11801/MAX11803) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2
I C Configuration Register Write (MAX11801/MAX11803) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2
I C Configuration or Result Register Read (MAX11801/MAX11803) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
2
I C Conversion Command (MAX11801/MAX11803) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Command and Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
User-Accessible Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Status and Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Data Readback Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Autonomous Conversion Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Direct Conversion Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Panel Setup and Measurement Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
User Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
General Status Register (0x00) (Read Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
General Configuration Register (0x01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Measurement Resolution Configuration Register (0x02) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Measurement Averaging Configuration Register (0x03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
ADC Sampling Time Configuration Register (0x04) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Panel Setup Timing Configuration Register (0x05) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Delayed Conversion Configuration Register (0x06) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Touch-Detect Pullup Timing Configuration Register (0x07) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Autonomous Mode Timing Configuration Register (0x08) (MAX11800/MAX11801) . . . . . . . . . . . . . . . . . . . . . . . .51
Aperture Configuration Register (0x09) (MAX11800/MAX11801) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Auxiliary Measurement Configuration Register (0x0A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
Operating Mode Configuration Register (0x0B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
MAX11800/MAX11802 Typical Operating Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
MAX11801/MAX11803 Typical Operating Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Pin Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Chip Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
_______________________________________________________________________________________
3
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
LIST OF FIGURES
2
Figure 1. I C Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Figure 2. SPI Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Figure 3a. MAX11800/MAX11801 Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Figure 3b. MAX11802/MAX11803 Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Figure 4. Position Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Figure 5. Pressure Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Figure 6. Touch-Detection Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Figure 7. Touch-Detection Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Figure 8. State Machine Transitions (Direct Conversion Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Figure 9. Continuous Interrupt Mode (Direct Conversion Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Figure 10. Edge Interrupt Mode (Direct Conversion Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Figure 11. Command and Measurement Flow (DCM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Figure 12. Panel Setup and Measurement Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Figure 13. Combined Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Figure 14. State Machine Transitions––Autonomous Conversion Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Figure 15. Clear-on-Read Interrupt Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Figure 16. Aperture Usage Example Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
Figure 17. SPI Single Configuration Register Write Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Figure 18. SPI Multiple Configuration Register Write Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Figure 19. SPI Single-Byte Register Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Figure 20. SPI Multiple-Byte Register Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Figure 21. SPI Conversion Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
–MAX1803
2
Figure 22. I C Single Register Write Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2
Figure 23. I C Multiple Register Write Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2
Figure 24. I C Multiple Register Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
2
Figure 25. I C Streamlined Register Read Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
2
Figure 26. I C Conversion Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
4
_______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
LIST OF TABLES
Table 1. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Table 2. Operating Modes, Conditions, and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Table 3. Summary of Physical Panel Settings for Supported Measurement Types . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Table 4. Median Averaging Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Table 5. Data Word Structure (All Direct Conversion Modes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Table 6. Measurement and Event Tags (Continuous Interrupt Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Table 7. Measurement and Event Tags (Edge Interrupt Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Table 8. Panel Setup Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Table 9. Panel Measurement Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Table 10. FIFO Data Block Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Table 11. FIFO Data Word Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Table 12. FIFO Data Measurement Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Table 13. FIFO Event Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Table 14. Readback and FIFO Contents with Aperture Mode Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Table 15. Readback and FIFO Contents with Aperture Mode Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Table 16. SPI Command and Data Format: 8 Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
2
Table 17. I C Command and Data Format: 8 Bits Plus ACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Table 18. Status and Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Table 19. FIFO Data Readback Command (Autonomous Mode Only––MAX11800/MAX11801) . . . . . . . . . . . . . . . .45
Table 20. Data Readback Commands (Direct Mode Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
2
Table 21. I C Readback Register Settings Following Conversion Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Table 22. Measurement Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
_______________________________________________________________________________________
5
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Table 1. Terminology
TERM
DEFINITION
Panel,
Touch Screen,
Touch Panel
Resistive Touch Sensor: Panel, or touch screen, or touch panel are used interchangeably to denote the
resistive touch sensor.
Touch-Screen Controller: Devices attached to a touch screen that provide the interface between an
application processor (AP) and touch screen.
TSC
X+
X-
X Position Positive I/O: Analog I/O from resistive touch screen. See Figure 4 for configuration and
measurement details.
X Position Negative I/O: Analog I/O from resistive touch screen. See Figure 4 for configuration and
measurement details.
Y Position Positive I/O: Analog I/O from resistive touch screen. See Figure 4 for configuration and measurement
details.
Y+
Y-
Y Position Negative I/O: Analog I/O from resistive touch screen. See Figure 4 for configuration and
measurement details.
Touch Resistance: Represents the resistance between the X and Y planes of a resistive touch screen during a
touch event.
R
TOUCH
Z1
Z1 Measurement: A resistive touch-screen measurement to determine the resistance between the two planes
–MAX1803
within the panel sensor during a touch event (R ). See Figure 5 for configuration and measurement details.
TOUCH
Z2 Measurement: A resistive touch-screen measurement to determine the resistance between the two planes
within the panel sensor during a touch event (R ). See Figure 5 for configuration and measurement details.
Z2
TOUCH
Auxiliary Input: Analog input to the MAX11800–MAX11803 that can be used to monitor external conditions
such as battery voltage or temperature.
AUX
ADC
AP
Analog-to-Digital Converter: Circuit used to transform analog information into a form suitable for digital operations.
Application Processor: An external microcontroller or microprocessor that interfaces to and controls the
general operation of the MAX11800–MAX11803.
Averaging Mode: The ability to average consecutive measurement results to reduce noise from switch
bounce, power-supply ripple, and incomplete settling.
AVG
Median Averaging Filter: The MAF first removes the minimum and maximum samples before taking the
average of the remaining sample set.
MAF
SAF
TDM
Straight Averaging Filter: The SAF takes the average of an entire sample set.
Touch-Detect Mode: An untimed mode that monitors the panel for a touch using a user-selectable panel
pullup resistor of either 50kꢀ or 100kꢀ.
Direct Conversion Mode: A mode of operation in which the AP requests individual panel setup and
conversion operations or automated combinations of measurements (X and Y, X and Y and Z1, or X and Y and
Z1 and Z2). The AP maintains control over the initiation of panel setup, measurements, and the sampling
DCM
ACM
Autonomous Conversion Mode: A mode of operation in which the MAX11800/MAX11801 idle in TDM until a
touch event occurs. After a touch is detected, the MAX11800/MAX11801 begin an automated sequence of
measurements determined by the user configuration registers.
Panel Setup Command: User-programmable modes for the purpose of allowing the panel sufficient time to
settle, prior to the start of measurements. PSU commands configure the on-chip multiplexer in preparation to
perform either X, Y, Z1, or Z2 measurements. Durations can either be specified and managed by the
MAX11800–MAX11803 (in ACM and DCM) or managed by the AP (in DCM).
PSU
PMC
CMC
Panel Measurement Command: Individual measurements of X or Y position and Z1 or Z2 pressure measurements.
Combined Measurement Command: Combinations of PMCs (X and Y, X and Y and Z1, or X and Y and Z1 and
Z2) offered by the MAX11800–MAX11803 and executed in series to reduce AP bus and interrupt activity.
6
_______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Table 1. Terminology (continued)
TERM
DEFINITION
First-In First-Out Memory: The MAX11800–MAX11803 contain a 1024-bit FIFO that is used to store conversion
results when operating in autonomous conversion mode. FIFO depth indicates the number of words (16-bit
quantity) in the FIFO.
FIFO
Scan: Generally, a single sequence of operations performed in DCM or ACM. The operations could include a
panel setup operation, followed by a panel measurement operation, or a combined measurement operation.
Scan
Scan Block: Generally, a sequence of multiple operations performed in DCM or ACM. The operations could
include panel-setup operations, panel-measurement operations, or combined measurement operations.
Scan Block
Timed Scan: A scan or scan block operation that uses the on-chip oscillator and timer. The timer is controlled
through the configuration registers and represents an array of fixed (time) quantities that are user selectable
(MAX11800/MAX11801).
Timed Scan
Untimed Scan Untimed Scan: A scan or scan block operation that is controlled by the AP. This only applies to DCM.
Data Tag: Information appended to the end of an ADC conversion result. Tags indicate the type of measurement and
touch status associated with each panel observation. See the definitions for ETAG and MTAG (also in Table 1).
TAG
ETAG
MTAG
Event Tag: Data tags indicating the panel touch status observed during a measurement.
Measurement Tag: Data tag indicating the type of measurement read back by the AP (either X, Y, Z1, or Z2).
Touch Interrupt Request: Active-low interrupt, indicating that a touch is present (CINT) or has been initiated
(EINT) in DCM, or that new data is available in the FIFO in ACM.
TIRQ
EINT
CINT
Edge Interrupt Mode: Indicates, through TIRQ, that a touch has been initiated (EINT) in DCM. The duration that
TIRQ is low is user programmable.
Continuous Interrupt Mode: Indicates, through TIRQ, that a touch is present (CINT) in DCM. TIRQ goes low to
indicate the presence of a touch and stays low until the touch event ceases.
Clear-on-Read Interrupt Mode: Used in ACM only. TIRQ goes low to indicate the presence of new FIFO data. The
interrupt is cleared when the data is read by the AP (MAX11800/MAX11801).
CORINT
APER
Aperture Mode: Available in ACM only. Reduces data writes to the FIFO by spatially filtering measurement data.
Continuous Bit: An option in DCM to return the MAX11800–MAX11803 to a panel setup (wait) mode (PSU) after a
conversion, rather than a return to TDM (recommended only for applications with very long panel settling times and
request controlling their own averaging). The continuous bit resides in bit 0 (R0) of the PSU and PMC registers.
CONT
LPM
Low-Power Mode: An idle mode used in DCM/EINT or ACM modes, when a touch is detected at the conclusion of
the last measurement. This indicates a new measurement needs to be requested or scheduled (the touch-detect
pullup is not engaged to save power).
Pullup Rough: A fast pullup mode, which uses the main X+ switch in parallel with the on-chip resistive pullup
PUR
PUF
(50kΩ/100kΩ) to quickly slew the touch panel capacitances. R
≤ 10Ω typical.
PUR
Pullup Fine: A slow (fine) pullup mode, which uses the on-chip resistive pullup to slew the touch-panel
capacitances to their final values (R = 50kΩ or 100kΩ) typical and is required for all applications.
PUF
Successive Approximation Register ADC: An analog-to-digital converter that converts a continuous analog
waveform into a discrete digital representation through a binary search through all possible quantization levels
before finally converging upon a digital output for each conversion.
SAR ADC
Inter-Integrated Circuit: A multimaster serial computer bus that is used to attach low-speed peripherals to other
components using two bidirectional open-drain lines, serial data (SDA) and serial clock (SCL), pulled up with
resistors.
2
I C
Serial Peripheral Interface: A serial interface in which a master device supplies clock pulses to exchange data
serially with a slave over two data wires (master-slave and slave-master).
SPI
_______________________________________________________________________________________
7
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
ABSOLUTE MAXIMUM RATINGS
DD
V
to GND...........................................................-0.3V to +4.0V
Operating Temperature Ranges
X+, X-, Y+, Y-, AUX, TIRQ to GND ........................-0.3V to +4.0V
SCL, CLK, SDA, DIN, A0, CS, A1, DOUT to GND.-0.3V to +4.0V
Maximum Current into Any Pin ......................................... 50mA
MAX1180_E_ _..................................................-40°C to +85°C
MAX1180_G_ _...............................................-40°C to +105°C
Storage Temperature Range.............................-65°C to +150°C
Junction Temperature......................................................+150°C
Soldering Temperature (reflow) .......................................+260°C
Lead Temperature (soldering, 10s) .................................+300°C
Continuous Power Dissipation (T = +70°C)
A
12-Pin TQFN (derate 24.4mW/°C above +70°C) ....1951.2mW
12-Pin WLP (derate 6.5mW/°C above +70°C) ..........518.8mW
Note 1: All WLP devices are 100% production tested at T = +25°C. Specifications over temperature limits are guaranteed by
A
design and characterization.
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(V
= 1.7V to 3.6V, T = -40°C to +85°C (MAX11800E–MAX11803E), T = -40°C to +105°C (MAX11800G/MAX11801G), unless oth-
A
A
DD
erwise noted. Typical values are at T = +25°C and V = 3.3V, unless otherwise noted.)
A
DD
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
ADC
ADC Resolution
Differential Nonlinearity
Integral Nonlinearity
Offset Error
No missing codes
12-bit resolution
12-bit resolution
10
11
1.5
1.5
2
Bits
LSB
LSB
LSB
LSB
ksps
DNL
INL
–MAX1803
Gain Error
4
Throughput
105
TOUCH SENSORS (Xꢀ, X-, Yꢀ, Y-, AUX)
V
V
= 1.7V
= 3.3V
7
5
12
10
50
DD
DD
Switch On-Resistance
Ω
Switch Driver Current
Input Voltage Range
mA
V
0
V
DD
POWER SUPPLY (V
)
DD
Supply Voltage
V
1.7
3.6
1
V
DD
1.7V
3.6V
Power-down mode. All digital
inputs static.
2
TDM. All digital inputs static.
Does not include panel currents 3.6V
when touched.
7
Timed LPM. All digital inputs
1.7V
Supply Current
μA
9
20
40
static. Does not include panel
3.3V
16
currents when touched.
1.7V
3.3V
1.7V
3.3V
1.7V
3.3V
1.7V
3.3V
216
273
202
269
367
901
343
888
400
550
400
550
AUX conversions at 34.4ksps
equivalent rate, SPI
AUX conversions at 34.4ksps
2
equivalent rate, I C
AUX conversions at 34.4ksps
equivalent rate, SPI
Power Consumption
μW
AUX conversions at 34.4ksps
2
equivalent rate, I C
8
_______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
ELECTRICAL CHARACTERISTICS (continued)
(V
= 1.7V to 3.6V, T = -40°C to +85°C (MAX11800E–MAX11803E), T = -40°C to +105°C (MAX11800G/MAX11801G), unless oth-
A
A
DD
erwise noted. Typical values are at T = +25°C and V = 3.3V, unless otherwise noted.)
A
DD
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
DIGITAL INPUTS (SDA, DIN, SCL, CLK, A0, CS, A1)
0.7 x
Input Logic-High Voltage
V
V
IH
V
DD
0.3 x
Input Logic-Low Voltage
Input Leakage Current
Input Hysteresis
V
V
μA
V
IL
V
DD
I
V
= 0V or V
DD
-1
+1
IN
IN
0.5 x
V
HYS
V
DD
Input Capacitance
6
pF
DIGITAL OUTPUTS (SDA, DOUT, TIRQ)
0.9 x
DOUT, I
= 1mA
SOURCE
V
DD
Output Logic-High
V
V
OH
0.9 x
TIRQ, CMOS configuration, I
= 1mA
SOURCE
V
DD
Output Logic-Low—TIRQ, DOUT
Output Logic-Low—SDA
TIRQ Pullup Resistor
V
V
I
I
= 1mA
= 3mA
0.4
0.4
V
V
OL
OL
SINK
SINK
125
kΩ
2
I C TIMING CHARACTERISTICS
(V
= 1.7V to 3.6V, T = -40°C to +85°C (MAX11801E and MAX11803E), T = -40°C to +105°C (MAX11801G), unless otherwise
A
A
DD
noted. Typical values are at T = +25°C and V
= 3.3V, unless otherwise noted. See Figure 1.)
A
DD
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
Serial-Clock Frequency
f
0
400
kHz
SCL
Bus free time between STOP and START
condition
Bus Free Time
t
1.3
0.6
μs
μs
BUF
After this period, the first clock pulse is
generated
Hold Time for START Condition
t
t
HD;STA
SCL Pulse-Width Low
SCL Pulse-Width High
t
1.3
0.6
μs
μs
LOW
t
HIGH
Setup Time for Repeated START
(Sr) Condition
0.6
μs
SU;STA
Data Hold Time
Data Setup Time
t
0
900
ns
ns
HD;DAT
t
100
SU;DAT
20 +
C /10
B
SDA and SCL Rise/Fall Time
t
t
Receiving
300
250
ns
R, F
20 +
C /10
B
SDA and SCL Fall Time
t
Transmitting
ns
μs
pF
ns
TF
Setup Time for STOP Condition
Bus Capacitance Allowed
Pulse Width of Suppressed Spike
t
0.6
10
10
SU;STO
V
V
= 1.7V to 2.7V
= 2.7V to 3.6V
100
400
50
DD
DD
C
B
t
SP
_______________________________________________________________________________________
9
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
SPI TIMING CHARACTERISTICS
(V
= 1.7V to 3.6V, T = -40°C to +85°C (MAX11800E and MAX11802E), T = -40°C to +105°C (MAX11800G), unless otherwise
DD
A
A
noted. Typical values are at T = +25°C and V
= 3.3V, unless otherwise noted. See Figure 2.)
A
DD
PARAMETER
CLK Frequency
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
MHz
ns
f
25
CLK
CLK Period
t
40
18
18
18
CP
CLK Pulse-Width High
CLK Pulse-Width Low
CS Low to 1st CLK Rise Setup
t
ns
CH
t
ns
CL
t
ns
CSS0
To prevent a 0th CLK read from being taken
as a 1st read in a free-running application
CS Low After 0th CLK Rise Hold
t
0
18
0
ns
ns
ns
CSH0
To prevent a 17th CLK read from being
recognized by the device in a free-running
application
CS High to 17th CLK Setup
t
CSS1
CS High After 16th CLK Falling
Edge Hold
t
CSH1
CS Pulse-Width High
DIN to CLK Setup
DIN Hold After CLK
t
18
25
0
ns
ns
ns
CSW
–MAX1803
t
DS
DH
t
DOUT Transition Valid After CLK
Rise
t
Output transition time
Output hold time
25
ns
ns
DOT
DOUT Remains Valid After CLK
Rise
t
3
DOH
DOUT Valid Before CLK Rise
t
t
= t - t
CP DOT
10
ns
ns
DO1
DO1
CS Rise to DOUT Disable
t
C
= 20pF
40
25
DOD
LOAD
C
= 20pF. Minimum = hold time with
LOAD
regard to 8thCLK read. Maximum =
CLK Rise to DOUT Enable
t
3
ns
DOE
transition time with regard to 8th CLK read.
t
F
SDA
SCL
t
BUF
t
t
SP
t
SU;DAT
R
t
HD;STA
t
LOW
t
HIGH
t
t
HD;STA
SU;STO
t
SU;STA
t
t
HD;DAT
F
S
P
S
Sr
Figure 1. I2C Timing Diagram
10 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
t
DS
t
CP
t
t
SCH1
CSH0
t
DH
t
t
CSW
CSS0
t
CH
CS
CLK
t
CL
t
CSS1
8
9
16
1
0
DIN
W
X
A6
A5
A4
A3
A2
A1
D7
D3
D1
D0
A0
D6
D5
D4
D2
HIGH-Z
SPI WRITE OPERATION
DOUT
t
DS
t
CP
t
DOH
t
DO0
t
DH
t
CSS0
t
DOE
t
CH
CS
CLK
t
DO1
t
CL
8
9
16
1
DIN
A5
A4
A3
A1
A6
A2
A0
X
X
X
X
X
R
X
X
X
X
HIGH-Z
HIGH-Z
DOUT
D7
D5
D2
D1
D0
D6
D4
D3
SPI READ OPERATION
Figure 2. SPI Timing Diagram
______________________________________________________________________________________ 11
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Typical Operating Characteristics
(V
DD
= 1.8V at T = -40°C to +85°C (T = -40°C, T = 0°C, T = +25°C, and T = +85°C), 12-bit mode, all measurements using
A A A A A
noncontinuous AUX input. SPI = 10MHz and I2C = 400kHz, unless otherwise noted. Resistive touch-screen panel (X+ to X- = 608Ω,
Y+ to Y- = 371Ω).)
AVERAGE SUPPLY CURRENT
vs. SAMPLING RATE
AVERAGE SUPPLY CURRENT
vs. SAMPLING RATE
AVERAGE SUPPLY CURRENT
vs. SAMPLING RATE
5
4
3
2
1
0
5
4
3
2
1
0
90
80
70
60
50
40
30
20
10
0
AUTONOMOUS MODE
DIRECT CONTINUOUS
INTERRUPT MODE
DIRECT EDGE
INTERRUPT MODE
DATA TAKEN WITH
cps = COORDINATES
RESISTIVE TOUCH
PER SECOND
cps = COORDINATES PER SECOND
cps = COORDINATES PER SECOND
SENSOR
0
20 40 60 80 100 120 140 160 180 200
SAMPLING RATE (cps)
0
20 40 60 80 100 120 140 160 180 200
SAMPLING RATE (cps)
0
20 40 60 80 100 120 140 160 180 200
SAMPLING RATE (cps)
SUPPLY CURRENT IN POWER-DOWN
vs. TEMPERATURE
SWITCH RESISTANCE
vs. SUPPLY VOLTAGE
SWITCH RESISTANCE
vs. TEMPERATURE
–MAX1803
8
7
6
5
4
3
7
0.40
0.36
0.32
0.28
0.24
0.20
0.16
0.12
0.08
0.04
0
Y+
X+
6
5
4
3
2
1
Y+
Y-
X+
Y-
X-
X-
1.6
2.0
2.4
2.8
(V)
3.2
3.6
-40
-15
10
35
60
85
-40
-15
10
35
60
85
V
TEMPERATURE (NC)
TEMPERATURE (NC)
DD
CHANGE IN ADC GAIN
vs. TEMPERATURE
CHANGE IN ADC OFFSET
vs. TEMPERATURE
4
3
4
3
2
1
0
2
1
0
-1
-2
-3
-4
-1
-2
-3
-4
-40
-10
20
50
80
110
-40
-10
20
50
80
110
TEMPERATURE (NC)
TEMPERATURE (NC)
12 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Typical Operating Characteristics (continued)
(V
DD
= 1.8V at T = -40°C to +85°C (T = -40°C, T = 0°C, T = +25°C, and T = +85°C), 12-bit mode, all measurements using
A A A A A
noncontinuous AUX input. SPI = 10MHz and I2C = 400kHz, unless otherwise noted. Resistive touch-screen panel (X+ to X- = 608Ω,
Y+ to Y- = 371Ω).)
AVERAGE SUPPLY CURRENT
vs. SAMPLING RATE
AVERAGE SUPPLY CURRENT
vs. SAMPLING RATE
INTERNAL OSCILLATOR CLOCK
FREQUENCY vs. TEMPERATURE
120
100
80
60
40
20
0
3.0
2.5
2.0
1.5
1.0
0.5
0
2.08
2.06
2.04
2.02
2.00
1.98
1.96
1.94
1.92
1.90
DIRECT CONVERSION
MODE—AUXILIARY INPUT
AUXILIARY INPUT DATA
SAMPLED AT 1ksps AND
2ksps WITH EIGHT AND
16 SAMPLES
AVERAGING
ENABLED
V
= 3.0V
DD
V
= 1.8V
DD
V
DD
= 3.6V
sps = SAMPLES PER SECOND
ksps = KILO-SAMPLES PER SECOND
8
16
24
32
0
20 40 60 80 100 120 140 160 180 200
SAMPLING RATE (sps)
-40
-15
10
35
60
85
EQUIVALENT SAMPLING RATE (ksps)
TEMPERATURE (NC)
INTERNAL OSCILLATOR CLOCK
FREQUENCY vs. SUPPLY VOLTAGE
POWER CONSUMPTION
vs. SAMPLE RATE
2.08
2.06
2.04
2.02
2.00
1.98
1.96
1.94
1.92
1.90
160
140
120
100
80
DATA TAKEN WITH
RESISTIVE TOUCH SENSOR
AUTONOMOUS MODE
DIRECT CONTINUOUS MODE
60
cps = COORDINATES
PER SECOND
40
20
DIRECT EDGE MODE
50
0
1.8
2.4
3.0
3.6
0
100
150
200
V
(V)
SAMPLE RATE (cps)
DD
______________________________________________________________________________________ 13
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Pin Description
PIN
NAME
FUNCTION
MAX11800/MAX11802
MAX11801/MAX11803
TQFN
1
WLP
A4
B4
B3
C4
C3
C2
C1
B1
A1
B2
A2
A3
—
TQFN
1
WLP
A4
B4
B3
C4
C3
C2
—-
—
X+
X+ Channel Input/Output
2
2
V
Power Supply. Bypass V to GND with a 1μF capacitor.
DD
DD
3
3
GND
X-
Ground
4
4
X- Channel Input/Output
Y- Channel Input/Output
5
5
Y-
6
6
TIRQ
DIN
CLK
CS
Active-Low Touch Interrupt Output
SPI Serial Data Input
SPI Serial Data Clock Input
SPI Chip-Select Input
SPI Data Output
7
—
—
—
—
11
12
7
8
9
—
10
11
12
—
—
—
—
EP
—
DOUT
AUX
Y+
A2
A3
C1
B1
A1
B2
—
Auxiliary Input
Y+ Channel Input/Output
–MAX1803
2
SDA
SCL
A0
I C Serial Data Bus Input/Output
2
—
8
I C Serial Data Clock Input
2
—
9
I C Address Input Bit 0
2
—
10
EP
A1
I C Address Input Bit 1
—
EP
Exposed Pad. Connected to ground.
14 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Functional Diagrams
POWER
AND
BIAS
MAX11800/MAX11801
V
DD
AUX
DOUT (A1)
SERIAL INTERFACE
PHYSICAL LAYER
(ANALOG INTERFACE)
X+
X-
Y+
Y-
CS (A0)
MUX
SAR
ADC
CLK (SCL)
DIN (SDA)
TOUCH-
SCREEN
INTERFACE
LOGIC
CORE
SIF
PHY
AUTONOMOUS
MODE ENGINE
INTERNAL
CLOCK
V
DD
INTERRUPT
GENERATION
ENGINE
FIFO
TIRQ
GND
POWER
AND
BIAS
MAX11802/MAX11803
V
DD
AUX
DOUT (A1)
SERIAL INTERFACE
PHYSICAL LAYER
(ANALOG INTERFACE)
X+
X-
Y+
Y-
MUX
SAR
ADC
CS (A0)
TOUCH-
SCREEN
INTERFACE
LOGIC
CORE
SIF
PHY
CLK (SCL)
DIN (SDA)
TIRQ
INTERNAL
CLOCK
V
DD
INTERRUPT
GENERATION
ENGINE
GND
______________________________________________________________________________________ 15
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
• User-programmable acquisition modes
• Programmable interrupt output drive
• 25MHz SPI interface (MAX11800/MAX11802)
Detailed Description
The MAX11800–MAX11803 contain standard features
found in a typical resistive touch-screen controller as
well as advanced features. Standard features included
in the MAX11800–MAX11803 are:
The MAX11800–MAX11803 operate in one of two top-
level modes: direct conversion mode (DCM) or
autonomous conversion mode (ACM). Direct conversion
mode requires the AP to initiate all activity to and from
the MAX11800–MAX11803. DCM is the operating mode
that most standard resistive touch-screen controllers
use. ACM allows the MAX11800/MAX11801 to perform
measurements automatically and inform the AP when
they are complete, reducing data transfers on the serial
bus as well as generating fewer interrupt requests. The
MAX11800/MAX11801 can operate in the standard
mode that is familiar to users, or in the advanced fea-
tures mode to provide additional flexibility.
• 4-wire touch-screen interface
• X/Y coordinate measurement
• Touch pressure measurement
• Direct conversion operation—requires direct AP
involvement
• Single commands—AP initiates all activity one com-
mand at a time
• Ratiometric measurement
• 12-bit SAR ADC
• Single 1.8V to 3.3V supply
• Programmable touch-detect pullup—50kΩ or
100kΩ
• Auto power-down control for low-power operation
• 400kHz I2C interface (MAX11801/MAX11803)
Both DCM and ACM support averaging, data tagging,
and combined commands. Certain commands and
operations are only available in DCM, while others are
only available in ACM. See Figures 3a and 3b and
Table 2 for details.
–MAX1803
Position Measurements
Position measurements determine either the X or Y
coordinates of the point of contact on the panel sensor.
Allow adequate time for the panel to settle when switch-
ing between X and Y measurements. Figure 4 shows
the physical setup of the panel when performing posi-
tion measurements.
Advanced features found in the MAX11800–MAX11803
include:
• Autonomous conversion operation—minimal AP
involvement (MAX11800/MAX11801)
• On-chip FIFO—buffers up to 16 consecutive mea-
surements (MAX11800/MAX11801)
The element R
represents the resistance between
TOUCH
• Data tagging—records measurement and touch-
the X and Y planes of the panel sensor. R
does
TOUCH
event information
not contribute to the error when performing position mea-
surements. R
required between each valid measurement.
• Filtering—reduces noise using straight or median
averaging
affects the panel settling time
TOUCH
• Aperture mode—provides spatial filtering
(MAX11800/MAX11801)
The panel end-to-end resistance in the direction of
measurement determines the power applied across the
panel. The panel dissipates power in the X elements
when performing an X direction measurement and dis-
sipates power in the Y elements when performing a Y
direction measurement.
• Combined commands—multiple operations per-
formed with a single AP command
• Digital processing to reduce serial bus activity
• Digital processing to reduce interrupt generation
16 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
MAX11800
MAX11801
SETUP
REGISTERS
SETUP
REGISTERS
OPERATION MODES
DIRECT CONVERSION
(DCM)
OPERATION
MODE
AUTONOMOUS CONVERSION
(ACM)
REGISTER 0x0B
REGISTER 0x0B
REGISTER 0x05
REGISTER 0x6x
REGISTER 0x05
REGISTER 0x6x*
PANEL SETUP COMMANDS
(PSU)
PANEL SETUP COMMANDS
(PSU)
PANEL MEASUREMENT
COMMANDS (PMC)
PANEL MEASUREMENT
COMMANDS (PMC)
REGISTER 0x7x
REGISTER 0x7x
REGISTER 0x0A
REGISTER 0x7x*
REGISTER 0x7x*
COMMANDS
PANEL COMBINED COMMANDS
(CMC)
PANEL COMBINED COMMANDS
(CMC)
AUX MEASUREMENT
COMMANDS (AMC)
N/A
X, Y, Z1, Z2
MEASUREMENTS
X, Y, Z1, Z2
MEASUREMENTS
REGISTER 0x0B
REGISTER 0x0B
MEASUREMENT
TYPES
REGISTER 0x03
REGISTER 0x0B
REGISTER 0x03
REGISTER 0x0B
AVERAGING MEASUREMENTS
AVERAGING MEASUREMENTS
EDGE INTERRUPT MODE
(EINT)
N/A
N/A
REGISTER 0x01
REGISTER 0x01
CONTINUOUS INTERRUPT MODE
(CINT)
INTERRUPT
TYPES
CLEAR-ON-READ INTERRUPT
(CORINT)
N/A
EVENT TAG (ETAG)
(IF CONT = 1, NO FIFO)
EVENT TAG (ETAG)
(USES FIFO)
DATA TAGGING
TYPES
MEASUREMENT TAG (MTAG)
(IF CONT = 1, NO FIFO)
MEASUREMENT TAG (MTAG)
(USES FIFO)
REGISTER 0x09
REGISTER 0x01
N/A
APERTURE
TIRQ
APERTURE SETTINGS
TIRQ CONFIGURATION
REGISTER 0x01
TIRQ CONFIGURATION
REGISTER 0x02
REGISTER 0x04
REGISTER 0x06
REGISTER 0x02
REGISTER 0x04
REGISTER 0x06
ADC RESOLUTION
AND TIMING
ADC RESOLUTION
AND TIMING
ADC
REGISTER 0x07
REGISTER 0x08
REGISTER 0x07
PUR AND PUF TIMING
N/A
TDM TIMING
AUTO TIMING
PUR AND PUF TIMING
TINIT AND SCANP TIMING
*THESE REGISTERS CANNOT BE ALTERED WHEN AUTONOMOUS MODE IS ACTIVE. THEY SHOULD BE INITIALIZED BEFORE AUTONOMOUS MODE IS ACTIVATED.
Figure 3a. MAX11800/MAX11801 Operation Modes
______________________________________________________________________________________ 17
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
MAX11802
MAX11803
OPERATION MODES
SETUP
REGISTERS
REGISTER 0x05
REGISTER 0x6x
PANEL SETUP COMMANDS
(PSU)
PANEL MEASUREMENT
COMMANDS (PMC)
REGISTER 0x7x
REGISTER 0x7x
REGISTER 0x0A
COMMANDS
PANEL COMBINED COMMANDS
(CMC)
AUX MEASUREMENT
COMMANDS (AMC)
X, Y, Z1, Z2
MEASUREMENTS
REGISTER 0x0B
8
MEASUREMENT
TYPES
REGISTER 0x03
REGISTER 0x0B
AVERAGING MEASUREMENTS
EDGE INTERRUPT MODE
(EINT)
REGISTER 0x01
REGISTER 0x01
INTERRUPT
TYPES
CONTINUOUS INTERRUPT MODE
(CINT)
EVENT TAG (ETAG)
DATA TAGGING
TYPES
MEASUREMENT TAG (MTAG)
REGISTER 0x01
TIRQ CONFIGURATION
TIRQ
REGISTER 0x02
REGISTER 0x04
REGISTER 0x06
ADC RESOLUTION
AND TIMING
ADC
PUR AND PUF TIMING
TDM TIMING
REGISTER 0x07
Figure 3b. MAX11802/MAX11803 Operation Modes
18 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Table 2. Operating Modes, Conditions, and Options
OPERATION
MODE
PUR
PUF
X, Y,
Z1, Z2
COR
INT
PSU PMC CMC TDM LPM AVG FIFO APER
CONT MTAG ETAG
EINT CINT
DCM
MAX11800– Yes Yes Yes Yes
No
Yes
No
No
Yes
Yes
Yes2
Yes2
Yes
Yes
Yes
No
MAX11803
ACM
MAX11800/
MAX11801
Yes1 Yes1 Yes1 Yes Yes Yes Yes
No Yes3 No Yes3 No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
No
Yes
No
No
No
No
No
Yes
No
AUX
—
1
2
In ACM, the choices are limited to X and Y scan, or X and Y and Z1 scan, or X and Y and Z1 and Z2 scan.
In DCM, each ADC conversion is tagged with MTAG and ETAG only when the continuous bit is set (CONT = 1). DCM does not use
the FIFO and, therefore, the AP should request the data at the end of the conversion cycle.
3
A separate configuration register for delay time, sampling time, averaging, and ADC resolution settings configures the AUX input.
Pressure Measurements
X
Z
2
Z
1
⎛
⎞ ⎛
⎞
⎠
Z1 and Z2 measurements determine the resistance
between the two planes within the panel sensor during
POSITION
R
= R
−1
⎟
⎜
⎝
⎟ ⎜
⎠ ⎝
TOUCH
XPLATE
N
2 BITX
a touch (R
). Depending on the known physical
TOUCH
properties of the panel, one of two equations extract the
value of R , providing information about the pres-
If only a Z1 measurement is available, compute
R as follows:
TOUCH
TOUCH
sure and area of the touch applied to the panel. Allow
adequate time for the panel to settle when switching
between position and pressure measurements. Figure 5
shows the physical setup of the panel when performing
pressure measurements.
N
R
X
BITX
2
BITZ
Y
⎛
⎞ ⎛
⎞
⎛
⎞
XPLATE POSITION
POSITION
N
R
=
−1 − R
1−
TOUCH
⎜
⎝
⎟ ⎜
⎠ ⎝
⎟
YPLATE ⎜
⎟
⎠
N
2
⎠
⎝
Z
2 BITY
1
The power applied across the panel during pressure
measurements is greatly dependent on R and
Z1 and Z2 measurements allow observation of the volt-
TOUCH
age on either side of the effective R
resistance.
TOUCH
the physical position of the touch. The maximum power
dissipation in the panel during a pressure measurement
With both Z1 and Z2 measurements available, compute
is approximately P = V 2/R
. This maximum
Z
DD
TOUCH
R
as follows:
TOUCH
power dissipation condition is observed when the point
of contact is in the top left corner of the panel sensor.
ADC
INPUT
V
DD
Y+
Y+
V
DD
V
DD
Y+
Y+
PANEL
PANEL
PANEL
PANEL
R
R
TOUCH
TOUCH
R
R
TOUCH
TOUCH
ADC
INPUT
Y-
Y-
Y-
Y-
X-
X+
X-
X+
X-
X+
X-
X+
ADC
INPUT
ADC
INPUT
V
DD
X POSITION MEASUREMENT
Y POSITION MEASUREMENT
Z1 PRESSURE MEASUREMENT
Z2 PRESSURE MEASUREMENT
Figure 4. Position Measurements
Figure 5. Pressure Measurements
______________________________________________________________________________________ 19
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
The planar end-to-end resistance included in the cur-
rent path is minimal at this location. Keep the averaging
and panel settling durations to the minimum required
by the application when pressure measurements are
required. Table 3 summarizes the physical panel set-
tings for supported measurement types.
a touch is detected. The YMSW and TSW transistors
are on, and the XPSW and PSW transistors are off. With
no touch present, the Y- input of the TSC is at ground
and the X+ input is at V
- V , where V
is the
TN
DD
TN
threshold voltage of the TSW nMOS device. This is a
low-power mode in which no current is consumed until
a panel touch occurs. When a touch is present on the
panel, the touch-screen controller (TSC) X+ input is
pulled low by the touch panel plate resistance and the
YMSW transistor. This causes TOUCH to assume a
logic high and the MAX11800–MAX11803 either issue
the TIRQ interrupt for direct conversion modes or begin
self-timed scans for autonomous conversion mode.
Touch-Detect Modes and Options
Figure 6 shows the internal circuitry in the
MAX11800–MAX11803 used to detect the presence of
a touch on the panel. The selection of the pullup resis-
tance value (R
= touch-detect resistance) and the
TD
durations of the rough pullup interval (PUR = low-
impedance pullup) and fine pullup interval (PUF = high-
impedance pullup) are user-defined.
The value of the user-defined R
depends on the
TD
characteristics of the panel. To ensure reliable detec-
tion values, worst-case panel resistance must be
The MAX11800–MAX11803 revert to the low-power
panel setup when placed in touch-detect mode (TDM).
Figure 6 shows the active panel drive switches (YMSW
and XPSW are omitted for simplicity). TSW is a dedicat-
ed pullup switch used in TDM. TSW is also used during
PUF and TDM. XPSW is activated during PUR periods.
TDRSEL allows the selection of an internal pullup resis-
tor value of either 50kΩ or 100kΩ.
The X and Y touch-screen plates create an open circuit
with no current flow in the panel when the panel is not
being touched. In this case, TOUCH (see Figure 6) is
low. When a touch causes contact between the panel X
and Y plates, a current path is created and TOUCH is
checked against R . The interaction between R and
TD
TD
the panel (or external noise rejecting) capacitance
determines how quickly the panel can be switched from
measurement modes back to touch monitoring mode
without reporting false touches or erroneous tags due
to panel settling.
–MAX1803
Panel touch status is also required to tag data from a
completed scan and measurement operation. Following
each scan operation, the panel must be returned to
TDM to determine if the panel is still being touched and
if the data obtained during the scan operation should
be considered valid. This operation is required since
the panel cannot be monitored for the presence of a
touch during the scan and measurement procedure.
pulled high, as long as R + R
(the sum of panel
PY
PX
end-to-end resistance) is much lower than R . Typical
TD
open-circuit panel plate resistances range from 200Ω
to 1000Ω.
The MAX11800–MAX11803 enter high-impedance
pullup mode (50kΩ or 100kΩ) when the panel is not
being touched and the device is idle in this mode until
The MAX11800–MAX11803 must return to TDM after
completing a measurement and making a decision on
the touch status of the panel. The measurement proce-
dure is only completed upon resolution of the touch sta-
tus and when data is tagged and available for
Table 3. Summary of Physical Panel Settings for Supported Measurement Types
MODE
Xꢀ
X-
Yꢀ
Y-
REFꢀ
REF-
X
Y
Z1
Z2
PUR
V
GND
U
GND
GND
U
ADC_IN
U
GND
U
ADC_IN
GND
X+
Y+
Y+
Y+
U
X-
Y-
X-
X-
—
DD
ADC_IN
ADC_IN
U
V
DD
V
DD
V
DD
U
V
(10Ω)
DD
V
through
DD
TDM or PUF
LPM
U
U
U
U
GND
U
U
U
—
—
50kΩ or 100kΩ
U
Note: The ADC input is fully differential with the negative input internally connected to GND. The MAX11800–MAX11803 control
access to the PUR, PUF, TDM, and LPM, which do not require setup procedures.
U indicates unconnected node.
20 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
readback. The characteristics of the return to TDM and
the timing of the decision are configurable through the
touch-detect pullup timing configuration register (0x07).
Program the MAX11800–MAX11803 in the context of
the application to maximize power efficiency and
achieve the desired scan throughput.
teristics and the desired scan throughput rates to mini-
mize power dissipation.
While use of the PUR mode is optional, the PUF period
is required for all applications. The PUF interval allows
the panel to resettle following scan or optional PUR
intervals. When a touch is not present, the panel capac-
itance settles toward V
through the internal pullup
DD
PUR and PUF
PUR is a fast pullup mode, which uses the main X+
switch in parallel with the resistive pullup to quickly slew
the panel capacitance. PUF uses only the touch-detect
switch and a portion of the panel resistance (with the
optional PUR mode disabled). When a touch is present,
the panel capacitance settles toward ground through a
portion of the panel resistance, ideally significantly
pullup resistor, R . PUR and PUF serve the same func-
TD
lower than the selected pullup impedance, R . Allow
TD
tion as TDM, but are timed so that the panel can settle
after completing measurements and before rendering
any decisions on the touch status of the panel.
enough recovery time for settling through the panel
when using a PUR mode. Figure 7 illustrates the touch-
detection operations.
Use the optional PUR mode to reduce the time to tag
data by momentarily placing the panel in a low-imped-
ance (< 10Ω) pullup mode instead of using the avail-
able 50kΩ/100kΩ touch-detection pullup resistors. This
operation forces the monitored TSC input high during
the PUR interval. Once the PUR interval expires, a PUF
interval must be allowed so that the panel can recover
and pull the TSC input low in case a touch is present.
The purpose of the PUR mode is to reduce the time
required to determine touch status by avoiding long
pullup time constants caused by high-capacitance
touch panels and the high-impedance on-chip pullup
Idle Modes
Once the PUF period expires, the preceding measure-
ment data is tagged and made available for readback.
The MAX11800–MAX11803 transition to an appropriate
mode depending on the conversion and interrupt mode
selected.
Features Common to the
MAX11800–MAX11803
Averaging Modes and Options
The MAX11800–MAX11803 contain a programmable
averaging filter. When enabled, this feature allows col-
lecting 4, 8, or 16 consecutive samples for each mea-
surement type requested. The number of the samples
for each measurement type is controlled by configura-
tion register 0x03. The AUX depth input is selected in
configuration register 0x0A. Averaging can be
assigned to each measurement type. For example, X
and Y measurements can use an average of 16 sam-
ples, while Z measurements can use one or four sam-
ples to save power.
resistors (R ). When a touch is present during PUR
TD
intervals, the current through the low-impedance pullup
(XPSW) and panel combination is significantly higher
than that observed in the PUF mode. The durations in
the PUR mode must be matched to the panel charac-
V
DD
PSW
TDRSEL
The MAX11800–MAX11803 can be configured to per-
form one of two statistical operations. One option is a
median averaging filter (MAF). The MAF first removes
outliers before taking the average of the remaining
sample set. The second is a straight averaging filter
(SAF), which takes the average of the entire sample set.
RTD
RTD
TOUCH
Y+
(TO MAX11800/
MAX11801 LOGIC)
XPSW
PUR TSW
PUR, PUF, TDM
X+
X-
Averaging modes are supported in both direct and
autonomous conversion modes. Both filter types and
position/pressure averaging are controlled by configu-
ration register 0x0B. This allows switching between
direct and autonomous modes using a single configu-
ration write through the serial interface (SIF). Table 4
presents the details of the median averaging operations
of the MAX11800–MAX11803.
Y-
PANEL
YMSW
PUR, PUF, TDM
MAX11800–
MAX11803
Figure 6. Touch-Detection Circuitry
______________________________________________________________________________________ 21
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
FAST PULLUP TOUCH DETECTION
DIGITAL WAVEFORM
(NOTE: INCREASED CURRENT IN PUR MODE DURING TOUCH)
DATA VALIDITY IS DETERMINED
(DATA IS TAGGED)
SCAN MODE
PUR MODE
(OPTIONAL)
PUF MODE
TOUCH DETECT
MEASUREMENT COMPLETE—
DATA IS KNOWN
POWER ASSISTED PULLUP PERIOD (10Ω) PANEL IS ALLOWED TO RESETTLE BEFORE
IS THERE A TOUCH?
YES = LPM.
DETERMINING DATA VALIDITY
NO = TDM.
ANALOG WAVEFORM
V
DD
TOUCH NOT PRESENT: TSC INPUT
REMAINS HIGH
TOUCH PRESENT:
TSC INPUT PULLED LOW
INITIAL INPUT VOLTAGE
DETERMINED BY LAST SCAN
ACTIVITY
FORCED FAST PULLUP USING
10Ω SWITCH
–MAX1803
TIME
NORMAL TOUCH DETECTION
DIGITAL WAVEFORM
(NOTE: NO PUR PERIOD; ALLOW LONG PULLUP TIMES)
DATA VALIDITY IS DETERMINED
(DATA IS TAGGED)
SCAN MODE
PUF MODE
TOUCH DETECT
MEASUREMENT COMPLETE—
DATA IS KNOWN
PANEL IS ALLOWED TO RESETTLE BEFORE DETERMINING DATA VALIDITY
IS THERE A TOUCH?
YES = LPM.
(THROUGH 50kΩ/100kΩ PULLUP)
NO = TDM.
ANALOG WAVEFORM
V
DD
TOUCH NOT PRESENT:
TSC INPUT PULLED HIGH THROUGH 50kΩ/100kΩ PULLUP
INITIAL INPUT VOLTAGE
DETERMINED BY LAST SCAN
ACTIVITY
TOUCH PRESENT:
TSC INPUT PULLED LOW BY PANEL
TIME
Figure 7. Touch-Detection Operations
22 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Combined Commands
Combined commands reduce AP interaction with the
MAX11800–MAX11803 by allowing multiple measure-
ments. For example, the MAX11800–MAX11803 can be
instructed to provide X and Y data, or X and Y and Z1
data, or X and Y and Z1 and Z2 data using a single
command.
retrieve the data from the last requested measurement
before moving on to the next measurement of the type.
Auxiliary measurement data is not tagged because it is
not related to panel operation. Auxiliary measurement
data is stored and read back identically to the other
direct conversion data. The tag locations for auxiliary
measurement data are always set to 0000b, unless the
read occurs when an auxiliary measurement is in
progress. In this situation, the tag locations read 1111b
and the data stream reads back FFFFh.
Data Tagging
In direct conversion modes, all measurement data is
contained in a 16-bit word. X, Y, Z1, and Z2 information
is logged independently. Each word consists of 12 bits
of measurement data plus a 2-bit measurement type
(MTAG) and a 2-bit event tag (ETAG). The measure-
ment tag identifies whether the data represents an X, Y,
Z1, or Z2 result. The event tag indicates the point at
which the data is sampled (initial, midpress, or release)
during the touch event. When trying to read a result
which is pending an update, the entire data stream is
read back as FFFFh and the event tag as 11b, indicat-
ing that the corresponding measurement is in progress
and that the data stream is to be ignored. For com-
bined commands, all data locations requested by the
command are marked FFFFh, pending the completion
of the entire command and the proper tagging of the
data. See Table 5.
Low-Power Modes
There are also two low-power modes, LPM and TDM.
During LPM, all circuitry is off, including the on-chip
touch-detect pullup resistors used in the touch-detect
circuitry. In direct conversion modes, a user-request ini-
tiates the next operation and all circuitry is off until a
user-command is received. Therefore, the current con-
sumption is primarily due to junction leakage. In
autonomous conversion mode, an on-chip oscillator
and timer are constantly running. Therefore, the device
current consumption is primarily determined by the
oscillator and timer. During TDM, all circuitry is off
except the on-chip pullup resistor. This is an untimed
mode (oscillator and timer are off) for both ACM and
DCM (no digital current). This mode only consumes
current through the on-chip pullup resistor when a
touch is present.
Direct conversion modes do not use the internal FIFO
or support the aperture (see the Aperture Modes and
Options section) function. Each measurement type is
afforded a single location in the memory. The AP must
Table 4. Median Averaging Operations
NUMBER OF
NUMBER OF LOW
NUMBER OF
SAMPLES TAKEN
NUMBER OF HIGH
SAMPLES REMOVED
REMAINING SAMPLES
AVERAGING MODE
SAMPLES REMOVED
AVERAGED
1
2
3
4
8
1
2
4
1
2
4
2
4
8
16
Table 5. Data Word Structure (All Direct Conversion Modes)
INDEX
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Byte
MSB Byte
Position MSBs
Position Data
LSB Byte
12-Bit Content
8-Bit Content
Position LSBs
Trailing Zeros
Measure
Measure
Event
Event
______________________________________________________________________________________ 23
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Panel Setup, Measurement, and Scan Commands
To simplify measurement procedures, the MAX11800–
MAX11803 support three types of commands: panel
setup commands (PSU), panel measurement commands
(PMC), and combined measurement commands (CMC).
combinations of measurements (X and Y, X and Y and
Z1, or X and Y and Z1 and Z2 combined). Unlike
autonomous conversion modes, the AP maintains control
over the initiation of panel setup, measurements events,
and the sampling frequency. Figure 8 shows the state
machine transitions for direct conversion mode.
In direct conversion mode, the MAX11800–MAX11803
can use all three types of commands. Using individual
panel setup and measurement commands allow for a
high degree of customization based on decisions made
by the AP, while using combined commands signifi-
cantly simplifies the complete measurement process
and reduces communications between the AP and the
MAX11800–MAX11803.
Interrupt Modes
The MAX11800–MAX11803 support two direct conver-
sion interrupt modes. The two direct conversion modes
are the continuous interrupt mode (CINT) and the edge
interrupt mode (EINT).
Continuous Interrupt Mode
In continuous interrupt mode, the panel returns to TDM
and idle. The current status of the panel is then sent
through TIRQ. The continuous interrupt mode is the
least efficient mode in current consumption for long
duration of touches. The power consumption is approxi-
In autonomous mode, the MAX11800–MAX11803 use
combined commands to control and automate all
aspects of panel setup, measurements, and timing. See
the Operating Mode Configuration Register (0x0B) sec-
tion for more details.
mated by P
= V 2/R . The power consump-
TOUCH
DD PU
Direct Conversion Mode Operations
In direct conversion mode, the AP requests individual
panel setup and conversion operations or automated
tion levels observed when the panel is not touched is
limited by the junction leakage currents of the
MAX11800–MAX11803.
–MAX1803
SETUP
X
PANEL
NO
COMMAND
TOUCH
DETECT
TIME IS UP
SETUP
Y
PANEL
NO
COMMAND
SETUP
Z
PANEL
NO
COMMAND
DONE AND
CONTINUOUS
DONE AND
CONTINUOUS
X
AUX
ACQUIRE
DETECT
Y
Z1
Z2
ACQUIRE
ACQUIRE
ACQUIRE
AVERAGE
LAST
AVERAGE
CONVERSION
LAST
CONVERSION
CONVERSION
CONVERSION
USER COMMAND
INTERNAL TRANSITION
TOUCH-
DETECT
FINE
TOUCH-
DETECT
FINE
TIME IS UP
PULLUP
PULLUP
Figure 8. State Machine Transitions (Direct Conversion Mode)
24 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
release is observed. In this state, there is no need to con-
tinue monitoring the touch status prior to the next request-
ed measurement. If a panel touch is not present, data is
tagged as release (10) and the MAX11800–MAX11803
idle in TDM continuously, issuing an interrupt only when
the next panel touch is initiated.
The MAX11800–MAX11803 idle in TDM. The TIRQ output
goes low when a touch is detected on the panel indicat-
ing to the AP that a touch is present and a measurement
operation starts.
The AP requests specific panel measurements through
the serial interface. TIRQ stays low during panel setup
and measurement operations. Once a measurement is
complete (with CONT = 0), the MAX11800–MAX11803
check for the continued presence of a touch on the
panel and tag the data accordingly (see Table 6). The
duration of this operation is programmable, specified in
the touch-detect pullup timing configuration register
(0x07). After the data is tagged, the data is available for
readback through the serial interface. The
MAX11800–MAX11803 return to TDM and return control
of TIRQ to the TDM circuitry. TIRQ stays low while a
touch remains present, indicating further measurements
are required, otherwise TIRQ goes high until a new touch
is observed.
The operation described in the preceding paragraph
makes the edge interrupt mode more efficient than the
continuous interrupt mode. However, the edge interrupt
mode requires continuous scanning of the panel until a
release (10) event is observed. Otherwise, the
MAX11800–MAX11803 do not idle in TDM and are not
able to recognize a change in touch status. New touches
are not recognized and new interrupts are not issued if a
release event is not detected before stopping the conver-
sion sequence.
Table 6. Measurement and Event Tags
(Continuous Interrupt Mode)
Continuous interrupt mode (CINT) allows the complete
control over the measurement operations and direct obser-
vation of the touch status of the panel. Figure 9 shows the
polling of TIRQ when other functions share the TIRQ bus. In
the illustration of Figure 9, no ‘10’ event tag is observed
because the release occurs during a TDM period.
MEASUREMENT
MTAG[3:2]
X
Y
00
01
10
11
Z1
Z2
Edge Interrupt Mode
When a touch is present on the panel in edge interrupt
mode, the MAX11800–MAX11803 return to an untimed
high-impedance mode once data tagging operations are
complete. In edge interrupt mode, the duration of a touch
is determined by the tags applied to the measurement
data. Data tagged as initial (00) or midpress (01) indicates
the user needs to continue to scan the panel until a
EVENT
ETAG[1:0]
Touch (data valid)
00
01
N/A (not used)
No touch present (data
invalid)
Measurement in progress
(data invalid)
10
11
END OF TOUCH EVENT
BEGINNING OF TOUCH EVENT
PANEL
TIRQ
TDM
TDM
TDM
DCM SCAN
ETAG = 00
TDM
DCM SCAN
ETAG = 00
DCM SCAN
ETAG = 00
t
AP
t
SD
READBACK OPERATIONS ARE NOT SHOWN, BUT ARE EXECUTED DURING TDM PERIODS.
SCAN INTERVAL (t ) IS CONTROLLED BY THE AP AND THE INITIATION OF DM SCAN EVENTS.
AP
SCAN DURATION (t ) IS A FUNCTION OF THE SCAN TYPE AND CONFIGURATION SETTINGS.
SD
Figure 9. Continuous Interrupt Mode (Direct Conversion Mode)
______________________________________________________________________________________ 25
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
The EINT mode reduces TIRQ activity. During EINT, the
Table 7. Measurement and Event Tags
(Edge Interrupt Mode)
MAX11800–MAX11803 idle in a TDM. TIRQ goes low
when a new touch is detected on the panel. TIRQ stays
low for a fixed duration as specified in the configuration
register 0x01, indicating to the AP that a touch is pre-
sent and measurements are required.
MEASUREMENT
MTAG[3:2]
X
Y
00
01
10
11
The AP requests specific panel setups and measure-
ments through the serial interface using panel setup
and conversion commands after TIRQ goes low. Once
a measurement is complete (with CONT = 0), the
MAX11800–MAX11803 check for the continued pres-
ence of a touch and tag the data accordingly. See
Table 7. The duration of this operation is programma-
ble, specified in the Touch-Detect Pullup Timing
Configuration Register (0x07) section. After the data is
tagged, it is available for readback through the serial
interface. The MAX11800–MAX11803 do not return to
TDM when the panel touch is still present (ETAG = 00,
01), but remain in an LPM awaiting further measure-
ment commands. The devices return to TDM when the
panel touch is no longer present (ETAG = 10) and
return control of the TIRQ interrupt to the TDM circuitry
to await the next touch event.
Z1
Z2
EVENT
ETAG[1:0]
Initial touch (data valid)
Midpress (data valid)
00
01
Release/no touch present
(data invalid)
10
11
Measurement in progress
(data invalid)
issued with CONT = 1 are not capable of fulfilling this
requirement.
–MAX1803
The EINT mode provides the least interrupt activity and
the lowest power consumption. Use EINT mode for
general touch-screen applications and applications
requiring high resolution in space and time. When the
TIRQ bus is shared with other functions, poll the gener-
al status register (0x00) to detect the presence of an
interrupt. See Figure 10.
After a touch is indicated, the AP must continue to issue
conversion commands until the touch is removed alert-
ing the AP when the panel is released (by ETAG = 10).
The MAX11800–MAX11803 return to TDM and observe
the start of the next touch event. Panel commands
END OF TOUCH EVENT
BEGINNING OF TOUCH EVENT
PANEL
t
TIRQ
IRQ
TDM
LPM
LPM
TDM
DCM SCAN
ETAG = 00
DCM SCAN
ETAG = 01
DCM SCAN
ETAG = 10
t
t
SD
AP
READBACK OPERATIONS ARE NOT SHOWN, BUT ARE EXECUTED DURING TDM PERIODS.
TIRQ DURATION (t ) IS SPECIFIED BY THE GENERAL CONFIGURATION REGISTER (0x01).
IRQ
SCAN INTERVAL (t ) IS CONTROLLED BY THE AP AND THE INITIATION OF DM SCAN EVENTS.
AP
SCAN DURATION (t ) IS A FUNCTION OF THE SCAN TYPE AND CONFIGURATION SETTINGS.
SD
Figure 10. Edge Interrupt Mode (Direct Conversion Mode)
26 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Table 8. Panel Setup Command Summary
COMMAND
LENGTH
HEX
R6
R5
R4
R3
R2
R1
R0
ACCESS
PAIRABLE
OPERATION
X = panel setup
6xh
6xh
6xh
6xh
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
1
(1)
(1)
(1)
(1)
Write
Write
Write
Write
No
No
No
No
8
8
8
8
Y = panel setup
Z1 = panel setup
Z2 = panel setup
Panel Setup Commands
Panel setup commands configure the touch panel prior to
a measurement. Panel setup commands allow the panel
to fully settle before performing a measurement. The
panel setup command summary is shown in Table 8. See
the register map in the Status and Configuration Registers
section for details on the panel setup timing options for X,
Y, Z1, and Z2 measurements.
LPM
N
N
N
N
X PSU CMD
Y
The continuation bit (CONT) of the panel setup com-
mand programs the MAX11800–MAX11803 to maintain
the present panel setting at the end of the command
(CONT = 1). Panel setup commands assume a logical
progression to an appropriate measurement. For exam-
ple, when the MAX11800–MAX11803 are in the X panel
setup mode, the devices can proceed to an X measure-
ment mode only. The devices return to LPM when an
incompatible command follows a panel setup com-
mand. See Figure 11.
N
N
N
N
X MEAS CMD
Y
Y PSU CMD
Y
Y MEAS CMD
Y
Panel Measurement Commands
A measurement command selects one of the four phys-
ical setup options: X, Y, Z1, or Z2. The panel measure-
ment command summary is shown in Table 8.
Z1 PSU CMD
Y
All panel measurement commands include timed inter-
vals to power up both the internal ADC and the panel
with programmable durations. The delayed conversion
time (t
, delayed conversion configuration register
D_CV
Z1 MEAS CMD
Y
(0x06)) governs the time that the panel and the ADC
need to settle prior to the initiations of conversions. The
minimum delayed conversion time is 10μs, which is the
time the internal ADC needs to power up. If more set-
tling time is required, increase the panel settling time
by delaying the conversion time or by adding an addi-
Z2 PSU CMD
Y
tional panel setup time (t ) using the panel setup tim-
PSU
ing configuration register (0x05). The advantage of
using a dedicated panel setup time is that the ADC
does not consume power during this interval. The
required panel setup time is a function of the panel
end-to-end resistance, the capacitance of the panel,
and any board-level components.
Z2 MEAS CMD
Y
Figure 11. Command and Measurement Flow (DCM)
______________________________________________________________________________________ 27
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Table 9. Panel Measurement Command Summary
R0
(CONT)
COMMAND
LENGTH
HEX R7
R6
R5
R4
R3
R2
R1
ACCESS PAIRABLE
FUNCTION
X, Y = combined command
measurement
7xh
7xh
7xh
0
0
0
1
1
1
0
0
0
(0)
(0)
(0)
Write
Write
Write
No
No
No
8
8
8
X, Y, Z1 = combined
command measurement
1
1
1
0
0
1
X, Y, Z1, Z2 = combined
command measurement
1
1
1
0
1
0
7xh
7xh
7xh
7xh
7xh
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
0
1
(0)
Write
Write
Write
Write
Write
No
No
No
No
No
8
8
8
8
8
AUX = conversion
X = measurement
Y = measurement
Z1 = measurement
Z2 = measurement
CONT
CONT
CONT
CONT
–MAX1803
When using a measurement command with CONT = 1 in
a direct conversion mode, the MAX11800–MAX11803
perform a data tagging operation at the conclusion of the
command. The devices remain in the requested setup
mode in preparation for the succeeding measurement.
The panel does not return to TDM/LPM and the interrupt
status is not modified as a result of a measurement com-
mand with CONT = 1 issued. See Figure 12.
ple and quantize the voltage at AUX using V
as the
DD
ADC reference. The MAX11800–MAX11803 store the
result in the same manner as X, Y, Z1, and Z2 measure-
ments, but do not add data tagging. The devices also
support averaging functions. Auxiliary measurements
do not require any panel setup procedure. There is no
combined command which includes an auxiliary mea-
surement. Register 0x0A specifies the configuration for
auxiliary measurements.
Combined Commands
In direct conversion modes, the panel returns to a TDM
at the conclusion of a combined command and all data
are tagged accordingly. The MAX11800–
MAX11803 then idle in a low-power mode determined
by the interrupt mode selected. See Figure 13.
In CINT, the MAX11800–MAX11803 continue to monitor
for the touch status of the panel. The devices report any
change in touch status in real time during an auxiliary
measurement procedure.
When performing auxiliary measurements in edge
interrupt mode, the MAX11800–MAX11803 temporarily
suspend the panel touch monitoring. The devices noti-
fy the AP after the completion of the auxiliary measure-
ment when a new touch occurs during the auxiliary
measurement.
Auxiliary Measurement Command
The MAX11800–MAX11803 support measurement of an
auxiliary input using the internal ADC in direct conver-
sion mode only. When programmed, the devices sam-
28 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
PANEL SETUP COMMANDS (DIRECT CONVERSION ONLY)
SETTING IS MAINTAINED UNTIL NEXT COMMAND (FORCE CONT = 1).
PANEL SETUP (PSU) FOR X, Y, OR Z DRIVE
MEASUREMENT COMMANDS (DIRECT CONVERSION ONLY)
SINGLE CONVERSION WITH CONT = 1
SETUP
ADC
CONVERSION
DATA IS LOGGED.
SETTING IS MAINTAINED UNTIL NEXT COMMAND (CONT = 1).
ADC
ACQUISITION
PSU
(t
(t
+ t
)
PSU D_CV
AVERAGED CONVERSION WITH CONT = 1
AVERAGED DATA IS LOGGED.
SETTING IS MAINTAINED UNTIL NEXT COMMAND (CONT = 1).
SETUP
ADC
ADC
PSU
+ t
)
CONVERSION
ACQUISITION
PSU D_CV
i
i
N
AVG
SINGLE CONVERSION WITH CONT = 0
DATA IS TAGGED AND LOGGED.
THE MAX11800–MAX11803 RETURN TO LPM OR TDM, ACCORDING TO IRQ MODE.
ADC
ACQ
ADC
CONV
PUR
(OPT)
SETUP
SETUP
PUF
AVERAGED CONVERSION WITH CONT = 0
AVERAGED DATA IS TAGGED AND LOGGED.
THE MAX11800–MAX11803 RETURN TO LPM OR TDM, ACCORDING TO IRQ MODE.
ADC
ACQ
ADC
CONV
PUR
(OPT)
PUF
i
i
N
AVG
Figure 12. Panel Setup and Measurement Commands
______________________________________________________________________________________ 29
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
X AND Y COMMANDS
SINGLE CONVERSIONS
DATA EVENT TAGGING
PUR
X
X
X
Y
PSU
Y
ACQ
Y
PUF
PSU
ACQ
CONV
CONV
(OPT)
AVERAGED CONVERSIONS
X
PSU
X
ACQ
X
Y
PSU
Y
ACQ
Y
PUR
(OPT)
PUF
CONV
CONV
N
AVGX
N
AVGY
X, Y, AND Z1 COMMANDS
SINGLE CONVERSIONS
X
PSU
X
ACQ
X
Y
PSU
Y
ACQ
Y
Z1
PSU
Z1
ACQ
Z1
CONV
PUR
(OPT)
PUF
PUF
CONV
CONV
AVERAGED CONVERSIONS
X
PSU
X
ACQ
X
Y
PSU
Y
ACQ
Y
Z1
PSU
Z1
ACQ
Z1
CONV
PUR
(OPT)
–MAX1803
CONV
CONV
N
N
AVGY
N
AVGZ1
AVGX
X, Y, Z1, AND Z2 COMMANDS
SINGLE CONVERSIONS
X
PSU
X
ACQ
X
Y
PSU
Y
ACQ
Y
Z1
PSU
Z1
ACQ
Z1
CONV
Z2
ACQ
Z2
CONV
PUR
(OPT)
PUF
PUF
CONV
CONV
AVERAGED CONVERSIONS
X
PSU
X
ACQ
X
Y
PSU
Y
ACQ
Y
Z1
PSU
Z1
ACQ
Z1
CONV
Z2
ACQ
Z2
CONV
PUR
(OPT)
CONV
CONV
N
N
AVGY
N
N
AVGZ2
AVGX
AVGZ1
Figure 13. Combined Commands
30 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
transfers on the serial bus as well as generating fewer
interrupt requests. Figure 14 shows the state machine
transitions for autonomous conversion mode.
Autonomous Conversion Mode
The MAX11800/MAX11801 perform measurements
automatically and inform the AP when they are com-
plete in autonomous conversion mode, reducing data
TOUCH-
DETECT
ROUGH
PULLUP
TOUCH-
DETECT
FINE
XY MODE
TIME IS UP
TIME IS UP
POWER
DOWN
AVERAGE
CONVERSION
LAST
CONVERSION
TOUCH
DETECT
PULLUP
TOUCH-
DETECT
ROUGH
PULLUP
SETUP
Z
PANEL
Y
ACQUIRE
NO
TOUCH
TOUCH-
DETECT
FINE
SETUP
Y
PANEL
Z1
ACQUIRE
AVERAGE
CONVERSION
LAST
CONVERSION
PULLUP
Z2
ACQUIRE
TOUCH
DETECT
AVERAGE
CONVERSION
LAST
CONVERSION
AVERAGE
CONVERSION
LAST
CONVERSION
SETUP
X
PANEL
TIME IS UP
X
ACQUIRE
Figure 14. State Machine Transitions––Autonomous Conversion Mode
______________________________________________________________________________________ 31
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Measurement Operations
In autonomous conversion, the MAX11800/MAX11801
idle in TDM until a touch event occurs. The
MAX11800/MAX11801 begin an automated sequence
of measurements as defined by the configuration regis-
ter 0x08h.
timed high-impedance LPM to minimize current, after
the data tagging operations are complete. The
MAX11800/MAX11801 idle in LPM until it is time to per-
form the next required scan, determined by the config-
uration register settings. When a touch is not present at
the end of a measurement, the device returns to idle in
TDM. In TDM, the device waits until a touch is detected
before initiating another set of autonomous measure-
ments.
The MAX11800/MAX11801 tag and log the data into the
FIFO once a measurement is taken. If a touch is still pre-
sent, the devices continue to idle in a LPM until the time,
as set by the configuration settings, expires. If no touch is
present at the expiration of the time set by the configura-
tion settings, the MAX11800/MAX11801 return to TDM to
await the next panel touch.
The MAX11800/MAX11801 adopt a clear-on-interrupt
protocol (CORINT) when in autonomous conversion
mode. Between touch events, the devices idle in a low-
power TDM state. Upon detection of a touch, the
devices begin a sequence of automated measure-
ments. Each time a qualifying measurement is complet-
ed, the data for that measurement is written to the
internal FIFO. Qualifying measurements are measure-
ments that indicate the beginning and end of a touch
event, which meet aperture requirements (see the
Aperture Range Requirements section).
All measurement operations occur without any interven-
tion from the AP. The MAX11800/MAX11801 issue inter-
rupts when new data is available in the internal FIFO. The
device clears the interrupt when all data is read back.
The AP controls the readback of measurement data as
the data becomes available.
Combined Commands
In autonomous conversion mode, the MAX11800/
MAX11801 automatically perform the combined com-
mand defined in the configuration register. The devices
continuously scan for panel touch events. Between
scans, the devices idle in a low-power mode according
to the present touch status.
TIRQ issues an interrupt once a qualifying measure-
ment is completed and logged into the FIFO indicating
that new data is available for the AP to read back. The
MAX11800/MAX11801 continue to perform measure-
ments as required by the configuration settings.
Program the AP to service the interrupt immediately to
avoid a FIFO overflow and loss of data. TIRQ remains
asserted until all unread FIFO data has been read back
to the AP. The AP confirms that readback is complete
either by monitoring TIRQ or by monitoring the data
event tags embedded in the data for end-of-FIFO.
(ETAG = 11b). See Figure 15.
–MAX1803
Clear-on-Read Interrupt Mode
The MAX11800/MAX11801 control the progression
through modes in clear-on-read mode. When the panel
touch is present, the MAX11800/MAX11801 return to a
BEGINNING OF TOUCH EVENT
END OF TOUCH EVENT
PANEL
INTERRUPT IS HELD PENDING
AP READBACK (FIFO STORES DATA)
DATA WRITTEN TO FIFO,
INTERRUPT ISSUED
AP READBACK,
INTERRUPT CLEARED
TIRQ
SCAN
BLOCK
LPM
TDM
t
LPM
TDM
ACM SCAN
ETAG = 00
ACM SCAN
ETAG = 01
ACM SCAN
ETAG = 10
t
SD
t
SP
INIT
READBACK OPERATIONS ARE NOT SHOWN, INDICATED BY THE CLEARING OF THE AP-INITIATED INTERRUPT.
WAIT TIME BETWEEN TOUCH DETECTION AND INITIAL SCAN (t ) IS SPECIFIED BY CONFIGURATION SETTINGS.
INIT
SCAN DURATION (t ) IS A FUNCTION OF THE SCAN TYPE AND CONFIGURATION SETTINGS.
SD
SCAN PERIOD (t ) IS CONTROLLED BY CONFIGURATION SETTINGS.
SP
Figure 15. Clear-on-Read Interrupt Operation
32 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Delayed Touch Detection During Mode Transitions
The MAX11800/MAX11801 support a low-power power-
down mode suspending all touch-screen activity and
the panel is not driven. In this mode, the
MAX11800/MAX11801 is unable to detect a touch.
When commanded to transition from PWRDN to any
normal mode of operation, the MAX11800/MAX11801
go through a PUR/PUF sequence prior to observing the
panel touch status, minimizing the occurrence of inter-
rupts issued by false touches caused by the initial state
of panel capacitances.
The FIFO completely clears when autonomous conver-
sions halt and the MAX11800/MAX11801 transition to
direct conversion mode. The FIFO also clears on transi-
tions from direct conversion mode to autonomous mode.
FIFO Data Block Readback Structure
Table 10 illustrates the scan data block structure within
the FIFO for each scan type. Block boundaries are indi-
cated by bold lines. Numeric subscripts denote the sam-
ple order when the data was taken. Readback proceeds
from top to bottom. FIFO blocks are written as a com-
plete unit with an interrupt issued only after all required
block measurements are complete and data is tagged.
A FIFO data block consists of 2 to 4 FIFO data words.
In addition, when commanded to transition between
normal operating modes, the MAX11800/MAX11801
clear any existing interrupts and go through the
PUR/PUF sequence prior to observing the current panel
touch status.
Table 10. FIFO Data Block Structure
FIFO Memory
The MAX11800/MAX11801 include an internal FIFO to
store scan block results for readback through the AP.
Each scan block result contains complete data for all
measurements requested by the scan type (X, Y; or X,
Y, Z1; or X, Y, Z1, Z2). The depth of each scan data
block ranges from 32 bits (X, Y mode) to 48 bits (X, Y,
Z1 mode) or 64 bits (X, Y, Z1, and Z2 mode).
2-WORD BLOCK
(X, Y)
3-WORD BLOCK
(X, Y, Z1)
4-WORD BLOCK
(X, Y, Z1, Z2)
X MSB
1
X MSB
1
X MSB
1
X LSB
1
X LSB
1
X LSB
1
Y MSB
1
Y MSB
1
Y MSB
1
Y LSB
1
Y LSB
1
Y LSB
1
X MSB
2
Z1 MSB
1
Z1 MSB
1
The internal FIFO stores up to 16 complete scan
blocks, a total of 1024 bits. Regularly service the FIFO
to prevent overflow conditions. In the event of an over-
flow, the FIFO ceases to write new data until the old
data is read or cleared. Avoid overflow to prevent data
loss and unreliable behavior.
X LSB
2
Z1 LSB
1
Z1 LSB
1
Y MSB
2
X MSB
2
Z2 MSB
1
Y LSB
2
X LSB
2
Z2 LSB
1
X MSB
3
Y MSB
2
X MSB
2
X LSB
Y LSB
X LSB
2
3
2
Check the general status register (0x00) and the FIFO
overflow bit to determine if the FIFO is in overflow. The
FIFO overflow bit asserts when a data overflow occurs.
See the Clearing FIFO section.
Y MSB
3
Z2 MSB
2
Y MSB
2
Y LSB
3
Z2 LSB
2
Y LSB
2
X MSB
4
.
.
.
.
Z1 MSB
2
Clearing FIFO
Write to the operating mode configuration register (0x0B)
to clear the FIFO. Modifying the contents of the register is
not necessary as any write operation to this register loca-
tion clears the FIFO and the interrupt TIRQ (if present).
X LSB
4
Z1 LSB
2
Y MSB
4
Z2 MSB
2
Y LSB
4
Z2 LSB
2
______________________________________________________________________________________ 33
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
FIFO Data Word Structure
Table 11 shows a 16-bit data word (MSB byte + LSB
byte). Each data word consists of 12 bits of position
data, mapped to locations [15:4]. Eight-bit measure-
ment data are left-adjusted and mapped to locations
[15:8] and followed by four trailing zeros. Table 12
shows a 2-bit measurement tag indicating the measure-
ment type (X, Y, Z1, or Z2), appended in locations [3:2].
Table 13 shows a 2-bit event tag indicating where the
sample occurs within a touch event (initial, midpress, or
release) in locations [1:0].
Clearing Interrupt
The FIFO is only used in the autonomous mode with the
clear-on-read interrupt. The interrupt is cleared only
when the newest data block currently available in the
FIFO is loaded for readback. The interrupt does not
clear if there is any unread data block remaining in the
FIFO once a scan block result is loaded. The FIFO does
not check for partial block readbacks. Once the last
available FIFO data block is loaded for readback, the
interrupt clears regardless of whether the readback
operation for that block is complete.
All data for a given scan operation is tagged according
to the touch status observed at the end of the scan
block measurement operations. For example, if a
requested X, Y, Z1, Z2 scan block contains a release
event, all the data words are tagged 10 before being
written to the FIFO.
Aperture Modes* and Options
The aperture modes available with the MAX11800/
MAX11801 implement spatial filtering. The MAX11800/
MAX11801 contain the required logic to examine panel
measurement data and determine if the data meets the
aperture requirements to be written to the FIFO. Aperture
testing decreases the number of entries in the FIFO to
the minimum required to implement the intended appli-
cation. The elimination of extraneous FIFO data events
reduces activity on the TIRQ line, serial bus, and mini-
mizes AP overhead. The contents in the FIFO are not
necessarily linearly sampled in time when the device is in
aperture mode.
An event tag of 11 indicates that the data readback
operation reaches the end of the current FIFO data log
(end of file marker) and there is no unread data in the
FIFO. Terminate the readback operation to await the
next interrupt. Ignore all data with the 11 event tag.
–MAX1803
Block Readback Operations
The MAX11800/MAX11801 do not support partial block
readback operations. Each readback operation loads
an entire scan block result (32, 48, or 64 bits) into a
temporary location for serial readback. A scan block is
marked as read in the FIFO once a scan block result is
loaded, freeing the memory space for the subsequent
measurements. Once initiated, the AP must complete
the full readback cycle for the block requested or the
unread portions of the block data is lost.
Aperture Range Requirements
Program the aperture range requirements for both X
and Y through register 0x0B. Range requirements are
expressed as distance, in position LSBs. The blanking
aperture extends from the initial touch position, both
ΔX and ΔY with 12-bit resolution (1 LSB = 1/4096 of
the corresponding screen dimension). An aperture set-
ting of 0x00 effectively disables aperture checking with
all measurement data logged to the FIFO. Apertures
are specified in a power-of-two format: ΔX = 2APRX[3:0]-1
and ΔY = 2APRY[3:0]-1
.
Table 11. FIFO Data Word Structure
INDEX
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Byte
MSB Byte
Position MSBs
Position Data
LSB Byte
12-Bit Content
8-Bit Content
Position LSBs
Trailing Zeros
Measure
Measure
Event
Event
Table 12. FIFO Data Measurement Tags
Table 13. FIFO Event Tags
EVENT
TAG[1:0]
MEASUREMENT
TAG[3:2]
Initial touch
00
01
10
X
Y
00
01
10
11
Midpress
Release (data invalid)
Z1
Z2
End of file indicator
(FIFO data invalid)
11
*Patented feature.
34 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
For example:
0000 = 2-1 LSB = aperture checking disabled
0001 = 2(1-1) LSB = 1 LSB
Applications Information
Using Aperture Mode
The MAX11800/MAX11801 accommodate touch-panel
0010 = 2(2-1) LSB = 2 LSB
0011 = 2(3-1) LSB = 4 LSB
…
1001 = 2(9-1) LSB = 256 LSB (1/16 of the screen in
each direction)
1010 = 2(10-1) LSB = 512 LSB (1/8 of the screen in
each direction)
1011 = 2(11-1) LSB = 1024 LSB (1/4 of the screen in
each direction)
applications where limited resolution in both time and
space can be traded off for reduced microprocessor
activity. A simulated keypad is an example of an appli-
cation where autonomous conversions with aperture
checking yield an efficient solution.
The AP determines the durations of touch-screen
presses. An issuance of TIRQ interrupts accompanies
all FIFO events. The interrupts clear when all existing
data is read back by the AP, allowing the AP to correct-
ly interpret held panel data.
The FIFO updates immediately when a new touch event
is detected. The system assumes that the panel touch is
continuous after the AP receives the interrupt. The
MAX11800/MAX11801 continue to scan the panel at the
user-programmed sample rate. The FIFO updates when
the measurement data shows that the panel touch loca-
tion moves (i.e., a measurement exceeds either of the
selected aperture ranges). The FIFO also updates upon
detection of a panel release. The AP determines the
duration of the press by observing the time between the
leading edge of the touch (tag 00) and the release edge
of the touch (tag 10). All midpress data (tag 01) are inter-
preted as part of a dragged touch event.
1100 = 2(12-1) LSB = 2048 LSB (1/2 of the screen in
each direction)
1101 to 1111 = aperture checking disabled
FIFO Aperture Criteria
In autonomous mode with aperture engaged, new data
is written to the FIFO, and an interrupt is issued when
the following conditions occur (aperture mode is not
available in direct conversion mode).
New Panel Touch Initiated
The FIFO updates and issues an interrupt when a new
touch is observed on the panel (data tag = 00). This
event occurs regardless of the current aperture setting
and the previous touch location so that multiple presses
in the same location can be observed and registered.
All valid touch events log two data points into the FIFO:
an initial data point at the beginning of the touch (tag
00) and a release data point at the termination of the
touch (tag 10). Discard release edge position data as
invalid as the MAX11800/MAX11801 cannot determine
at which point in the ADC conversion cycle the panel is
released during the measurement operation. If the
release occurs while the ADC is actively sampling the
panel, the results are invalid. Only initial and midpress
position data are reliable.
Continuous Panel Touch Terminated
The FIFO updates and issues an interrupt when a con-
tinuous panel touch is terminated (data tag = 10). This
event occurs regardless of the current aperture setting
and the previous continuous touch location(s) so that
multiple presses in the same location can be observed
and registered.
Any touch event too short in duration to log both initial
and release data points is recorded in the FIFO as a
release (tag 10) and discarded as a glitch event.
Continuous Panel Touch
Measurement Meets Aperture Criteria
The MAX11800/MAX11801 log the measurement data
to the FIFO and issue an interrupt when a measurement
during a continuous panel touch (event tag = 01) meets
the aperture criteria (i.e., lies on or outside the aperture
boundary). This event occurs when the point of contact
is dragged across the touch screen. Only the ΔX or ΔY
aperture criteria need to be met and a greater than or
equal to qualification criterion is applied. If the change
in X position or change in Y position exceeds the aper-
ture criteria, then an interrupt is generated.
Measuring durations of panel touches becomes
impractical when the AP services the MAX11800/
MAX11801 at lower than the operating speed of the
devices and the panel combined. The AP cannot time
the duration between panel touches when both the ini-
tial and release data points can be logged before the
initial interrupt is serviced. Do not allow the FIFO to
overflow as touch information can be lost and the FIFO
content becomes invalid.
______________________________________________________________________________________ 35
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
When the MAX11800/MAX11801 operate in autonomous
conversion mode with low or no aperture ranges, the
FIFO and interrupt activity occur frequently with the AP
servicing the devices frequently to avoid loss of data
due to limited FIFO depth. For this reason, do not per-
form autonomous conversion for applications where a
high resolution in either space or time is required. Use
direct conversion mode when requiring a high resolu-
tion in either space or time.
that meet aperture requirements are enumerated and
are shown with the corresponding aperture ranges.
Positions 6 and 7 show a subsequent momentary press
event.
Figure 16 shows the anticipated interrupt waveforms in
several operating modes. The first waveform shows
interrupt operation assuming that aperture mode is
enabled (with ΔX = ΔY = 4 LSBs), assuming that the AP
service interrupts at a frequency faster than the select-
ed TSC sample rate. Each qualifying sample induces a
FIFO event and an interrupt pulse as shown. Timing
between FIFO events can be timed by the AP to deter-
mine duration information. Table 14 shows the read-
back data assuming that the FIFO does not fill up.
Examples of Using Aperture Mode
Figure 16 shows an example of a touch sequence. A
dragged touch sequence is initiated at position 1 and
continues through to position 5. While multiple samples
are taken during this sequence, only those samples
ONE DRAG EVENT (1:5)
AND ONE PRESS EVENT (6:7)
PANEL TOUCH SPATIAL WAVEFORM
16
SECOND
RELEASE
DRAG
7
APER1
6
–MAX1803
SECOND
TOUCH
APER2
12
DRAG
INITIAL
TOUCH
1
APER6
2
8
5
4
INITIAL
DRAG
RELEASE
3
DRAG
4
APER4
APER3
12
INTERRUPT TIMING WAVEFORM 1 (ASSUMING FREQUENT SERVICING EVENTS WITH APERTURE MODE ENABLED)
0
4
8
16
20
24
2
1
3
4
5
6
7
INTERRUPT TIMING WAVEFORM 2 (ASSUMING FREQUENT SERVICING EVENTS WITH APERTURE MODE DISABLED)
2
1
3
4
5
6
7
INTERRUPT TIMING WAVEFORM 3 (ASSUMING INFREQUENT SERVICING EVENTS)
(1) IRQ ISSUED
(SERVICED) IRQ RELEASED
NOTE: POSITION 5 IS LOGGED EVEN THOUGH POSITION 5 APPEARS IN APER4 BECAUSE POSITION 5 IS A RELEASE DATA POINT.
IT IS THE SAME FOR POSITION 7. IF THE POSITION 6 TOUCH EVENT INITIATES WITHIN THE FINAL APERTURE FROM THE
PREVIOUS EVENT (APER4), POSITION 6 IS LOGGED AS AN INITIAL TOUCH EVENT.
Figure 16. Aperture Usage Example Waveforms
36 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
The second waveform shows an interrupt operation
assuming that aperture mode is disabled (or that ΔX =
ΔY = 0 LSB), assuming that the AP service interrupts at
a frequency faster than the selected TSC sample rate.
Every sample induces a FIFO event and an interrupt
pulse as shown. The interrupt waveform is significantly
busier than that shown in the first waveform. Duration
information can now be directly determined from the
FIFO samples since each sample is logged and occurs
at the programmed sample rate. Table 15 lists the read-
back data assuming the FIFO does not fill up.
The third waveform in Figure 16 shows an interrupt oper-
ation assuming that the MAX11800/MAX11801 are infre-
quently serviced. Ensure that the FIFO does not overflow.
No duration information is available at resolutions below
the servicing rate. Either the set of data shown in Table
14 or the set shown in Table 15 appears in the FIFO
when read, depending on the aperture setting.
Table 14. Readback and FIFO Contents with Aperture Mode Enabled
SAMPLE
X
Y
11
9
TAG
COMMENT
1
2
3
4
5
6
7
7
00
Initial event (beginning of first touch)
11
13
17
19
22
23
01
Midpress event
5
01
Midpress event
7
01
Midpress event (last valid position data)
Release event (end of first touch, ignore position data)
Initial event (beginning of second touch)
Release event (end of second touch, ignore position data)
6
10
14
15
00
10
Table 15. Readback and FIFO Contents with Aperture Mode Disabled
SAMPLE
X
Y
11
10
9
TAG
00
01
01
01
01
01
01
01
01
10
00
10
COMMENT
Initial event (beginning of first touch)
1
1a
2
7
9
Midpress event
11
12
13
13
13
15
17
19
22
23
Midpress event
2a
2b
2c
3
8
Midpress event
7
Midpress event
6
Midpress event
5
Midpress event
3a
4
6
Midpress event
7
Midpress event (last valid position data)
Release event (end of first touch, ignore position data)
Initial event (beginning of second touch)
Release event (end of second touch, ignore position data)
5
6
6
14
15
7
______________________________________________________________________________________ 37
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
SPI Configuration Register Write
(MAX11800/MAX11802)
SPI Communication Sequence
(MAX11800/MAX11802)
Figure 17 shows the supported write operation
sequence for the MAX11800/MAX11802. A single con-
figuration register can be written in a 2-byte operation,
composed of a target register address (A[6:0], plus a
write mode indicator bit) followed by data to be written
to the target register (D[7:0]).
The SPI interface consists of three inputs, DIN, DCLK,
CS, and one output, DOUT. A logic-high on CS dis-
ables the MAX11800/MAX11802 digital interface and
places DOUT in a high-impedance state. Pulling CS low
enables the MAX11800/MAX11802 digital interface. The
MAX11800/MAX11802 provide two possible implemen-
tations of SPI instructions. In rising-edge-driven opera-
tions, the devices are able to run at maximum clock
speeds. Carefully consider the hold time requirements
of the MAX11800/MAX11802 and minimize board skew
contributions when running the MAX11800/MAX11802
at maximum clock speed. In falling-edge-driven opera-
tions, the device is less sensitive to board skew contri-
butions, but slower clock speeds are required to meet
the MAX11800/MAX11802 setup time requirements. For
the MAX11800/MAX11802, read patterns output data is
either latched on the rising edge running at maximum
clock rates or on the falling edges running at reduced
clock rates.
During write sequences, the DOUT line is not accessed
by the SPI. DOUT remains high impedance throughout
the command. Using the optional bus holder, the DOUT
line retains the previous value unless altered by a
device sharing the bus.
The MAX11800/MAX11802 SPI interface supports multi-
ple register write operations within a single sequence
as shown in Figure 18. By repeating the address plus
data byte pairs (in write mode), an unlimited number of
registers can be written in a single transfer. Do not per-
mit to combine write and read operations within the
same SPI sequence.
–MAX1803
CS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SCLK
DIN
A6
A5
A4
A3
A2
A1
A0
Wb
D7
D6
D5
D4
D3
D2
D1
D0
Figure 17. SPI Single Configuration Register Write Sequence
CS
1
7
9
17
23
25
32
SCLK
DIN
A [6:0]
n
D [7:0]
n
A
m
[6:0]
D [7:0]
m
Figure 18. SPI Multiple Configuration Register Write Sequence
38 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
SPI Configuration or
Result Register Read (MAX11800/MAX11802)
Figure 19 shows the read operation sequence for the
MAX11800/MAX11802. A single configuration register
can be read back in a 2-byte operation, composed of a
requested register address (A[6:0], plus a read mode
indicator bit) followed by the data contents from that reg-
ister (D[7:0]).
crement is supported, the next register location is read
back. If not, the last valid register location is read back
(see the Command and Register Map section for the
autoincrement attributes of each register). The following
example shows a valid sequence for the readback of
three register locations (D through D ).
i
i+2
The autoincrement reads only the X, Y, Z1, Z2, and AUX
result registers preventing inadvertent readback of unre-
lated or reserved data locations. For example, if begin-
ning at the XMSB register, a user can cycle through the
XLSB register to the YMSB register and so forth up to the
AUXLSB register. The MAX11800/MAX11802 do not
autoincrement beyond the AUXLSB register. If clock
cycles continue to be given, the AUXLSB register read-
back is repeated.
During read operations, the SPI takes control of the DOUT
line following the eight SCLK rising edge. The SPI retains
control of the DOUT line until CS rises, terminating the
operation. To support multiple register readback opera-
tions, data continues to be ported following the 16th rising
clock edge. For single-byte transfers, this sub-bit informa-
tion can be ignored, shown as S, in Figure 19.
The FIFO register does not autoincrement, which allows
multiple readbacks of the same location. This allows the
access of multiple FIFO memory blocks with a single read
operation. When reading back FIFO registers, data man-
agement is handled in blocks not bytes. As a result, when
an SPI read operation supplies at least one cycle of read-
back of the first byte of a FIFO block, the entire block is
marked as read, regardless of whether the block or even
byte readback is run to completion.
The DOUT output on the MAX11800/MAX11802 includes
an optional bus holder to prevent the DOUT line from
maintaining an indeterminate state when vacated by the
device in the absence of an external bus pullup or bus
sharing devices. The bus holder is designed not to inter-
fere with other drivers sharing the DOUT line and holds
the last valid state of the line, regardless of source.
Disable the bus holder when not needed.
The MAX11800/MAX11802 support the combination of
the DIN and DOUT lines. To avoid data contention and
possible high current states, the master device must relin-
quish control of the combined line at the 8th clock rising
edge, allowing the MAX11800/MAX11802 to access the
line through the end of the sequence. This is terminated
on the rising edge of CS. See the SPI Timing
Characteristics for relevant details.
To illustrate, assume the MAX11800 is in autonomous
mode performing XY conversions and a FIFO readback
is requested starting at register 0x50. Clock cycles 9 to
40 are required to complete the readback of the first
available FIFO block = {XMSB , XLSB , YMSB , YLSB }
i
i
i
i
i
with the device updating in response to the 8th to 39th
clock rising edges. The host processor can complete
the readback data latching of YLSB [0] either on the
i
The MAX11800/MAX11802 also support multiple register
readback operations using a single command. The proto-
col requires the user to supply an initial starting register
location, followed by an unlimited number of clock pulses
for data readback.
39th falling edge or the 40th rising edge. To support a
continued readback of further FIFO blocks, the device
updates the DOUT line to XMSB [7] in response to the
i+1
40th clock rising edge (though block
is not marked
i+1
as read). If the AP supplies a 42nd clock rising edge,
The first data read back is from the start register. The
MAX11800/MAX11802 internal autoincrement counter
manages the data readback in later cycles. If autoin-
the FIFO block , if present, is marked as read, regard-
i+1
less of whether any further clock cycles are provided.
CS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SCLK
DIN
A6
A5
A4
A3
A2
A1
A0
R
D7
D6
D5
D4
D3
D2
D1
D0
S
DOUT
Figure 19. SPI Single-Byte Register Read Sequence
______________________________________________________________________________________ 39
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
SPI Conversion Command (MAX11800/MAX11802)
The sequence below shows the required command for-
mat for issuing conversion requests. A conversion
request cannot be paired with multiple commands or
instructions. Any conversion command issued while
previous commands are being executed is ignored.
ically a microcontroller) initiates data transfer on the
bus and generates SCL. The I2C device address is
10010xx; the last 2 bits of the I2C address are user-
configurable through the address inputs A[1:0].
I2C Configuration Register Write
(MAX11801/MAX11803)
I2C-Supported Sequence
(MAX11801/MAX11803)
Repeat the register address plus data pairs (byte 2 and
byte 3 in Figures 21, 22, and 23) to perform multiple
register writes. There is no limit to the number of regis-
ters written with a single command. For example, the
I2C master can perform multiple register writes to set up
all required conversion options, and then issue a sepa-
rate I2C command to start a conversion process.
The MAX11801/MAX11803 feature an I2C-compatible,
2-wire serial interface consisting of a bidirectional serial
data line (SDA) and a serial clock line (SCL). SDA and
SCL facilitate bidirectional communication between the
MAX11801/MAX11803 and the master. The master (typ-
CS
1
7
8
9
16 17
24 25
32
SCLK
A [6:0]
i
DIN
–MAX1803
S
D [7:0]
i
D
i+1
[7:0]
D [7:0]
i+2
DOUT
Figure 20. SPI Multiple-Byte Register Read Sequence
CS
1
2
3
4
5
6
7
8
SCLK
DIN
A6
A5
A4
A3
A2
A1
A0
Wb
Figure 21. SPI Conversion Command
WRITE ADDRESS
BYTE 1: DEVICE ADDRESS
WRITE REGISTER NUMBER
BYTE 2: FIRST REG NUMBER = N
WRITE DATA
BYTE 3: REG(N)[7:0] DATA
START
STOP
SDA
SCL
1
0
0
1
0
A1 A0
W
A
N
N
N
N
N
N
N
N
A
D
D
D
D
D
D
D
D
A
2
Figure 22. I C Single Register Write Sequence
WRITE REGISTER NUMBER
BYTE 2: REG NUMBER = N
WRITE DATA
BYTE 3: REG(N)[7:0] DATA
WRITE DATA
BYTE 5: REG(Z)[7:0] DATA
WRITE ADDRESS
BYTE 1: DEVICE ADDRESS
WRITE REGISTER NUMBER
BYTE 4: REG NUMBER = Z
START
STOP
SDA
SCL
1
0
0
1
0
A1 A0
W
A
N
N
N
N
N
N
N
N
A
D
D
D
D
D
D
D
D
A
Z
Z
Z
Z
Z
Z
Z
Z
A
D
D
D
D
D
D
D
D
A
2
Figure 23. I C Multiple Register Write Sequence
40 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
I2C Configuration or Result Register Read
(MAX11801/MAX11803)
• Streamlined I2C Read Operations (MAX11801/
MAX11803)
The read sequence does not limit the number of bytes to
be read. The internal register counter keeps increment-
ing as additional bytes are requested. The first byte out
is Reg(N) as shown in Figure 24. The next byte out is
Reg(N+1). The next byte out is Reg(N+2), and so on.
The programmer needs to keep track of the incremented
register address. Acknowledge pulses from the master
are not required to autoincrement the internal register
location. The internal register location updates on each
byte. See the Command and Register Map section for
details governing the incrementing of register addresses.
The MAX11801/MAX11803 support several streamlined
readback behavior to significantly improve data transfer
efficiency. Using the streamlined readback sequence
shown in Figure 25, data readback can commence fol-
lowing an assumed progression. Disable the stream-
lined readback feature to allow full readback sequence.
• Resumed Read Operations (MAX11801/
MAX11803)
When readback operations are suspended and later
resume from the current (incremented) register loca-
tion, it is not necessary to supply the initial device
address and register start sequence. Begin the read-
back portion of the command following the streamlined
sequence shown in Figure 25 to allow more efficient
data transfer.
The autoincrement reads only the X, Y, Z1, Z2, and
AUX result registers preventing inadvertent readback of
unrelated or reserved data locations. For example, if
beginning at the XMSB register, a user can cycle
through the XLSB register to the YMSB register and so
forth up to the AUXLSB register. The MAX11801/
MAX11803 do not autoincrement beyond the AUXLSB
register. If clock cycles continue to be given, the
AUXLSB register readback is repeated.
For example, if the user accesses the FIFO register
(MAX11801), which does not autoincrement, and reads
several observations and then stops and resumes the
readback operation at a later time, the user only needs
to issue the streamlined readback sequence to contin-
ue to gather observations from the FIFO. Once the
device is placed in autonomous mode, the user only
needs to issue the full readback sequence once for the
initial FIFO access. Then streamlined read access to
the device resumes at the FIFO location, unless an
intervening command is issued as shown in Figure 25.
The FIFO (MAX11801) register does not autoincrement,
which allows multiple readbacks of the same location.
This allows the access to multiple FIFO memory blocks
with a single read operation. When reading back FIFO
registers, data management is handled in blocks not
bytes. As a result, when an I2C read operation supplies
at least one cycle for readback of the first byte of a FIFO
block, the entire block is marked as read. This is regard-
less of whether the block or even byte readback is run
to completion.
Similarly, when reading back result registers, begin with
XMSB and autoincrement to XLSB, then stop. When
readback resumes by the issuance of the streamlined
readback sequence, data readback commences from
the YMSB location.
WRITE ADDRESS
BYTE 1: DEVICE ADDRESS
WRITE REGISTER START NUMBER
BYTE 2: FIRST REG NUMBER = N
REPEATED
START
WRITE ADDRESS
BYTE 3: DEVICE ADDRESS
READ DATA
BYTE 4: REG(N)[7:0] DATA
READ DATA
START
READ DATA (LAST BYTE)
STOP
ADDITONAL
SEQUENTIAL READ
DATA BYTES
SDA
SCL
1
0
0
1
0
A1 A0
W
A
N
N
N
N
N
N
N
N
A
1
0
0
1
0
A1 A0
R
A
D
D
D
D
D
D
D
D
A
D
D
D
D
D
D
D
D
~A
2
ACKNOWLEDGE GENERATED BY I C MASTER
ACKNOWLEDGE GENERATED BY MAX11801/MAX11803
2
Figure 24. I C Multiple Register Read Sequence
WRITE ADDRESS
BYTE 3: DEVICE ADDRESS
READ DATA
BYTE 4: REG(N)[7:0] DATA
READ DATA
START
READ DATA (LAST BYTE)
STOP
SDA
ADDITONAL
SEQUENTIAL READ
DATA BYTES
1
0
0
1
0
A1 A0
R
A
D
D
D
D
D
D
D
D
A
D
D
D
D
D
D
D
D
~A
SCL
2
ACKNOWLEDGE GENERATED BY MAX11801/MAX11803
ACKNOWLEDGE GENERATED BY I C MASTER
Figure 25. I2C Streamlined Register Read Sequence
______________________________________________________________________________________ 41
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
• Direct Conversion Read Operations (MAX11801/
MAX11803)
are being executed is ignored and the readback target
register is not modified.
In direct conversion mode, commands automatically
set the readback target register and streamline data
gathering. See the Command and Register Maps sec-
tion for specific details for all such commands. The
MAX11801/MAX11803 automatically set the default
readback register to the XMSB location when a com-
mand requesting is received and a XY combined mea-
surement is received. If the XY command is issued and
allowed to complete, the device can then be followed
directly by a streamlined read sequence and data
readback commences from the XMSB register.
Accepted direct conversion commands always modify
the current internal register location and effectively
override the resumed readback behaviors and any reg-
ister settings made in response to previously complet-
ed direct conversion commands.
Command and Register Map
The command map consists of the user-configuration reg-
isters (read/write), TSC data readback commands (read
only), and TSC panel setup and conversion commands
(write only).
User-Accessible Registers
There are six blocks of user-accessible registers and
commands that control all operations of the
MAX11800–MAX11803. The register blocks and com-
mands consist of the following:
1) Status and Configuration Registers: 00h to 0Bh
• Sets modes of operation––ACM or DCM
• Settings to accommodate various panel sizes
(panel time constant)
• Read Operations Following Write Operations
(MAX11801/MAX11803)
• Averaging and noise settings
• Measurement resolution
Data readback commences from the last written register
location when the streamlined readback sequence is
issued following a configuration write operation. When
modifying the contents of the operating mode configura-
tion register (0x0B) using a write sequence, then issuing
a streamlined readback sequence, the contents of regis-
ter 0x0B are provided. Register write operations always
modify the current internal register location and effectively
override the resumed readback behaviors.
–MAX1803
• Auxiliary settings
• General part status reporting
2) FIFO Data Readback Command: 50h
• Autonomous conversion mode only (MAX11800/
MAX11801)
• Allows reading FIFO contents when operating in
ACM
3) Data Readback Commands: 52h to 5Bh
I2C Conversion Command (MAX11801/MAX11803)
Figure 26 shows the required command format for issu-
ing conversion requests. A conversion request cannot
be paired with multiple commands or instructions. Any
conversion command issued while previous commands
• Direct conversion mode only (MAX11800/
MAX11802)
• Allows reading measurement results when in DCM
WRITE ADDRESS
BYTE 1: DEVICE ADDRESS
START
STOP
CONVERSION COMMAND
SDA
SCL
1
0
0
1
0
A1 A0
W
A
N
N
N
N
N
N
N
N
A
Figure 26. I2C Conversion Command
42 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
2
2
4) I C Readback Registers: 52h to 58h
position. For I C, the protocol is always 8-bit byte fol-
lowed by an acknowledge bit, for a total of 9 bits. The
• Direct conversion mode only (MAX11801/
MAX11803)
2
2
MSB in I C format is always 0. In write mode, for I C,
the MSB is ignored internal to the MAX11800–
MAX11803, so setting it to 0 or 1 has no effect.
• Allows reading measurement results when in DCM
5) Panel Setup Commands: 6Ah to 6Fh
Status and Configuration Registers
The status and configuration registers are located in
block 0x00 to 0x0B. See Table 18. All user-configura-
tion register write mode operations are pairable within
• Sets up panel prior to making X, Y, Z1, or Z2 mea-
surements
6) Measurement Commands: 70h to 7Fh
2
the SPI/I C interface. Multiple locations can be written
• Performs specified measurement (X, Y, Z1, and/or
Z2)
under a single instruction with a register byte followed
by a data. All user-configuration read-mode operations
support autoincrement. For example, if location 0x00 is
read back and more clock pulses are issued, readback
will proceed through location 0x01 and so forth. The
user should set all configuration registers to the desired
values before issuing direct conversion operations or
placing MAX11800/MAX11801 in autonomous mode.
The commands to read or write the user-accessible
registers are always the same. However, the data for-
2
mat varies based on whether using an SPI or I C inter-
face. Tables 16 and 17 show the differences between
2
SPI and I C protocols. For SPI, the R/W bit is embed-
ded in the 8-bit byte and always occupies the LSB
Table 16. SPI Command and Data Format: 8 Bits
BYTE
BIT 7
BIT 6
BIT 5
BIT 4
R3
BIT 3
BIT 2
BIT 1
BIT 0
R/W
1/0
R0
(CONT)
R6
R5
R4
R2
R1
Command or Data
2
Table 17. I C Command and Data Format: 8 Bits Plus ACK
BYTE
ACK
BIT
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
R1
BIT 0
R0
(CONT)
0
R6
R5
R4
R3
R2
1/0
1/0
Command or Data
______________________________________________________________________________________ 43
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Table 18. Status and Configuration Registers
DATA
LENGTH
HEX R6 R5 R4 R3 R2 R1 R0 ACCESS PAIRABLE AUTOINCREMENT
FUNCTION
General status
00h
01h
0
0
0
0
0
0
0
0
0
0
0
0
0
1
R
No
Yes
Yes
8
8
R/W
Yes
General configuration
Measurement resolution
configuration
02h
03h
04h
05h
06h
07h
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
R/W
R/W
R/W
R/W
R/W
R/W
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
8
8
8
8
8
8
Measurement averaging
configuration
ADC sample time
configuration
Panel setup times
configuration
ADC delay initial conversion
configuration
Touch-detect pullup times
configuration
–MAX1803
Autonomous mode timing
configuration (MAX11800/
MAX11801)
08h
09h
0
0
0
0
0
0
1
1
0
0
0
0
0
1
R/W
R/W
Yes
Yes
Yes
Yes
8
8
Aperture settings (auto)
configuration (MAX11800/
MAX11801)
Auxiliary measurement
configuration
0Ah
0Bh
0
0
0
0
0
0
1
1
0
0
1
1
0
1
R/W
R/W
Yes
Yes
Yes
Yes
8
8
Operating mode
configuration
conversion mode (AUTO = 0). Random data access is
supported within this register space and the commands
autoincrement up to register 0x5B. The register
address does not advance beyond register 0x5B.
Attempting to read back a pending conversion results
in data being tagged invalid. See the Direct Conversion
Mode Operations section for more details.
Data Readback Commands
Autonomous Conversion Mode
Use the readback command 0x50 to read back available
FIFO data in autonomous conversion modes (AUTO = 1)
(MAX11800/MAX11801). The oldest available data is
read out first. Data blocks vary from 32 to 64 bits in
length, depending on the scan mode selected. Reading
back longer than one block results in reading back the
next available block. The end-of-file indicator is read
back when no unread data is available in the FIFO. This
command does not autoincrement and the register
address does not advance beyond 0x50. See the FIFO
Data Block Readback Structure section for more details.
The panel setup and conversion commands are not
pairable in write mode as each command modifies the
panel setting both during and after the command,
based on conversion executions and CONT bit set-
tings. All direct conversion commands modify the
2
expected I C read register location to support the data
streamlining protocol. Table 21 shows the resulting
read register settings by command type applicable to
Direct Conversion Mode
Use the readback commands 0x52 to 0x5B to read
back available measurement data gathered in direct
2
I C variants.
44 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Table 19. FIFO Data Readback Command (Autonomous Mode Only––MAX11800/MAX11801)
DATA
LENGTH
HEX
R6
R5
R4
R3
R2
R1
R0 ACCESS AUTOINCREMENT
OPERATION
Read next available FIFO
data block
50h
1
0
1
0
0
0
X
Read
No
INF
Table 20. Data Readback Commands (Direct Mode Only)
DATA
LENGTH
HEX R6
R5 R4 R3 R2 R1 R0 ACCESS AUTOINCREMENT
OPERATION
52h
53h
54h
55h
56h
57h
58h
59h
5Ah
5Bh
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Read
Read
Read
Read
Read
Read
Read
Read
Read
Read
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
8
8
8
8
8
8
8
8
8
8
X = MSB (direct conversion result)
X = LSB (direct conversion result)
Y = MSB (direct conversion result)
Y = LSB (direct conversion result)
Z1 = MSB (direct conversion result)
Z1 = LSB (direct conversion result)
Z2 = MSB (direct conversion result)
Z2 = LSB (direct conversion result)
AUX MSB (direct conversion result)
AUX LSB (direct conversion result)
0
1
2
Table 21. I C Readback Register Settings Following Conversion Commands
COMMAND
X = panel setup
READBACK REGISTER LOCATION
DESCRIPTION
52h
X = MSB
Y = panel setup
Z1 = panel setup
54h
56h
Y = MSB
Z1 = MSB
Z2 = panel setup
58h
52h
52h
52h
5Ah
52h
54h
56h
58h
Z2 = MSB
X = MSB
X = MSB
X = MSB
AUX = MSB
X = MSB
Y = MSB
Z1 = MSB
Z2 = MSB
X, Y = combined command
X, Y, Z1 = combined command
X, Y, Z1, Z2 = combined command
AUX = conversion
X = measurement
Y = measurement
Z1 = measurement
Z2 = measurement
______________________________________________________________________________________ 45
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
CONT bit impacts the setup of the panel and ADC fol-
lowing the command. For panel setup commands and
combined commands, the user setting of this bit (R0) is
ignored. For these commands, the internal assumption
is shown in parentheses in Table 22.
Panel Setup and
Measurement Commands
TSC conversion commands are only to be used in
direct conversion mode (AUTO = 0). Conversion com-
mands issued during autonomous mode are ignored.
All panel setup and measurement operations are auto-
mated when in autonomous mode (AUTO = 1).
The CONT bit impacts the setup of the panel and/or ADC
following the command (see command descriptions for
details). For some commands, the user setting of this bit
(R0) is ignored; for these commands the internal
assumption is shown in parentheses in Tables 8 and 22.
Commands must be issued in write mode to be execut-
ed. There are two types of commands: panel setup reg-
isters (0x6x) and measurement/conversion registers
(0x7x). All measurement commands indicate that the
ADC is used and the ADC can begin to power up once
the 0x7x header has been recognized. All measure-
ment commands modify the target data register upon
the conclusion of the measurement command. The
By definition, panel setup and measurement com-
mands are NOT pairable in write mode as each com-
mand modifies the panel setting both during the
command and after it (based on conversion executions
and CONT bit settings).
Table 22. Measurement Commands
COMMAND
LENGTH
HEX R6 R5 R4 R3 R2 R1
R0
ACCESS PAIRABLE
OPERATION
–MAX1803
7xh
1
1
1
0
0
0
(0)
Write
No
8
X, Y = combined measurement
7xh
7xh
1
1
1
1
1
1
0
0
0
1
1
0
(0)
(0)
Write
Write
No
No
8
8
X, Y, Z1 = combined measurement
X, Y, Z1, Z2 = combined measurement
7xh
7xh
7xh
7xh
7xh
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
0
1
(0)
Write
Write
Write
Write
Write
No
No
No
No
No
8
8
8
8
8
AUX = measurement
X = measurement
Y = measurement
Z1 = measurement
Z2 = measurement
CONT
CONT
CONT
CONT
46 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
User Configuration Registers
General Status Register (0x00) (Read Only)
BIT 7
ADC_BUSY
0
BIT 6
LPM
0
BIT 5
TDM
0
BIT 4
SCAN
0
BIT 3
FIFO_OVR
0
BIT 2
FIFO_INT
0
BIT 1
EDGE_INT
0
BIT 0
CONT_INT
0
NAME
DEFAULT
BIT
NAME
DESCRIPTION
0: ADC is not in ACQ or CONV state
1: ADC is in ACQ or CONV state
This is for INTERNAL TEST only
7
ADC_BUSY
0: Device is not in LPM or standby mode
1: Device is in LPM or standby mode
6
5
LPM
TDM
0: Device is not in TDM
1: Device is in TDM
0: No scan or measurement in progress
1: Scan or measurement in progress
Also indicates presence of a continuous touch in autonomous mode
4
3
2
1
0
SCAN
0: FIFO overflow has not occurred (MAX11800/MAX11801)
1: FIFO has overflowed since last readback operation
Enabled only if AUTO = 1
FIFO_OVR
FIFO_INT
EDGE_INT
CONT_INT
0: No unread data in FIFO (MAX11800/MAX11801)
1: New data available in FIFO
Enabled only if AUTO = 1
0: No touch event in progress
1: Touch event in progress (cleared on ETAG = 10)
Enabled only if AUTO = 0 and EDGE_IRQ = 1
0: No touch present
1: Touch present (or conversion in progress)
Enabled only if AUTO = 0 and EDGE_IRQ = 0
______________________________________________________________________________________ 47
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
General Configuration Register (0x01)
BIT 7
RT_SEL
1
BIT 6
HOLD_DO
1
BIT 5
PU_IRQ
1
BIT 4
ODN_IRQ
1
BIT 3
MASK_IRQ
0
BIT 2
EDGE_IRQ
0
BIT 1
BIT 0
NAME
EDGE_TIME[1:0]
DEFAULT
0
0
BIT
NAME
DESCRIPTION
0: 50kꢀ touch-detection pullup resistance
1: 100kꢀ touch-detection pullup resistance
7
RT_SEL
(panel setting––not to be confused with internal TIRQ pullup)
0: DOUT internal bus holder disabled
1: DOUT internal bus holder enabled
(applicable to SPI version only)
6
5
HOLD_DO
0: Disable IRQ internal pullup resistance
1: Enable IRQ internal pullup resistance
(open-drain mode only: ODN_IRQ also high)
PU_IRQ
0: TIRQ is CMOS buffered output
1: TIRQ is open-drain nMOS output
4
3
2
ODN_IRQ
–MAX1803
0: Enable TIRQ output
1: Mask/disable TIRQ output (force high or high impedance)
MASK_IRQ
EDGE_IRQ
0: Use continuous interrupt with direct conversion mode
1: Use edge interrupt with direct conversion mode
TIRQ low time for edge interrupt mode only
00: 4 x (2MHz oscillator clock period) = 2μs
01: 16 x (2MHz oscillator clock period) = 8μs
10: 64 x (2MHz oscillator clock period) = 32μs
11: 128 x (2MHz oscillator clock period) = 128μs
1:0
EDGE_TIME[1:0]
Measurement Resolution Configuration Register (0x02)
BIT 7
BIT 6
BIT 5
BIT 4
PWR_SAV
0
BIT 3
RESX
0
BIT 2
RESY
0
BIT 1
RESZ1
0
BIT 0
RESZ2
0
NAME
—
—
—
DEFAULT
0
0
0
BIT
NAME
DESCRIPTION
0: Internal ADC runs at normal power
1: Internal ADC runs at reduced power and resolution
This mode does limit the effective ADC resolution:
12-bit conversions may be reduced to 10-bit accuracy
8-bit conversions should not be impacted.
Resolution for X, Y, Z1, or Z2 measurements
0: 12-bit conversion (see the PWR_SAV description in this table)
1: 8-bit conversion
4
PWR_SAV
RES_
3:0
48 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Measurement Averaging Configuration Register (0x03)*
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
AVG_X[1:0]
AVG_Y[1:0]
AVG_Z1[1:0]
AVG_Z2[1:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
Averaging sample depth for X, Y, Z1, or Z2 measurements
If AVG_FLT = 0 (see the Operating Mode Configuration Register (0x0B) section)
00: Single sample, no averaging
01: Take four samples, average two median samples
10: Take eight samples, average four median samples
11: Take 16 samples, average eight median samples
If AVG_FLT = 1 (see the Operating Mode Configuration Register (0x0B) section)
00: Single sample, no averaging
7:6
AVG_X[1:0]
AVG_Y[1:0]
AVG_Z1[1:0]
AVG_Z2[1:0]
5:4
3:2
1:0
01: Take four samples, average all samples
10: Take eight samples, average all samples
11: Take 16 samples, average all samples
*The settings can be enabled and disabled through settings in the operating mode configuration register (0x0B), allowing for dynamic
configuration of averaging modes depending on operating mode.
ADC Sampling Time Configuration Register (0x04)*
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
T_SAMPLE_X[1:0]
T_SAMPLE_Y[1:0]
T_SAMPLE_Z1[1:0]
T_SAMPLE_Z2[1:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
7:6
T_SAMPLE_X[1:0]
T_SAMPLE_Y[1:0]
T_SAMPLE_Z1[1:0]
T_SAMPLE_Z2[1:0]
Sampling time for X, Y, Z1 or Z2 measurements
00: 4 x (2MHz oscillator clock period) = 2μs
01: 16 x (2MHz oscillator clock period) = 8μs
10: 64 x (2MHz oscillator clock period) = 32μs
11: 256 x (2MHz oscillator clock period) = 128μs
5:4
3:2
1:0
*Time ADC spends sampling panel before starting conversion process. This time plus the ADC conversion time determines the sam-
pling rate within averaging operations. Be sure to allow adequate time to settle the ADC capacitors given the panel effective source
resistance.
______________________________________________________________________________________ 49
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Panel Setup Timing Configuration Register (0x05)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
PSUXY[3:0]
PSUZ[3:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
X, Y panel setup times (position measurements)
0000: 0μs
1000: 1ms
0001: 20μs
0010: 50μs
0011: 80μs
0100: 100μs
0101: 200μs
0110: 500μs
0111: 800μs
1001: 2ms
1010: 5ms
7:4
PSUXY[3:0]
1011: 10ms
1100: 20ms
1101: 50ms
1110: 100ms
1111: 200ms
Z panel setup times (pressure measurements)
PSUZ[3:0] has the same range as PSUXY[3:0] above.
3:0
PSUZ[3:0]
Note: These settings apply to measurement commands, combined commands, and autonomous conversion mode measurements
and provide time for the panel to settle prior to beginning measurements. During these periods, the panel is set up, but the ADC
remains powered down. Users with low-impedance/fast settling panels should use setting 0000 (skip mode) if their panel can be set-
tled during the required 10μs minimum delayed conversion time (see the Delayed Conversion Configuration Register (0x06) section).
–MAX1803
Delayed Conversion Configuration Register (0x06)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
D_CV_XY[3:0]
D_CV_Z[3:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
X, Y panel plus ADC setup times (position measurements)
0000: 10μs
0001: 20μs
0010: 50μs
0011: 80μs
0100: 100μs
0101: 200μs
0110: 500μs
0111: 800μs
1000: 1ms
1001: 2ms
1010: 5ms
1011: 10ms
1100: 20ms
1101: 50ms
1110: 100ms
1111: 200ms
7:4
D_CV_XY[3:0]
Z panel plus ADC setup times (pressure measurements)
D_CV_Z[3:0] has the same range as D_CV_XY[3:0] above.
3:0
D_CV_Z[3:0]
Note: These settings apply to measurement commands, combined commands, and autonomous conversion mode measurements
and provide time for the panel and ADC to settle prior to beginning measurements. During these periods, the panel is set up and the
ADC is powered up. In general, users with long panel settling requirements should minimize time in this mode, using increased
panel setup times instead to save ADC power.
50 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Touch-Detect Pullup Timing Configuration Register (0x07)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
PUR[3:0]
PUF[3:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
Rough pullup time (t
0000: 2μs*
0001: 2μs
)
PUR
1000: 1ms
1001: 2ms
1010: 5ms
0010: 4μs
7:4
PUR[3:0]
0011: 8μs
1011: 10ms
1100: 20ms
1101: 50ms
1110: 100ms
1111: 200ms
0100: 10μs
0101: 50μs
0110: 100μs
0111: 500μs
Fine pullup time (t
0000: 10μs
)
PUF
1000: 1ms
0001: 20μs
1001: 2ms
0010: 50μs
1010: 5ms
3:0
PUF[3:0]
0011: 80μs
1011: 10ms
1100: 20ms
1101: 50ms
1110: 100ms
1111: 200ms
0100: 100μs
0101: 200μs
0110: 500μs
0111: 800μs
Note: These settings apply to the end of all measurement and combined commands and are required for proper data tagging and
interrupt management. The exception is direct conversion commands with CONT = 1. These commands do not enter PUR/PUF inter-
vals for the purpose of data tagging.
*While 2μs is the minimum PUR interval listed, for this setting, the XPSW is not engaged, allowing for minimal power operation
(essentially adding 2μs to the PUF time).
Autonomous Mode Timing Configuration Register (0x08) (MAX11800/MAX11801)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
TINIT[3:0]
SCANP[3:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
Initial period (time between touch and initial scan block, t
)
INIT
0000: 10μs
0001: 20μs
0010: 50μs
0011: 80μs
0100: 100μs
0101: 200μs
0110: 500μs
0111: 800μs
1000: 1ms
1001: 2ms
1010: 5ms
1011: 10ms
1100: 20ms
1101: 50ms
1110: 100ms
1111: 200ms
7:4
TINIT[3:0]
Scan period (time between successive scan blocks, t
SCANP[3:0] has the same range as TINIT[3:0] above.
)
SP
3:0
SCANP[3:0]
Note: These settings apply in autonomous conversion mode only.
______________________________________________________________________________________ 51
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Aperture Configuration Register (0x09) (MAX11800/MAX11801)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
NAME
APRX[3:0]
APRY[3:0]
DEFAULT
0
0
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
ΔX for aperture checking
0000 = 2-1 LSB = aperture checking disabled
0001 = 2(1-1) LSB = 1 LSB
0010 = 2(2-1) LSB = 2 LSB
0011 = 2(3-1) LSB = 4 LSB
.
7:4
APRX[3:0]
APRY[3:0]
.
.
1001 = 2(9-1) LSB = 256 LSB
1010 = 2(10-1) LSB = 512 LSB
1011 = 2(11-1) LSB = 1024 LSB
1100 = 2(12-1) LSB = 2048 LSB
1101 to 1111 = aperture checking disabled
–MAX1803
ΔY for aperture checking
APRY[3:0] has the same range as APRX[3:0] above.
3:0
Note: These aperture settings apply in autonomous conversion mode only and control whether data meets the criteria for logging
into the FIFO.
52 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Auxiliary Measurement Configuration Register (0x0A)
BIT 7
BIT 6
D_CV_A[3:0]
0
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
RESA
0
NAME
T_SAMPLE_A[1:0]
AVGA[1:0]
DEFAULT
0
0
0
0
0
0
BIT
NAME
DESCRIPTION
Delay initial auxiliary conversion
000: 10μs
001: 100μs
010: 500μs
7:5
D_CV_A[3:0]
011: 1ms
100: 5ms
101: 10ms
110: 50ms
111: 100ms
Sampling time for auxiliary measurements
00: 4 x (2MHz oscillator clock period) = 2μs
01: 16 x (2MHz oscillator clock period) = 8μs
10: 64 x (2MHz oscillator clock period) = 32μs
11: 256 x (2MHz oscillator clock period) = 128μs
4:3
T_SAMPLE_A[1:0]
Averaging sample depth for auxiliary measurements
If AVG_FLT = 0 (see the Operating Mode Configuration Register (0x0B) section)
00: Single sample, no averaging
01: Take four samples, average two median samples
10: Take eight samples, average four median samples
11: Take 16 samples, average eight median samples
If AVG_FLT = 1 (see the Operating Mode Configuration Register (0x0B) section)
00: Single sample, no averaging
2:1
AVGA[1:0]
01: Take four samples, average all samples
10: Take eight samples, average all samples
11: Take 16 samples, average all samples
Resolution for auxiliary measurements
0: 12-bit conversion (see the description of PWR_SAV in the Measurement Resolution
Configuration Register (0x02) section)
0
RESA
1: 8-bit conversion
Note: A delimiter refers to the auxiliary input (AUX). Auxiliary measurements can only be requested in direct conversion modes.
______________________________________________________________________________________ 53
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Operating Mode Configuration Register (0x0B)
BIT 7
PWRDN
1
BIT 6
BIT 5
BIT 4
APER
0
BIT 3
AVG_FLT
0
BIT 2
BIT 1
BIT 0
ꢀ
NAME
AMODE[1:0]
EN_AVG_XY EN_AVG_Z
DEFAULT
0
0
0
0
0
BIT
NAME
DESCRIPTION
0: Device is powered up and operational in either a direct or autonomous conversion
mode (see AMODE[1:0] below).
7
PWRDN
1: Device is powered down, OTP is held in reset
00: Direct conversion mode (AUTO = 0) (MAX11800/MAX11801)
01: Autonomous X and Y scan (AUTO = 1)
10: Autonomous X, Y, Z1 scan (AUTO = 1)
6:5
4
AMODE[1:0]
APER
11: Autonomous X, Y, Z1, Z2 scan (AUTO = 1)
0: Disregard aperture criteria (MAX11800/MAX11801)
1: Enable aperture criteria (spatial filter)
(applies to autonomous modes only)
0: Use median averaging filters (ignore outliers)
1: Use straight averaging filters
3
2
AVG_FLT
–MAX1803
0: Disable (X, Y) position averaging in selected mode
1: Enable (X, Y) position averaging in selected mode
EN_AVG_XY
0: Disable (Z1, Z2) pressure averaging in selected mode
1: Enable (Z1, Z2) pressure averaging in selected mode
1
0
EN_AVG_Z
RESERVED
Reserved bit.
*Any write access to 0x0B initiates an internal reset pulse. This pulse clears the FIFO and all measurement memories.
54 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
MAX11800/MAX11802 Typical Operating Circuit
V
DD
1μF
TIRQ
DIN
0.1μF
V
DD
X+
Y+
GPIO
DOUT
CLK
DIN
HOST
PROCESSOR
MAX11800
MAX11802
CLK
X-
DOUT
CS
CS
TOUCH SCREEN
Y-
AUX
AUX INPUT
GND
MAX11801/MAX11803 Typical Operating Circuit
V
DD
1μF
TIRQ
SDA
SCL
A0
0.1μF
1.2kΩ
1.2kΩ
OPTIONAL
GPIO
V
DD
X+
Y+
SDA
SCL
A0
HOST
PROCESSOR
MAX11801
MAX11803
X-
A1
A1
TOUCH SCREEN
Y-
AUX
AUX INPUT
GND
______________________________________________________________________________________ 55
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
Pin Configurations
TOP VIEW
MAX11800/MAX11802
CS
9
CLK
8
DIN
7
1
3
2
4
ꢀ
A
B
TIRQ
Y-
10
11
6
5
DOUT
AUX
Y+
X+
CS
AUX
Y+
MAX11800
MAX11802
CLK
GND
DOUT
V
DD
X-
12
4
*EP
ꢀ
C
DIN
Y-
TIRQ
X-
1
2
3
WLP
X+
V
GND
DD
TQFN
MAX11801/MAX11803
–MAX1803
A0
9
SCL
8
SDA
7
1
3
2
4
ꢀ
A
B
TIRQ
Y-
10
11
6
A1
AUX
Y+
X+
A0
AUX
A1
Y+
5
4
MAX11801
MAX11803
SCL
GND
V
DD
X-
12
*EP
ꢀ
C
SDA
Y-
TIRQ
X-
1
2
3
WLP
X+
V
GND
DD
TQFN
*EXPOSED PAD.
Package Information
Chip Information
For the latest package outline information and land patterns,
go to www.maxim-ic.com/packages. Note that a “+”, “#”, or
“-” in the package code indicates RoHS status only. Package
drawings may show a different suffix character, but the drawing
pertains to the package regardless of RoHS status.
PROCESS: CMOS
PACKAGE TYPE PACKAGE CODE DOCUMENT NO.
12 TQFN
12 WLP
T1244+4
21-0139
21-0009
W121A2-1
56 ______________________________________________________________________________________
Low-Power, Ultra-Small Resistive Touch-Screen
2
Controllers with I C/SPI Interface
–MAX1803
Revision History
REVISION REVISION
PAGES
CHANGED
DESCRIPTION
NUMBER
DATE
0
7/09
Initial release.
—
1
Removed future status from the WLP packages in the Ordering Information table.
Added a new Note 1 about the WLP package to the Absolute Maximum Ratings
section.
8
14, 56
8
1
2
11/09
3/10
Corrected the pin names for the WLP packages in the Pin Description table and Pin
Configurations.
Added “Soldering Temperature (reflow) at +260°C.” in the Absolute Maximum
Ratings section.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 57
© 2010 Maxim Integrated Products
Maxim is a registered trademark of Maxim Integrated Products, Inc.
相关型号:
MAX11803ETC+T
Low-Power, Ultra-Small Resistive Touch-Screen Controllers with I2C/SPI Interface
MAXIM
MAX11803EWC+T
Low-Power, Ultra-Small Resistive Touch-Screen Controllers with I2C/SPI Interface
MAXIM
MAX1180ECM
Dual 10-Bit, 105Msps, +3.3V, Low-Power ADC with Internal Reference and Parallel Outputs
MAXIM
MAX1180ECM+D
ADC, Flash Method, 10-Bit, 1 Func, 2 Channel, Parallel, Word Access, PQFP48, 7 X 7 MM, 1 MM HEIGHT, ROHS COMPLIANT, MS-026ABA-HD, TQFP-48
MAXIM
MAX1180ECM+TD
ADC, Flash Method, 10-Bit, 1 Func, 2 Channel, Parallel, Word Access, PQFP48, 7 X 7 MM, 1 MM HEIGHT, ROHS COMPLIANT, MS-026ABA-HD, TQFP-48
MAXIM
MAX1180ECM-D
ADC, Flash Method, 10-Bit, 1 Func, 2 Channel, Parallel, Word Access, PQFP48, 7 X 7 MM, 1 MM HEIGHT, MS-026ABA-HD, TQFP-48
MAXIM
MAX1180ECM-T
ADC, Flash Method, 10-Bit, 1 Func, 2 Channel, Parallel, Word Access, CMOS, PQFP48, 7 X 7 MM, 1 MM HEIGHT, MS-026ABA-HD, TQFP-48
MAXIM
©2020 ICPDF网 联系我们和版权申明