Preview only show first 10 pages with watermark. For full document please download

Steval-ill029v2

   EMBED


Share

Transcript

STEVAL-ILL029V2 Touch front panel and IR remote control with RTC demonstration board based on the STLED325, STMPE24M31 and STM8S Data brief Description The STEVAL-ILL029V2 demonstration board shows the operation of the front panel demonstration board based on the advanced LED controller driver STLED325 and 8-bit microcontroller STM8S as I2C master. ) s ( ct u d o Features • • • t c u d o r • • • • • • • P e t e l o s b O • 4- digit , 7 segment (and decimal point) LED display 8 x discrete LEDs 8 front panel touch keys for channel and brightness up/down, OK, MENU, and standby (in touch interface mode) 8-channel touch status type rotator on STEVAL-CBP007V1 for brightness control (clockwise/anticlockwise) (in touch interface mode) 8 front panel mechanical keys for channel and brightness up/down, OK, MENU, and standby (in standalone mode with no touch interface) A bicolor power/standby LED An interrupt LED ( blinks with the interrupt) A potentiometer for adjusting the brightness of the display (accessible in standalone mode) Demo mode Multi format remote control operation (only RC5 supported currently, but easily extendable for various other formats Embedded in-circuit programming using SWIM interface for STM8S10 RoHS compliant ) (s • May 2011 r P e This system can be operated along with the STMPE24M31 based touch panel or the mechanical keys. t e l o The objective of this demo board is to demonstrate the features of the STLED325 LED controller driver, such as key scanning, RTC, IR decoding, STANDBY management, etc., as well as features of the advanced S-Touch device STMPE24M31 to fit the market segment of DVD players, DVD recorders, set-top boxes, washing machines and many more, keeping the system cost as low as possible. s b O The system can be operated using the various touch keys or mechanical front panel keys provided on the system, as well as from a remote control. System I/O is handled completely by STLED325 and STMPE24M31 with minimal load on the host processor. The system can be operated in two modes: touch interface mode or standalone mode (with mechanical keys on STEVAL-ILL029V2). On power-up, the system automatically detects the presence of the touch interface daughter card (STEVAL-CBP007V1) and goes into touch interface mode. If there is no touch card plugged in, the system enters into standalone mode and can be operated using mechanical keys. The STEVAL-CBP007V1 is included in the kit. DocID018542 Rev 1 For further information contact your local STMicroelectronics sales office. 1/8 www.st.com 2/8 SWIM GND NRST DocID018542 Rev 1 3V3 3V3 WAKE_UP C8 100n F 3V3 R21 4k7 NRST OSC1 OCS2 Vss VCAP VDD VDDIO_1 PF4 VDDA VSSA I2C_SDA/PB5 I2C_SCL/PB4 PB3 PB2 PB1 PB0 U1 C12 100n F WAKE_UP SW1 STM 8S207K6 T6C s b O PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PE5 R19 10K STBY 32 31 PD6_USART3_RX 30 PD5_USART3_TX 29 28 27 SWIM 26 PC2_24 M31_ INT 25 24 23 22 21 PC3_24 M31_ RESET 20 19 PC1_INTR 18 PE5_ INTR _LE D 17 R8 10K R16 3K3 CON2 R20 10K D4 3V3 3V3 J1 3 2 BICOLO R_SMD LED 1 t e l o r P e u d o R22 100 R38 4K7 R6 1K 1 2 4 SWIM_CONN 1 2 3 4 D2 INTR LED 1 2 3 GND 4 5 6 7 8 9 GND 10 PB5_ I2C_SDA 11 PB4_ I2C_SCL 12 13 14 PB1_S TBY 15 PB0_ READY 16 ) (s t c u C9 10u F/6.3V C7 470n F C3 100n F t e l o + P e SW11 RESET NRST d o r R15 220 s b O R1 4k7 Q1 2STR 221 5 3V3 1 J2 INTR _LE D 3V3 Circuit schematic for STEVAL-ILL029V2 STEVAL-ILL029V2 Circuit schematic for STEVAL-ILL029V2 Figure 1: Microcontroller section ) s ( ct AM09241V1 C20 220uF/63V C19 220nF 1 2 3 C22 2.7nF R25 20k C24 100nF 2 3 5 5V0 C15 100nF 1 2 L4978 R27 9k1 C28 22nF OUT FB C23 100nF 4 8 5V REGULATOR SS_INH OSC VCC U4 COMP 7 DocID018542 Rev 1 GND 1 D9 STPS1L30A P e BOOT 6 O J5 let o s b t c u C16 10uF ) (s R24 0 1 3 2 D20 STPS1L30A C21 220uF 150uH L1 VO VINH BYPASS LDS3985M18R GND VI U3 R26 2k7 5V0 4 5 D10 STTH102 5V0 2 5V0 C17 10nF 1 1.8V REGULATOR s b O r P e u d o R28 4k7 1 2 C14 10uF C25 100nF 3 U5 VI 2 C27 10uF LDS1117AS33TR Vout D11 STTH102 3.3V REGULATOR C13 100nF 1V8 GND d o r t e l o 1 C26 100nF 3V3 3V3 STEVAL-ILL029V2 Figure 2: Power supply section Circuit schematic for STEVAL-ILL029V2 ) s ( ct AM09242V1 3/8 4/8 DocID018542 Rev 1 R42 1k 3V3 R18 4k7 5V0 STLED325 C10 47uF + 16 15 14 13 12 11 10 9 MUTE LED D3 MUTE IRQ_N GPIO1 GPIO2 IR_IN SDA SCL WAKE-UP KEY1 KEY2 VCC DIG1 DIG2 DIG3 DIG4 DIG5 Q2 2STR1215 GPIO2 1 2 3 4 5 6 7 8 U2 R2 10k VREG SEG1/KS1 SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 5V0 C11 100nF 24 23 22 21 20 19 18 17 POT_VAR R5 R3 360R SEG1/KS1 SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 KEY2 KEY1 3V3 R9 4k7 R13 4k7 I2C_SDA 5V0 GND I2C_SCL BAT54J D1 5V0 3V3 R4 10 5V0 3V3 R12 0 R14 0 5V0 3V3 R10 0 R7 0 C6 0.22F R44 10k R45 10k IRQ_N VREG IRQ_N LED D21 R17 0 R43 47 1V8 R17: DO NOT MOUNT 3V3 EITHER OF [R7,R12], OR [R10,R14] TO BE MOUNTED r P e MUTE TP1 R41 1k IR_IN I2C_SDA I2C_SCL WAKE_UP MUTE IRQ_N R39 1k R40 1k C2 1uF C1 100nF t e l o 3V3 R11 1k R37 4k7 3V3 3V3 t c u ) (s s b O ISET VBAT VREG GND XIN XOUT STBY READY BUZZER GPIO1_BUZZ 3V3 C5 25pF OSC_32_IN d o r BZ1 s b O C4 25pF OSC32_OUT Y1 32.768KHz P e t e l o OSC_32_IN OSC32_OUT 25 26 27 28 29 30 31 32 1 3V3 Circuit schematic for STEVAL-ILL029V2 Figure 3: STLED325 section STEVAL-ILL029V2 u d o ) s ( ct AM09250V1 Circuit schematic for STEVAL-ILL029V2 STEVAL-ILL029V2 Figure 4: Connectors SW2 PB5_I2C_SDA PB4_I2C_SCL PB1_S TBY PB0_READY PC1_INTR PE5_INTR _LE D PC2_24 M31_ INT PC3_24 M31_ RESET I2C_SDA I2C_SCL STBY READY IRQ_N INTR _LE D 24M31_ INT 24M31_ RESET SW DIP-8 J3 I2C_SDA STBY IRQ_N 24M31_ INT 5V0 1 3 5 7 9 11 2 4 6 8 10 12 I2C_SCL READY INTR _LE D 24M31_ RESET 3V3 J4 IR_IN 1 2 3 4 3V3 R23 100 + CON4_IR SENSOR CON12 EXTERNAL HOST INTER FACE u d o C29 100p F r P e J6 I2C_SDA I2C_SCL 24M31_ INT 5V0 1 2 3 4 5 J7 t e l o 1 2 3 4 bs CON5 O ) s ( t c du e t e l ) s ( ct C18 10u F 3V3 1V8 24M31_ RESET GND CON4 AM09251V1 Figure 5: Keyscan circuit SW3 BRIGHT+ KEY1 D5 SW4 BRIGHT- KEY2 BAT54J SW5 CH+ KEY1 D6 SW6 CH- KEY2 BAT54J SW7 OK KEY1 D7 SW8 MENU KEY2 BAT54J SW9 DEMO KEY1 D8 SW10 STBY KEY2 BAT54J SEG1/KS1 o r P SEG2/KS2 o s b O SEG3/KS3 SEG4/KS4 DocID018542 Rev 1 AM09252V1 5/8 6/8 DocID018542 Rev 1 1 2 3 4 5 SEG4/KS4 DIG1 SEG3/KS3 SEG8/KS8 s b O CA2 SEGF 6 7 8 9 10 SEG2/KS2 SEG1/KS1 SEG6/KS6 SEG7/KS7 R29 0 SEG8/KS8 SEG3/KS3 DIG2 SEG4/KS4 SEG5/KS5 R30 0 D13 LED D14 LED 5 4 3 2 1 SEG3/KS3 SEGA CA2 SEGF SEGDp SEGB HDSP5501 SEGC CA SEGD SEGE SEGG U7 R31 0 6 7 8 9 10 R32 0 D15 LED SEG2/KS2 SEG1/KS1 SEG6/KS6 SEG7/KS7 SEG5/KS5 1 U8 R33 0 D16 LED SEG8/KS8 SEG3/KS3 DIG3 SEG4/KS4 SEG5/KS5 CA SEGD SEGA CA2 SEGDp SEGB HDSP5501 SEGC D17 LED 6 7 SEG3/KS3 SEG8/KS8 SEG1/KS1 SEG2/KS2 5 4 3 DIG4 8 2 SEG4/KS4 SEG6/KS6 9 1 SEG5/KS5 SEG7/KS7 SEG7/KS7 R35 0 D18 LED SEG8/KS8 10 R34 0 SEGF u d o 5 4 3 2 SEG6/KS6 SEGE SEGG r P e SEGDp SEGB HDSP5501 SEGC SEGA CA SEGD SEGE SEGG t e l o ) (s SEG4/KS4 s b O t e l o SEG5/KS5 P e SEG1/KS1 t c u SEG2/KS2 d o r D12 LED DIG5 SEGA CA2 SEGF SEGDp SEGB HDSP5501 SEGC CA SEGD SEGE SEGG U9 R36 0 D19 LED 10 6 7 8 9 SEG2/KS2 SEG1/KS1 SEG6/KS6 SEG7/KS7 Circuit schematic for STEVAL-ILL029V2 Figure 6: Discrete LED and seven segments LED STEVAL-ILL029V2 ) s ( ct AM09254V1 STEVAL-ILL029V2 2 Revision history Revision history Table 1: Document revision history Date Revision Changes 25-May-2011 1 Initial release. ) s ( ct u d o r P e t e l o ) (s s b O t c u d o r P e t e l o s b O DocID018542 Rev 1 7/8 Revision history STEVAL-ILL029V2 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. ) s ( ct All ST products are sold pursuant to ST’s terms and conditions of sale. u d o 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. r P e 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. t e l o s b O 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. ) (s t c u 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. d o r P e t e l o 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. s b O 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 8/8 DocID018542 Rev 1