TS12 12-Channel Self Calibration Capacitive Touch Sensor SPECIFICATION V1.0 JUNE 2008 ADSemiconductor Confidential ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 1 Specification 1.1 General Feature 12-Channel capacitive sensor with auto sensitivity calibration Selectable output operation (single mode / multi-mode) Independently adjustable in 8 step sensitivity Touch intensity can be detectable within 3 steps (Low, Middle and High) Adjustable internal frequency with external resister Adjustable response time and interrupt level by the control registers I2C serial interface Embedded high frequency noise elimination circuit Embedded power key function on channel 1 for mobile phone application RoHS compliant 24SOP package 1.2 Application Mobile application (mobile phone / PDA / PMP etc) Membrane switch replacement Sealed control panels, keypads Door key-lock matrix application Touch screen replacement application 1.3 Package (24SOP) CS7 CS6 1 24 2 23 3 22 4 21 5 20 CS8 CS5 CS9 RBIAS CS10 CS4 VDD CS3 6 CS12 7 ADS TS12 CS11 CS2 19 CS1 18 VSS VDD 8 17 9 16 10 15 11 14 12 13 IRBAS VSS RST VDD SCL I2C_EN SDA INT TS12 24SOP (Drawings not to scale) ADSemiconductor Confidential 1 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 2 Pin Description (24SOP) PIN No. 1 2 3 4 5 6 7 8 9 10 11 Name CS7 CS8 CS9 CS10 VDD CS11 CS12 VSS IRBIAS RST SCL 12 SDA 13 14 15 16 17 18 19 20 21 22 23 24 INT I2C_EN VDD VSS VDD CS1 CS2 CS3 CS4 RBIAS CS5 CS6 I/O Analog Input Analog Input Analog Input Analog Input Digital Input Analog Input Analog Input Ground Analog Input Digital Input Digital Input Digital Input/Output Digital Output Digital Input Digital Input Ground Digital Input Analog Input Analog Input Analog Input Analog Input Analog Input Analog Input Analog Input Description CH7 capacitive sensor input CH8 capacitive sensor input CH9 capacitive sensor input CH10 capacitive sensor input CH11 capacitive sensor input CH12 capacitive sensor input Supply ground Internal I2C clk frequency adjust input System reset (High reset) I2C clock input Protection VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD VDD/GND VDD/GND VDD/GND I2C data (Open drain) VDD/GND Interrupt output (Open drain) I2C enable(Low enable) Supply ground CH1 capacitive sensor input CH2 capacitive sensor input CH3 capacitive sensor input CH4 capacitive sensor input Internal bias adjust input CH5 capacitive sensor input CH6 capacitive sensor input VDD/GND VDD/GND VDD/GND VDD VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND VDD/GND ADSemiconductor Confidential 2 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 3 Absolute Maximum Rating Battery supply voltage 5.0V Maximum voltage on any pin VDD+0.3 Maximum current on any PAD 100mA Power Dissipation 800mW Storage Temperature -50 ~ 150℃ Operating Temperature -20 ~ 75℃ Junction Temperature 150℃ Note Unless any other command is noted, all above are operated in normal temperature. 4 ESD & Latch-up Characteristics 4.1 ESD Characteristics Mode H.B.M M.M Polarity Pos / Neg Pos / Neg Max Reference 2000V VDD 2000V VSS 2000V P to P 200V VDD 200V VSS 200V P to P 500V C.D.M Pos / Neg DIRECT 800V 4.2 Latch-up Characteristics Mode Polarity Max Positive 200mA Negative -200mA Positive 8.0V I Test V supply over 5.0V Test Step 25mA 1.0V ADSemiconductor Confidential 3 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 5 Electrical Characteristics ▪ VDD=3.3V, Rb=510k, (Unless otherwise noted), TA = 25℃ Characteristics Symbol Test Condition Min Typ Max Units Operating supply voltage VDD 3.3 80 200 1.5 2.3 - 5.0 130 315 1 V VDD= 3.3V RB=510k VDD= 5.0V RB=510k VDD= 3.3V RB=510k RI2C =20k VDD= 5.0V RB=510k RI2C =30k IDD_I2C Disable 2.5 - - 4.0 ㎃ CS - 10 100 ㎊ RS - 200 1000 Ω 0.2 - - ㎊ - 12 - IDD Current consumption Note1 Output maximum sink current Sense input capacitance range IDD_I2C IOUT TA = 25℃ ㎂ mA ㎂ Note2 Sense input resistance range Minimum detective capacitance difference Output impedance (open drain) Self calibration time after system reset Recommended bias resistance range Note3 ΔC Zo TCAL RB Cs = 10pF, CDEG = 200pF (I2C default sensitivity select) ΔC > 0.2pF, Cs = 10pF, (I2C default sensitivity select) ΔC < 0.2pF, Cs = 10pF, (I2C default sensitivity select) VDD = 3.3V RB = 510k VDD = 5.0V RB = 510k Ω - 30M - - 100 80 - VDD = 3.3V 200 510 820 VDD = 5.0V 330 620 1200 ms kΩ Maximum bias CB_MAX 820 1000 pF capacitance Note 1 : In case of SCL frequency is 500kHz. Note 2 : The sensitivity can be increased with lower CS value. The recommended value of CS is 10pF when using 3T PC(Poly Carbonate) cover and 10 ㎜ x 7 ㎜ touch pattern. Note 3 : The lower RB is recommended in noisy condition. ADSemiconductor Confidential 4 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 6 Implementation of TS12 6.1 RBIAS implementation VDD CB RBIAS << RB The RBIAS is connecting to the resistor to decide the oscillator and internal bias current. The sensing frequency, internal clock frequency and current consumption are therefore able to be adjusted with RB. A voltage ripple on RBIAS can make critical internal error, so CB is connected to the VDD (not GND) is recommended. (The typical value of CB is 820pF and the maximum Value is 1nF.) IDD [uA] 450 2.5 V 400 3.3 V 5.0 V 350 300 250 200 150 100 50 0 100 200 300 400 500 RB600 [kΩ] 700 800 900 1000 1100 Normal operation current consumption curve (Pin21 I2C_EN is High) The current consumption curve of TS12 is represented in accordance with RB value as above. The lower RB requires more current consumption but it is recommended in noisy application. For example, refrigerator, air conditioner and so on. ADSemiconductor Confidential 5 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 6.2 CS implementation CS12 << RS12 Touch PAD12 CS12 RS1 CS1 << Touch PAD1 CS1 The TS12 has basically eight steps sensitivity, which is available to control with internal register by I2C interface. The parallel capacitor CS1 is added to CS1 and CS12 to CS12 to adjust sensitivity. The sensitivity will be increased when smaller value of CS is used. (Refer to the below Sensitivity Example Figure) It could be useful in case detail sensitivity mediation is required. The internal touch decision process of each channel is separated from each other. The twelve channel touch key board application can therefore be designed by using only one TS12 without coupling problem. The RS is serial connection resistor to avoid mal-function from external surge and ESD. (It might be optional.) From 200Ω to 1kΩ is recommended for RS. The size and shape of PAD might have influence on the sensitivity. The sensitivity will be optimal when the size of PAD is approximately an half of the first knuckle (it’s about 10 ㎜x 7 ㎜). The connection line of CS1 ~ CS12 to touch PAD is recommended to be routed as short as possible to prevent from abnormal touch detect caused by connection line. ADSemiconductor Confidential 6 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) Sensitivity example figure with default sensitivity selection 6.3 RESET implementation TS12 has internal data latches, so initial state of these latches must be reset by external reset pulse before normal operation starts. The reset pulse can be controlled by host MCU directly or other reset device. If not, the circuit should be composed as below figure. The reset pulse must have high pulse duration about a few msec to cover power VDD rising time. The recommended value of RRST and CRST are 330KΩ and 100nF. VDD CRST RESET << RRST Recommended reset circuits 1 ADSemiconductor Confidential 7 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) The better performance is warranted with below reset circuit. The Q1 is turned on and makes reset pulse when power is on and VDD is raised to operating voltage. After a few msec (duration time is determined by R7, R8, C5), Q1 is turned off and TS12 can be operated with normal sensitivity. VDD R7 200K Q1 2N3906 R8 200K RESET C5 220nF R9 470K Recommended reset circuits 2 7 I2C Interface 7.1 IRBIAS Implementation IRBIAS << RIB The RIB is only charged in making the I2C internal clock and should be implemented as above figure. The smaller RIB will increase the I2C internal clock frequency and current consumption. (Refer to the following consumption curve) ADSemiconductor Confidential 8 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) I2C IDD Measure (RB = 510kΩ) I2C IDD [uA] 3500 VDD = 3.3V VDD = 5.0V 3000 2500 2000 1500 1000 500 0 10 20 30 40 RIB [kΩ] 50 60 70 80 I2C Block operation current consumption curve ADSemiconductor Confidential 9 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) I2C Clk Freq. [MHz] I2C Clk Freq. (RB = 510kΩ) 12.00 VDD = 3.3V 10.00 VDD = 5.0V 8.00 6.00 4.00 2.00 0.00 10 20 30 40 50 60 70 80 RIB [kΩ] I2C clock frequency curve 7.2 Start & Stop Condition Start Condition (S) Stop Condition (P) Repeated Start (Sr) The EN (Pin21) should be low before START condition and be high after STOP condition. EN ADSemiconductor Confidential 10 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 7.3 Data validity The SDA should be stable when the SCL is high and the SDA can be changed when the SCL is low. 7.4 Byte Format The byte structure is composed with 8Bit data and an acknowledge signal. 7.5 Acknowledge It is a check bit whether the receiver gets the data from the transmitter without error or not. The receiver will write ‘0’ when it received the data successfully and ‘1’ if not. ADSemiconductor Confidential 11 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 7.6 First Byte 7.6.1 Slave Address It is the first byte from the start condition. It is used to access the slave device. TS12 Chip Address : 7bit Address 0xF0 ─ 7.6.2 R/W The direction of data is decided by the bit and it follows the address data. MSB Address LSB R/W 7 bit 1bit ADSemiconductor Confidential 12 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 7.7 Transferring Data 7.7.1 Write Operation The byte sequence is as follows: ■ the first byte gives the device address plus the direction bit (R/W = 0). ■ the second byte contains the internal address of the first register to be accessed. ■ the next byte is written in the internal register. Following bytes are written in successive internal registers. ■ the transfer lasts until stop conditions are encountered. ■ the TS12 acknowledges every byte transfer. 7.7.2 Read Operation The address of the first register to read is programmed in a write operation without data, and terminated by the stop condition. Then, another start is followed by the device address and R/W= 1. All following bytes are now data to be read at successive positions starting from the initial address. 7.7.3 Read/Write Operation ADSemiconductor Confidential 13 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 7.8 I2C write and read operations in normal mode 2 The following figure represents the I C normal mode write and read registers. ☞ Write register 0x00 to 0x01 with data AA and BB Start Device Address 0xD0 ACK Register Address 0x00 ACK Data AA ACK Data BB ACK Stop Read register 0x00 and 0x01 Start Device Address 0xD0 ACK Register Address 0x00 ACK Start Device Address 0xD1 ACK Data Read AA ACK From Master to Slave Stop Data Read BB ACK Stop From Slave to Master ADSemiconductor Confidential 14 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8 TS12 Register List Note: The unused bits (defined as reserved) in I²C registers must be kept to zero. Note: The bit0 and bit1 of CTRL2 register must be written by 0b11 after power on during an initialize phase. (Refer to the chapter 9. initialize flow) Note: HS (High Sensitivity) / MS (Middle Sensitivity) / LS (Low Sensitivity) Note: Low Output (light touch) / Middle Output (middle touch) / High Output (hard touch) 8.1 I2C Register Map Name Sensitivity1 Sensitivity2 Sensitivity3 Sensitivity4 Sensitivity5 Sensitivity6 CTRL1 CTRL2 Ref_rst1 Ref_rst2 Ch_hold1 Ch_hold2 Cal_hold1 Cal_hold2 Output1 Output2 Output3 Addr. Reset Value (Hex) (Bin) 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 1011 1011 1011 1011 1011 1011 0010 0000 1111 0000 1111 0000 0000 0000 0000 0000 0000 1011 1011 1011 1011 1011 1011 0010 01XX 1110 1111 1110 1111 0000 0000 0000 0000 0000 Register Function and Description Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Ch2HL Ch2M Ch1HL Ch4HL Ch4M Ch3HL Ch6HL Ch6M Ch5HL Ch8HL Ch8M Ch7HL Ch10HL Ch10M Ch9HL Ch12HL Ch12M Ch11HL MS FTC ILC 0 0 0 0 SRST IDLE Ch8 Ch7 Ch6 Ch5 Ch4 Ch3 0 0 0 0 Ch12 Ch11 Ch8 Ch7 Ch6 Ch5 Ch4 Ch3 0 0 0 0 Ch12 Ch11 Ch8 Ch7 Ch6 Ch5 Ch4 Ch3 0 0 0 0 Ch12 Ch11 OUT4 OUT3 OUT2 OUT8 OUT 7 OUT6 OUT12 OUT11 OUT10 Bit1 Bit0 Ch1M Ch3M Ch5M Ch7M Ch9M Ch11M RTC 1 1 Ch2 Ch1 Ch10 Ch9 Ch2 Ch1 Ch10 Ch9 Ch2 Ch1 Ch10 Ch9 OUT1 OUT5 OUT9 ADSemiconductor Confidential 15 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.2 Sensitivity Control Register Sensitivity1 Channel 1 & 2 Sensitivity Control Address (hex): 02h Type: R/W Bit7 Bit6 Ch2HL Bit5 Bit4 Ch2M[2:0] Bit3 Bit2 Ch1HL Bit1 Bit0 Ch1M[2:0] Description The sensitivity of channel 1 and 2 are adjustable by Sensitivity_1 register. ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Sensitivity2 Channel 3 & 4 Sensitivity Control Address (hex): 03h Type: R/W Bit7 Bit6 Ch4HL Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) Bit5 Bit4 Ch4M[2:0] Bit3 Bit2 Ch3HL Bit1 Bit0 Ch3M[2:0] Description The sensitivity of channel 3 and 4 are adjustable by Sensitivity_2 register. ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) ADSemiconductor Confidential 16 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) Sensitivity3 Channel 5 & 6 Sensitivity Control Address (hex): 04h Type: R/W Bit7 Bit6 Ch6HL Bit5 Bit4 Ch6M[2:0] Bit3 Bit2 Ch5HL Bit1 Bit0 Ch5M[2:0] Description The sensitivity of channel 5 and 6 are adjustable by Sensitivity_3 register. ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Sensitivity4 Channel 7 & 8 Sensitivity Control Address (hex): 05h Type: R/W Bit7 Bit6 Ch8HL Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) Bit5 Bit4 Ch8M[2:0] Bit3 Bit2 Ch7HL Bit1 Bit0 Ch7M[2:0] Description The sensitivity of channel 7 and 8 are adjustable by Sensitivity_4 register. ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) ADSemiconductor Confidential 17 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) Sensitivity5 Channel 9 & 10 Sensitivity Control Address (hex): 06h Type: R/W Bit7 Bit6 Ch10HL Bit5 Bit4 Ch10M[2:0] Bit3 Bit2 Ch9HL Bit1 Bit0 Ch9M[2:0] Description The sensitivity of channel 9 and 10 are adjustable by Sensitivity_5 register.ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Sensitivity6 Channel 11 & 12 Sensitivity Control Address (hex): 07h Type: R/W Bit7 Bit6 Ch12HL Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) Bit5 Bit4 Ch12M[2:0] Bit3 Bit2 Ch11HL Bit1 Bit0 Ch11M[2:0] Description The sensitivity of channel 11 and 12 are adjustable by Sensitivity_6 register. ChxM[2:0] allows various middle sensitivity and also the high and low sensitivities are decided with ChxHL. Bit name Reset Function ChxM[2:0] 011 ChxHL 1 Middle sensitivity T (= thickness of PC) @Cs = 0pF 000: 14~16T 100: 7~9T 001: 12~14T 101: 6~8T 010: 10~12T 110: 5~7T 011: 08~10T 111: 3~5T High and Low sensitivity selection for channel x 0: HS = MS - (MS * 0.2) LS = MS + (MS * 0.2) 1: HS = MS - (MS * 0.3) LS = MS + (MS * 0.3) ADSemiconductor Confidential 18 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.3 General Control Register1 CTRL1 TS12 General Control Register1 Address (hex): 08h Type: R/W Bit7 Bit6 MS Bit5 FTC[1:0] Bit4 Bit3 ILC[1:0] Bit2 Bit1 Bit0 RTC[2:0] Description The calibration speed just after power on reset is very high during the time which is defined by FTC[1:0] to have a good adoption against unstable external environment. Bit name Reset Function MS 0 FTC[1:0] 01 ILC[1:0] 00 RTC[2:0] 011 Mode Selection 0: auto alternate (fast/slow) mode 1: fast mode First Touch Control Below time stands on VDD = 3V / Rb = 300KΩ 00: 5 sec 01: 10 sec 10: 15 sec 11: 20 sec Interrupt Level Control 00: Interrupt is on middle or high output. 01: Interrupt is on low or middle or high output. 10: Interrupt is on middle or high output. 11: Interrupt is on high output. Response Time Control Response period = RTC[2:0] + 2 ADSemiconductor Confidential 19 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.4 General Control Register2 CTRL2 TS12 General Control Register2 Address (hex): 09h Type: R/W Bit7 Bit6 0 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 SRST SLEEP 1 1 0 Description All the digital blocks except analog and I2C block are reset when SRST is set. The SLEEP function allows getting very low current consumption when it is set. But the response time will be longer than normal operation. The bit0 and bit1 must be written with 0b’11 by host MCU. Bit name Reset Function SRST 0 SLEEP 1 Bit[1:0] XX Software Reset 0: Disable Software Reset 1: Enable Software Reset Sleep Mode Enable 0: Disable Sleep Mode 1: Enable Sleep Mode These bits must be written by 0b’11 during a system initialize phase. (refer to the chapter 9 “initialize flow example”) ADSemiconductor Confidential 20 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.5 Channel Reference Reset Control Register Ref_rst1 Channel1~8 Reference Reset Control Address (hex): 0Ah Type: R/W Bit7 Bit6 Ch8 Ch7 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Description The reference value of each channel will be renewing when Chx is set. Bit name Reset Function Chx 1 Ch1 0 0: 1: 0: 1: Ref_rst2 Channel9~12 Reference Reset Control Address (hex): 0Bh Type: R/W Bit7 Bit6 0 Disable reference reset Enable reference reset Disable reference reset Enable reference reset 0 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 Ch12 Ch11 Ch10 Ch9 Description The reference value of each channel will be renewing when Chx is set. Bit name Reset Function Chx 1 0: Disable reference reset 1: Enable reference reset ADSemiconductor Confidential 21 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.6 Channel 1~8 Sensing Control Register Ch_hold1 Channel 1 ~ 8 Hold Enable Register Address (hex): 0Ch Type: R/W Bit7 Bit6 Ch8 Ch7 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Description The operation of each channel is independently available to control. A channel doesn’t be worked and the calibration is paused when it is set. Bit name Reset Function Chx 1 Ch1 0 0: 1: 0: 1: Enable operation (sensing + calibration) Hold operation (No sensing + Stop calibration) Enable operation (sensing + calibration) Hold operation (No sensing + Stop calibration) 8.7 Channel 9~12 Sensing Control Register Ch_hold2 Channel 9 ~ 12 Hold Enable Register Address (hex): 0Dh Type: R/W Bit7 Bit6 0 0 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 Ch12 Ch11 Ch10 Ch9 Description The operation of each channel is independently available to control. A channel doesn’t be worked and the calibration is paused when it is set. Bit name Reset Function CEx 1 0: Enable operation (sensing + calibration) 1: Hold operation (No sensing + Stop calibration) ADSemiconductor Confidential 22 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.8 Channel 1~8 Calibration Control Register Cal_hold1 Channel 1 ~ 8 Calibration Enable Register Address (hex): 0Eh Type: R/W Bit7 Bit6 Ch8 Ch7 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Description The calibration of each channel is independently available to control. Each channel is working even if a bit is set. Bit name Reset Function Chx 0: Enable reference calibration (sensing + calibration) 1: Disable reference calibration (sensing + No calibration) 0 8.9 Channel 9~12 Calibration Control Register Cal_hold2 Channel 9 ~ 12 Calibration Enable Register Address (hex): 0Fh Type: R/W Bit7 Bit6 0 0 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 Ch12 Ch11 Ch10 Ch9 Description The calibration of each channel is independently available to control. Each channel is working even if a bit is set. Bit name Reset Function Chx 0 0: Enable reference calibration (sensing + calibration) 1: Disable reference calibration (sensing + No calibration) ADSemiconductor Confidential 23 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 8.10 Output Register Output1 Channel 1 ~ 4 Output Register Address (hex): 10h Type: R Bit7 Bit6 Bit5 OUT4[1:0] Bit4 Bit3 OUT3[1:0] Bit2 OUT2[1:0] Bit1 Bit0 OUT1[1:0] Description The each channel output of TS12 is compressed with 2 bits. It has 3 level output information that is low, middle and high. Bit name Reset Function OUT4[1:0] OUT3[1:0] OUT2[1:0] OUT1[1:0] 00 00 00 00 Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output 4 3 2 1 ADSemiconductor Confidential 24 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) Output2 Address (hex): 11h Type: R Bit7 Bit6 Channel 5 ~ 8 Output Register Bit5 OUT8[1:0] Bit4 Bit3 OUT7[1:0] Bit2 OUT6[1:0] Bit1 Bit0 OUT5[1:0] Description The each channel output of TS12 is compressed with 2 bits. It has 3 level output information that is low, middle and high. Bit name Reset Function OUT8[1:0] OUT7[1:0] OUT6[1:0] OUT5[1:0] 00 00 00 00 Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output 8 7 6 5 ADSemiconductor Confidential 25 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) Output3 Address (hex): 12h Type: R Bit7 Bit6 Channel 9~ 12 Output Register Bit5 OUT12[1:0] Bit4 Bit3 OUT11[1:0] Bit2 OUT10[1:0] Bit1 Bit0 OUT9[1:0] Description The each channel output of TS12 is compressed with 2 bits. It has 3 level output information that is low, middle and high. Bit name Reset Function OUT12[1:0] OUT11[1:0] OUT10[1:0] OUT9[1:0] 00 00 00 00 Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output Output of channel 00: No output 01: low output 10: middle output 11: high output 12 11 10 9 ADSemiconductor Confidential 26 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 9 Recommended TS12 Initialize Flow (Example) START Power ON H/W Reset Ch1 On Micom On Ctrl2 Setting : 0x0F Ctrl2 Setting : 0x07 Sensitivity Setting? Yes Sensitivity Setting Ch1 ~ CH12 No Ctrl1 Setting ? Yes Ctrl1 Setting No Channel_Hold Off Ch1 ~ CH12 Reset Off CH1 ~ CH12 END ADSemiconductor Confidential 27 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 10 Recommended Circuit Diagram 10.1 Application Example in clean power environment TS12 Application Example Circuit (Clean power environment) In PCB layout, R_B should not be placed on touch pattern. If not, C_B has to be connected. The R_B pattern should be routed as short as possible. The CS patterns also should be routed as short as possible and the width of line might be about 0.25mm. The capacitor that is between VDD and GND is an obligation. It should be located as close as possible from TS12. The CS pattern routing should be formed by bottom metal (opposite metal of touch PAD). The empty space of PCB must be filled with GND pattern to strengthen GND pattern and to prevent external noise from interfere with sensing frequency. The TS12 is reset if RST Pin is high. (See 6.3 Reset implementation chapter) . ADSemiconductor Confidential 28 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 10.2 Application Example in noisy environment TS12 Application Example Circuit (Noisy environment) The VDD periodic voltage ripple over 50mV and the ripple frequency is lower than 10 kHz can cause wrong sensitivity calibration. To prevent above problem, power (VDD, GND) line of touch circuit should be separated from other circuit. Especially LED driver power line or digital switching circuit power line certainly should be treated to be separated from touch circuit. The smaller R_B is recommended in noisy environments. ADSemiconductor Confidential 29 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 10.3 Example – Power Line Split Strategy PCB Layout A. Not split power Line (Bad power line design) The noise that is generated by AC load or relay can be loaded at 5V power line. A big inductance might be appeared in case of the connection line between main board and display board is too long, moreover the voltage ripple could be generated by LED (LCD) display driver at VDD (5V). B. Split power Line (One 5V regulator used) – Recommended C. Split power Line (Separated 5V regulator used) – Strongly recommended ADSemiconductor Confidential 30 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 11 MECHANICAL DRAWING ADSemiconductor Confidential 31 /32 ADSemiconductor® TS12 (12-CH Auto Sensitivity Calibration Capacitive Touch Sensor) 12 MARKING DESCRIPTION Device Code : TS12 Channel Number Application Touch Switch Group Weekly Code : YY ZZ Manufacturing Year Manufacturing Week NOTES: LIFE SUPPORT POLICY AD SEMICONDUCTOR’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF AD SEMICONDUCTOR CORPORATION The ADS logo is a registered trademark of ADSemiconductor ⓒ 2008 ADSemiconductor – All Rights Reserved www.adsemicon.com www.adsemicon.co.kr ADSemiconductor Confidential 32 /32