sx8638 Semtech Corporation, sx8638 Datasheet

no-image

sx8638

Manufacturer Part Number
sx8638
Description
Low Power, Capacitive Button And Slider Touch Controller 8 Sensors With Enhanced Led Drivers And Proximity
Manufacturer
Semtech Corporation
Datasheet
ADVANCED COMMUNICATIONS & SENSING
G
The SX8638 is an ultra low power, fully integrated 8-
channel solution for capacitive touch-buttons and
slider with proximity detection applications. Unlike
many capacitive touch solutions, the SX8638
features dedicated capacitive sense inputs (that
requires no external components) in addition to 8
general purpose I/O ports (GPIO). Each GPIO is
typically configured as LED driver with independent
PWM source for enhanced lighting control such as
intensity and fading.
The SX8638 includes a capacitive 10 bit ADC analog
interface with automatic compensation up to 100pF.
The high resolution capacitive sensing supports a
wide variety of touch pad sizes and shapes and
allows capacitive buttons to be created using thick
overlay materials (up to 5mm) for an extremely
robust and ESD immune system design.
The SX8638 incorporates a versatile firmware that
was specially designed to simplify capacitive touch
solution design and offers reduced time-to-market.
Integrated
provides the ultimate flexibility to modify key firmware
parameters (gain, threshold, scan period, auto offset
compensation… ) in the field without the need for
new firmware development.
The SX8638 supports the 400 kHz I²C serial bus
data protocol and includes a field programmable
slave address. The tiny 4mm x 4mm footprint makes
it an ideal solution for portable, battery powered
applications where power and density are at a
premium.
T
Revision 7_6, September 10
YPICAL
ENERAL
A
D
PPLICATION CIRCUIT
ESCRIPTION
multi-time
programmable
© 2010 Semtech Corp.
Low Power, Capacitive Button and Slider Touch Controller
memory
(8 sensors) with Enhanced LED Drivers and Proximity
1
K
A
O
1
* This device is RoHS/WEEE compliant and Halogen Free
SX8638I05AULTRT
3000 Units/reel
EY
PPLICATIONS
RDERING
Complete Eight Sensors Capacitive Touch Controller for
Buttons and Slider
Proximity Sensing up to several centimetres
High Resolution Capacitive Sensing
Extremely Low Power Optimized for Portable Application
Programmable Scanning Period from 15ms to 1500ms
Auto Offset Compensation
Multi-Time In-Field Programmable Firmware Parameters
for Ultimate Flexibility
"Smart" Wake-up Sequence for Easy Activation from Doze
No External Components per Sensor Input
Internal Clock Requires No External Components
Differential Sensor Sampling for Reduced EMI
400 KHz Fast-Mode I²C Interface with Interrupt
-40°C to +85°C Operation
Notebook/Netbook/Portable/Handheld computers
Cell phones, PDAs
Consumer Products, Instrumentation, Automotive
Mechanical Button Replacement
Part Number
P
Pre-configured for 2 Buttons and a Slider
8 LED Drivers with Individual Intensity, Fading Control
and Autolight Mode
256 steps PWM Linear and Logarithmic control
Up to 100pF of Offset Capacitance Compensation at
Full Sensitivity
Capable of Sensing through Overlay Materials up to
5mm thick
8uA (typ) in Sleep Mode
80uA (typ) in Doze Mode (Scanning Period 195ms)
175uA (typ) in Active Mode (Scanning Period 30ms)
Eliminates False Triggers due to Environmental
Factors (Temperature, Humidity)
Initiated on Power-up and Configurable Intervals
On-chip user programmable memory for fast, self
contained start-up
RODUCT
I
NFORMATION
F
1
EATURES
-40°C to +85°C Lead Free MLPQ-UT28
Temperature
Range
DATASHEET
www.semtech.com
Package
SX8638

Related parts for sx8638

sx8638 Summary of contents

Page 1

