1 / 38

ST Solution for Touch Sensing

Industrial & Multi-Market Competence Center. ST Solution for Touch Sensing. Overview. Touch Sensing positioning S-Touch™ RC and CT Firmware for STM8S/L STM8T14x single key with proximity Demoboards available on ESICOM Support request. Computer & Peripherals Notebook Printer Mouse

vadin
Download Presentation

ST Solution for Touch Sensing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Industrial & Multi-Market Competence Center ST Solution for Touch Sensing

  2. Overview • Touch Sensing positioning • S-Touch™ • RC and CT Firmware for STM8S/L • STM8T14x single key with proximity • Demoboards available on ESICOM • Support request

  3. Computer & Peripherals • Notebook • Printer • Mouse • Keyboard • Monitors • Multimedia Bar • Control Panel • Blinking and Brightness Digital Consumer • Set-Top Box • DVD Player • Digital TV • Digital Camera • Digital Audio • Remote Control • Control Panel • Wheel • Slider • Blinking and Brightness Wireless Communication • Mobile Phone • PDA • PND • Car Radio • Remote Controller • Touch Screen • Touch Keypad • Blinking and Brightness Portable Device • MP3 Player • Portable Media Player • Digital Photo Frame • Medical Equipment • Touch Screen • Touch Keypad • Blinking and Brightness • Wheel, Slider Home Appliances • Air Conditioner • Refrigerator • Microwave Oven • Cooker • White Goods • Food Processor • Control Panel • Touch Keypad • Blinking and Brightness • Wheel, Slider Touch Sensing Positioning

  4. S-Touch™ Port expander with capacitive sensing capability

  5. S-Touch™ Technology S-Touch touch sensing controller implements highly innovative signal processing techniques to correctly detect, process and pass the touch information to the main MCU. • Finite State Machine • Patented Techniques • Low Power Consumption • High Sensitive Level • Small Package Size

  6. CapacitiveMulti Touch Screen Capacitive Touch Key Slider & Wheel Capacitive Touch Screen Resistive Touch Screen S-Touch™ Product Roadmap 2008 2009 2010

  7. Dual-Touch Multi-Touch 4 Wire Resistive Touch More Sensing Channels with Enhanced Features With Proximity Sensing S-Touch™ Product Portfolio S-Touch™ Touch Key Touch Screen Capacitive Capacitive Resistive • STMPE28M18 • STMPE36M28 • STMPE811 • STMPE610 • STMPE812 • STMPE321 • STMPE632 • STMPE821 • STMPE1208S • STMPE16M31 • STMPE24M31 • STMPE16M31PX • STMPE24M31PX Available in 2010

  8. Capacitive Touch Key Controllers

  9. ID_0 ID_1 RESET T_INT G_INT SCLK SDAT Clock Control Unit STMPE1208S 12-bit Key Controller • Key Features • 12 capacitive touch key inputs • 12 GPIOs • 3.0 - 5.5 V Operating Voltage • Dual Interrupt output pin • I2C interface • 7 kV HBM ESD protection • Individually adjustable touch variance (TVR) setting for all channels • Adjustable environmental variance (EVR) for optimal calibration • Package • QFN40 (5x5 mm) • Applications • Portable Media Player • Gaming Console • Multimedia Bar (MMB) • Control Panel for TV, LCD monitor and consumer electronics C_ Ref Data Filtering Data Calibration 12-Input Capacitive Sensor Host I2C Interface Touch Key Controller 12-Input GPIO Power Management Voltage Regulator VinReg Vin

  10. S-Touch™ Product Evolution Evolved Products (M-Series) • High Performances Application • Hardware tuning NOT required • 4x Better Sensitivity (15fF Resolution) • Superior Noise Immunity • Embedded Hardware Ratio Engine • Proximity Sensing Capability STMPE16/24M31 STMPE16/24M31PX Basic Products (x21 Series) • Portable Application • Moderate Sensitivity & Noise Immunity • Hardware Tuning Requirement • Basic Slider/Wheel Functionality STMPE321 STMPE821 STMPE1208S

  11. Touch Key Controllers: M31 Series • Single chip solution for highly sensitive and flexible capacitive sensing capabilities. • Hardware PWM Controller • 8 independent PWM controllers • Control up to 16 PWM outputs • Ramping/Blinking capable • Touch-triggered PWM sequence • Capacitive Sensing Engine • 15 fF sensitivity with 512 steps • 30 pF of auto-tuning • Pseudo-random sampling • Auto calibration with tuning • Fault-tolerant calibration algorithm • Hardware Ratiometric Engine • Supports 2 sliders/wheels with 3-8 sensors each • 256 steps resolution per slider/wheel • Reports position and movement • No external computation STMPE16M31/24M31

  12. Capacitive Touch Key Controllers

  13. PWM Array Controller GPIO Controller Host I2C Interface PWM Controller MUX Capacitance Sensor A0 A1 NoiseFilter INT RST SCLK SDAT Calibration Ratio Engine C_ Ref Power Management Voltage Regulator Clock Control Unit VinReg Vin STMPE16/24M31 16-bit Key Controller • Key Features Capacitive Sensing • Up to 16/24 Capacitive Sensor inputs • Configurable Automatic Impedance Calibration • 15 fF resolution, 512 steps with 30 pF Auto-Tuning • 2 hardware ratiometric engines PWM and GPIO • Up to 16 General Purpose Input/Outputs • 8 independent PWM controllers, • up to 16 PWM outputs • 12mA sourcing/sinking • on GPIO for LED driving (at 3.3 V VIO) Others • Operating voltage 1.65-1.95 V (VCC) 2.7-5.5 V (VIO) • I2C interface (Up to 400 KHz). I2C is 3.3 V tolerant. • 8 kV HBM ESD protection on all sensing pins • Package • QFN32 4x4 mm / QFN40 5x5 mm

  14. Resistive Touch Screen Controllers Available in 2010

  15. With Data Buffer Without Data Buffer Advance Features • Window Masking • Data Buffer • Motion Tracking The host may define a rectangle within the full window, of which, if the touch position falls outside of the defined window, the touch is simply ignored. The host may set a value from 4-127 as the distance, from which the new touch position must be away from the previous position, to be considered a valid new position. This reduces redundant, nearby data positions. 128 sets of data buffer in the touch screen controller ensures that no data will be missing, even if the CPU is busy. Each data buffer contains a 12-bit X-coordinate, 12-bit Y-coordinate and an 8-bit touch pressure. Interrupt on FIFO full, FIFO empty and FIFO reaching programmable threshold.

  16. 4-wire Resistive Touch Screen STMPE811 I2C SDAT, SCLK MCU RESET, INT INT GPIO Controller DATA IN A0/DATA OUT SCLK/CLK SDAT/CS RC Oscillator Driver & Switch Control Unit Host I2C/SPI Interface Touch Screen Controller Thermal Sense Power Management VREF STMPE811 8-GPIOs Screen Controller • Key Features • 12-bit ADC for high-resolution resistive touch screen • 1.65 - 3.6 V Operating Voltage • 128-depth data buffer • Advance movement tracking to reduce CPU/Bus utilization • Window-Masking Function • Fast I2C (400 KHz) or SPI (1 MHz) serial interface • Up to 8 GPIOs • 4 Additional ADC inputs • 4 kV Contact/15 kV HBM ESD Protection • Package • QFN16 (3x3 mm) REF-, REF+, GPIO Vin

  17. S-Touch™ Additions in 2010 • STMPE28M18 • Dual touch capability • Up to 28 capacitive sensing inputs • Configurable automatic calibration • I2C Interface • 8 kV HBM ESD protection on all sensing pins • Support gestures such as rotation, zoom in/out and panning • STMPE36M28 • True multi-touch capability • Up to 36 capacitive sensing inputs • Touch shape sensing capability • Supports multi touches without “ghosting” effect • STMPE12M31RPX • 12 Channel Touch Key Controller with Ratio Proximity Sensor • STMPE12M31MX • 12 Channel Touch Key Controller with 6x6 capacitive/mechanical keypad controller

  18. RC & CT Firmware Library for STM8S/L

  19. STM8 Touch Sensing Library 2.x Setup file available @ http://www.st.com/mcu • Updated STM8 touch sensing library revision 2.x • It brings a new acquisition principle to the existing library • The principle is still to provide the source code for free • The license agreement remains the same as previous version: usage restricted to ST MCUs • The acquisition selection is done using the configuration file (.h) • The library is delivered with two configuration file example: • One for RC acquisition, one for the CT acquisition

  20. Package contents • The touch sensing library is delivered together with several packages: • The last revisions of the standard peripheral libraries for STM8S, STM8L101 and STM8L151 • A few examples demonstrating both acquisitions techniques for each STM8 subfamily supported • RC and CT examples • STM8S and STM8L examples • Buttons and wheels • Evaluation boards firmware • STM8S plug-in board • STM8L151 9 keys + 1 Wheel + 1 slider board • Documentation in windows help format (.chm)

  21. Charge Transfer Capacitive Sensing Acquisitions Overview • There are many ways to measure capacitance. ST Firmware is based on the followings: • RC Charging Time

  22. RC Charging Time Acquisition • Advantages of the RC acquisition: • Available to any STM8S and STM8L product • Almost any IO can be used as electrode • Low cost external components (2 resistors per key) • Simple driven shield implementation

  23. RC Charging Time Acquisition Principle • The electrode capacitance is charged through a pull-up resistor or an internal current source • The time necessary to charge the capacitor from one reference voltage to another is measured with a timer • The variations of this time is used to detect the finger proximity untouched touched t

  24. Charge Transfer Acquisition • Advantages: • Good sensitivity: three channels wheels and sliders possible. • Good immunity to conducted noise • Low cost external components (1 resistors/key + 1capacitor per group of keys) • Available on STM8L products • Number of touch sensor electrode : • STM8L: up to 6 channels • STM8L15x: up to 16 channels

  25. Charge transfer uses the electrical properties of the capacitor charge Q. It uses a sampling capacitor (CS) in which the electrode(Cx) charges are transferred to Charge Transfer is done through analog switches embedded in STM8L I/O structure (in “red” in the schematic below). The operation is repeated N times until the voltage on the sampling capacitor reaches a given threshold. The number N of transfer cycles required to reach the threshold represents the size of Cx. N varies when the electrode is touched. Charge Transfer Acquisition Principle Cx Analog switch CS

  26. Charge Transfert Library with STM8L101 x2 To comparator input STM8L101 The STM8L101 can handle 2 groups of 3 keys each, for a total of 6 keys.

  27. Charge Transfert Library with STM8L151 To ADC input x8 STM8L151 The STM8L151 can handle 8 groups of 2 keys each, for a total of 16 keys.

  28. STM8T14x Single key device With proximity detection

  29. STM8T141 key features • Single channel capacitive sensor for touch or proximity detection • Few centimeters detection range (up to 5 cm) • 8-pin device in SO8 narrow or UFDFN8 (3*2mm) packages • 1 configurable output to report touch or proximity detection • Configurable sensitivity levels (2 for touch + 2 for proximity) • On chip voltage regular and power-on reset (POR) • Built-in driven shield function • Enhance proximity detection and protect sensing electrode from noise • 4 selectable power modes • 11µA in extreme low power mode, 30µA in run mode • 2.9V to 5.5V voltage range • Environment compensation filter and automatic calibration SO8 5x6x 1.75mm UFDFPN 8 2x3x 0.65mm

  30. Vin GND VSS Cs Cx SHLDin OUT VDD SHLDout VREG C1 R1 R2 Shield LD Sensing electrode C2 C2’ C3 R STM8T141 Bill of material Optional LED indicator

  31. STM8T141 Output modes Active mode Toggle mode 3s latch mode 30s latch mode

  32. Power modes and reaction time 2 selectable charge transfer frequency: • 125KHz: Optimum power consumption • 250KHz: Fast response time • 2 selectable conversion time • Fast: 10ms (100Hz) • Slow: 20ms (50Hz)

  33. Demoboards Available in ESICOM

  34. STM8T141 Evaluation board • Evaluation kit (STM8T141-EVAL) • Low cost and easy to use tool to demonstrate STM8T141 touch/proximity features Touch detection Proximity detection

  35. STM8T141 Programming tools • Tools • STVP standard programming tool for product configuration • Specific USB dongle • Socket programming board for SO8,DFN8 and modules STVP Socket board STM8T1X1-SB Programming dongle ST-TSLINK

  36. Demoboards available in ESICOM STMPE1208S NEW STMPE821 STMPE1208S NEW STMPE811

  37. Demoboards available in ESICOM STMPE811 STMPE1208S STMPE321 Device and Sensor Board ST7 USB-I2C Interface Board STMPE321 (not in ESICOM)

  38. Library Evaluation boards • STM8L151CxT-TS1 Evaluation Board • 10 keys + 1 Wheel + 1 slider • Two-sided PCB with ground shield for better noise immunity • 1 Plexiglas panel (1.5mm thin dielectric) • 1 LCD display for Touch Sensing parameters visualization and modification • 1 buzzer • 1 SWIM connector for MCU programming & debugging • 1 STM8L pre-programmed device Board available in September 2010

More Related