OneTouch SO340010-16QFN Configurable Capacitive Sensing IC
FEATURES
Configurable High-Performance Capacitive Sensing
•••••••••
ptSynaSuperior Development Support
•Sensitivity Tuning Wizard: Automatic touch •••••
sensitivity tuning for all capacitive sensorsIn-field reconfigurability (including sensitivity)DesignSAFE™: Design validation during development and production
ProductionSAFE Wizard: Set production limits to ensure high-yield manufacturability
OTLib™: Platform independent reference driverProduction test reference code and documentation
P/N: 505-000040-01
ics NE-DSHA CINonEfiApplications
Unique LED Lighting Effects
Precise Control of LEDs
•Brightness/intensity of each LED•Color and hue (RGB LEDs)
•Matched brightness across LED binsAnimation
•Transition Effects: Selectable on/off fade patterns•Device Status Effects: Ability to blink, pulse, heartbeat, and so forth, without host intervention•Dynamic Effects: LED tracking finger movement, power up and down animation, and so forth.
•••••••
Mobile Phones and other Handheld DevicesPortable Media Players (MP3, Video/Photo)Digital Still and Video Cameras
LCD Monitor and Flat-Panel Display ControlsKeyboards and MiceRemote Controls
GPS Navigation Systems
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dent1 of 38
•
Light-Emitting Diodes (LEDs) controlsSuperior immunity to Electro-Magnetic Interference (EMI) and Power Supply Rejection (PSR)
Dependable touch detection through 2–4mm plastic
Superior behavior in the presence of moistureEfficient and simple I2C host interface (400 kbps)•Bandwidth conservation features•Low host memory requirement2.6V to 5.0V supply voltage
Compatible with 1.8V signaling for I²CLow operating current
•Active mode: 60µA (typical)•Sleep mode: 6µA
Thin 16-pin Quad Flat No-Lead (QFN) package (3 mm ×3 mm ×0.6 mm)
Green and RoHS compliant (Pb-Free)Ultra-low component count•No external voltage regulator
•No external reference or tuning components•No external crystal or oscillator components•No resistors required for LED
•No resistors required for mechanical switches
ial•Four capacitive buttons
•Four General Purpose Input Output (GPIO)/
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
GENERAL DESCRIPTION
Synaptics OneTouch SO340010
The Synaptics OneTouch™ SO340010 capacitive sensing chip offers advanced touch sensing capabilities for compact designs with selection controls.
Up to four capacitive buttons and four individually controlled LEDs (or four mechanical switches/digital outputs) can be supported in a single design.
Capacitive buttons can be implemented in various shapes and sizes.
The SO340010 is capable of sensing through plastic, Polyethylene Terephthalate (PET), glass, mylar, and other materials.
The chip is designed to perform well in the presence of EMI, for easy design and integration into complex products such as mobile telephones. It also offers superior performance in the presence of moisture, a critical requirement for many applications.
The SO340010 is available in a thin 16-pin 3mm×3mm × 0.6 mm QFN green (RoHS
compliant, Pb-free) package. It operates from a 2.6V to 5.0V supply, with an operating current of 60µA typical (800µA finger present) falling to 6µA in low-power Sleep mode. It requires no external
voltage regulator, no external components for tuning or calibration, and no external oscillator.
Synaptics OneTouch Development Kit
The SynapticsOneTouch Studio™ GUI-based design and development tool guides users through the design process, providing access to design checks and validation methods that have been proven by Synaptics’ experience manufacturing millions of capacitive interface modules. The Sensitivity Tuning Wizard, DesignSAFE, and the Production Wizard metrics validate the system design to ensure high-yield manufacturability.
The Synaptics OneTouch Development Kit also provides tools to help with the development of hardware and software. The OneTouch Design
Formulae offer step-by-step directions for designing various categories (based on size, material, and sensor type) of capacitive interfaces. The
Design Formula Reference Designs are based on Synaptics’ experience building reliable capacitive interface solutions in high volumes for a variety ofapplications.
Each LED can be controlled independently, offering many interesting industrial design options and usability enhancements. LEDs can be used to indicate button activation or to highlight specific functions such as soft controls. Lighting effects are an excellent way to differentiate a product with a very small amount of code and minimal power consumption.
2 of 38
SynaThe chip features a standard I²C serial
communications interface that allows the host to configure it and to read sensor information in real-time through easy register access.
ptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dentialP/N: 505-000040-01
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
PIN DESCRIPTION
Table 1. Pin description
Pin
FunctionDescription
1ATTNAttention Output
2GPIO3General Purpose I/O 3 or LED 33GPIO2General Purpose I/O 2 or LED 24GPIO1General Purpose I/O 1 or LED 15GPIO0General Purpose I/O 0 or LED 06SHLDSensor Shield Output
7S0SensorPin0
8S1SensorPin1
la9S2SensorPin2
it10S3Sensor Pin 3n11XGNDExternal Capacitor
e12XCAPExternal 1 µF Capacitor to XGNDd13VDDPower Supply
if14DNCDo Not Connect
n15SDAI²C Data Input/Output
o16SCL
I²C Clock Input
Note:Die attach on bottom of package must be
C Econnected to ground.
ADNINH sSc-iEtpanySP/N: 505-000040-01
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
3 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Sensor Pins (S0 – S3)
The SO340010 supports four capacitive buttons. Each capacitive button requires one sensor pin. The SO340010 has four capacitive sensor pins on two sides of the chip. Choose the pins which provide the optimum routing for the Printed Circuit Board (PCB) traces. This will reduce PCB size and stackup.
Unused Sensor Pins
Do not connect unused sensor pins.
SynaSensor Shield Pin
The Sensor Shield (SHLD) pin is connected to conductive material (usually a copper layer in the PCB) that shields the capacitive sensors from each other and from outside interference.For instructions on using the Sensor Shield pin, refer the appropriate Design Formula.
4 of 38
ptics NE-DSHA CINonEfiFigure 1. Sensor pins used for buttons
Figure 2. Unused sensor pins must be left unconnected
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
dentialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
General-Purpose I/O Pins (GPIO0 – GPIO3)
Each GPIO pin can be configured either as a digital General-Purpose Input (GPI) or as a digital General-Purpose Output (GPO).
GPIs allow mechanical switches and other digital signals to be connected to the SO340010. Each GPI can be configured either as a high-impedance input or as an input with an internal pullup resistor. In Figure 3, GPIO1 is configured as a GPI with internal pullup; it reads high when the mechanical switch is open and low when the mechanical switch is closed.General-Purpose Outputs
GPOs can be configured as a standard digital outputs or as Current-Controlled GPOs with LED effects. When configured as a standard output (Current-Control disabled), GPOs can control various digital circuits to operate in the push-pull or open-drain fashion. Current-Controlled GPOs are used to drive LEDs and have numerous advantages. In Figure 3, GPIO3 is configured as a Current Controlled GPO; the LED connected to GPIO3 can be driven without an external resistor.
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiGeneral-Purpose Inputs
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deFigure 3. Example GPIO connections
nt5 of 38
ialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Current-Controlled GPOs
The SO340010’s Current-Controlled GPOs provide superior performance compared to controlling LEDs using regular digital outputs. Current-Controlled GPOs have the following advantages:
Least number of components necessaryLow supply voltage
Matched brightness in all LEDs
Constant brightness across varying LED supply voltages.
Current-Controlled GPOs do not require external current-controlled resistors.The SO340010 can drive blue LEDs at 3.3V supply. Current-Controlled GPOs can sink up to 14 mA at a very low VOL (0.2V).
Current-Controlled GPOs use true current control technology so that LEDs can have matching currents for matching brightness.
Current-Controlled GPOs ensure constant brightness as the LED supply drops, in applications where LEDs are directly connected to battery supply voltage.
Unused GPIO Pins
Unused GPIO pins should be configured as high-impedance inputs and be externally tied to ground. If unused GPIO pins cannot be connected to ground (perhaps due to PCB layout considerations), they can be configured as low-driving outputs and left unconnected. In Figure 3, GPIO2 is unused so it is configured as
high-impedance inputs and is connected to ground. GPIO0 is also unused; it is configured as a low-driving output and left unconnected.
6 of 38
Synaptics NE-DSHA CINonEfi•Animation
•Transition Effects: Selectable on/off fade patterns for LED on and off.
•Device Status Effects: Ability to blink, pulse, heartbeat, and so forth without host intervention.•Dynamic Effects: LED tracking finger movement, power up and down animation, and so forth.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dentCurrent-Controlled GPOs can be combined with LED effects to provide:
iaP/N: 505-000040-01
LED Effects
lSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
I²C Interface Pins (SDA, SCL, ATTN)The SO340010 communicates with a host processor via the industry-standard I²C protocol; it is compatible with both 100kbps Standard mode and 400kbps Fast mode. The SO340010 always operates as an I²C slavedevice.
The I²C interface uses three pins:
•SCL (Serial Clock) is an input that utilizes clock stretching.
•SDA (Serial Data) is bidirectional. It is an input while receiving data from the host processor and an open-drain output while transmitting data to the host processor.
•ATTN (Attention) is an open-drain output. When enabled, it signals the host when the SO340010 has new data to report.
P/N: 505-000040-01
SynaptFigure 4. I²C interface between the host processor and the SO340010
ics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dent7 of 38
iaAn external pullup resistor must be provided on the SCL and SDA lines, and on the ATTN line if ATTN is enabled. The resistor can be internal to the host chip; it does not need to be an external component.
lSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Power Supply Pins (VDD, XCAP, XGND)
Connecting the VDD Pin
The VDD pin must be connected to the power supply through a 22Ω resistor, and to ground through a 1µF bypass capacitor. The external capacitor, whose value must be 1µF, is connected between the XCAP and XGND pins.
For specific information on layout, routing, and component selection, refer to the appropriate Design Formula.
Connecting the QFN Center Pad
The QFN center pad (Pin 17) should be connected to the GND of the PCB. Pin 11 (XGND), used to connect the GND of an external 1 µF capacitor, should not be connected to either the GND of the PCB or the center pad of the QFN. In Figure 6, the SO340010 chip is correctly connected to the GND connections.
Synapt8 of 38
ics NE-DSHA CINonEfiFigure 5. SO340010 power supply pinsFigure 6. QFN Center Pad Connection
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deP/N: 505-000040-01
ntialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
LOW-POWER SLEEP MODE
To reduce power consumption, the host may place the SO340010 into a low-power Sleep mode. In Sleep mode, capacitive sensing is disabled; all buttons will report a “not touched” state. GPI pins can be disabled as well, for the lowest possible power consumption, or they can be left enabled. The I²C interface remains active in Sleep mode.
laitnedifnoC AEDNINH sSc-iEtpanySP/N: 505-000040-01
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
9 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
ELECTRICAL CHARACTERISTICS
Table 2. Electrical Characteristics
Characteristic
Parameter
Supply Voltage: 2.6V to 3.3VMin60% of VDD (VDD <3.0V)
2.0
80% of VDD (VDD ≥ 3.0V)
20%of VDD
0.8
VmV100.011.86.31.0
kΩkΩkΩµAV
0.4
100
VµAV
Typ
Max
Supply Voltage: 4.5V to 5.0VMin
Typ
Max
Unit
VIH
Input High Voltage
Digital Inputs• GPI• SCL• SDA
VIL
Input Low VoltageVHY HysteresisRPU GPI Pullup resistor (GPIO0/1)RPU GPI Pullup resistor (GPIO2)RPU GPI Pullup resistor (GPIO3)ILEAKAGE
Leakage Current
VOH
Output High Voltage
(Push-Pull GPO at 100 µA)
Digital Outputs• ATTN• GPO• SCL• SDA
VOL
Output Low Voltage
3.99.01.0
IOH
Output Source Current
(Push-Pull GPO, VPIN > VDD - 0.4V)IOL
Output Sink Current(VPIN < 0.5V)VDD
VDD Rise Rateics NE-DSHA CINonEfi0.4
100
5.0
VDD-0.4
dent3.1VDD-0.4
6.0
4.5 ± 10%601.290159
6.916.9ia5.633.8135.025.0l200200mA
5.0 ± 10%100(VDD must notexceed 5.5V)
2.0
VV/smV
2.6 ± 3%603.3 ± 10%Power
Voltage Ripple Peak-to-Peak
100(VDD must notfall below 2.5V)
1.5
SynaIActiveF(1,3,4)Active Current (finger present or timer running)
pt0.8mA
Icc
Supply Current
IActiveNF(1,2,3)
Active Current (no finger present)ISleepGPI(1,2,3)
Sleep Current (GPI Attention = 1)ISleepNoGPI(1,2,3)
Sleep Current (GPI Attention = 0)
60106
100169
1502013.5
µAµAµA
Note 1: Values were taken under the following measurement conditions: room temperature (25 °C), I2C pullup voltage (VIO) = VDD, all sensor
electrodes enabled, no I2C communication between host and the SO340010, and no LEDs enabled. Values represent average current. Maximum current depends on application-specific parameters, such as sensor substrate (type and thickness) and sensor electrode area.
Note 2: During I2C communication between the host and the SO340010, Icc increases temporarily up to IActiveF. In addition, if a spurious start
condition exists on the I2C bus, such as when the host powers down the I2C lines, Icc increases temporarily up to the IActiveF for up to 2 seconds. After this time expires, Icc falls to its original condition of IActiveNF, ISleepGPI, or ISleepNoGPI.
Note 3: When Current-Controlled GPOs are enabled and LEDs are illuminated, Icc increases up to IActiveF plus 500 µA plus 240 µA per enabled LED. For example, when three LEDs are enabled, the typical Icc increase is: [Icc = IActiveF + 500 µA + (3 × 240 µA)].Note 4: When the timer is running, Icc increases to IActiveF.
10 of 38
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
CURRENT-CONTROLLED GPOS
The following table shows the specifications of the LED driver and control circuits.
Table 3. LED driver characteristics
Parameter
LED Driver Current
Pin-to-Pin LED current matchingChip-to-Chip LED current matching LED Driver Dropout Compliance VoltageMAX LED Driver Current1
IOLLEDILEDTOTALSymbolILED
Min0.00——0.2—
Typ14————
Max16.82±10±20VDD
UnitmA%%VmA
Table4 and Figure 7 show the current output with respect to the “LED Brightness” setting.
Table 4. LED Brightness setting
Brightness
01234567ILED (mA)0.000.050.080.140.240.350.510.70ics NE-DSHA CINonEfiBrightness
89ILED (mA)0.921.191.782.11Brightness
1617deILED (mA)3.714.264.705.255.806.467.017.64Note:The cathode of the LED must be connected to the GPIO pin; its anode can be connected to VDD, or
VLED, a dedicated power for LEDs. VLED should not be more than a diode drop (0.7V) above VDD. If this restriction is not followed, the current through the LED will not be well controlled.
ntNote 1: Maximum amount of driver current that the LEDs can consume. The total combined maximum current of all the LEDs in your design will not exceed this limit.
ialBrightness
242526272829303167.3
ILED (mA)8.309.189.8410.7211.3812.2613.1414.0210111.46181912201314152.442.833.27212223ILED (mA)Syna1514131211109876543210012345678910111213141516171819202122232425262728293031BrightnessnP/N: 505-000040-01
ptFigure 7. ILED (mA) versus LED Brightness settingCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
11 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
I²C HOST INTERFACE
The SO340010 chip supports the I²C serial interface protocol. During data transmission, the SO340010 utilizes clock stretching as specified by the I²C specification. The SO340010 is always a slave device on the I²C bus; it communicates only when the host processor addresses it.The SO340010’s 7-bit I²C slave address is 0x2C.
Table 5. I2C Slave Address
7-Bit I²C Slave Address0x2C (binary 010 1100)
8-Bit I²C Read Command0x59 (binary 0101 1001)
8-Bit I²C Write Command0x58 (binary 0101 1000)
On reset, all Configuration Registers default to 0x0000 (all sensors disabled). After a reset, the host must initialize these registers.
Note:Some Configuration Register bits are marked “Reserved.” It is safe to write 0 to any of these bits.
Donotwrite 1 to these bits; unpredictable operation will result.
Data Registers
Data Registers report the state of the sensors and GPIO pins. These are read-only registers.The ATTN pin, if enabled, signals the host that fresh data is available in the Data Registers.Note:The Data Registers cannot be read until the Data Enable bit (bit 2 of Register 0x0000) is set to 1.
Writing 0x0001 to the Reset Register resets the SO340010. This register is write-only.
Note:Do not write any value except 0x0001 to the Reset Register; unpredictable operation will result.
12 of 38
SynaReset Register
ptics NE-DSHA CINonEfiConfiguration Registers control the configuration and operation of the SO340010. These registers are readable and writable by the host.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deConfiguration Registers
ntThe interface to the SO340010 is through a number of 16-bit registers. Some registers control the configuration of the chip; others report data from the capacitive sensors and GPIOs. The SO340010 can be resetby writing to a special Reset Register.
ialP/N: 505-000040-01
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Register Write
The process for writing to the SO340010 over the I²C bus is shown in Figure 8.
First, the host transmits the 7-bit I²C slave address followed by the R/W bit cleared to 0 (write). Next, the host transmits a 16-bit register address, followed by one or more 16-bit values to be written to the SO340010 starting at that address. The host generates a Stop condition to end the transaction.
Every valid Write transaction includes an even number of bytes after the I²C slave address header (2 register address bytes plus 2n data bytes). Each 16-bit value (address or data) is transferred Most-Significant-Byte (MSB) first.
The process for reading from the SO340010 over the I²C bus is shown in Figure 9.
First, the host sets the Read Address (the address of the first register to be read); it transmits the 7-bit I²C slave address followed by the R/W bit cleared to 0 (write), then transmits the 16-bit Read Address, MSB first.Once the Read Address has been set, the host can read registers starting at that address; it generates either a repeated Start condition or a Stop condition followed by a Start condition, then transmits the 7-bit I²C slave address followed by the R/W bit set to 1 (read). The host then reads as many registers as desired, one byte at a time; each 16-bit register’s contents are read MSB first. The host ACKs every received byte except the final one, which it NAKs to signal that the Read transaction is complete. After the NAK, the host generates a Stop condition to end the transaction.
The Read Address remains unchanged until the host either performs a Write transaction or sets a new Read Address, so a set of registers may be read repeatedly without the necessity for any intervening address-setting transactions. Typically, the host will write to the SO340010 Configuration Registers after power-up, then set the Read Address to the start of the Data Registers (address 0x0108), then execute only Read transactions from that point onward.
Note:If a Read transaction is attempted before the Read Address has been set (for example, immediately
after reset), the SO340010 will NAK.
SynaptP/N: 505-000040-01
ics NE-DSHA CINonEfiFigure 9. Register Read
Register Read
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deFigure 8. Register Write
nt13 of 38
ialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Host Application Flow
The typical flow for most host applications is as follows (see Figure 10 and Figure 11):
1.Power up. Wait for the SO340010’s ATTN pin to assert; if the host cannot monitor ATTN, wait 50 ms.2.Initialize the SO340010 by downloading application-specific values to the Configuration
Registers (Registers 0x0000 through 0x0013). Note that the Data Enable bit (Register 0x0000 bit 2) must be set to 1. Also, if the ATTN pin is connected to the host, the Attention mode bits (Register 0x0000 bits 0 and 1) should be set to 11. For more information, see “Interface Control Register 0x0000” on page20.
S
Slave AddressWrite Register 0x0000 MSBWrite Register 0x0001 MSB
0
SASASA
0x00 (MSB of 0x0000)Write Register 0x0000 LSBWrite Register 0x0001 LSB
SASASA
0x00 (LSB of 0x0000)
SA
3.Set the Read Address to the start of the Data Registers (Register 0x0108):
S
Slave Address
0
SA
0x01 (MSB of 0x0108)
SA
0x08 (LSB of 0x0108)
SA
P
4.If the SO340010’s ATTN pin is connected to an interrupt pin on the host, first make sure the ATTN pin is deasserted by performing a “dummy” read:
S
Slave Address
1
SA
(ATTN deasserts at this point and will not re-assert during this transaction)Read Register 0x0108 LSB
MN
P
Read Register 0x0108 MSB
5.Enable the interrupt on the host.
6.Wait for the ATTN pin to assert, then read the Data Registers (see Figure 11):S
SynaSlave Address
ptRead Register 0x0108 MSBRead Register 0x0109 MSB
7.Process the data from the SO340010, then loop back to Step 6.
14 of 38
ics NE-DSHA CINonEfiMA1
SAMAMA
Read Register 0x0108 LSBRead Register 0x0109 LSB
MAMN
P
Write Register 0x0025 MSBSAWrite Register 0x0025 LSBSA
(ATTN deasserts at this point and will not re-assert during this transaction)
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deP
P/N: 505-000040-01
.... Write Registers 0x0002 through 0x0024....
ntialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Host Application Flow (After Reset)
In the unlikely event that the SO340010 suffers a spontaneous reset (because of power supply brownout, forexample, or insufficient Electrostatic Discharge (ESD) protection in the circuit), a typical flow is asfollows:
1.The SO340010 drives the ATTN pin low.2.The host attempts to read the Data Registers in response to the Attention signal.3.The SO340010 NAKs when addressed, indicating that it has been reset.
4.The host re-initializes the SO340010 by downloading application-specific values to the Configuration
Registers. For more information, see “Host Application Flow” on page14.Refer to the appropriate Design Formula for ESD protection recommendations. Refer to the Synaptics One-Touch PortingGuide and the Synaptics OneTouch Reference Driver for detailed examples of host source code.
Synapt
P/N: 505-000040-01
ics NE-DSHA CINonEfiFigure 10. Typical power-on sequenceFigure 11. Reading from Data Registers
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
15 of 38
dentialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
I²C Timing Specifications
Table 6. I2C Timing Specifications
ParameterfSCLt1t2t3t4t5t6t7t8tRtFtcs-firstAcktcs-interbytetAH
Limit4001.30.61.33000.61000.60.630030052550
UnitkHz maxµs minµs minµs minns minµs minns minµs minµs minns maxns maxms
DescriptionClock frequency
Bus free time between stop and start conditionsStart condition hold time
Clock low period between 10% pointsData hold time
Clock high period between 90% points
Start condition setup timeStop condition setup time
Clock/data fall time
Synapt16 of 38
ics NE-DSHA CINonEfiFirstAck clock stretch
µs
Interbyte clock stretch
ms
Maximum ATTN high after resetFigure 12. I²C Detailed Timing Diagram
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deClock/data rise time (dependent upon bus capacitance and external pullup resistor value)
ntiaP/N: 505-000040-01
lData setup time
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
laitnFigure 13. FirstAck Clock Stretch Timing Diagram
edifnoC AEDNINH sSc-iEtpanyFigure 14. Interbyte Clock Stretch Timing Diagram
SP/N: 505-000040-01
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
17 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
I²C Interface Troubleshooting
Table 7. I2C Troubleshooting
Problem
Possible Solution
ReferencePage20Page20Page7Page20Page21Page21
SO340010 does not ACK reads of the Data
Ensure that Data Enable (Register 0x0000 bit 2) is set to 1.
Registers.
ATTN asserts, but does not deassert when Ensure that Attention mode (Register 0x0000 bits 0 and 1) is set to 11.the Data Registers are readEnsure that a pullup resistor is connected to the ATTN pin.Ensure that Attention mode (Register 0x0000 bits 0 and 1) is set to 11.
ATTN never asserts.Ensure that Sleep (Register 0x0001 bit 7) is cleared to 0.Ensure that GPI Attention (Register 0x0001 bit 6) is set correctly.
18 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
deUnused GPIO pins oscillate and assert ATTN.Ensure that unused GPIO pins are either configured as inputs and externally tied to
Page5
GND, or configured as low-driving outputs.
ntData Registers always read 0x0000.Ensure that a pullup resistor is connected to the SDA pin.
iaEnsure that Button, and GPIO Configuration Registers are set correctly.
lPages 22–24Page7
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
REGISTER DESCRIPTION
Configuration Registers
Register Name
Interface ConfigurationGeneral ConfigurationButton EnableGPIO ControlSensor Pin 1/0 SensitivitySensor Pin 3/2 SensitivityButton-to-GPIO MappingTimer ControlLED EnableLED Effect PeriodLED ControlLED Control
AddrDirBit 15Bit 14Bit 13
0x0000R/W0x0001R/W0x0004R/W0x000ER/W0x0010R/W0x0011R/W0x001ER/W0x001FR/W0x0022R/W0x0023R/W0x0024R/W0x0025R/W
Effect1Effect3BtnOutModeTimer ModeReservedReservedBit 12Bit 11Bit 10
ReservedBit 9Bit 8Bit 7
SleepBit 6
GPI AttnBit 5Bit 4Bit 3
Button UsageBtnEn3Data 3Sensitivity S0Sensitivity S2
Bit 2
Data EnBit 1Bit 0
Attention modeReservedReserved
Dir 3Sensitivity S1Sensitivity S3MapToDirTimer EnablePeriodABrightness1Brightness3ReservedReserved
Effect0Effect2
ReservedCompareDir 2Dir 1Dir 0ReservedReservedBtnEn2BtnEn1BtnEn0Data 2Data 1Data 0MapnLEDEn3LEDEn2LEDEn1LEDE0
iaBit 5
Bit 4
CountlPeriodBBrightness0Brightness2
Note 1:On reset, all Configuration Registers default to 0x0000.
Note 2:Bits marked “Reserved” must not be written to 1; they can be written to 0.
Data Registers
Register Name
GPIO StateButton StateTimer StatePressure Values 1/0Pressure Values 3/20x01080x01090x010B0x010C0x010DRRRRRMatchFresh
AddrDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9
Reservedics NE-DSHA CINonEfiBit 8
Bit 7
deBit 6
ntBit 3
GPIO3Btn 3Pressure 0Pressure 2Bit 2
GPIO2Btn 2Bit 1
GPIO1Btn 1Bit 0
GPIO0Btn 0Reserved
RunReservedPressure 1
Pressure 3Note:Data Registers are readable only after Data Enable (bit 2 of Register 0x0000) is set to 1.
Reset Register
Register Name
Reset
0x0300
W
AddrDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Note 2:After writing to the Reset Register, wait for ATTN to assert before addressing the SO340010 again. If not monitoring ATTN, wait at least 250 ms.Note 3:After a reset, the SO340010 will NAK all Read transactions until the Read Address has
been set.
P/N: 505-000040-01
SynaNote 1:Do not write any value except 0x0001 to the Reset Register; unpredictable operation will result.
ptWrite 0x0001 to reset the SO340010.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
19 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Interface Control
Configures the host interface.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0000
R/W
Register 0x0000
Bit 9
Reserved
Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2
Data En
Bit 1Bit 0
Attention mode
Bits 15:3. Reserved. Must be 0.
Bit 2. Data Enable. Resets to 0 (disabled).
0 = The Data Registers at addresses 0x0108 and 0x0109 are disabled. In this state, the SO340010 will NAK any attempt to read the Data Registers. The Data Enable bit does not affect the operation of the Attention signal.
Bits 1:0. Attention mode. Resets to 00 (disabled, always drives low).
00 = The ATTN pin is disabled and drives low.01 = The ATTN pin is disabled and is high-impedance.10 = Reserved.
11 = The ATTN pin is enabled. The ATTN pin is an open-drain output; it’s normally high-impedance, but drives low when sensors or GPIs have fresh data. The ATTN pin resets to high-impedance when the host reads any Data Register.
Note:The host will normally set Data Enable to 1 and Attention mode to 11. In the unlikely event that the
SO340010 suffers a spontaneous reset (because of power supply brownout, for example, or insufficient ESD protection in the circuit), the host will recognize the event because Data Enable and Attention mode will revertto 0; ATTN will drive low, and when the host attempts to read a Data Register in response to that Attention signal, the SO340010 will NAK. At that point, the host will typically react to the reset by re-initializing the SO340010. Refer to the appropriate “Design Formula” for ESD protection recommendations.
20 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deP/N: 505-000040-01
ntia1 = The Data Registers are enabled.
lSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
General Configuration
Configures various overall settings.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0001
R/W
Reserved
Register 0x0001
Bit 9
Bit 8
Bit 7
Sleep
Bit 6
GPI Attn
Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Button UsageReserved
Bits 15:8. Reserved. Must be 0.
Bit 7. Sleep. Resets to 0 (Sleep mode disabled).
0 = The capacitive sensors operate normally.
1 = The capacitive sensors are disabled to reduce power consumption. All button sensors report the “not touched” condition regardless of any finger presence. If GPI Attention Enable is set to 1, changes on GPI pins will be reflected in the GPIO State Register (and will signal Attention if Attention mode is set to 11); if GPI Attention Enable is cleared to 0, changes on GPI pins are ignored while in Sleep mode.
0 = Changes on GPI pins do not set the GPIO Fresh Data bit or signal Attention.
1 = Changes on GPI pins set the GPIO Fresh Data bit and (if Attention mode = 11) signal Attention.Bits 5:4. Button Usage. Resets to 00 (unrestricted buttons).
00 = Unrestricted Buttons mode. The user can touch the buttons in any combination, and every touched button’s Btnn bit (in the Button State Register) will be set to 1.01 = Reserved.
10 = Strongest Button Only mode. The user is expected to touch only one button at a time. If multiple buttons are touched, only the Btnn bit corresponding to the button with the strongest finger signal will be set to 1.
11 = First Button Only mode. The user is expected to touch only one button at a time. When a button is touched, its Btnn bit will be set to 1. Until that button is released, no other Btnn bits will be set even if additional buttons are touched.Bits 3:0. Reserved. Must be 0.
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deBit 6. GPI Attention Enable. Resets to 0 (GPIs do not set the GPIO Fresh Data bit or signal Attention).
ntial21 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Button Enable
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0004
R/W
Register 0x0004
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
BtnEn3
Enables capacitive button sensors and defines which sensor pin is assigned to each button.
Bit 2
BtnEn2
Bit 1
BtnEn1
Bit 0
BtnEn0
Reserved
Bits 15:4. Reserved. Must be 0.
Bits 3:0. Button Enable. BtnEnn enables Sensor Pin Sn as a capacitive button. Resets to 0 (no sensor pins enabled as capacitive buttons).
0 = The sensor pin is not enabled as a capacitive button.1 = The sensor pin is enabled as a capacitive button.
22 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
dentialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
GPIO Control
Controls the GPIO pins.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x000ER/W
Reserved
Dir3
Dir2
Register 0x000E
Bit 9
Dir1
Bit 8
Dir0
Bit 7Bit 6Bit 5Bit 4Bit 3
Data3
Bit 2
Data2
Bit 1
Data1
Bit 0
Data0
Reserved
Bits 15:12. Reserved. Must be 0.
Bits 11:8. GPIO Direction bit for each GPIO pin. Dirn controls the input/output direction of the GPIOn pin. Resets to 0 (input).
0 = The GPIO pin is an input (GPI).
THe Dirn bit is ignored for any pins configured for LED control (see “LED Control Registers 0x0024 and 0x0025” on page29).Bits 7:4. Reserved. Must be 0.
Bits 3:0. GPIO Data bit for each GPIO pin. Resets to 0.
1 = The GPIO pin is an output (GPO).
For digital outputs (Dirn = 1 and LEDEnn = 0), Datan controls the voltage driven by the GPIOn pin:
0 = Drive the pin low (to GND).1 = Drive the pin high (to VDD).For Current-Controlled outputs (LEDEnn = 1), Datan controls the LED:
0 = Generate LED “off effect.”1 = Generate LED “on effect.”
See “LED Control Registers 0x0024 and 0x0025” on page29.
Note 1:The GPIO pin configuration is updated at the same rate as the capacitive sensors are sampled (80 Hz
typical). Therefore, there may be a slight delay (up to 1/80 second, or 12.5 ms) before changes to the GPIO Control Register are reflected in the actual configuration of the GPIOn pins.Note 2:If GPI Attention Enable is set in the General Configuration Register (see “General Configuration
Register 0x0001” on page21) changes in GPI state will set the GPIO Fresh Data bit (see “GPIO State Register 0x0108” on page30) and assert ATTN.P/N: 505-000040-01
SynaOn reset, all GPIO pins default to high-impedance inputs. For applications which leave any GPIO pins unused, refer to the important guidelines in “Unused Sensor Pins” on page4.
ptFor inputs (Dirn = 0), Datan enables a weak internal pullup resistor on the GPIOn pin:
0 = The pin is a high-impedance input.
1 = The pin is an input with a weak internal pullup resistor to VDD.
ics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dential23 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Sensor Pin Sensitivity
These registers control the sensitivity of each sensor pin.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x00100x0011
R/WR/W
Sensitivity S1Sensitivity S3
Registers 0x0010 and 0x0011
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Sensitivity S0Sensitivity S2
Bits 15:8 and Bits 7:0 (Registers 0x0010 and 0x0011). Sensitivity of each sensor pin. Sensitivity Sn controls the sensitivity of Sensor Pin Sn. Resets to 0.
Each Sensitivity Sn value is an unsigned 8-bit value. In general, the value of Sensitivity Sn should be low for large sensor electrodes and thin facesheets; it will increase for thicker facesheets and smaller sensor electrodes. If a pin’s sensitivity is set too low, the SO340010 may not sense light touches on that pin’s button. If a pin’s sensitivity is set too high, the SO340010 may sense “hovering” fingers (fingers close to–but not touching–that pin’s button).
The Sensitivity Sn value is ignored for any disabled sensor pin.
24 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
deNote:Sensitivity values for each application are determined automatically by the Synaptics OneTouch
Studio Sensitivity Tuning Wizard.
ntialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Button-to-GPIO Mapping
Controls the mapping of capacitive buttons to the GPIO control bits.
AddressDirBit 15Bit 14Bit 13
0x001E
R/W
BtnOutMode
Register 0x001E
Bit 11Bit 10
Bit 9
Reserved
Bit 12
MapToDir
Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3
Mapn
Bit 2Bit 1Bit 0
Bits 15:13. Button Output Mode. This setting affects how the buttons, which are mapped to GPIO pins, change their states upon user interaction.
000 = Active High mode. The output assumes a High state whenever it is being touched and a Low state whenever it is not being touched.
101 = Radio Button Low mode. Similar to Radio Button High, except when touched, the state of a selected output with a GPIO associated with it changes to Low, while the state of all other button-mapped GPIO changes to High.110 = Reserved.111 = Reserved.
Bit 12. Map To Direction. Determined by the Button Output Mode bits and the history of user interaction, this bit selects how a button’s state affects the mapped GPIO pin’s behavior by overriding the settings in the GPIO Control register (0x000E).
0 = Button’s state overrides the mapped GPIO’s Data bit.1 = Button’s state overrides the mapped GPIO’s Direction bit.
Regardless of which of the two GPIO control bits is being overridden, the resulting Data and Direction bits determine the behavior of the GPIO pin the same way as it is explained for the GPIO Control register (0x000E).
Example 1: Active low “Totem Pole” button – BtnOutMode = 000, MapToDir = 0, Dirn = 1.Example 2: SPST button connected to GND – BtnOutMode = 001, MapToDir=1, Datan = 0.Bits 11:7. Reserved. Must be 0.
Bits 6:0. Mapn. Button-to-GPIO Mapping Enable.
0 = Capacitive button n is not mapped to any GPIO.1 = Capacitive button n is mapped to GPIOn.
P/N: 505-000040-01
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
25 of 38
SynaNote:If the mapped GPIO pin’s resulting direction is a 0, high-impedance output in the GPIO occurs. (See
Example 2 below as a possible application of the feature.) This bit is a common bit for all button-mapped GPIOs.
ptics NE-DSHA CINonEfi100 = Radio Button High mode. The set of all mapped GPIOs acts like a group of “radio buttons.” Only one GPIO may be in the High state at any time. When touched, the state of a GPIO associated with it changes to High, while the state of all other button-mapped GPIO changes to Low.
de011 = Toggle on Lift mode. The button alternates between the Low and High states each time the finger lifts off the button.
nt010 = Toggle on Touch mode. The output state alternates between the Low and High states each time the finger touches on the button.
ial001 = Active Low Mode. The output assumes a Low state whenever it is being touched and a High state whenever is not being touched.
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Timer Control
Controls the behavior of the timer.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x001F
R/W
Timer Mode
Reserved
Timer Enable
Reserved
Register 0x001F
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Compare
The timer is a 10-bit counter that increments at approximately 80 Hz. The timer can be used for finger-related or general-purpose time measurement and notification tasks. The counter's value, Count, and the status bits pertaining to the timer, are held in the “Timer State Register 0x010B” on page32.Bits 15:14. Timer Mode. Resets to 0.
01 = Reset on Read. Count wraps to 0 after 1023, but it also resets to 0 when the Timer State Register is read.
Bit 13. Reserved. Must be 0.
Bits 12:11. Timer Enable. Resets to 0.
00 = Disable counting.
01 = Enable counting. Count increments at approximately 80 Hz, unless the timer has stopped due to a match in Timer Mode = 11.
10 = Finger Timer. Counting is stopped while no fingers are present. When a finger touches any enabled button or strip, Count resets to 0. Then, the counting starts and continues until no fingers are present. Note:If Stop on Match is selected for Timer Mode, the match condition takes precedence, that is, the
timer stops if Count matches Compare even if a finger is present. The reappearance of the finger will not restart the timer.
Bits 10. Reserved. Must be 0.
Bits 9:0. Compare. Resets to 0. The Match bit is set when Count matches this value and Timer Mode = 10 or 11.
Note 1:Writing to this register clears Count to 0. This event also restarts the timer if it stopped in Stop on
Match mode.Note 2:A timer-match event in Timer Mode 10 or 11 sets the Fresh Data bit in the GPIO State Register.Note 3:While the timer is counting, the chip draws IActiveF current even while no finger is present (see
“Electrical Characteristics” on page10).
26 of 38
Syna11 = Reserved.
ptics NE-DSHA CINonEfi11 = Stop on Match. When Count matches Compare, the Match bit is set and the timer is stopped.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
de10 = Reset on Match. When Count matches Compare, the Match bit in the Timer State Register is set, and then Count resets to 0 in the next timer cycle.
ntial00 = Wrap. Count in the Timer State Register wraps to 0 after 1023.
P/N: 505-000040-01
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
LED Enable
Enables the LED control on selected GPIOs.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0022
R/W
Register 0x0022
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
ReservedLEDEn3LEDEn2LEDEn1LEDEn0
Enabling current control for driving an LED on GPIOn (LEDEnn=1) will cause the current flowing through the GPIO pin (to ground) to be regulated according to the corresponding Brightnessn and Effectn fields within the LED Control Registers (see page29). When current control on the GPIO is disabled, it behaves as a usual digital input or output, based on the settings in the GPIO Control Register (see page23).Bits 15:4. Reserved. Must be 0.
Example:
To initialize an LED connected to GPIO0:
Action
Enable Current Control
Set LED Brightness bit to 7 mASet LED effect to Ramp On/Off
To turn on an LED connected to GPIO0 and sink ~7 mA:
Action
Set GPIO Data to 1
ptSynaTo turn off an LED connected to GPIO0:
Action
Register Field
Dat0
Value0
Set GPIO Data to 0
P/N: 505-000040-01
ics NE-DSHA CINonEfiRegister FieldLEDEn0
Value1
Brightness0Effect0
22 (0x16)000 (0x0)
Register Field
Dat0
Value1
Enabling current control for driving an LED on GPIOn (LEDEnn=1) will cause the current flowing through the GPIO pin (to GND) to be regulated according to the corresponding Brightnessn field within the LED Control Register.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
de1 = LED ON (Current control is enabled).
nt27 of 38
0 = LED OFF (Current control is disabled).
iaBits 3:0. LEDEnn. To enable current control for driving an LED on GPIOn.
lSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
LED Effect Period
Controls the timing of LED effects.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0023
R/W
PeriodA
Register 0x0023
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PeriodB
Bits 15:8. Effect PeriodA. Ramp or hold time in units of approximately 1/80 second (12.5 ms). Resets to 0.Bits 7:0. Effect PeriodB. Ramp or hold time in units of approximately 1/80 second (12.5 ms). Resets to 0.
28 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
dentialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
LED ControlRegisters 0x0024 and 0x0025
Controls LED effect and LED brightness. Register 0x0024 controls GPIOs 0 and 1. Register 0x0025 controls GPIOs 2 and 3.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x00240x0025
R/WR/W
Effect1Effect3
Brightness1Brightness3
Bit 9Bit 8Bit 7Bit 6
Effect0Effect2
Bit 5Bit 4Bit 3Bit 2
Brightness0Brightness2
Bit 1Bit 0
Bits 15:13 and 7:5. On/Off effects for GPIO pins configured as Current-Controlled GPOs (see “LED Enable Register 0x0022” on page27).Effectn:
000 =ON: Ramp up to Brightness using PeriodA.
OFF: Ramp down to 0 using PeriodA.001 = Reserved
010 = ON: Ramp up to Brightness using PeriodA.
OFF: Instantly switch to 0.011 = Reserved
100 = ON: Instantly switch to Brightness. OFF: Ramp down to 0 using PeriodA.101 = Reserved
110 = ON: Continuous clipped-triangle wave; Ramp up to Brightnessn using PeriodA, hold for
PeriodB, ramp down to 0 using PeriodA, hold for PeriodB.
OFF: Instantly switch to 0.111 = ON: Continuous square-wave: Brightnessn for PeriodB, 0 for PeriodA. OFF: Instantly switch to 0.
Bits 12:8. Brightnessn
The LED “ON” intensity for GPIOn. Values are approximately linear in intensity as perceived by the human
eye (approximately exponential in current); see page 10 for details.
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dent29 of 38
ialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
GPIO State
Reports the state of the GPIO pins.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0108
R
Fresh
Register 0x0108
Bit 9
Reserved
Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3
GPIO3
Bit 2
GPIO2
Bit 1
GPIO1
Bit 0
GPIO0
Bit 15. Fresh Data. Set to 1 if any GPIO or any capacitive button has new data to report.
0 = Neither the GPIOs nor the capacitive buttons have new data (that is, they have not changed since the last time the Data Registers were read).
1 = The GPIOs and/or the capacitive buttons have new data to report.
0 = The pin is at a low voltage (close to GND).1 = The pin is at a high voltage (close to VDD).
Note 2:When configured as a Current-Controlled GPO, GPIO pins always report a level of 0.
30 of 38
Synaptics NE-DSHA CINonEfiNote 1:The GPIO pins are sampled at the same rate (80 Hz typical) as the capacitive sensors. Therefore,
there may be a slight delay (up to 1/80 second or 12.5 ms) before activity on the GPIO pins is reflected in the GPIO State Register.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dentP/N: 505-000040-01
Bits 3:0. GPIO level. GPIOn reports the voltage level on pin GPIOn.
ialBits 14:4. Reserved.
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Button State
Reports the state of the capacitive buttons.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0109
R
Register 0x0109
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Btn3
Bit 2
Btn2
Bit 1
Btn1
Bit 0
Btn0
Reserved
Bits 15:4. Reserved.
Bits 3:0. Button State. Btnn reports the state of Sensor Pin Sn if that pin is configured as a capacitive button.
0 = The sensor pin is not configured as a button, or the button is not being touched.1 = The sensor pin is enabled as a button and the button is being touched.
laitnedifnoC AEDNINH sSc-iEtpanySP/N: 505-000040-01
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
31 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Timer StateRegister 0x010B
Reports the 10-bit count value and the state of the timer that are configured through the “Timer Control Register 0x001F” on page26.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x010BRMatchRunReservedBit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
CountBit 15. Match.
Timer Mode is 00 or 01: This bit is never set.Timer Mode is 10 or 11:
0 = Count has not reached the Compare value in the Timer Control Register since this register was lastread.
0 = Timer is stopped.1 = Timer is counting.Bits 13:10. Reserved.
Bits 9:0. Count. The 10-bit timer value. Count is always cleared to 0 when the Timer Control Register is written.
Note 1:Reading this register automatically clears the Match bit.
Note 2:Writing to the Timer Control Register clears Count to 0. This event also restarts the timer, if it
stopped in Stop on Match mode.Note 3:A timer-match event in Timer Mode 10 or 11 will set the Fresh Data bit in the GPIO State Register.Note 4:While the timer is counting, the chip draws IActiveF current even while no finger is present (see
“Electrical Characteristics” on page10).
32 of 38
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deP/N: 505-000040-01
Bit 14. Run.
nt1 = Count has matched the Compare value since this register was last read.
ialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Button Pressure
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x010C0x010D
RR
Pressure 1Pressure 3
Registers 0x010C and 0x010D
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reports the approximate strength a finger is pushed against the capacitive buttons.
Pressure 0Pressure 2
These data registers provide an approximate value of the strength or pressure with which a finger is being pushed against the capacitive buttons. One register position stores two button pressure values as two 8-bit signed values (range: –128…+127).
Note 1:Positive values indicate a finger’s presence, where very low numbers mean a light touch or mere
proximity [depending on the sensor sensitivity settings], while higher values correspond to higher finger pressures; 0 means that no finger is present on or around the button. Occasionally the pressure reading may be a negative value; this is an intermittent condition, and shall be treated as a 0-reading.Note 2:It is very important to understand the mapping of these pressure values to capacitive buttons. Only
the capacitive sensors that are enabled as buttons are included, with their pressure values “stacked” from the lower byte of register 0x010C on up. For example, if sensors 0, 2, and 3 are enabled as buttons, the meaning of the register positions is as follows:
Address0x010C0x010D
The values in the unused bytes of the pressure value array shall be disregarded.
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiBit 15…8
Bit 7…0
Pressure on sensor 2
-
Pressure on sensor 0
Pressure on sensor 3
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dential33 of 38
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
Reset
Reset the SO340010.
AddressDirBit 15Bit 14Bit 13Bit 12Bit 11Bit 10
0x0300
W
Register 0x0300
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Write 0x0001 to reset the SO340010.
Write 0x0001 to this register to reset the SO340010 and all of the Configuration Registers to the default power-on reset state.
Warning:Do not write any value except 0x0001 to the Reset Register; unpredictable operation will result.The Reset command requires a variable amount of time (between 30 and 250 ms) to execute. During this time, the SO340010’s I²C interface is disabled. The SO340010 will deassert the Attention signal during the reset pro-cess, then assert the Attention signal when it has completed the reset process and is again ready to communi-cate with the host.
Note 3:It is not typically necessary to issue a reset command on power-up.
34 of 38
Synaptics NE-DSHA CINonEfiNote 2:After a reset, the SO340010 will NAK all Read transactions until the Read Address has
been set.
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
deNote 1:For applications in which the host does not read the ATTN pin, the host should wait at least 250ms
after issuing the Reset command before addressing the SO340010 again.
ntialP/N: 505-000040-01
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
ABSOLUTE MAXIMUM RATINGS
Table 8. Absolute Maximum Ratings
ParameterVDD to GNDGPIO Voltage to GNDESD Rating
Operating Temperature RangeStorage Temperature Range
Lead Temperature (soldering 10 seconds)
Rating–0.5V to +7.0V–0.5V to (VDD + 0.5V)±3kV Human Body Model–30°C to +70°C–40°C to +85°C
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dentWarning:Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the
SO340010. Functional operation is not guaranteed at any conditions outside those indicated in the “Electrical Characteristics” section of this datasheet.
ial35 of 38
+260°C
Synaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
PACKAGE SPECIFICATIONS
Package information for thin 16-pin QFN (3 mm × 3 mm × 0.6 mm), pin pitch 0.5 mm.
Part Number
SynaTable 9. Ordering information
ptORDERING INFORMATION
ics NE-DSHA CINonEfiFigure 15. Package specification
Package Description
Package Details
Operating Temperature–30 °C to +70 °C–30 °C to +70 °C
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
SO340010-16QFN-00SO340010-16QFN-01
16-lead QFN (3 mm × 3 mm) for parts
Green (Pb-Free / RoHS Compliant)
packaged in trays.
16-lead QFN (3 mm × 3 mm) for parts
Green (Pb-Free / RoHS Compliant)
packaged in Tape and Reel.
36 of 38
dentialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
COPYRIGHT, TRADEMARKS, PATENTS, AND NOTICE INFORMATION
Copyright
Copyright © 2006–2007 Synaptics Incorporated.All Rights Reserved.
Trademarks
Synaptics Incorporated, the Synaptics logo, Synaptics OneTouch, the Synaptics OneTouch logo, Synaptics OneTouch Studio,
DesignSAFE, and ProductionSAFE are trademarks or registered trademarks of Synaptics Incorporated. All other trademarks mentioned herein are the property of their respective owners.
The Synaptics OneTouch solution is covered by one or more Synaptics patents and patents pending.
This document contains information that is proprietary to Synaptics Incorporated. The holder of this document shall treat all
information contained herein as confidential, shall use the information only for its intended purpose, and shall protect the information in whole and in part from copying, disclosure to any other party, or dissemination in any media without the written permission of Synaptics Incorporated.
This information and any related goods and services are provided “as is.” We make no representations or warranties, expressed or implied. Synaptics providing you information, goods or services does not, by itself, create any express or implied license under any patent, trademark, trade secret, copyright, mask work right, or any other intellectual property right.
The Synaptics OneTouch solutions are not designed or intended for use as components in systems intended for surgical implant into the human body, or other applications intended to support or sustain life, or for any other application in which the failure of the Synaptics OneTouch solution could cause personal injury or death. Buyer shall indemnify and hold Synaptics Incorporated and its officers, employees, subsidiaries, affiliates and distributors harmless against all claims, costs, damages, expenses, and reasonable
attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with any unintended use, even if such claim alleges that Synaptics Incorporated was negligent regarding the design or manufacture of the product. The acceptance of this document by Buyer will be construed as Buyer’s agreement to the foregoing indemnification and disclaimer of warranties.
P/N: 505-000040-01
Synaptics NE-DSHA CINonEfiNotice
Copyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
dent37 of 38
Patents
ialSynaptics OneTouch™ SO340010-16QFN Configurable Capacitive Sensing IC
CONTACT US
38 of 38
Synaptics NE-DSHA CINonEfiTel:Fax:
+1 408.454.5100+1 408.454.5200
Web:http://www.synaptics.comEmail:sales@synaptics.comCopyright © 2006–2007 Synaptics Incorporated. All Rights Reserved.
NDA Confidential. Do Not Distribute.
P/N: 505-000040-01
Corporate HeadquartersSynaptics Incorporated3120 Scott Blvd., Suite 130Santa Clara, CA 95054USA
dential
因篇幅问题不能全部显示,请点此查看更多更全内容