... ADVANCED COMMUNICATIONS & SENSING G D ENERAL ESCRIPTION The SX8638 is an ultra low power, fully integrated 8- channel solution for capacitive touch-buttons and slider with proximity detection applications. Unlike many capacitive touch solutions, the SX8638 features dedicated capacitive sense inputs (that requires no external components) in addition to 8 general purpose I/O ports (GPIO) ...

Page 2

... Software Reset 3.15 Interrupt 3.15.1 Power up 3.15.2 Assertion 3.15.3 Clearing Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Table of Contents ............................................................................................................ 1 ............................................................................................................... 4 ................................................................................................. 7 ........................................................................................................ 10 © 2010 Semtech Corp. 2 SX8638 DATASHEET ...

Page 3

... P I ACKAGING NFORMATION 9.1 Package Outline Drawing 9.2 Land Pattern Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity .............................................................................. 38 ...................................................................................................... 74 ........................................................................................................ 79 © 2010 Semtech Corp. 3 SX8638 DATASHEET ...

Page 4

... Pinout Diagram Figure 1 FN28 yyww xxxxx R05 yyww = Date Code xxxxx = Semtech lot number R05 = Semtech Code Marking Information Figure 2 © 2010 Semtech Corp. 4 DATASHEET 22 21 gnd 20 gpio5 19 gpio4 18 gpio3 17 gpio2 16 gnd 15 gpio1 14 www.semtech.com SX8638 ...

Page 5

... General Purpose Input/Output 7 Digital Core Decoupling, connect to a 100nF decoupling capacitor Ground Active Low Reset. Connect to VDD if not used. Analog Core Decoupling, connect to a 100nF decoupling capacitor Capacitive Sensor 0 Exposed pad connect to ground Pin description Table 1 © 2010 Semtech Corp. 5 SX8638 DATASHEET www.semtech.com ...

Page 6

... ADVANCED COMMUNICATIONS & SENSING 1.4 Simplified Block Diagram The simplified block diagram of the SX8638 is illustrated in Figure 3. Figure 3 1.5 Acronyms ASI Analog Sensor Interface DCV Digital Compensation Value GPI General Purpose Input GPO General Purpose Output GPP General Purpose PWM MTP Multiple Time Programmable ...

Page 7

... I2C interface (v) In the event the host processor is reset or undergoes a power OFF/ON cycle recommended that the host also resets the SX8638 and assures that parameters are re-written into the SPM (should these differ to the parameters held in NVM). 2.3 Thermal Characteristics ...

Page 8

... VDD and rising INTB type 0402, tolerance +/-50% vdig type 0402, tolerance +/-50% vana type 0402, COG, tolerance +/-5% int type 0402, tolerance +/-50% vdd Electrical Specifications Table 5 © 2010 Semtech Corp. 8 SX8638 DATASHEET Min. Typ. Max. 175 225 80 110 8 17 0.7*VDD VDD + 0.3V V VSS - 0.3V 0.8 ± ...

Page 9

... HIGH t SU;DAT t HD;DAT t SU;STA t HD;STA t SU;STO t BUF t SP I2C Timing Specification Table 6 I2C Start and Stop timing Figure 4 I2C Data timing Figure 5 © 2010 Semtech Corp. 9 SX8638 DATASHEET Min. Typ. Max. Unit 400 KHz 1.3 us 0.6 us 100 0.6 us 0.6 us 0.6 us 500 us 50 ...

Page 10

... The larger the charge on the sensors, the larger the number of ticks will be. The charge to ticks conversion is done by the SX8638 Analog Sensor Interface (ASI). The ticks are further processed by the SX8638 and converted in a high level, easy to use information for the user’s host. ...

Page 11

... Parameters The SX8638 has many low level built-in, fixed algorithms and procedures. To allow a lot of freedom for the user and adapt the SX8638 for different applications these algorithms and procedures can be configured with a large set of parameters which will be described in the following sections. Examples of parameters are which sensors are buttons or which sensors are parts of a slider, which GPIO is used for outputs or LEDs and which GPIO is mapped to which button ...

