AGS04 [ADI]

韩国ADS四键触摸按键IC;
AGS04
型号: AGS04
厂家: ADI    ADI
描述:

韩国ADS四键触摸按键IC

文件: 总31页 (文件大小:1154K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
AGS04  
4-Channel Differential Calibration Capacitive Touch Sensor  
SPECIFICATION  
Preliminary  
Fuary
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
1 Specification  
1.1 General Feature  
4-Channel capacitive sensor with differential sensitivity calibration  
I2C serial interface  
Selectable output operation mode (Single output /Multi output)  
Independently adjustable in 128 steps sensitivity  
Adjustable response time by the control registers  
Programmable wake up sequence from SLEEP mode  
Almost no external component needed  
Very low current consumption  
Embedded common and normal noise elimination circuit  
RoHS compliant 12QFN package  
1.2 Application  
Mobile application (mobile phone / PDA / PMP / MP3 etc)  
Membrane switch replacement  
Sealed control panels, keypads  
1.3 Package (12 QFN)  
AGS04 12QFN (Drawings not to scale)  
2/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
2 Pin Description (12QFN)  
PIN No.  
Name  
GND  
N.C.  
N.C.  
VDD  
INT  
I/O  
Description  
Protection  
VDD  
1
2
Ground  
Supply ground  
No Connection  
No Connection  
-
-
-
-
3
4
Power  
Power (1.8V~3.3V)  
GND  
5
Digital Output Interrupt output (Open drain)  
VDD/GND  
VDD/GND  
VDD/GND  
VDD/GND  
VDD/GND  
VDD/GND  
VDD/GND  
VDD/GND  
I2C data input-output  
Digital  
6
SDA  
SCL  
Open drain NMOS structure  
I2C clock input  
Input/Output  
Digital Input  
7
Capacitive sensor input4  
Capacitive sensor input3  
Capacitive sensor input2  
Capacitive sensor input1  
Radio frequency Noise Detection pin  
8
Analog Input  
Analog Input  
Analog Input  
Analog Input  
Analog Input  
CS4  
9
CS3  
10  
11  
12  
CS2  
CS1  
R.N.D.  
3/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
3 Absolute Maximum Rating  
Battery supply voltage  
3.3V  
Maximum voltage on any pin VDD+0.3  
Maximum current on any PAD 100mA  
Power Dissipation  
800mW  
Storage Temperature  
Operating Temperature  
Junction Temperature  
-50 ~ 150  
-20 ~ 75℃  
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  
Polarity  
Max  
Reference  
H.B.M  
Pos / Neg  
M.M  
Pos / Neg  
C.D.M  
-
4.2 Latch-up Characteristics  
Mode  
Polarity  
Positive  
Negative  
Positive  
Max  
Reference  
JESD78A  
I Test  
V supply over 5.0V  
4/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
5 Electrical Characteristics  
Note : VDD=3.3V, Typical system frequency (Unless otherwise noted), TA = 25℃  
Characteristics  
Symbol  
Test Condition  
Min  
1.8  
-
Typ  
-
Max  
3.3  
30  
Units  
V
Power supply requirement and current consumption  
Operating voltage  
VDD  
IDD  
Current consumption  
VDD = 1.8V  
Reset and input level  
Internal reset voltage  
Self calibration time after  
system reset  
VDD_RST  
TA = 25℃  
-
-
-
1.2  
-
V
80  
Touch sensing performance  
Minimum detective  
capacitance difference  
Sense input  
ΔCMIN  
CS  
0.1  
-
-
-
-
Ω
50  
capacitance range1  
Output impedance  
(open drain)  
ΔC > ΔCMIN  
ΔC < ΔCMIN  
-
-
12  
-
-
Zo  
30M  
System performance  
Sensitivity control2  
Max. I2C SCL clock speed  
Touch expired time  
-
-
-
128  
-
-
1
-
step  
MHz  
sec  
fSCL_MAX  
TEX  
Maximum internal I2C clock  
Normal calibration speed  
30  
1
The sensitivity can be decreased with higher parallel capacitance of CS pin including parasitic capacitance made by  
neighbor GND or other pattern. The series resistor(under 1k) of CS can be used in noisy condition to avoid mal-function  
from external surge and ESD.  
2
Refer to the chapter 8.2.5. Sensitivity register  
5/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
6 AGS04 Implementation  
6.1 Typical current consumption  
AGS04 uses internal bias circuit, so internal clock frequency and current consumption is fixed  
and no external bias circuit is needed. The typical current consumption curve of AGS04 is  
represented in accordance with VDD voltage as below.  
Internal bias circuit can make the circuit design simple and reduce external components.  
Typical current consumption curve of AGS04  
6.2 R.N.D  
Radio frequency Noise Detection pin. Normally, R.N.D pin does not connect to anywhere.  
But, in radio frequency noise environment, this pin must form a pattern line on PCB.  
6.3 CS implementation  
AGS04 has 128 step selections of sensitivity and internal surge protection resister. Sensitivity of  
each sensing channel (CS) can be independently controlled on others. External components of  
CS pin such as series resistor or parallel capacitor isnt necessary. The parallel parasitic  
capacitance of CS pins caused by touch line, touch pad and neighbor GND or other pattern  
may affect sensitivity. The sensitivity will be decreased when bigger parallel parasitic  
capacitance of CS pin is added.  
Parallel capacitor (CS1~S4) of CS pin is useful in case of detail sensitivity mediation is required  
such as for complementation sensitivity difference between channels. Same as above parallel  
6/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
parasitic capacitance, sensitivity will be decreased when a big value of parallel capacitor  
(CS1~S4) is used. Under 50pF capacitor can be used as sensitivity meditation capacitor and a  
few pF is usually used. The RS, serial connection resistor of CS pins, may be used to avoid  
mal-function from external surge and ESD. (It might be optional.) From 200Ω to 1kΩ is  
recommended for RS. Refer to below CS pins application figure.  
RS4  
CS4<<  
Touch PAD4  
CS4  
RS1  
Touch PAD1  
CS1<<  
CS1  
The AGS04 has eight independent touch sensor input from CS1 to CS4. The internal touch  
decision process of each channel is separated from others. Therefore eight channel touch key  
board application can be designed by using only one AGS04 without coupling problems.  
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 (its about 10mmx7mm). The  
connection line of CS to touch PAD is recommended to be routed as short as possible to  
prevent from abnormal touch detect caused by connection line. The unused CS pin must be  
connected with the ground to prevent the unpredictable mal-function that occurred in the  
floating CS pin.  
6.4 INT (Interrupt output)  
Special function of INT is for the touch sensing interrupt output. Functions of INT can be  
controlled by Interrupt moderegister3 setting. There are two interrupt operation is possible and  
can be selected by int_selbit of interrupt moderegister setting.  
6.4.1 Normal interrupt operation  
The interrupt operation act as normal if the int_selbit is 0. There are two state of interrupt  
output in the normal interrupt operation. In first interrupt operation case, the interrupt pulse is  
generated only during short period of every each channel touch start points and touch end point.  
3
Refer to the chapter 8.2.4. Interrupt mode.  
7/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
In other interrupt operation case, the interrupt pulse is generated during every each channel  
touch duration. Interrupt pulse has logical low level in both two interrupt modes. Pull-up resister  
about a few kΩ is required for interrupt output.  
6.4.2 Pattern SleepTM interrupt operation  
The purpose of pattern sleep is to replace power key or unlock key in the application. For  
example, many mal-functions could happen if the mobile product is in the pocket. But thanks  
to the pattern sleep, the MCU would be awaked from SLEEP mode with a proper touch input  
only.  
The AGS04 triggers the interrupt when it is in the normal operation. But the interrupt would be  
used when the touch inputs correspond with the reserved sequence in pattern sleep mode if the  
int_selbit is 1. And all the touch inputs should arrive within the expiration time that is  
controllable by the dedicated register. As already mentioned, there is an advantage for the  
material cost as it will accordingly replace the unlock tact switch.  
** Pattern sleep setting up4 **  
- Two pattern sleep sequence is possible. If user wants to use pattern 1, set the pattern 1  
enable bit patt1_en5. And if user wants to use pattern 2, set the pattern 2 enable bit patt2_en.  
- Two types of pattern sleep mode could be provided.  
Pattern sleep mode type  
Slide type  
Description  
When the touch input sequence is coming by sliding touch.  
pattx_mode6 = 00, (x means 1 or 2)  
When the touch input sequence is coming by touch on / off  
Touch to touch type  
pattx_mode= 01, (x means 1 or 2)  
4 Refer to the chapter 8.2.11 ~ 8.2.18, Pattern sleep interrupt operation registers  
5
Refer to the chapter 8.2.11, Pattern sleep control register  
6
Refer to the chapter 8.2.11, Pattern sleep control register  
8/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
- Expiration time is available to control with pattx_expire_time7 register. (See Register  
Description)  
- Pattern sequence number is available to control with pattx_num8 register. (See Register  
Description)  
- It is possible to recognize one pad from 1, 2, 3 or 4 pad. If user set the pattx_pairn9(n  
means 1 or 2, to make two pairs) with the value 1100, the pad 4 and pad 3 are regard to one  
pad.  
- User defined pattern sequence  
The interrupt generation is done by the OR operation between pattxa_datan10(n means 1 to 15)  
and pattxb_datan(n means 1 to 15) in the slide type and the interrupt generation is done by  
the only pattxa_datan(n means 1 to 15) in the touch to touch type. The pattern is available to  
extend up to 15 steps.  
- Application support idea  
With our unique sleep pattern set up, it allows mobile phones, MP3 players and other devices to  
be in IDLE mode and then back to active mode using just a few easy steps. A mobile phone,  
for example, normally will be in left unattended in our pockets, tables, etc. Using our set up,  
mobile phones will automatically be in Idle mode without pressing any special keys. Sleep time  
(length of time before it goes to sleep) will vary depending on the time you input in the system.  
This will help prevent unnecessary dialed numbers or unwanted calls. Our sleep pattern set up  
will eliminate the use of special keys (e.g unlock key button) and instead it uses a touch sensors  
to activate and unlock the phone.  
6.5 RST implementation  
The AGS04 has stable internal reset circuit to offer reset pulse to digital block. The supply  
voltage for a system start or restart should be under 1.2V. No external components required for  
AGS04 power reset, that helps simple circuit design and to realize the low cost application.  
6.6 SCL, SDA implementation  
SCL is I2C clock input and SDA is I2C data input-output. SCL has Schmitt trigger input structure  
to prevent clock signal from being broken. Maximum supported I2C clock frequency is 1MHz.  
SDA has NMOS open drain. So, according to communication speed a few kΩ resister must be  
used as pull-up resister for proper data pulse rising time. For more details refer to Chapter 7.  
I2C Interface.  
7
Refer to the chapter 8.2.13, Pattern sleep expiration counter register.  
8
Refer to the chapter 8.2.14, Pattern sleep sequence number.  
9
Refer to the chapter 8.2.11, 8.2.12, Pattern sleep channel pair1, pair2.  
10  
Refer to the chapter 8.2.17, 8.2.18, Pattern sleep data A, B.  
9/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
7 I2C Interface  
7.1 I2C Enable / Disable  
If the SDA or SCL signal goes to low, I2C control block is enabled automatically. And if the SDA  
and SCL signal maintain high during about 2us, I2C control block is disabled automatically also.  
7.2 Start & stop condition  
Start Condition (S)  
Stop Condition (P)  
Repeated Start (Sr)  
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.  
10/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
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.  
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. The initial chip  
address of AGS04 is D4hex number. If user uses 7-bit slave address protocol, use 6Afor  
AGS04 chip address.  
7.6.2 R/W  
The direction of data is decided by the bit and it follows the address data.  
MSB  
LSB  
R/W  
Address  
7 bit  
1bit  
11/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
7.7 Transferring data  
7.7.1 Write operation  
The byte sequence is as follows:  
1. The first byte gives the device address plus the direction bit (R/W = 0).  
2. The second byte contains the internal address of the first register to be accessed.  
3. The next byte is written in the internal register. Following bytes are written in successive  
internal registers.  
4. The transfer lasts until stop conditions are encountered.  
5. The AGS04 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  
12/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
7.8 I2C write and read operations in normal mode  
The following figure represents the I2C normal mode write and read registers.  
Write register 0x01 to 0x02 with data AA and BB  
Device  
Address 0xD4  
Register  
Address 0x01  
Start  
ACK  
ACK  
Data AA  
ACK  
Data BB  
ACK  
Stop  
Read register 0x01 and 0x02  
Device  
Register  
Start  
ACK  
ACK  
ACK  
Stop  
Address 0xD4  
Address 0x01  
Device  
Start  
ACK  
Data Read AA  
Data Read BB  
Stop  
ACK  
Address 0xD5  
From Slave to Master  
From Master to Slave  
13/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8 AGS04 Control Register List  
Note: The unused bits (defined as reserved) in I2C registers must be kept to zero.  
8.1 I2C Register Map  
Reset  
Bit name of each bytes  
Addr.  
Name  
Value  
(Bin)  
(Hex)  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
output  
00H  
01H  
read only  
---- 1111  
-
-
-
-
o_ch4  
o_ch3  
o_ch2  
o_ch1  
ch_enable  
global_ctrl1  
ch4_en  
reseponse_ctrl  
-
ch3_en  
ch2_en  
clk_off  
ch1_en  
sw_rst  
int_sel  
02H -100 1100  
--10 --00  
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
mode_sel  
-
cal_pause  
interrupt mode 03H  
sen_ctrl  
-
int_mode  
sensitivity1  
sensitivity1  
sensitivity3  
sensitivity4  
sen_limit1  
sen_limit2  
sen_limit3  
sen_limit4  
cal. speed  
04H -000 1001  
05H -000 1001  
06H -000 1001  
07H -000 1001  
08H --11 1111  
09H --11 1111  
0AH --11 1111  
0BH --11 1111  
0CH -010 -011  
sensitivity1  
sensitivity2  
sensitivity3  
sensitivity4  
-
-
-
-
sen_limit1  
sen_limit2  
sen_limit3  
sen_limit4  
cal_speed_up  
-
-
cal_speed_down  
dum_cal_speed_down  
exp_mode  
dmCal. speed 0DH -010 -011  
out expiration 0EH --00 0000  
dum_cal_speed_up  
-
exp_time  
exp_en  
variable fduty1 10H -100 -100  
variable fduty2 11H -100 -100  
variable fduty3 12H -100 -100  
variable fduty4 13H -100 -100  
variable fduty5 14H -100 -100  
variable fduty6 15H -100 -100  
dummy_fduty1  
dummy_fduty2  
dummy_fduty3  
dummy_fduty4  
dummy_fduty5  
dummy_fduty6  
-
-
-
-
-
-
-
sense_fduty1  
sense_fduty2  
sense_fduty3  
sense_fduty4  
sense_fduty5  
sense_fduty6  
variable period 16H  
---0 1001  
-
var_period  
patt1_mode  
pattern ctrl  
pattern cnt1  
pattern cnt2  
1AH -000 0000  
1BH 0000 0000  
1CH 0000 0000  
patt1_mode  
patt1_en  
patt1_en  
patt2_inner_time  
patt2_expire_time  
patt2_num  
patt1_inner_time  
patt1_expire_time  
patt1_num  
pattern num. 1DH 0000 0000  
pattern pair1  
pattern pair2  
patt A data1  
patt A data2  
patt A data3  
patt A data4  
patt A data5  
patt A data6  
patt A data7  
patt A data8  
patt A data9  
1EH 0000 0000  
1FH 0000 0000  
20H 0000 0000  
21H 0000 0000  
22H 0000 0000  
23H 0000 0000  
24H 0000 0000  
25H 0000 0000  
26H 0000 0000  
27H 0000 0000  
28H 0000 0000  
patt2_pair1  
patt1_pair1  
patt2_pair2  
patt1_pair2  
patt2a_data1  
patt2a_data2  
patt2a_data3  
patt2a_data4  
patt2a_data5  
patt2a_data6  
patt2a_data7  
patt2a_data8  
patt2a_data9  
patt2a_data10  
patt2a_data11  
patt2a_data12  
patt2a_data13  
patt2a_data14  
patt2a_data15  
patt1a_data1  
patt1a_data2  
patt1a_data3  
patt1a_data4  
patt1a_data5  
patt1a_data6  
patt1a_data7  
patt1a_data8  
patt1a_data9  
patt1a_data10  
patt1a_data11  
patt1a_data12  
patt1a_data13  
patt1a_data14  
patt1a_data15  
patt A data10 29H 0000 0000  
patt A data11 2AH 0000 0000  
patt A data12 2BH 0000 0000  
patt A data13 2CH 0000 0000  
patt A data14 2DH 0000 0000  
patt A data15 2EH 0000 0000  
14/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
Reset  
Bit name of each bytes  
Addr.  
Name  
Value  
(Hex)  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
(Bin)  
patt B data1  
patt B data2  
patt B data3  
patt B data4  
patt B data5  
patt B data6  
patt B data7  
patt B data8  
patt B data9  
30H 0000 0000  
31H 0000 0000  
32H 0000 0000  
33H 0000 0000  
34H 0000 0000  
35H 0000 0000  
36H 0000 0000  
37H 0000 0000  
38H 0000 0000  
patt2b_data1  
patt1b_data1  
patt2b_data2  
patt2b_data3  
patt2b_data4  
patt2b_data5  
patt2b_data6  
patt2b_data7  
patt2b_data8  
patt2b_data9  
patt2b_data10  
patt2b_data11  
patt2b_data12  
patt2b_data13  
patt2b_data14  
patt2b_data15  
patt1b_data2  
patt1b_data3  
patt1b_data4  
patt1b_data5  
patt1b_data6  
patt1b_data7  
patt1b_data8  
patt1b_data9  
patt1b_data10  
patt1b_data11  
patt1b_data12  
patt1b_data13  
patt1b_data14  
patt1b_data15  
patt B data10 39H 0000 0000  
patt B data11 3AH 0000 0000  
patt B data12 3BH 0000 0000  
patt B data13 3CH 0000 0000  
patt B data14 3DH 0000 0000  
patt B data15 3EH 0000 0000  
read CH head 40H  
read only  
-
-
-
-
-
-
ch_head  
ref_data[13:8]  
sen_H  
sen_L  
41H  
42H  
43H  
44H  
45H  
read only  
read only  
read only  
read only  
read only  
ref_data[7:0]  
sense_data[14:8]  
sense_data[7:0]  
ref_H  
-
-
ref_L  
read CH tail  
-
ch_tail  
15/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2 Details  
8.2.1 Output data  
Type: R  
Address  
00H  
Register Name  
output  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
-
-
o_ch4  
o_ch3  
o_ch2  
o_ch1  
Description  
The output data register from channel 1 to channel 4.  
Bit name  
Reset value  
Function  
o_chx is output bit for CSx channel  
0 : No touch detected  
o_chx  
0
1 : Touch detected  
8.2.2 Channel enable / reset register  
Type: R/W  
Address  
01H  
Register Name  
ch_enable  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
-
-
ch4_en  
ch3_en  
ch2_en  
ch1_en  
Description  
Enable, disable and reset of each channel control register.  
Bit name  
Reset value  
Function  
Channel enable / disable and Channel reset (chx_en is control bit for CSx channel)  
0 : Channel disable and sensing channel reset  
1 : Channel enable  
chx_en  
1
16/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.3 Global option control register 1  
Type: R/W  
Address  
03h  
Register Name  
global_ctrl1  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
mode_sel  
cal_pause  
response_ctrl  
clk_off  
sw_rst  
Description  
This register controls the global options of AGS04  
Bit name  
sw_rst  
Reset value  
Function  
Software reset control bit.  
0
0 : Not reset  
1 : Reset  
System clock off control bit.  
0 : Not clock off  
clk_off  
0
011  
0
1 : Clock off  
Numbers of continuous touch detections for touch decision.  
Response ctrl[2:0] + 1 (Maximum time : 7)  
response_ctrl  
cal_pause  
Holding calibration for a while after touch off (about 200ms).  
0 : Holding calibration disable  
1 : Holding calibration enable  
Single/Multi output operation mode selection bit.  
0 : Single output mode  
mode_sel  
1
1 : Multi output mode  
8.2.4 Interrupt mode  
Type: R/W  
Address  
03h  
Register Name  
interrupt mode  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
sen_ctrl  
-
-
int_mode  
int_sel  
Description  
Using this register, select the interrupt mode between normal interrupt mode and pattern interrupt mode, And  
this register controls sense frequency speed.  
Bit name  
Reset value  
Function  
Select interrupt operation mode  
0 : Normal operation mode  
int_sel  
0
1 : Pattern Sleep operation mode  
Interrupt output shape selection.  
int_mode  
sen_ctrl  
0
0 : Pulse mode (Interrupt mode A)  
1 : Level mode (Interrupt mode B)  
Sense frequency speed selection  
00 : Fastest  
01 : Fast  
10  
10 : Normal  
11 : Slow  
17/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.5 Sensitivity  
Type: R/W  
Address  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
Sensitivity1 ~  
sensitivity4  
-
sensitivity1 ~ sensitivity4  
04H~07H  
Description  
AGS04 can control the sensitivities of all channels independently.  
Bit name  
Reset value  
Function  
sensitivity1 ~  
sensitivity4  
Sensitivities of each channel.  
Sensitivity of CSx channel: {(sensitivityx[6:0] * 0.1) + 0.05} (%)  
0001001  
8.2.6 Sensitivity Limit  
Type: R/W  
Address  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
sen_limit1 ~  
sen_limit4  
-
-
sen_limit1 ~ sen_limit4  
08H~0BH  
Description  
AGS04 can control the sensitivity limit of all channels independently. The output data can be appeared when  
the touch sensitivity is in between sensitivity and sensitivity limit. It is possible to make removing mal-function  
in strong noisy environment.  
Bit name  
Reset value  
Function  
sen_limit1 ~  
sen_limit4  
Sensitivity limit of each channel.  
111111  
Sensitivity limit of CSx channel: {(sen_limitx[5:0] * 0.2) + 0.15} (%)  
18/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.7 Calibration speed control register of sense channel  
Type: R/W  
Address  
0CH  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
cal_speed_up  
-
cal_speed_down  
cal. speed  
Description  
Calibration speed of sense channels can be controlled by this cal. speedregister. And if any calibration control  
bits are set by 111, the reference sense percent is updated immediately with the present sense percent.  
Bit name  
Reset value  
Function  
Down calibration speed of sense channels.  
000 : Fastest  
001 : Faster  
010 : Fast  
100 : Slow  
101 : Slower  
110 : Slowest  
cal_speed_down  
011  
011 : Normal  
111 : ref. percent present percent  
Down calibration speed of sense channels.  
000 : Fastest  
001 : Faster  
010 : Fast  
100 : Slow  
101 : Slower  
110 : Slowest  
cal_speed_down  
010  
011 : Normal  
111 : ref. percent present percent  
8.2.8 Calibration speed control register of dummy channel  
Type: R/W  
Address  
0DH  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
dum_cal_speed_up  
-
dum_cal_speed_down  
dmCal. speed  
Description  
Calibration speed of dummy channel can be controlled by this dmCal. speedregister. And if any calibration  
control bits are set by 111, the reference dummy count is updated immediately with the present dummy count.  
Bit name  
Reset value  
Function  
Down calibration speed of dummy channel.  
000 : Fastest  
001 : Faster  
010 : Fast  
100 : Slow  
101 : Slower  
110 : Slowest  
dum_cal_speed_down  
011  
011 : Normal  
111 : ref. count present count  
Down calibration speed of dummy channel.  
000 : Fastest  
001 : Faster  
010 : Fast  
100 : Slow  
101 : Slower  
110 : Slowest  
dum_cal_speed_down  
010  
011 : Normal  
111 : ref. count present count  
19/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.9 Out Expiration  
Type: R/W  
Address  
0EH  
Register Name  
out expiration  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
exp_time  
exp_mode  
exp_en  
Description  
This register controls expiration mode option of AGS04.  
Bit name  
Reset value  
Function  
Output expiration enable control bit.  
exp_en  
0
0 : Dont use output expiration  
1 : Use output expiration  
Output expiration time count mode selection bit.  
exp_mode  
exp_time  
0
0 : Expiration time counter is reset when any touch output is not appeared.  
1 : Expiration time counter is reset when any output state is changed.  
Output expiration Time control.  
exp_time[3:0] x 4 ( seconds)  
0000  
8.2.10 Variable period  
Type: R/W  
Address  
16H  
Register Name  
variable period  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
-
var_period  
Description  
This register controls the sensing burst period.  
Bit name  
Reset value  
Function  
Controls the sensing burst period  
var_period  
01001  
{(var_period[4:0] * 3.2) + 11.2} (ms)  
20/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.11 Pattern sleep control register  
Type: R/W  
Address  
1AH  
Register Name  
pattern ctrl  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_mode  
patt2_en  
-
patt1_mode  
patt1_en  
-
Description  
This register controls the enable, disable and mode of pattern sleep. And AGS04 provides 2 pattern sleep.  
Bit name  
Reset value  
Function  
Enable pattern 1 sleep interrupt operation.  
patt1_en  
0
0 : Disable  
1 : Enable  
Controls pattern 1 sleep interrupt mode.  
00 : Slide type  
patt1_mode  
patt2_en  
00  
0
01 : Touch to touch type  
Enable pattern 2 sleep interrupt operation.  
0 : Disable  
1 : Enable  
Controls pattern 2 sleep interrupt mode.  
00 : Slide type  
patt2_mode  
00  
01 : Touch to touch type  
8.2.12 Pattern sleep inner counter register  
Type: R/W  
Address  
1BH  
Register Name  
pattern cnt1  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_inner_time  
patt1_inner_time  
Description  
This register controls the waiting time for coming next matched output data. If mismatched output data  
appeared within waiting time or the time is to be same with the set value of pattx_inner_time, the pattern  
sequence is expired and initialized the whole sequence factors. And this registers is valid for touch to touch  
mode pattern sleep.  
Bit name  
Reset value  
Function  
Controls waiting time for next matched output data.  
pattx_inner_time[3:0] * 40ms(1 sensing burst period)  
patt1_inner_time  
0000  
Controls waiting time for next matched output data.  
pattx_inner_time[3:0] * 40ms(1 sensing burst period)  
patt2_inner_time  
0000  
21/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.13 Pattern sleep expiration counter register  
Type: R  
Address  
1CH  
Register Name  
pattern cnt2  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_expire_time  
patt1_expire_time  
Description  
This register controls the maximum time for finishing pattern sleep sequence. Pattern sleep sequence must be  
done within the time of pattx_expire_time. If pattern sleep sequence is not done, the pattern sequence is  
expired and initialized the whole sequence factors.  
Bit name  
Reset value  
Function  
Controls total time for pattern sleep sequence.  
patt1_expire_time  
0000  
pattx_expire_time[3:0] * 320ms(8 sensing burst period)  
Controls total time for pattern sleep sequence.  
patt2_expire_time  
0000  
pattx_expire_time[3:0] * 320ms(8 sensing burst period)  
8.2.14 Pattern sleep sequence number  
Type: R  
Address  
1DH  
Register Name  
pattern num  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_num  
patt1_num  
Description  
This register controls the pattern sleep sequence number.  
Bit name  
Reset value  
Function  
Controls pattern sequence number  
patt1_num[3:0]  
patt1_num  
0000  
Controls pattern sequence number  
patt2_num[3:0]  
patt2_num  
0000  
22/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.15 Pattern sleep channel pair 1  
Type: R/W  
Address  
1EH  
Register Name  
pattern pair1  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_pair1  
patt1_pair1  
Description  
This register controls channel pairs. If the registers set 1, set channels become one. If one of set channels is  
touched, it seems that all set channels are touched. For example, let the value of patt1_pair1” “1100. If the  
touch output data is 1000or 0100, the output data is regarded 1100in the pattern sleep operation. One  
more example, if the generated touch output data is 1010or 0110, that output data is regarded 1110in  
the pattern sleep operation.  
Bit name  
Reset value  
Function  
Controls channel pairs for pattern 1 sleep operation.  
patt1_pair1[3] : CS4  
patt1_pair1  
0000  
patt1_pair1[2] : CS3  
patt1_pair1[1] : CS2  
patt1_pair1[0] : CS1  
Controls channel pairs for pattern 2 sleep operation.  
patt2_pair1[3] : CS4  
patt2_pair1  
0000  
patt2_pair1[2] : CS3  
patt2_pair1[1] : CS2  
patt2_pair1[0] : CS1  
8.2.16 Pattern sleep channel pair 2  
Type: R/W  
Address  
1FH  
Register Name  
pattern pair2  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
patt2_pair2  
patt1_pair2  
Description  
Same as pattern sleep channel pair 1. This register is possible to make 2 of channel pair  
Bit name  
Reset value  
Function  
Controls channel pairs for pattern 1 sleep operation.  
patt1_pair2[3] : CS4  
patt1_pair2  
0000  
patt1_pair2[2] : CS3  
patt1_pair2[1] : CS2  
patt1_pair2[0] : CS1  
Controls channel pairs for pattern 2 sleep operation.  
patt2_pair2[3] : CS4  
patt2_pair2  
0000  
patt2_pair2[2] : CS3  
patt2_pair2[1] : CS2  
patt2_pair2[0] : CS1  
23/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.17 Pattern sleep data A  
Type: R/W  
Address  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
pattern A data1~  
pattern A data15  
patt2a_data1 ~  
patt2a_data15  
patt1a_data1 ~  
patt1a_data15  
20H ~ 2EH  
Description  
This register controls pattern sleep data. The pattern data is possible to extend up to 15.  
Bit name  
Reset value  
Function  
Controls pattern sleep data.  
patt1a_datax[3] : Output[3]  
patt1a_data1  
~ patt1a_data15  
0000  
patt1a_datax[2] : Output[2]  
patt1a_datax[1] : Output[1]  
patt1a_datax[0] : Output[0]  
Controls channel pairs for pattern 2 sleep operation.  
patt2a_datax[3] : Output[3]  
patt2a_data1  
~ patt2a_data15  
0000  
patt2a_datax[2] : Output[2]  
patt2a_datax[1] : Output[1]  
patt2a_datax[0] : Output[0]  
8.2.18 Pattern sleep data B  
Type: R/W  
Address  
Register Name  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
pattern B data1~  
pattern B data15  
patt2b_data1 ~  
patt2b_data15  
patt1b_data1 ~  
patt1b_data15  
30H ~ 3EH  
Description  
This register controls pattern sleep data. The pattern data is possible to extend up to 15.  
Bit name  
Reset value  
Function  
Controls pattern sleep data.  
patt1b_datax[3] : Output[3]  
patt1b_data1  
~ patt1b_data15  
0000  
patt1b_datax[2] : Output[2]  
patt1b_datax[1] : Output[1]  
patt1b_datax[0] : Output[0]  
Controls channel pairs for pattern 2 sleep operation.  
patt2b_datax[3] : Output[3]  
patt2b_data1  
~ patt2b_data15  
0000  
patt2b_datax[2] : Output[2]  
patt2b_datax[1] : Output[1]  
patt2b_datax[0] : Output[0]  
24/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
8.2.19 Count, percent read register  
Type: R  
Address  
40H  
Register Name  
read CH head  
sen_H  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
-
-
-
-
-
ch_head  
ref_data[13:8]  
ref_data[7:0]  
sense_data[14:8]  
sense_data[7:0]  
41H  
sen_L  
42H  
-
-
ref_H  
43H  
ref_L  
44H  
-
-
ch_tail  
read CH tail  
45H  
Description  
AGS04 provides the special function to read sense count/percent or reference count/percent.  
Bit name  
Reset value  
Function  
Read channel indication register.  
00001 : R.N.D channel  
00010 : CS1 channel  
ch_head  
Read only  
00100 : CS2 channel  
01000 : CS3 channel  
10000 : CS4 channel  
Reference data of R.N.D, sense channels.  
Reference count [13:8] at R.N.D channel.  
ref_data[13:8]  
ref_data[7:0]  
Read only  
Read only  
Read only  
Read only  
Reference percent [8] at sense channels, ignore ref_data[13:9].  
Reference data of R.N.D, sense channels.  
R.N.D reference count [7:0] at R.N.D channel.  
Sense reference percent [7:0] at sense channels.  
Present data of R.N.D, sense channels.  
sense_data[14:8]  
sense_data[7:0]  
R.N.D present count [13:8] at R.N.D channel, ignore sense_data[14].  
Sense present count [14:8] at sense channels. sense_data[14] is sign bit.  
Present data of R.N.D, sense channels.  
R.N.D present count [7:0] at R.N.D channel.  
Sense present count [7:0] at sense channels.  
Read channel indication register.  
00001 : R.N.D channel  
00010 : CS1 channel  
00100 : CS2 channel  
01000 : CS3 channel  
10000 : CS4 channel  
ch_tail  
Read only  
25/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
9 Recommended Circuit Diagram  
9.1 Application Example in clean power environment  
AGS04 Application Example Circuit (Clean power environment)  
The CS patterns also should be routed as short as possible and the width of line might be  
about 0.25mm (or narrower line).  
The capacitor that is between VDD and GND is an obligation. It should be located as close as  
possible from AGS04.  
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 AGS04 is reset when power rise from 0V to proper VDD  
The GND should be short in the system and the lines are recommended to be split from the  
most low impedance ground point to avoid ground bouncing problems.  
26/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
9.2 Application Example in noisy environment  
TS06 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.  
Thanks to the RRND, RS1, RS2, RS3, RS4, CCS00, CCS01, CCS02, CCS03, CCS04, CCS10,  
CCS11, CCS12, CCS13 and CCS14, the noise immunity could be improved.  
CCS00 ~ CCS14 is required to control the parasitic capacitance of each channels.  
The GND should be short in the system and the lines are recommended to be split from the  
most low impedance ground point to avoid ground bouncing problems  
27/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
9.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  
28/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
10 MECHANICAL DRAWING  
NOTE: Dimensions are in millimeters  
ADSemiconductor Confidential  
29/31  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
11 MARKING DESCRIPTION  
Device Code : AGS 4  
Channel Number  
Touch Switch Group  
Weekly Code : YY WW  
Manufacturing Year  
Manufacturing Week  
30/31  
ADSemiconductor Confidential  
ADSemiconductor®  
AGS04 (4-CH Differential Sensitivity Calibration Capacitive Touch Sensor)  
NOTES:  
LIFE SUPPORT POLICY  
AD SEMICONDUCTORS 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  
2006 ADSemiconductor All Rights Reserved  
www.adsemicon.com  
www.adsemicon.co.kr  
31/31  
ADSemiconductor Confidential  

相关型号:

AGS11151

Analog Circuit,
PANASONIC

AGS21131

Analog Circuit,
PANASONIC

AGS21151

Analog Circuit, CDSO10,
PANASONIC

AGS21331

Analog Circuit,
PANASONIC

AGS21351

Analog Circuit, CDSO10,
PANASONIC

AGS21631

Analog Circuit, CDSO10,
PANASONIC

AGS21651

Analog Circuit,
PANASONIC

AGS21831

Analog Circuit, CDSO10,
PANASONIC

AGS21851

Analog Circuit,
PANASONIC

AGS2520

Amplifier. Other
ETC

AGSC-2401BS

100/1000 Base T Gigabit Single Port LAN Filter Module
ALLIED

AGSC-2401CS

100/1000 Base T Gigabit Single Port LAN Filter Module
ALLIED