STEVAL-ILL030V1 LED lighting control demonstration board using DMX512 based on the STM32F103C6 and STCS1A Data brief Features ■ Jumper settings to configure the board in transmitter, receiver or standalone mode ■ The STCS1A device provides dimming control of the on-board LEDs ■ Over/undervoltage protection using the STBP120 voltage protection device ■ Uses the ESDAULC6-3BP6 ESD protection device for advanced USB protection ■ Option of powering the LEDs through an external power supply, or through a 5 V power supply output from the STBP120 ■ Board uses an internal clock source, without a crystal ■ Mini-B type USB connector can be used if power for LEDs is supplied separately from external source ■ RoHS compliant STEVAL-ILL030V1 Description The purpose of the STEVAL-ILL030V1 demonstration board is to demonstrate the performance of ST devices in an LED lighting control application, using the DMX512 communication protocol demonstration firmware in transmitter, receiver and standalone modes. The USART (universal synchronous asynchronous receiver transmitter) module of the STM32F103C6 ARM 32-bit Cortex™-M3 microcontroller is used to transmit/receive data via an RS-485 transceiver. The transmitter sends DMX512 packets with a NULL START code, according to the DMX512 2008 standard. November 2010 Doc ID 18131 Rev 1 For further information contact your local STMicroelectronics sales office. 1/12 www.st.com 12 Doc ID 18131 Rev 1 & Q) +($/7+B&+(&.B/('B3% *1' & Q) 5 & Q) 9 ' & Q) +($/7+&+(&./(' & Q) 9 86$57B7;B3$ 565; 5 /('B3% /('B3% 9''B 9%$7 966B 3&B$17B7$03 3$ 3&B26&B,1 3$ 3&B26&B287 3'B26&B,1 3$ 3$ 3'B26&B287 1567 3$ 670)&7B/4)3 3$ 966$ 3% 9''$ 3% 3$B:.83 3$ 3% 3% 3$ 9 6: 5 N 26&B,1 26&B287 Q567 *1' 9 9 86%B38B3& & Q) Q567 26&B287 8 3$ 3$ 3% 3% 3% 3% 3% %227 3% 3% 966B 9''B & S) 5 0 < 0+] $.- 26&B,1 & S) )NTERNAL2#CLOCKUSEDFORTHEBOARD -7$*B-7&.B3$ -7$*B-7',B3$ -7$*B-7'2B3% -7$*B-17567B3% ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% %227 ',3B6:,7&+B3% ',3B6:,7&+B3% *1' 9 3$ 3$ 3$ 3$ 3$ 3% 3% 3% 3% 3% 966B 9''B 5 %227 9 5 ' 9 !-V 5 ' 9 *1' -7$*B-706B3$ 86%'3B3$ 86%'0B3$ 565; 86$57B7;B3$ ',3B6:,7&+B3$ ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% 02'(B6(/(&7B3% 5 STM32F103C6 microcontroller section Figure 1. Schematic diagrams 1 2/12 %227 Schematic diagrams STEVAL-ILL030V1 9 *1' 56'(B3% /('B3% %227 /('B3% +($/7+B&+(&.B/('B3% 565(B3$ 3:0B287B3$ ',00,1*B,3B3$ 567; 327B6833/<B&21752/B3$ Doc ID 18131 Rev 1 567; 56'(B3% 565(B3$ 565; 73 7(6732,17 73 7(6732,17 5 N 5 N *1' % $ 9&& 67$%'5B62 ', '( 5( 52 8 3,1B%B67$%'5 3,1B$B67$%'5 & Q) & X) 67%3B287 &21 - 5 &,/!4). ' & X) 5 5 & Q) !-V -OUNT2ATTHEFARTHESTEND Figure 2. 67%3B287 STEVAL-ILL030V1 Schematic diagrams ST485AB section 3/12 5 N 5 N 5 N 5 N 5 N 5 N 5 N 4/12 5 N 9 ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3$ ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% ',3B6:,7&+B3% Doc ID 18131 Rev 1 5 N 5 (*1' 6: !-V 9 Figure 3. 5 N 9 Schematic diagrams STEVAL-ILL030V1 DIP switch section &1 Doc ID 18131 Rev 1 86%9 2+0 5 2+0 & X)9 5 67%3B,1 73 7(6732,17 5 N ,1+ %<3$66 *1' 67%3B287 & Q) & X) 9 9 !-V 73 7(6732,17 Figure 4. 8 /'605B627/ 9,1 9287 STEVAL-ILL030V1 Schematic diagrams 3.3 V output section 5/12 Schematic diagrams Figure 5. STEVAL-ILL030V1 JTAG connector section 6 2 K 2 K 2 K 2 K 2 #. 6 *4!'?*.4234?0" 2 K *4!'?*4$)?0! *4!'?*4-3?0! *4!'?*4#+?0! 24#+ *4!'?*4$/?0" 2 K N234 $"'21 2 K 2 K $"'!#+ *4!'?#/.. !-V 6/12 Doc ID 18131 Rev 1 5 0 & Q) Doc ID 18131 Rev 1 86%B9&& 86%'0 86%'3 ,' 86%B*1' 86%B0,1,%7<3( 6+(// 6+(// 6+(// 6+(// &1 86%9 86%'0 86%'3 5 N ,2 *1' 86%B38B3& (6'$8/&% ,2 1& ,2 8 1& 86%'3 86%'0 5 5 !-V & S) 86%'3B3$ 86%'0B3$ & S) Figure 6. & Q) STEVAL-ILL030V1 Schematic diagrams USB section 7/12 8/12 Doc ID 18131 Rev 1 2 K 07-?/54?0! 4%340/).4 U& # U&6 # #!4(/$% 34"0?/54 07-?/54?0! &" '.$ 3,/0% $)3# 34#3!052?$&. $2!). %. 07- 6## 2 M 2 4%340/).4 40 ,%$ $ !-V N& # 34"0?/54 Figure 7. 40 # N& 34"0?/54 5 Schematic diagrams STEVAL-ILL030V1 STCS1A LED driver section STEVAL-ILL030V1 Figure 8. Schematic diagrams STBP120 section 8 67%3B7')1 1& (1 1& 67%3B,1 287 ,1 ,1 & X) *1' 67%3B,1 1& )/7 287 67%3B287 67%3B287 & X) 5 N !-V Figure 9. Jumpers - - 9 56'(B3% *1' 3,1B$B67$%'5 3,1B%B67$%'5 *1' &21 &21 3#2%7490%0).#/.. ' - 9 565(B3$ *1' 67%3B287 $12'( 5 2+0 67368B60% 6736B287 &21 - 9 02'(B6(/(&7B3% *1' ' 67$1'$/21(02'(6(/(&7 /(' - *1' 6736B287 $12'( &$7+2'( /('&211(&7,213,12876 ' /(' ' /(' !-V Doc ID 18131 Rev 1 9/12 Schematic diagrams STEVAL-ILL030V1 Figure 10. Dimming input POT 0/4?3500,9?#/.42/,?0! $)--).'?)0?0! 0/4 + # 3%4 N& 40 4%340/).4 '.$7)4(34!2#/..%#4)/. !-6 10/12 Doc ID 18131 Rev 1 STEVAL-ILL030V1 2 Revision history Revision history Table 1. Document revision history Date Revision 24-Nov-2010 1 Changes Initial release. Doc ID 18131 Rev 1 11/12 STEVAL-ILL030V1 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. © 2010 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 12/12 Doc ID 18131 Rev 1