Page 12

... In most applications the reaction time needs to be fast when fingers are present, but can be slow when no person uses the application. In case the SX8638 is not used for a specific time it can go from Active mode into Doze mode and power will be saved. This time-out is determined by the Passive Timer which can be configured by the user or turned OFF if not required ...

Page 13

... For some applications a single button touch might cause undesired wakening up and Active mode would be entered too often. The SX8638 offers therefore a smart wake-up sequence feature in which the user needs to touch and release a correct sequence of buttons before Active mode will be entered. This is explained in more detail in the Wake-Up Sequence section ...

Page 14

... ADVANCED COMMUNICATIONS & SENSING 3.5 Sensors on the PCB The capacitive sensors are relatively simple copper areas on the PCB connected to the eight SX8638 capacitive sensor input pins (CAP0…CAP7).The sensors are covered by isolating overlay material (typically 1mm...3mm). The area of a sensor is typically one square centimeter which corresponds about to the area of a finger touching the overlay material ...

Page 15

... The interpolation can be done already on the PCB sensor structures (analog, like the chevron slider in Figure 10) and as well by SX8638 digital processing of the ticks using center of gravity calculations. The position of the finger on the PCB structures varies between the minimum zero and a user defined maximum (Figure 13) ...

Page 16

... A very slow moving finger will not be considered as a movement as the changing position will be minor. The SX8638 allows detecting a move low (direction max to min) (see Figure 14) and a move high (direction min to max) (see Figure 15). ...

Page 17

... The larger the number the cycles are repeated the larger the signal out of the ADC with improved SNR. The sensitivity is therefore directly related to the number of cycles. The SX8638 allows setting the sensitivity for each sensor individually in applications which have a variety of sensors sizes or different overlays or for fine-tuning performances. The optimal sensitivity is depending heavily on the final application ...

Page 18

... Once the correct compensation values are found these will be stored and used to compensate each CAP pin. If the SX8638 is shut down the compensation values will be lost next power-up the procedure starts all over again. This assures that the SX8638 will operate under any condition. Powering up at e.g. different temperatures will not change the performance of the SX8638 and the host does not have to do anything special ...

Page 19

... The default configuration parameters of the SX8638 are stored in the Quick Start Memory (QSM). This configuration data is setup to a very common application for the SX8638 with buttons and a slider. Without any programming or host interaction the SX8638 will startup in the Quick Start Application. ...

Page 20

... The content of the SPM remains valid as long as the SX8638 is powered and no reset is performed. After a power down or reset the host needs to re-write the SPM if relevant for the application. ...

Page 21

... The writing of the host towards the NVM is not done directly but done in 2 steps (Figure 20). In the first step the host writes to the SPM (as in Figure 19). In the second step the host signals the SX8638 to copy the SPM content into the NVM. ...

Page 22

... As soon as the INTB rises the SX8638 will be ready for I2C communication. 3.14.2 RESETB When RESETB is driven low the SX8638 will reset and start the power up sequence as soon as RESETB is driven high or pulled high. In case the user does not require a hardware reset control pin then the RESETB pin can be connected to VDD. ...

Page 23

... To perform a software reset the host needs to write 0xDE followed by 0x00 at the SoftReset register at address 0xB1. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Software Reset Figure 23 © 2010 Semtech Corp. 23 SX8638 DATASHEET www.semtech.com ...

Page 24

... During power up the INTB is kept low. Once the power up sequence is terminated the INTB is released autonomously. The SX8638 is then ready for operation. During the power on period the SX8638 stabilizes the internal regulators, RC clocks and the firmware initializes all registers. During the power up the SX8638 is not accessible and I2C communications are forbidden. ...

Page 25

... Example A typical example of the assertion and clearing of the INTB and the I2C communication is shown in Figure 25. When a button is touched the SX8638 will assert the interrupt (1). The host will read the IrqSrc information over the I2C and this clears the interrupt (2). If the finger releases the button the interrupt will be asserted (3). The host reading the IrqSrc information will clear the interrupt (4) ...

