STEVAL-ICB007V1 Capacitive touch demonstration board based on the STMPE321 Data brief Description The STEVAL-ICB007V1 demonstration board employs STM32-based capacitive touch to demonstrate the functionality and performance of the STMPE321, a 3-channel capacitive touch key controller. Capacitance measurement is implemented in fully optimized hardware, and the 3 I/Os can be configured as either capacitive touchkeys or as GPIOs (general purpose input/output). The device is capable of interfacing with a main digital ASIC/controller through the 2-line communication protocol I2C. Features • • • • STM32 microcontroller is used as the main digital controller to interface the STMPE321 device STMPE321 device controls 3 different touch keys Touch events are indicated on the LEDs RoHS compliant June 2011 In the STEVAL-ICB007V1 demonstration board, the STM32 microcontroller is used as the main digital controller to interface with the STMPE321 device. The system utilizes the capacitive touchkey controller of the STMPE321 and PWM features of the STM32 to demonstrate the application. The STMPE321 controls 3 different touchkeys using an integrated capacitive touch controller. Touch events are indicated on the LEDs using the STM32 GPIO pins, and the corresponding PWM frequency is generated on a separate LED using the STM32 timer. DocID018907 Rev 1.0 For further information contact your local STMicroelectronics sales office. 1/4 www.st.com 2/4 DocID018907 Rev 1.0 3 2 R11 10k 5 INHIBIT BYPASS 4 LD2985BM18R_SOT23-5L GND OUT S0 S1 C10 10nF 1V8 4 IN NC 1 RST GND U2 STMPE321 5 C7 3V3 1uF C5 5pF DNM 3 2 6 SDA GND 7 C9 100nF 1V8 R6 1K R12 10K DNM 8 9 1V8 C6 10uF GND VCC SREF SCL INT S2 NC 1 12 U1 CON1 11 3V3 GND C4 5pF DNM CON2 CON3 BUTTON C 1 10 C3 5pF DNM BUTTON B 1 4.7K R1 CREF 5pF CON30 CN2 C8 100nF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 INT 3V3 1V8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 CON30 CN3 3V3 SCL GND INT PB15_TIM1_CH3N PB0_TIM3_CH3 CN1 2 4 6 8 10 LED LED D4 LED D3 LED D2 D1 HEADER5X2 1 3 5 7 9 R10 220 R9 220 R8 220 R4 220 PB1_TIM3_CH4 PB0_TIM3_CH3 PB15_TIM1_CH3N PB13_TIM1_CH1N PB1_TIM3_CH4 SDA 3V3 PB13_TIM1_CH1N RST R13 0 DNM INT R7 10K DNM C1 22pF R2 10K 3V3 DNM 3V3 1V8 DNM R5 4.7K DNM C2 22pF SDA SCL R3 10K DNM 1 BUTTON A 1 RST Circuit schematic STEVAL-ICB007V1 Circuit schematic AM09289V1 STEVAL-ICB007V1 2 Revision history Revision history Date Revision Changes 03-Jun-2011 1 Initial release. DocID018907 Rev 1.0 3/4 Revision history STEVAL-ICB007V1 Disclaimer Please Read Carefully Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVEGRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2011 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 4/4 DocID018907 Rev 1.0