Home

Discovery kit for STM32F3 series with STM32F334C8 MCU

image

Contents

1. 9L 418S vias ZNO x y x SNO Zd g 2 2 Y B i a 5 3 z s 5 5 Ajddng E 2 5 9914 289 S d 6 8 esues yg ysooq yong LN 9 ud ZN Zd suoyngusnd 2 5 2 E ddA E 1 1 1 z IN31SAS OIGMS OMS OMS unu 8 01 S 5 amp 5 2 18 9 IF a 2 gouyuew 2 2 BE lz he be dele 5 amp lt lt lt lt lt x m m co co m 2 DoclD025953 Rev 1 22 32 Hardware layout UM1735 Table 5 Extension connectors continued Board funtion 85 el 2 86 9195 ZNO SNO 22 23 Aiddng 9914 oldd aqq Mg ysooq yong suoynguysnd ddA IN31SAS 1NO 250 MCU pin unu 43 45 46 21 22 25 26 27 28 2 3 4 uonounj PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 PC13 PC14 PC15 PFO
2. rer PESATEMILS 291 01 42014 SHH PA FON Es LAO 250 144 lt 1 adoz 1as raso a 2 6 044 2188 1018010 ayy 01 25012 aq isn 01004 FEEACEILS 2I 0 25012 4124 ag sn XAS DoclD025953 Rev 1 28 32 Electrical schematics UM1735 Figure 12 LED buck converter 211 520 y uus 10 8 00181 TWAN 2 45 y OOSIG SPEEAZEINLLS 299014 3004002 MINA PML o UU c i Ju uopng 13535 49001 ie go gt A _ ozas vN wa 11001 01 0 2 Wut 5 X01 ea gt 5 wasn q 0vd 1285 o as uong AN TAVM Y3SN lla S vd td APIS Japjog uo 2244 sa 6185 A AT Tal 00IZIDMI 41 GH X TT ant Or Or Es i 01 SHAZNSLLS L tiad VOPTISALS WE any 920 1 WEE 303 08d EEN J HM AUOD YONG GAT 29 32 DoclD025953 Rev 1 UM1735 Electrical schematics Figure 13 Buck boost converter aj thy 0 6 12945 vI Ae A 0 ea 10 84 mwng pv 2218
3. UM1735 Sf i life augmented User manual Discovery kit for STM32F3 series with STM32F334C8 MCU Introduction The STM32F334 discovery kit 32F3348DISCOVERY helps you to discover the full features of the STM32F3x4 line and to develop your applications It is based on an STM32F334C8T6 and includes an ST LINK V2 1 embedded debug tool interface high brightness LED dimming with buck converter buck boost converter LEDs pushbuttons x Li 3 f fi F 3 m h ig 147 R48 33 R49 R June 2014 DocID025953 Rev 1 1 32 www st com Contents UM1735 Contents 1 Conventions uv ira ERRATA A 5 2 Ordering and product information 6 2 1 Order code oni dore doe xa a a 6 3 2 555555559 55486565 Sons 7 4 Hardware layout 8 4 1 Embedded 5 2 1 11 4 1 1 Drivers maaana CIC 11 4 1 2 ST LINK V2 1 firmware upgrade 12 4 1 3 Using ST LINK V2 1 to program debug the STM32F334 MCU DONG ua o a da ES 13 4 1 4 Using ST LINK V2 1 to program debug an external STM32 application 14 4 2 Power supply and power selection 15 4 2 1 Power supply input from the USB connector 16 4 2 2 External power su
4. ON PFO PF1 are connected to P1 Remove only R29 and R30 SB3 5 8 10 default Reserved do not modify SB2 4 7 9 reserved OFF Reserved do not modify ON B2 Push Button is connected to NRST of STM32F334C8T6 SB20 B2 RESET OFF B2 Push Button is not connected to NRST of STM32F334C8T6 ON B1 Push Button is connected to SB21 B1 USER OFF B1 Push Button is not connected to OFF PA2 PA3 of STM32F103CBT6 are not connected to PB4 PB3 of STM32F334C8T6 SB14 16 RX TX ON PA2 PA3 of STM32F103CBT6 are connected to PB4 PB3 of STM32F334C8T6 then SWO cannot be used and SB17 must be OFF ON LED Buck is powered from 5V OUT SB18 Vext OFF LED Buck is powered from CN4 ON Default position SB22 L3 OFF Use CN6 for Current measurement ON ST LINK module is powered SB1 ST LINK PWR OFF ST LINK module is not powered ON Default position SB19 LED OFF Use it connecting 2 wires for Current measurement ON T NRST signal from connector CN2 and STM32F 103CBT6 is connected to SB11 NRST NRST of STM32F334C8T6 OFF T NRST signal is not connected OFF SWO signal is not connected SB17 SWO ON SWO signal of connector CN3 is connected to PB3 then USART_TX cannot be used and SB16 must be OFF OFF No incidence on NRST signal of STM32F103CBT6 SB6 STM RST ON NRST signal of STM32F103CBT6 is connected to GND ON clock signal from STM32F103CBT6 is connected to OSC of SB12 MCO STM32F334C8T6 OFF signal of STM32F103CBT
5. 23 32 DoclD025953 Rev 1 Hardware layout UM1735 Table 5 Extension connectors continued MCU pin Board funtion gt 5 c 5 Am 5 a 9 s 25 ili 3 12 5 6 oa o 3 gt VDD 24 1 1 1 1 1 1 1 1 5 1 1 1 gt VDD 36 1 1 1 1 1 1 1 1 1 1 1 1 gt VDD 48 1 1 1 1 1 1 1 1 1 1 1 1 gt VBAT 1 1 1 1 1 1 1 1 1 1 1 1 1 gt VDDA 9 1 1 1 1 1 1 1 1 1 1 1 1 1 a GND 23 2 2 2 1 1 o a GND 35 1 1 1 1 1 1 1 z 10 1 1 1 1 o a GND 47 1 1 1 1 1 1 1 z 25 25 1 1 o a VSSA 8 1 1 1 1 1 1 1 z 1 1 1 1 1 Qo 1 Signals available depending on SBx value Refer to Table 4 Solder bridges or schematics in Section 6 2 24 32 DoclD025953 Rev 1 UM1735 Mechanical drawing 5 2 Mechanical drawing Figure 8 STM32F334 discovery board mechanical drawing 111 76mm 55 88mm 6 35mm 49 53 la R2 n m 02 zw R3 e CEN wn Be E a E ANO JE E O EA eum rp Ma cs EN 3 10 NM di 1 3 e 252 SH S a ze wa mmm axe E 8 E E 8 wn CN3 www st com stm32f3 discovery 58 2 x all ih dh c NS C20 R29 R30 as 842 E E E E
6. OOSIQ SFECACEINLLS 22001 YALAIANOO LSOO4 MONE PML dL S080 940T 4401 193 14 Ssed MOT DY blad TEA ION OT Vd Nt SHAZNSLIS Y SHAZNSLIS TLL gt p s 9 X01 xorg o E TIL d oli LSU Es 9 v of 954 6vd S VZ00LSUN LL E 5 ka 22 EA 41 pz TOW A SIL 01 1 ION ae s essere VZ00LSUN PLT ION EIL WTIAPSLVE I sd 4 1 E 9 E 6L s 5 080 0 EXE 11001 s Jo 9ra LEO 9HTIEAHLLS 1 2 9HTIEAHLIS 11808 4 4 L 43001 aga N 5080 0 veu m wv puc ue 91 YSISVIAS 9 E su 4 44001 dnzp 90 xl 090 01 3ZX ducc TE T 0 389 T Sp 0 e IST 1 2 15 DoclD025953 Rev 1 30 32 UM1735 Revision history 7 2 Revision history Table 6 Document revision history Date 19 June 2014 Revision 1 initial release Changes DoclD025953 Rev 1
7. e STM32Cube library available from www st com stm32f3 discovery Warning The high brightness of this LED can be very dangerous for your eyes For safety reasons the maximum high brightness LED forward current has been limited by software to 250 mA and an optical cube shaped protection has been placed over the LED Do not override this current limitation and do not remove the optical protection while the LED is operating The STM32F334C8T6 MCU controls this high brightness LED dimming feature through the High Resolution Timers interface If LED buck converter is used then buck boost converter cannot be enabled Buck boost converter The STM32F334 discovery includes a buck boost converter This DC DC converter function has been designed with on chip peripherals MCU and is able to convert an input Voltage Vin on CN5 from 3 Volts to 15 Volts to an output voltage Vout on CN7 from 3 Volts to 15 Volts Input current on Vin CN5 or output current on Vout are limited to 500 mA max Whatever the input or output voltage conditions are The STM32F334C8T6 MCU controls this Buck Boost converter feature through the High Resolution Timers interface To design a buck boost converter application refer to the following documentation and firmware e For details concerning I O ports refer to the STM32F334C8T6 datasheet e For information on software development see DISCOVER application software on www st com stm32f3 discovery
8. i sis T ILI n raa 053 a El a IL ia a mu E ien E ci eo NP N e A r M4 a N ci RSS R56 R57 LN ARCO T m E 4318 00 6 35 6 35 m DoclD025953 Rev 1 25 32 UM1735 Electrical schematics Electrical schematics 6 Figure 9 STM32F334 discovery pajuawbBno a71 thy I us 0 awa 10 8 UoISIAdy 92 yv 2215 OOSIQ SFECAZEIALLS 3oofo1q 110 AS SEE NAS F CACEIALES PML SC PVH ON 184 0184 cad 184 084 Lyd 9Vd 5 4 tyd Vd TWA IVd 0vd SUN 134 044 5194 td tld ESARRARAR 55125 MOA 25095 ULA 95105 MOA 200495715004 MONA 15009 n n IAPS XAITENLS XHCEALS N ISUN 1 Ead IVd blvd sp ON 2184 184 tigd 5184 8Vd 01 4 Vd TIVA IVd SIVd dd tad 584 984 194 01009 884 684 DOGHOS ZA ANIT LS ANIT IS XL 1 5 XA Lavsn cad tad DocID025953 Rev 1 26 32 Electrical schematics UM1735 Figure 10 ST LINK V2 1 SWD only ji 0
9. red for 3 3 V power on LD2 red green for USB communication Four user LEDs LD3 red LD4 orange LD5 green and LD6 blue Two pushbuttons user and reset Extension header for LQFP48 I Os for a quick connection to the prototyping board and easy probing DoclD025953 Rev 1 7 32 Hardware layout UM1735 4 8 32 Hardware layout The STM32F334 discovery board has been designed around the STM32F334C8T6 microcontroller in a 48 pin LQFP package Figure 2 illustrates the connections between the STM32F334C8T6 and its peripherals ST LINK V2 1 high brightness LED dimming with buck converter buck boost converter LEDs pushbuttons Figure 3 and Figure 4 help you to locate these features on the STM32F334 discovery board Figure 2 STM32F334 discovery board hardware block diagram Mini USB Embedded ST LINK V2 1 STM32F334C8T6 I 3E LEDs B2 LD3 to LD6 RESET LED B1 Dimming USER Buck Boost MS34149V1 00 10025953 Rev 1 Ly UM1735 Hardware layout Figure 3 Top layout ST LINK V2 1 LD2 COM LD1 i i PWR SWD connector JP1 d supply output reserve i CN3 5V power i e e MINIMI STLINK DISCOVERY supply input ie 8 selector 5V power i ie supply output e el x configuration ie ie JP3 ie IDD measurement 1 5
10. 2501 ies El NI OOMS 1 00 yen ae Lon 5 ANTI LS lt 430 siedwing riaa ES amar 99 paypajas AYIAOISIA lt NO Siedwing s ga p INIT IS AE END 67 EOTATEWLS 01 ISN DY NLS AJI 06 OMS Lig 0194 X001 Wd asn ce 9 _ LEN t5 ZHINS 3 SANS IS i s JL 1 46 ANIT LS E paru TIS 695 ores 9 BERS orams Osni wis TSUN I 38 El 10 185 sas 9 85 i _ E 1 gt SIMI MET 9LIDEOLAZENLS vas ses n TT WIOMS i is x peter t 1 tas egs 72 INIT IS ER Hs rL Ma SONIS S NO UNnN3H 850 t amp INTIACO9 L VE lt LVN qa ams T NW 0 10d S BS i E er POBLA ION S 72 1188 LIA onm 45 OMS 1 AS DW Gms ISUN 1 OIIMAS AL vIVd XIOMSDIOL 27 32 DoclD025953 Rev 1 UM1735 Electrical schematics Figure 11 STM32F334C8T6 MCU 211 Ly 50 t Jesus pl ady 91 req 10 8 uorsi ew yv 9215 OOSIG 8FEE ACEIALLS NOW 9 LO8FECACEIALES ONIL SABC Id esuas Zr Nd 2184 esuss 08d all
11. 29945 10 9 uorsiaa 8 ouemjog py 945 OOSKT SPECAZEINLLS PAoa SIND 0 0 quo AMS I ZA ANITLS INE 9 sa NTIS 031 1 1 5 pa Ims 0 5 t Sw Woo TES y i sn T t E Wa ESA EN UNS 9 EME 1 als smi TNO 49001 TO 0 E amp pec cem Sama UNNE 85 Vn CN ezuos e106 ASA asn 222 uc VOETISHLS WAITT LS ISA MOLT SHOA E IL AE 7 OA Asn au Mu I LHNZALLIS 49001 49001 400 49001 INIT IS 40 06 LNO AS VOETISALS ASA 4 REAS ora 99 SIJOA E MINIT IS A JON aor 49001 pes ag TA cel Lex ws D em INIT LS gun me lt xinivsn Saxa JANIS 89 t Tas gt ANITIS AE Edf MINIT LS E E xi awvsn TN 4 1 PPI SERE PRA 10N 8 gSSE df 91
12. 31 32 UM1735 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 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
13. 4 STM32F334C8T6 e RX TX ie LD3 Red LED 09 LD4 Orange LED ie 2 a eio LD5 Green LED lat SE ie ai LD6 Blue LED 1 ie gt LD7 High brightness LED ie ie 1 B1 216 11 user button 10 ie B2 reset button Vin Vout buck boost converter buck boost converter GND T14 R62 R63 dy 1 L MS34152V1 2 DoclD025953 Rev 1 9 32 Hardware layout UM1735 10 32 Figure 4 Bottom layout SB2 4 7 9 reserved SB3 5 8 10 default SB13 15 2 crysta SB20 B2 RESET F 5 5 586 STM_RST SB11 NRST 5818 5819 LED SB21 B1 USER SB22 L3 MS34151V1 DoclD025953 Rev 1 Ly UM1735 Hardware layout 4 1 Note 2 Embedded ST LINK V2 1 The ST LINK V2 1 programming and debugging tool is integrated on the STM32F334 discovery board The embedded ST LINK V2 1 supports only SWD for STM32 devices For information about debugging and programming features refer to user manual UM1075 ST LINK V2 in circuit debugger programmer for STM8 and STM32 which describes in detail all the ST LINK V2 features The changes versus ST LINK V2 version are listed below e New features supported on ST LINK V2 1 USB software re enumeration Virtual com port interface on USB Mass storage interface on USB USB power management requ
14. 6 is not used 1 Default value is in bold 20 32 2 DoclD025953 Rev 1 UM1735 Hardware layout 4 12 2 Extension connectors The male headers P1 and P2 can connect the STM32F334 discovery board to a standard prototyping wrapping board STM32F334C8T6 GPI Os are available on these connectors P1 and P2 can also be probed by an oscilloscope logical analyzer or voltmeter Table 5 Extension connectors MCU pin Board funtion gt iE amp 2 2 ego 5 3 3 a S 2 8 3 8 3 8 8 515 1 1 1 1 1 1 1 1 1 1 1 2 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 2 1 5 44 S 1 1 1 1 1 1 1 1 6 1 1 1 en m NRST 719114101 9 mE 2 e 84 v PAO 10 7 i i 11 i e ie 1 11 i i i 9 i i i 12 i i i 5 2 12 1 1 1 1 1 1 1 1 13 1 1 1 1 13 i i 2 i i 14 i i gt PA4 14 1 1 1 1 1 1 amp 1 15 1 1 1 1 0 5 15 1 1 1 1 1 1 amp 1 16 1 1 1 1 PAG 16 1 1 1 1 1 1 amp 1 17 1 1 1 1 PA7 17 1 1 1 1 1 1 lt 1 18 1 1 1 1 PA8 29 I 1 1 1 19 1 1 1 DoclD025953 Rev 1 21 32 UM1735 Hardware layout Table 5 Extension connectors continued X8S
15. Figure 5 Updating the list of drivers in device manager USB Composite Device Properties 0 i General Detais Device Manager File Action View 9565 USB Composte Device 2 Universal Serial Bus controllers Generic USB Hub Property Generic USB Hub Hardware ide X Generic USB Hub Intel R 7 Series C216 Chipset Family USB Enhanced Host Contro Intel R 7 5 216 Chipset Family USB Enhanced Host Contra 04538PID 37488REV 0100 ia Intel R USB 3 0 eXtensible Host Controller USBAVID_D4834PID_3748 Intel R USB 3 0 Root Hub USB Composite Deviza USB Mass Storage D Update Driver Software AUS Disable Launches the Update Driver Softwai Uninstall ST LINK V2 1 firmware upgrade The ST LINK V2 1 embeds a firmware upgrade mechanism for in situ upgrade through the USB port As the firmware may evolve during the life time of the ST LINK V2 1 product for example new functionality bug fixes support for new microcontroller families it is recommended to visit www st com periodically in order to stay up to date with the latest firmware version d DoclD025953 Rev 1 UM1735 Hardware layout 4 1 3 2 Using ST LINK V2 1 to program debug the STM32F334 MCU on board To program the STM32F334 MCU on board simply plug in the two jumpers on CN3 as shown in Figure 6 in red but do not use the C
16. LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN A SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS B AERONAUTIC APPLICATIONS C AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS AND OR D AEROSPACE APPLICATIONS OR ENVIRONMENTS WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS PRODUCTS FORMALLY ESCC QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY 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
17. N2 connector as that could disturb communication with the STM32F334C8T6 of the STM32F334 discovery board Figure 6 STM32F334 discovery board connections CN2 SWD connector cti32f3 discovery CN3 jumpers ON RA2 F fd DoclD025953 Rev 1 13 32 Hardware layout UM1735 4 1 4 Note 14 32 Using ST LINK V2 1 to program debug an external STM32 application It is very easy to use the ST LINK V2 1 to program the STM32 on an external application Simply remove the 2 jumpers from CN3 as shown in Figure 7 and connect your application to the CN2 debug connector according to Table 3 5811 must be OFF if you use CN2 pin 5 NRST in your external application SB17 must be OFF if you use CN2 pin 6 SWO in your external application Table 3 Debug connector CN2 SWD Pin CN2 Designation 1 VDD TARGET VDD from application 2 SWLCK SWD clock 3 GND Ground 4 SWDIO SWD data input output 5 NRST RESET of target MCU 6 SWO Reserved 2 DoclD025953 Rev 1 UM1735 Hardware layout Figure 7 ST LINK connections CN2 SWD connector DISCOVERY E IC 29 R30 CN3 jumpers OFF 4 2 Power supply and power selection The power supply is provided either by the host PC through the USB cable or by an external 5 V power supply The STM32F334 discovery board requires to the Host PC 500mA but around 300mA is
18. connected to the I O PB9 of the STM32F334C8T6 e User LD6 The blue LED is a user LED connected to the I O PB7 of the STM32F334C8T6 4 4 Pushbuttons e B1 USER User and Wake Up button connected to the I O PAO of the STM32F334C8T6 e 2 RESET The pushbutton connected to NRST is used to RESET the STM32F334C8T6 4 5 High brightness LED dimming with buck converter 2 The STM32F334 discovery integrates a high brightness LED dimming feature This function has been designed with on chip peripherals MCU to reduce the number of external components generally included in analog components based solutions for LED dimming The default LED Voltage supply is 5 Volts from 5V OUT signal or can be provided by an external voltage through CN4 Vext signal and by removing the solder of SB18 This external voltage must be between 5 and 15 Volts LED information Reference LE CWC12100 D 1W Everluck VF 2 8V Typical IF 350mA Max DoclD025953 Rev 1 17 32 Hardware layout UM1735 Note 4 6 Note 4 7 18 32 To design a high brightness LED dimming application refer to the following documentation and firmware e For details concerning I O ports refer to the STM32F334C8T6 datasheet e For information on software development see DISCOVER application software on www st com stm32f3 discovery e more detail concerning high brightness LED dimming refer to AN4885 high brightness LED dimming using the STM32F334 discovery kit
19. e For more detail concerning the buck boost converter refer to AN4449 buck boost converter using the STM32F334 discovery kit e STM32Cube library available from www st com stm32f3 discovery If buck boost converter is used then LED buck converter cannot be enabled JP3 Idd Jumper labeled Idd allows the consumption of STM32F334C8T6 to be measured by removing the jumper and connecting an ammeter e Jumper on STM32F334C8T6 is powered default e Jumper off an ammeter must be connected to measure the STM32F334C8T6 current if there is no ammeter the STM32F334C8T6 is not powered 00 10025953 Rev 1 Ly UM1735 Hardware layout 4 8 Note 4 9 4 10 Note 2 BOOTO Configuration BOOTO 15 at level 0 through a pull down R31 If you want set BOOTO at level 1 it can be configured by setting a jumper between P2 6 and P2 5 VDD This facility is offered for fast and instantaneous configuration If you need to set BOOTO at level 1 continuously then unsolder the resistor R31 to avoid a consumption of 6 mA while connecting pin P2 6 and P2 5 VDD with a jumper with a wire USART configuration USART2 interface available on PB3 and PB4 of the STM32F334C8T6 can be connected to ST LINK MCU to use the Virtual Com Port function By default the USART2 communication between the target STM32F334C8T6 and ST LINK MCU is not enabled To use the Virtual Com P
20. est for more than 100 mA power on USB e Features not supported on ST LINK V2 1 SWIM interface Minimum supported application voltage limited to 3 V There are two different ways to use the embedded ST LINK V2 1 depending on the jumper states see Table 2 e Program debug the MCU on board Section 4 1 3 e Program debug an MCU in an external application board using a cable connected to SWD connector CN3 Section 4 1 4 Table 2 Jumper states Jumper state Description Both CN3 jumpers ON ST LINK V2 1 functions enabled for on board programming default ST LINK V2 1 functions enabled for application through external CN2 ms ae SWD supported Drivers The ST LINK V2 1 requires a dedicated USB driver which can be found on www st com for Windows Vista 7 and 8 On Windows XP the ST LINK V2 1 driver requires WinUsb to be installed before using the ST LINK V2 1 either available from Microsoft website or included in the USB driver for ST LINK V2 for XP In case the STM32F334 discovery board is connected to the PC before the driver is installed some discovery interfaces may be declared as Unknown in the PC device manager In this case the user must install the driver files Figure 5 and from the device manager update the driver of the connected device Prefer using the USB Composite Device handle for a full recovery DoclD025953 Rev 1 11 32 Hardware layout UM1735 4 1 2 12 32
21. figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 4 32 STM32F334 discovery board 1 STM32F334 discovery board hardware block diagram 8 44 a AAA AA Un A AAA ia a 9 Bottom layout Be es 10 Updating the list of drivers in device 12 STM32F334 discovery board connections 13 ST LINK connections 15 STM32F334 discovery board mechanical 0 25 STM32F334 2 2 22 2 26 ST LINK V2 1 SWD 27 STM32F334C8T6 28 EED b uck converte i ss e maii d a OS a ae ee ae wae 29 Buck boost converter 30 2 DoclD025953 Rev 1 UM1735 Conventions 2 Conventions Table 1 provides the definition of some conventions used in the present document Table 1 ON OFF conventions Convention Definition Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not f
22. is mandatory to power supply the board first using 5V IN then connect the USB cable to the PC Proceeding this way ensures that the enumeration occurs thanks to the external power source The following power sequence procedure must be respected 1 Connect the external power source to 5V IN 2 Power on the external power supply 5V IN 3 Check that LD1 is turned ON 4 Connect the PC to USB connector CN1 If this order is not respected the board may be supplied by VBUS first then by 5V IN and the following risks may be encountered 2 DoclD025953 Rev 1 UM1735 Hardware layout 1 If more than 500 mA current is needed by the board the PC may be damaged or the current supply can be limited by the PC As a consequence the board is not powered correctly 2 500 mA is requested at enumeration since JP1 must be OFF so there is risk that request 15 rejected and the enumeration does not succeed if the PC cannot provide such current Consequently the board is not power supplied LED LD1 remains OFF 4 3 LEDs e LD1 PWR The red LED indicates that the board is powered e LD2COM LD2 default status is red LD2 turns to green to indicate that communications are in progress between the PC and the ST LINK V2 1 e User LD3 The red LED is a user LED connected to the I O PB6 of the STM32F334C8T6 e User LD4 The orange LED is a user LED connected to the I O PB8 of the STM32F334C8T6 e User LD5 The green LED is a user LED
23. itted Solder bridge SBx ON SBx connections closed by Solder Solder bridge SBx OFF SBx connections left open DoclD025953 Rev 1 5 32 Ordering and product information UM1735 2 2 1 6 32 Ordering and product information The STM32F334 discovery kit is a low cost and easy to use development kit to quickly evaluate and start a development with an STM32F3 series microcontroller Before installing and using the product please accept the Evaluation Product License Agreement from www st com epla For more information on the STM32F334 discovery board and for demonstration software visit www st com stm32f3 discovery Order code To order the STM32F334 discovery kit use the order code STM32F3348 DISCO 2 DoclD025953 Rev 1 UM1735 Features 3 2 Features The STM32F334 discovery board offers the following features STM32F334C8T6 microcontroller featuring 64 KB of flash memory 16 KB of RAM in an LQFP48 package On board ST LINK V2 1 with selection mode switch to use the kit as a standalone ST LINK V2 1 with SWD connector for programming and debugging USB re enumeration capability three different interfaces supported on USB Virtual com port Mass storage Debug port Board power supply through USB bus or from an external 5 V supply voltage External application power supply 3 V and 5 V High brightness LED dimming with buck converter One buck boost converter Six LEDs 101
24. ller is powered and the red LED LD1 is turned ON thus the STM32F334 discovery board and its extension board can consume a maximum of 500 mA current not more If the host is not able to provide the required current the targeted STM32 microcontroller and the MCU part including the extension board are not power supplied As a consequence the red LED LD1 remains turned OFF In such case it is mandatory to use an external power supply as explained in the next chapter Warning If the maximum current consumption of the STM32F334 discovery and its extension boards exceeds 500 mA it is mandatory to power the STM32F334 discovery using an external power supply connected to 5V IN In case of this board is powered by an USB charger or USB battery then there is no USB enumeration so the led LD1 remains OFF permanently and the target MCU is not powered In this specific case the jumper JP1 needs to be ON to allow target MCU to be powered anyway This is a special use without enumeration and JP1 is not soldered To use this optional power supply solder a 2 pins header in JP1 and set a jumper you can use a jumper plugged on P3 or P4 External power supply inputs 5V IN The external power source 5V IN is automatically detected in this case the current consumption of STM32F334 discovery board and extension board exceed the allowed current on USB In this condition it is still possible to use the USB for communication for programming or debugging only but it
25. needed for its demo 100mA for an extension board and a safety margin of 100mA The D2 and D3 diodes protect the 5 V pins from external power supplies e 5Vand3V can be used as output power supplies when an extension board is connected to pins P1 and P2 In this case the 5V_O and 3V_O pins deliver a 5 V or 3 3 V power supply and the power consumption of the extension board must be lower than 100 mA e 5V can also be used as input power supplies e g when the USB connector is not connected to the PC 5V I pin of P1 Header In this case the STM32F334 discovery board must be powered by a power supply unit 2 DoclD025953 Rev 1 15 32 Hardware layout UM1735 4 2 1 Note 4 2 2 16 32 or by auxiliary equipment complying with standard EN 60950 1 2006 A11 2009 and must be Safety Extra Low Voltage SELV with limited power capability Power supply input from the USB connector The ST LINK V2 1 supports USB power management allowing to request more than 100 mA current to the host PC All parts of the STM32F334 discovery board and extension board can be powered from the ST LINK USB connector CN1 USV or VBUS Note that only the ST LINK part is power supplied before the USB enumeration as the host PC only provides 100 mA to the board at that time During the USB enumeration the STM32F334 discovery board requires 500 mA of current to the Host PC If the host is able to provide the required power the targeted STM32 microcontro
26. ort function with e The onboard STM32F334C8T6 then set 5814 and 5816 e An external MCU then remove solder from 5814 and 5816 solder 2 pins header on JP4 then you can connect RX and TX of the external MCU directly to RX and TX of OSC clock supply If PFO and PF1 are only used as GPIOs instead of as a clock then 5813 and 5815 are closed and R29 and R30 are removed SB12 must be open MCO from ST LINK from MCO of the STM32F103CBT6 This frequency cannot be changed it is fixed at 8 MHz and connected to PFO OSC_IN of the STM32F334C8T6 The configuration needed is SB12 closed and 5813 open R30 removed HSE Oscillator onboard from X2 crystal not provided For typical frequencies and its capacitors and resistors please refer to the STM32F334C8T6 Datasheet The configuration needed is SB12 5813 5815 open X2 R29 R30 C20 C21 soldered Oscillator from external PFO from external oscillator through pin 7 of the P1 connector The configuration needed is SB13 closed 5812 open R30 removed Please refer to the AN2867 for oscillator design guide for STM32 microcontrollers DoclD025953 Rev 1 19 32 Hardware layout UM1735 4 11 Solder bridges Table 4 Solder bridges Bridge State Description OFF X2 C20 C21 R29 and R30 provide a clock PFO PF1 are disconnected from P1 SB13 15 X2 crystal
27. owners O 2014 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 32 32 00 10025953 Rev 1 Ly
28. pply inputs 16 4 3 EDS LET 17 4 4 Pushbuttons 17 4 5 High brightness LED dimming with buck converter 17 4 6 Buck boost converter 18 4 7 JPS dA e eae A 18 4 8 Configuration 19 4 9 USART configuration 19 4 10 19 4 11 Solder bridges 20 4 12 Extension connectors 21 5 Mechanical drawing 25 6 Electrical schematics 26 7 Revision history 31 2 32 00 10025953 Rev 1 Ly UM1735 List of tables List of tables Table 1 ON OFF conventions 1 5 Table 2 Jumper States 11 Table 3 Debug connector CN2 SWD 14 Table 4 Solder 965 occ it a 20 Table 5 Extension 21 Table 6 Document revision history 31 2 DoclD025953 Rev 1 3 32 List of figures UM1735 List of

Download Pdf Manuals

image

Related Search

Related Contents

Targus AMP13CA remote control  Informationen für Anwender von Titrations- und pH  VRD-14 VRD-28  カラビナ、クイックドロー  MODELE ER  E-Handbuch  取扱説明書 - のタケモトデンキ  取扱説明書  PEB-2710VL & 2730VL Series User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file