Page 26

... Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity GpioMode GpioPullUpDown GpioInterrupt GpioDebounce IrqSrc[4] GpiStat SPM/I2C Parameters Applicable in GPI Mode LED control in GPP mode Figure 28 © 2010 Semtech Corp. 26 SX8638 DATASHEET GPI www.semtech.com ...

Page 27

... Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity GpioMode GpioOutPwrUp GpioPolarity GpioIntensityOn GpioIntensityOff GpioFunction GppPinId GppIntensity SPM/I2C Parameters Applicable in GPP Mode Autolight ON (mapped to Button) © 2010 Semtech Corp. 27 DATASHEET GPP Autolight OFF www.semtech.com SX8638 ...

Page 28

... Please note that standard high/low logic signals are just a specific case of GPO mode and can also be generated simply by setting inc/dec time to 0 (ie OFF) and programming intensity OFF/ON to 0x00 and 0xFF. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity © 2010 Semtech Corp. 28 SX8638 DATASHEET www.semtech.com ...

Page 29

... Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity GpioMode GpioOutPwrUp GpioAutoligth GpioPolarity GpioIntensityOn GpioIntensityOff GpioFunction GpioIncFactor GpioDecFactor GpioIncTime GpioDecTime GpioOffDelay GpoCtrl SPM/I2C Parameters Applicable in GPO Mode © 2010 Semtech Corp. 29 DATASHEET GPO www.semtech.com SX8638 ...

Page 30

... Semtech Corp. 30 SX8638 DATASHEET Index Lin/Log Index Lin/Log Index 160 161/81 192 193/125 224 161 162/82 193 194/127 225 162 163/83 194 ...

Page 31

... ADVANCED COMMUNICATIONS & SENSING 3.17 Smart Wake Up The SX8638 offers a smart wake up mechanism ( keys) which allows waking-up from the Doze low power mode to the Active mode in a secure/controlled way and not by any unintentional sensor activation. Until the full correct wake-up sequence is entered, the SX8638 will remain in Doze mode. Any wrong key implies the whole sequence to be entered again ...

Page 32

