STEVAL-TCS004V1 16-bit port expander demonstration board with keypad and PWM controller based on the STMPE1601 Data brief Features ■ Provides a user-friendly environment for use in: – Standalone mode – PC GUI mode ■ Board powered through USB Mini-B connector ■ PC GUI supports various power saving modes ■ RoHS compliant Description The STEVAL-TCS004V1 demonstration board is based on the STMPE1601 port expander and the ST7263BK6 microcontroller. STEVAL-TCS004V1 The objective of the board is to demonstrate the features and capabilities of the STMPE1601 port expander chip using a Windows®-based host software application and one of ST’s several USB low-speed microcontrollers (the ST7263BK6 is used in this demonstration board) acting as a control device. In the STEVAL-TCS004V1, the ST7263BK6 microcontroller acts as the I2C master and controls one STMPE1601 device, which functions as an I2C slave. The STMPE1601 is used to interface the matrix keypad, dedicated keys, special function keys and PWM controllers. In run mode, events such as key press (matrix, special function or dedicated keys), rotator controller, power mode, etc. are captured and displayed on the LCD screen and in the scan window of the PC GUI. For interfacing with the PC GUI, the application layer is built above the USB core library, making the USB interface hardware control transparent for developers. November 2009 Doc ID 16765 Rev 1 For further information contact your local STMicroelectronics sales office. 1/4 www.st.com 4 6+(// 6+(// 6+(// 6+(// 86%B9&& 86%'0 86%'3 ,' 86%B*1' 86%&211 9 & X)9 86%'0 *1' N 5 , 9EXV , 86%/&6& , *1' , 86%9&& 8 & Q) 5 5 86%'0 & S) 9287 & S) 86%'3 & X)9 <$ < $ ;$ ;$ Q) ;$ S) & N 5 N 5 N 9/ 9&& 9&& 9&& 9&& 9&& 9&& 9&& 9&& 9&& 67 (775 *1' 2( 5 S) & ,17B/7 6&/B/7 6'$B/7 *1' 9/ 9/ 9/ 9/ 9/ 9/ 9/ 9/ 8 ;$ <$ ;$ ;$ Q) & '. & 6'$B3$ 6&/B3$ 567B3$ ,17B3$ &/.,1BB 3$ $''5B3$ Q) 9 9 Q) & '. ;$ ;$ ;$ Q) & '. <$ ;$ <$ ;$ ;$ & X)9 Q) & '. +%90!$3%#4) /. '(',&$7('.(<6 ;$ 1250$/.(<3$' <$ ;$ 63(&,$/)81&7,21.(<6 Q) & 6) ;$ & ;287$ 9 <$ < N+] $''5$ ,17B/7 6'$B/7 6&/B/7 567B ,17B ;,1$ 34-0%3%#4) /. <$ & Q) <$ 6) ;$ &21 -803(5 - <$ 5 5 5 & Q) (;7(51$/,&+267 6'$B 6&/B 567B ,17B 527$725 &21 ;$ 9 9 0/7%23500,93%#4) /. 5 0 9 6'$B 6&/B *1' ;$ & Q) *1' 9287 9,1 & Q) 9 9,1 *1' YRXW ,B9 & Q) - 9 966 9 *1' 966$ 9''$ 1& 1& 1& 1& 966$ 966 9337(67 86%'0 86%'3 3&5', 3&7'2 3&86%2( 3$0&2 9''$ 3$6'$,&&'$7$ 9'' 3$6&/,&&&/. 86%9&& 3$(;7&/. 3$,&$3,7 3%$,1 3$,&$3,7 3$2&03,7 3%$,1 3$2&03,7 3%$,1 3%$,1 26&287 3%$,1,7 26&,1 3%$,1,7 3%$,1,7 5(6(7 3%$,1,7 67)%.0 8 ,&& & Q) +($'(5; 9 26& 56B3& 567B3& (B3& 86%'0 86%'3 86%9&& 3% 3% 3% 3% 3% 3% 3% 3% 9''$ 9 6'$B3$ 6&/B3$ 5(6(7 933 5 N 5 N 3:0B$ 5 N $'55B3$ N 5 4 6711)/ 5 /' 9 - &/.B,1B$B $ ;$B <$B 6&/.B 6'$7$B % $ $ $ ;$B ;$B $ <$B <$B *1'B 5(6(7B1B *3,2.3B< *3,2.3B; *3,2.3B; *3,2.3B; *3,2.3B; *3,2.3B< 8 - - 6703( *1' *3,2.3B;3:0B 9&& *3,2.3B< *3,2.3B<$''5 6&/. *3,2.3B;3:0B <$B <$B 9&&B ;$B *1'B ' & & & *1'B <$B <$B ' <$B <$B <$B 6&/.B ' ;$B ;$B ' 5 N 34-)#2/#/.42/,, %23%#4) /. 6 Q) 933 5(6(7 966$ 966 S) & & N $''5B3$ 9 6'$B3$ 6&/B3$ $'55B3$ 5 N ,17B3$ 567B3$ &/.,1BB 3$ &6%B3$ & < 0+] 26& S) 5 YRXW 8 /' 675 9 *1'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:0B$ ) ) ) ) ) ) ( ( ( .3B< 3:0 9&& ,17 .3B; .3B; .3B< 3:0 3:0 .3B; .3B< .3B< 5(6(7 .3B< *1' *1' .3B< .3B< % % % & & & & & & Doc ID 16765 Rev 1 ;$ <$ <$ 567B <$ *1' *1' <$ <$ 2/4 ;$ <$ ,17B *1' 9 3:0B$ 3:0B$ 3:0B$ <$ Figure 1. 1 Schematic diagrams STEVAL-TCS004V1 Schematic diagrams STEVAL-TCS004V1 schematic diagrams STEVAL-TCS004V1 2 Revision history Revision history Table 1. Document revision history Date Revision 11-Nov-2009 1 Changes Initial release. Doc ID 16765 Rev 1 3/4 STEVAL-TCS004V1 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 any time, 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 "AUTOMOTIVE GRADE" 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. © 2009 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 Doc ID 16765 Rev 1