... ADVANCED COMMUNICATIONS & SENSING DESCRIPTIONS 4.1 Introduction This chapter describes briefly the pins of the SX8638, the way the pins are protected, if the pins are analog, digital, require pull up or pull down resistors and show control signals if these are available. 4.2 ASI pins CAP0, CAP1, ..., CAP7 The capacitance sensor pins (CAP0, CAP1, ...

Page 33

... Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity SX8638 VANA CP VANA CN Simplified diagram of CN and CP Figure 36 VDD SX8638 R_INT INTB Simplified diagram of INTB Figure 37 © 2010 Semtech Corp. 33 SX8638 DATASHEET ASI INT www.semtech.com ...

Page 34

... Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity VDD SX8638 SCL Simplified diagram of SCL Figure 38 VDD SX8638 SDA Simplified diagram of SDA Figure 39 © 2010 Semtech Corp. 34 SX8638 DATASHEET SCL_IN SDA_IN SDA_OUT www.semtech.com ...

Page 35

... Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity VDD SX8638 RESETB Simplified diagram of RESETB controlled by host VDD SX8638 RESETB Simplified diagram of RESETB without host control © 2010 Semtech Corp. 35 SX8638 DATASHEET RESETB_IN RESETB_IN www.semtech.com ...

Page 36

... VDD has protection to GROUND. Figure 42 shows a simplified diagram of the VDD pin. GND The SX8638 has four ground pins all named GND. These pins and the package center pad need to be connected to ground potential. The GND has protection to VDD. Figure 43 shows a simplified diagram of the GND pin. ...

Page 37

... ADVANCED COMMUNICATIONS & SENSING VANA, VDIG The SX8638 has on-chip regulators for internal use (pins VANA and VDIG). VANA and VDIG have protection to VDD and to GND. The output of the regulators needs to be de-coupled with a small 100nF capacitor to ground. Figure 44 shows a simplified diagram of the VANA and VDIG pin. ...

Page 38

... C ETAILED ONFIGURATION DESCRIPTIONS 5.1 Introduction The SX8638 configuration parameters are taken from the QSM or the NVM and loaded into the SPM as explained in the chapter ‘functional description’. This chapter describes the details of the configuration parameters of the SX8638. . The SPM is split by functionality into 6 configuration sections: • ...

Page 39

... SldAvgThresh SldCompNegThresh SldCompNegCntMax SldMoveThresh Reserved Reserved MapWakeupSize MapWakeupValue0 MapWakeupValue1 MapWakeupValue2 MapAutoLight0 MapAutoLight1 MapAutoLight2 MapAutoLight3 MapAutoLightGrp0Msb MapAutoLightGrp0Lsb MapAutoLightGrp1Msb MapAutoLightGrp1Lsb MapSegmentHysteresis www.semtech.com SX8638 default QSM value 0x00 0x30 0x50 0x50 0x01 0x0A 0x00 0x00 0x00 0x03 0xFF 0x01 0x80 0x50 0x50 0x01 0x02 ...

Page 40

... SPM address map: 0x40…0x7F Table 13 © 2010 Semtech Corp. 40 SX8638 DATASHEET Name default QSM value GpioDecTime1_0 0x44 GpioOffDelay7_6 0x00 GpioOffDelay5_4 0x00 GpioOffDelay3_2 0x00 GpioOffDelay1_0 0x00 GpioPullUpDown7_4 0x00 ...

Page 41

... Doze Mode Scan Period (Figure 7) 0x00: Reserved 0x01: 15ms … 0x0D: 195ms (default) … 0xFF: 255 x 15ms Passive Timer on Button and Slider Information (Figure 8) 0x00: OFF (default) 0x01: 1 second … 0xFF: 255 seconds General Parameters Table 14 © 2010 Semtech Corp. 41 SX8638 DATASHEET www.semtech.com ...

Page 42

... CAP2 Touch Threshold CAP3 Touch Threshold CAP4 Touch Threshold CAP5 Touch Threshold CAP6 Touch Threshold CAP7 Touch Threshold Reserved Reserved Reserved Reserved © 2010 Semtech Corp. 42 SX8638 DATASHEET Defines the mode of Default Slider the CAP pin. Slider 00: Disabled 01: Button Slider 10: Slider Slider ...

Page 43

... CAP pin modes Table 16 Possible © 2010 Semtech Corp. 43 SX8638 DATASHEET Defines the periodic offset compensation. 0x0: OFF (default) 0x1: 1 second 0x2: 2 seconds … 0x7: 7 seconds 0x8: 16 seconds 0x9: 18 seconds … 0xE: 28 seconds ...

Page 44

... Crossing slider PCB sensors and CAP number is not allowed. Figure 48 shows a valid configuration and a wrong configuration where CAP5 andCAP6 are not routed correctly on the PCB. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Button examples Figure 46 © 2010 Semtech Corp. 44 SX8638 DATASHEET www.semtech.com ...

Page 45

... Enhanced LED Drivers and Proximity Approximate Maximum Tick Level (CapProxEnable = OFF) 1000 2000 3000 4000 5000 6000 7000 8000 ASI Maximum Tick Levels Table 17 © 2010 Semtech Corp. 45 SX8638 DATASHEET Approximate Maximum Tick Level (CapProxEnable = ON) 4000 8000 12000 16000 20000 24000 28000 32000 www.semtech.com ...

Page 46

... CapThresh0, CapThresh1, CapThresh2, CapThresh3, CapThresh4, CapThresh5, CapThresh6, CapThresh7: For each CAP pin a threshold level can be set individually. The threshold levels are used by the SX8638 for making touch and release decisions on e.g. touch or no- touch. The details are explained in the sections for buttons and slider. ...

Page 47

... Defines the button hysteresis corresponding to a percentage of the CAP thresholds (defined in Table 18). 0x00: 0% … 0x0A: 10% (default) … 0x64: 100% All buttons use the same hysteresis Defines the stuck at timeout. 0x00: OFF (default) © 2010 Semtech Corp. 47 SX8638 DATASHEET www.semtech.com ...

Page 48

... The release is detected immediately (BtnCfg [3:2] = 00) at the first sample which is below the threshold minus the hysteresis. BtnCfg The SX8638 can report all touches of multiple fingers or the SX8638 can be set to report only the first detected touch. In the later case all succeeding touches are ignored. The very first touch should be released before a next touch will be detected. ...

Page 49

... BtnAvgThresh. This mechanism avoids that a valid touch will be averaged and finally the tick difference becomes zero. In case three or more sensors reach the BtnAvgThresh value simultaneously then the SX8638 will start an offset compensation procedure. Small environmental and system noise cause the ticks to vary slowly around the zero idle mode value. ...

Page 50

... After the actual finger release the button can be touched again and will be reported as usual. In case the stuckat timer is not required it can be set to zero. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity © 2010 Semtech Corp. 50 SX8638 DATASHEET www.semtech.com ...

Page 51

... Reserved 0x01: 1 sample (default) … 0xFF: 255 samples Defines the threshold for detecting a move high or move low. The threshold is a percentage of the maximum slider position. 0x00: 0% … 0x02: 2% (default) © 2010 Semtech Corp. 51 SX8638 DATASHEET www.semtech.com ...

Page 52

... Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Description … 0x64: 100% A succeeding position difference, at the scan period, above the threshold is considered as a move high or move low. Slider Parameters Table 19 © 2010 Semtech Corp. 52 SX8638 DATASHEET www.semtech.com ...

Page 53

... N 1 ∑ ticks _ diff ) ( = i 0 the slider status is touched. Hysteresis − ∑ ticks _ SldNorm ∗ − ∑ ticks _ diff = i 0 Slider Position Figure 51 © 2010 Semtech Corp. 53 DATASHEET − i CapThresh ( i )) − diff ) ( i CapThresh ( i )) − CapThresh ( i )) www.semtech.com SX8638 ...

Page 54

... Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity SldNorm ( ) = × − © 2010 Semtech Corp. 54 SX8638 DATASHEET www.semtech.com ...

Page 55

... Defines Group0 sensor events: 0: OFF (default any of the enabled sensor events occurs the Group0 event will occur as well. All sensors events within the group can be independently set except slider event Segment which is exclusive (ie must be the only one enabled to be used) www.semtech.com SX8638 ...

Page 56

... This hysteresis applies to all segments of the slider. Mapping Parameters Table 20 © 2010 Semtech Corp. 56 DATASHEET Defines Group1 sensor events: 0: OFF (default any of the enabled sensor events occurs the Group0 event will occur as well. All sensors events within the group can be independently set. www.semtech.com SX8638 ...

Page 57

... Enhanced LED Drivers and Proximity (with Autolight ON) GPO ON Touch Touch Move High Move Low or Release Move Low Move High or Release Segment Touched Segment Released Autolight Mapping, Sensor Information © 2010 Semtech Corp. 57 SX8638 DATASHEET and the sensor information which GPO OFF Release Release www.semtech.com ...

Page 58

... GPIO[4] Output Polarity GPIO[3] Output Polarity GPIO[2] Output Polarity GPIO[1] Output Polarity GPIO[0] Output Polarity 7:0 ON Intensity Index © 2010 Semtech Corp. 58 SX8638 DATASHEET Defines the GPIO mode. 00: GPO (default) 01: GPP 10: GPI 11: Reserved Defines the values of GPO and GPP pins after power up ie default values of I2C parameters GpoCtrl and GppIntensity respectively ...

Page 59

... GPIO[4] Fading Decrement Factor GPIO[3] Fading Decrement Factor GPIO[2] Fading Decrement Factor GPIO[1] Fading Decrement Factor GPIO[0] Fading Decrement Factor 7:4 GPIO[7] Fading Increment Time © 2010 Semtech Corp. 59 SX8638 DATASHEET … 0xFF: 255 (default) Defines the OFF intensity index 0x00: 0 (default) 0x01: 1 … ...

Page 60

... GPIO[0] Pullup/down 7:6 GPI[7] Interrupt 5:4 GPI[6] Interrupt 3:2 GPI[5] Interrupt 1:0 GPI[4] Interrupt 7:6 GPI[3] Interrupt 5:4 GPI[2] Interrupt 3:2 GPI[1] Interrupt © 2010 Semtech Corp. 60 SX8638 DATASHEET 0x0: OFF (default) 0x1: 0.5ms 0x2: 1ms … 0xF: 7.5ms The total fading in time will be: GpioIncTime*GpioIncFactor* (GpioIntensityOn – GpioIntensityOff) Defines the fading decrement time ...

Page 61

... GPI[2] Debounce GPI[1] Debounce GPI[0] Debounce GPIO Parameters Table 22 GPI Applicable SPM/I2C Parameters vs. GPIO Mode © 2010 Semtech Corp. 61 SX8638 DATASHEET Enables the GPI debounce (done on 10 consecutive samples at 1ms OFF (default GPP GPO ...

Page 62

... After the start condition [S], the slave address (SA) is sent, followed by an eighth bit (‘0’) indicating a Write. The SX8638 then Acknowledges [A] that it is being addressed, and the Master sends an 8 bit Data Byte consisting of the SX8638 Register Address (RA). The Slave Acknowledges [A] and the master sends the appropriate 8 bit Data Byte (WD0) ...

Page 63

... The SX8638 responds with an Acknowledge [A] and the read Data byte (RD0). If the master needs to read more data it will acknowledge [A] and the SX8638 will send the next read byte (RD1). This sequence can be repeated until the master terminates with a NACK [N] followed by a stop [P]. ...

Page 64

... Reserved SpmKeyMsb read/write SpmkeyLsb read/write SoftReset read/write I2C Registers Overview Table 24 © 2010 Semtech Corp. 64 SX8638 DATASHEET Description Interrupt Source Slider/Button Status MSB Button Status LSB Slider Position MSB Slider Position LSB GPI Status SPM Status Compensation and Operating Mode ...

Page 65

... Buttons interrupt flag 1 Compensation interrupt flag 0 Operating Mode interrupt flag Interrupt Source Table 25 © 2010 Semtech Corp. 65 SX8638 DATASHEET Interrupt source flags 0: Inactive (default) 1: Active INTB goes low if any of these bits is set. More than one bit can be set. Reading IrqSrc clears it together with INTB ...

Page 66

... Shows the current (touched) or last (released) slider position[15:0] unsigned (default 0x00) Slider Position[7:0] Slider position MSB/LSB Table 27 Description Status of each individual GPI pin 0: Low GPI[7:0] 1: High Status Bits of non-GPI pins are set to 0. I2C GPI status Table 28 Description reserved © 2010 Semtech Corp. 66 SX8638 DATASHEET www.semtech.com ...

Page 67

... Once – NVM is used if NvmValid = 1, else QSM. NvmCount 2: Twice – NVM is used if NvmValid = 1, else QSM. 3: Three times – NVM is used if NvmValid = 1, else QSM. 4: More than three times – QSM is used I2C SPM status Table 29 © 2010 Semtech Corp. 67 SX8638 DATASHEET www.semtech.com ...

Page 68

... I2C compensation, operation modes Bits Description Triggers ON/OFF state of GPOs when Autolight is OFF 0: OFF ( IntensityOff) 7:0 GpoCtrl[7: ( IntensityOn) Default is set by SPM parameter GpioOutPwrUp Bits of non-GPO pins are ignored. I2C GPO Control Table 31 © 2010 Semtech Corp. 68 SX8638 DATASHEET www.semtech.com ...

Page 69

... Reading returns the intensity index of the GPP pin selected in GppPinId. Default value is IntensityOn or IntensityOff depending on GpioOutPwrUp. I2C GPP Intensity Table 33 Description Writing 0xDE followed by 0x00 will reset the chip. Soft Reset Table 34 I2C © 2010 Semtech Corp. 69 SX8638 DATASHEET www.semtech.com ...

Page 70

... ADVANCED COMMUNICATIONS & SENSING 6.6 SPM Gateway Registers The SX8638 I2C interface offers two registers for exchanging the SPM data with the host. • SpmCfg • SpmBaseAddr Address Name 0x0D SpmCfg Address Name 0x0E SpmBaseAddr The exchange of data, read and write, between the host and the SPM is always done in bursts of eight bytes. ...

Page 71

... IrqSrc[5] set. In Sleep mode the SPM write can be actually applied with a delay of 30ms. The host clears the interrupt and IrqSrc[5] by reading the IrqSrc register. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Figure 54: SPM Write Sequence © 2010 Semtech Corp. 71 SX8638 DATASHEET www.semtech.com ...

Page 72

... The complete SPM can be read by repeating 16 times the cycles shown in Figure 55 using base addresses 0x00, 0x08, 0x10, …, 0x70, 0x78. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Figure 55: SPM Read Sequence © 2010 Semtech Corp. 72 SX8638 DATASHEET www.semtech.com ...

Page 73

... Figure 56 shows the simplified diagram of the NVM counter. The SX8638 is delivered with empty NVM and NvmCount set to zero. The SPM points to the QSM. Each NVM burn will increase the NvmCount. At the fourth NVM burn the SX8638 switches definitely to the QSM. The burning of the SPM into the NVM is done by executing a special sequence of four I2C commands. ...

Page 74

... ADVANCED COMMUNICATIONS & SENSING PPLICATION NFORMATION 7.1 Typical Application Schematic Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Typical Application Figure 58 © 2010 Semtech Corp. 74 SX8638 DATASHEET www.semtech.com ...

Page 75

... Enhanced LED Drivers and Proximity Module Overview Figure 59 Touch+Proximity 3. Button touch => Orange LED turned ON (blue+orange = pink) Module Operation Figure 60 Touch+Proximity © 2010 Semtech Corp. 75 DATASHEET 4. Button release 5. Finger removed => Orange LED turned => No proximity detected OFF => Blue LEDs turned OFF www.semtech.com SX8638 ...

Page 76

... Table 39 Proximity Sensing Distance of Detection 7.2.4 Schematics Figure 61 Touch+Proximity Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Distance of Detection Palm Module Schematics © 2010 Semtech Corp. 76 SX8638 DATASHEET ~10cm ~6cm ~4cm www.semtech.com ...

Page 77

... Figure 64 Touch+Proximity Figure 65 Touch+Proximity Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity Module Layout - Top Module Layout - Mid1 Module Layout - Mid2 Module Layout - Bottom © 2010 Semtech Corp. 77 SX8638 DATASHEET www.semtech.com ...

Page 78

... ADVANCED COMMUNICATIONS & SENSING 8 R EFERENCES [1] Capacitive Touch Sensing Layout guidelines on www.semtech.com Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity © 2010 Semtech Corp. 78 SX8638 DATASHEET www.semtech.com ...

Page 79

... P I ACKAGING NFORMATION 9.1 Package Outline Drawing SX8638 is assembled in a MLPQ-UT28 package as shown in Figure 66. 9.2 Land Pattern The land pattern of MLPQ-UT28 package shown in Figure 67. Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity ...

Page 80

... Advanced Communications and Sensing Products Division 200 Flynn Road, Camarillo, CA 93012 Phone: (805) 498-2111 Fax: (805) 498-3804 Revision 7_6, September 10 Low Power, Capacitive Button and Slider Touch Controller (8 sensors) with Enhanced LED Drivers and Proximity © 2010 Semtech Corp. 80 SX8638 DATASHEET www.semtech.com ...

Related keywords