Home
User manual - STMicroelectronics
Contents
1. 16 Solder bridge 5 19 MCU pin description versus board function 20 Connecting using 27 Connecting using 10 28 Connecting with a DIL24 board 30 Supported MEMS adapter boards 32 Connecting with Arduino 5 0 33 Document revision history 40 Doc ID 022910 Rev 2 4 UM1525 List of figures List of figures Figure T SIMS2FODISGOVENHB Y 1 Figure 2 Hardware block diagram 9 WODIAVOUl Aou RATE Er bd bd eb PR ERR E eee 10 Figure 4 sien P 11 Figure5 STM32F051R8T6 12 Figure6 STM32FO051HR8T6 block diagram 13 7 Typical Conguratiol 14 Figure8 STM32FODISCOVERY connections image 15 Figure9 ST LINK connections
2. 16 Figure 10 Using IDC10 and mikroBUS 5 29 Figure 11 DIL24 socket 31 Figure 12 Arduino shield board 5 35 Figure 13 STMS32FODISCOVERY mechanical drawing 36 Figure 14 5 5 37 Figure 15 ST LINK V2 SWD only uui dex de CX bea ki oe eh cc 38 PIQUE 16 E Ba KAE Ka a 39 57 Doc ID 022910 Rev 2 5 41 Conventions UM1525 6 41 Conventions Table 2 provides the definition of some conventions used in the present document Table 2 ON OFF conventions Jumper JP1 ON Jumper fitted Jumper JP1 OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open 4 Doc ID 022910 Rev 2 UM1525 2 2 1 2 2 2 3 2 4 Quick start Quick start The STM32FODISCOVERY is a low cost and easy to use development kit to quickly evaluate and start development with an STM32 FO series microcontroller Before installing and using the product please accept the Evaluation Product License Agreement from www st com stm32f0discovery For more information on
3. meo Pelo _ Pu LL SCL I2C serial clock PB6 2 1 SCL SPC SPI serial clock PB3 SPI1 SCK poy SDA 2 Serial Data PB7 2 1 SDA SDI SPI Serial Data Input PB5 SPI1 22 SDO SPI Serial Data Output 2 less significant bit of the device address SPH MISO yO 4 Doc ID 022910 Rev 2 UM1525 4 Connecting modules prototyping board Figure 17 illustrates the connections between the STM32F0 Discovery and the DIL24 socket Figure 11 DIL24 socket connections 9 STMEMS 0124 I 2 2 ID C 10 mee or COG 2X16 LCD optional Doc ID 022910 Rev 2 31 41 Connecting modules on the prototyping board UM1525 Note 32 41 Supported MEMS adapter boards Table 10 is a list of supported MEMS adapter boards as of April 2012 Table 10 Supported MEMS adapter boards 10AXISMODULE LSM303DLHC L8GD20 24 1 LPS331 STEVAL MKI125V1 A3G4250D For an up to date list visit http www st com internet evalboard subclass 1 116 jsp The DIL24 boards are described as adapter boards in the field General Description 4 Doc ID 022910 Rev 2 UM1525 5 3 3 Connecting modules prototyping board Arduino shield boards Arduino is an open source electronics prototyping platform based on flexible eas
4. 195 a 885 oir Wis a E 918260142616 s sas 945 j RAE AEN am gt 69 NO ION C es WTIAl09LVE z Rg 001 z es AN TNIV m gt GAS 2 2 gt gt ca MOT Q 20 P 64 x 3uep pueog 10N CIN sor err 6145 OMS L ISAN L OMS ATOMSADL Doc ID 022910 Rev 2 38 41 Electrical schematics UM1525 MCU Figure 16 HOS AMFAOISIGOAZEWLS a SIIUOIJOI VOIIIIN LS uong 4450 0Vd U 00 c M Bk 21 polit 10N 13534 00 7 289 TSUN 10N 099 2254 ub 85 A 09918 055 4402 4402 ION Ela 149 ZHINS 7 1195 44001 0001 40001 06 CX 0 7 Odd lt BI 022 810 9185 9185 Idd Son _ ANAAD 89L 7 090 D 90E0N 1499 ea JON SIO t 912 v I 0 0 p tX 22 DOW X 0 25015 ES Ee _ 10N cas 015 CES UT ION OL8UTSOACEINLS n ww T 8t Lod 39 41 Doc ID 022910 Rev 2 Revision history UM1525 8 40 41 Revision hist
5. ee 17 4 5 PUSH DUWONS 17 4 6 Sx E E 17 4 7 OSC Clock 18 4 7 1 OSG clock rert opui traen Somos a tor aedes 18 4 7 2 OSC 32 KHz clock supply 18 4 8 xu ados do 19 4 9 Extension connectors 20 5 Connecting modules on the prototyping board 27 5 1 Mikroelektronica accessory boards 27 5 2 ST MEMS adapter boards standard DIL24 socket 30 5 9 Arduino shield 33 6 Mechanical drawing 36 7 Electrical schematics E aaa EUR ACE cee MUR eee 37 2 41 Doc ID 022910 Rev 2 57 UM1525 Contents 8 2222 2 40 57 Doc ID 022910 Rev 2 3 41 List of tables UM1525 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 Table 12 4 41 54 52 5933 288 RO 1 ON OFF convenios ord we ce ee eee ae 6 14 Debug connector SWD
6. UM1525 77 User manual May 2012 SIM32FODISCOVERY Discovery kit for STM32 FO microcontrollers Introduction The STM32FODISCOV ERY helps you to discover the STM32 FO Cortex MO features and to develop your applications easily It is based on STM32F051HR8T6 STM32 FO series 32 bit ARM Cortex microcontroller and includes an ST LINK V2 embedded debug tool LEDs push buttons and a prototyping board Figure 1 STM32FODISCOVERY Table 1 Applicable tools Evaluation tools STM32FODISCOVERY Doc ID 022910 Rev 2 1 41 www st com Contents UM1525 Contents 1 6 2 QUICK 22225230 7 2 1 Getting started 7 2 2 System requirements 7 2 3 Development toolchain supporting the STMS2FODISCOVERY 7 2 4 7 3 Features 8 4 Hardware and layout 9 4 1 STM32F051HR8T6 microcontroller 12 4 2 Embedded ST LINK V2 14 4 2 1 Using ST LINK V2 to program debug the STM32 FO on board 15 4 2 2 Using ST LINK V2 to program debug an external STM32 application 16 4 3 Power supply and power selection 17 4 4
7. 4 14 41 Doc ID 022910 Rev 2 UM1525 Hardware and layout 4 2 1 Using ST LINK V2 to program debug the STM32 FO on board To program the STM32 FO on board simply plug in the two jumpers on CN2 as shown in Figure 8 in red but do not use the CN3 connector as that could disturb communication with the STM32F051R8T6 of the STM32FODISCOVERY Figure 8 STMS2FODISCOVERY connections image _ CN3 SWD connector Bia Em DEI Sm wWw stcom stm 52f discovery 5 DISCOVERY I zl CN2 jumpers ON MB10 54B 4 Doc ID 022910 Rev 2 15 41 Hardware and layout UM1525 4 2 2 Using ST LINK V2 to program debug an external STM32 application It is very easy to use the ST LINK V2 to program the STM32 on an external application Simply remove the 2 jumpers from CN2 as shown in Figure 9 and connect your application to the CN3 debug connector according to Table 4 Note SB19 and SB22 must be OFF if you use CNG pin 5 in your external application Table 4 Debug connector CN3 SWD __ 8 9 hawa Figure9 ST LINK connections image CN3 SWD connector haa gsm wWw st com stm 5 r Qu C 3 v CN2 jumpers OFF 16 41 Doc ID 022910 Rev 2 ky UM1525 4 3 4 4 4 5 4 6 Hardware and layout Power supply and power selection The power supply is provided either by the host PC through the USB cable or by an external 5V power s
8. 5818 OPEN R22 and R23 removed OSC 32 KHz clock supply PC14 and PC15 can be used as GPIO or as LSE oscillator By default these I Os configured as GPIO so SB20 amp SB21 are closed and X3 R24 R25 are not populated An external LSE clock can be provided to the MCU in two ways e Oscillator onboard From crystal not provided Configuration needed SB20 5821 OPEN C15 C16 R24 and R25 soldered e Oscillator from external PC14 From external oscillator trough the pin 5 of P1 connector Configuration needed 6820 5821 CLOSED R24 and R25 removed Doc ID 022910 Rev 2 ky UM1525 Hardware and layout 4 8 Solder bridges Table 5 Solder bridge settings X2 C13 C14 R22 and R23 provide a clock PFO PF1 are disconnected SB16 17 2 from P1 X2 crystal eos PFO PF1 are connected to P1 R22 R23 and SB18 must not be fitted SB6 8 10 12 Default Reserved do not modify SB5 7 9 11 Reserved OFF Reserved do not modify C15 C16 R24 and R25 deliver a 32 KHz clock PC 14 PC15 are not SB20 21 connected to P1 X3 crystal ON o PC14 PC15 are only connected to P1 R24 R25 must not be fitted ON B2 RESET B2 push button is not connected the NRST pin of the STM32F051R8T6 OFF MCU FF SB3 B1 push button is connected to PAO ci SB1 OW VBATispomarentypowerediiom _ xe NRST signal of the connector is connected to the NRST pin
9. MS30023V 1 Hardware and layout Figure 3 layout red green LED LD2 COM 3V power supply input output CN3 SWD connector STM32F051R8T6 B1 user button green LED LD3 STLINK V2 GND VBAT 13 alte EN C5 D2 ae iid Ro B E EN R14 E e I R15 55 comm R17 xi i ele x www stcom7s discovery 5 1 re aie inn DISCOVERY y 5 1054 UM1525 LD1 red LED PWR 5V power supply input output CN2 ST LINK DISCOVERY selector JP2 IDD measurement SB1 VBAT SB3 B1 USER B2 reset button SB4 B2 RESET LD4 blue LED MS30024V 1 Note Pin 1 of CN2 CN3 P1 and P2 connectors are identified by a square 10 41 Doc ID 022910 Rev 2 4 UM1525 Hardware and layout Figure 4 Bottom layout SB5 SB7 589 5811 RESERVED SB6 SB8 SB10 SB12 DEFAULT SB13 STM_RST SB14 SB15 RX TX SB16 SB17 X2 crystal SB18 MCO SB19 NRST SB20 SB21 X3 crystal bad e SB22 T SWO 530025 1 4 Doc ID 022910 Rev 2 11 41 Hardware and layout UM1525 4 1 12 41 STM32F051R8T6 microcontroller This 32 bit low and medium density advanced ARM MCU with a high performance ARM Cortex MO 32 bit RISC core has 64 Kbytes Flash 8 Kbytes RAM RTC timers ADC DAC comparators and communication interf
10. TIMER 16 16 1 channel 1 compl BRK as AF lt 1 ch meme KP 1 compl BRK as AF KD Ae OUT as AF pies RX TX CTS RTS CK as AF SCL SDA SMBal pes Ky eget as AF 12 bit lt gt DAC1_OUT as AF Vppa USART2 mene gt 6 MS19315V1 Doc ID 022910 Rev 2 13 41 Hardware and layout UM1525 4 2 Embedded ST LINK V2 The ST LINK V2 programming and debugging tool is integrated on the STM32FODISCOVERY The embedded ST LINK V2 can be used in 2 different ways according to the jumper states see Table 3 e Program debug the MCU on board e Program debug an MCU in an external application board using a cable connected to SWD connector CN3 The embedded ST LINK V2 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 Figure 7 Typical configuration Hardware requirements USB cable type A to mini B computer with Windows XP Vista or 7 Development toolchain Altium TASKING VX Toolset Atollic TrueSTUDIO IAR EWARM Keil MDK ARM MS19052V2 Table 3 Jumper states Both jumpers ST LINK V2 functions enabled for on board programming default Both CN2 jumpers OFF ST LINK V2 functions enabled for application through external CN3 connector SWD supported
11. CK 2 CH2 TSC G5 101 EVENTOUT 3 Doc ID 022910 Rev 2 ky UM1525 3 Table 6 MCU pin PB4 PB5 PB6 PB7 PB8 Hardware and layout MCU pin description versus board function page 4 of 7 Alternate functions 1 MISO 1 MCK 3 CH1 TSC G5 102 EVENTOUT 1 MOSI 1 SD 1 SMBA 16 BKIN 3 CH2 1 SCL 1 TX 16 TSC G5 103 1 SDA 1 RX 17_CHIN _ 5_ 4 1_SDA EVENTOUT 17 CH1 EVENTOUT 2 SDA 2 CHA G6 101 EVENTOUT 2 NSS 1 BKIN G6 102 EVENTOUT O1 N O Doc ID 022910 Rev 2 250 9914 Ajddns NO Board function 23 41 Hardware and layout UM1525 24 41 Table 6 MCU pin il versus board function page 5 of 7 Alternate functions 2 MOSI 1 15 CHIN 3 30 15 2 RTC_REFIN IN10 11 EVENTOUT IN11 12 EVENTOUT IN12 IN13 11 EVENTOUT IN14 IN15 a Pez J E 1 LE EET I E RTC_TAMP1 TS OUT WKUP2 Doc ID 022910 Rev 2 q31 250 9914 Ajddns ENO PB14 O PB15 4 UM1525 Hardware and layout Table 6 MCU pin il versus board function page 6 of 7 14 2 OSC32_IN z PC15 OSC32 OSC32 OUT OUT 1 OSC_ OSC OUT OUT EVENT
12. m GND EE VBAT PC13 PC14 CN3 ER PC15 E R9 PFO EN R12 GND NRST PCO PC1 PC2 TX R PC3 WwwW st com Sstm 2fOdiscovery PAO x2 mu gt lt le de 2 ras 5555 EIS i SBI idu MII PF5 US PA4 M 0 A gt unm 2 ER zo 582 R18 R19 EN gt lt CO CO 81 28 a PA5 Comm R27 PAG PC4 lt 2 5 D PBO MZ PB1 gt lem USER RESET 5 m m E fet zm m PB10 PB11 PC9 PC8 12 lt 73 ae 1054 62mm 38 7 62mm 4 36 41 Doc ID 022910 Rev 2 Electrical schematics UM1525 Electrical schematics 7 STM32FODISCOVERY Figure 14 v I PNS cLOz e c wwd 9208 2 100 8 WT S21U0J 29 90J9 N LS JopeoH C IE 2184 JopeoH 0 ridd i 67 2184 ac 99d add iz Lod ine 80d ordd is 9c 6 E 60d ae 8Vd 18d E LC Z 6Vd 094 E E Sod Iz II Vd LE ue LVd pe p I Vd 9Vd 81 944 Iz
13. the STM32FODISCOVERY and for demonstration software visit www st com stm32f0discovery Getting started Follow the sequence below to configure the STM32FODISCOVERY board and launch the DISCOVER application 1 Check jumper position on the board JP2 on CN2 on Discovery selected 2 Connect the STM32FODISCOVERY board to a PC with a USB cable type A to mini B through USB connector CN1 to power the board Red LED LD1 PWR and LD2 COM light up and green LED LD3 blinks 3 Press user button B1 bottom left corner of the board 4 Observe how the green LED LD3 blinking changes according to USER button B1 clicks 5 Each click on USER button B1 is confirmed by the blue LED 104 6 To study or modify the DISCOVER project related to this demo visit www st com stm32f0discovery and follow the tutorial 7 Discover the STM32F0 features download and execute programs proposed in the list of projects 8 Develop your own application using available examples System requirements e Windows PC XP Vista 7 e USB type A to Mini B USB cable Development toolchain supporting the STM32FODISCOVERY e Altium TASKING VX toolset e ARMB Atollic TTueSTUDIOG e IAR EWARM Embedded Workbench e Keil MDK ARM Order code To order STM32F0 Discovery kit use the order code STM32FODISCOVERY Doc ID 022910 Rev 2 7 41 Features 3 8 41 UM1525 Features The STM32FODISCOVERY kit offers the fo
14. KUP 1 2 5 IN1 2 CH2 1_ INP TSC G1 102 EVENTOUT 2 IN2 2 15 CH1 2 6 2 OUT TSC G1 103 2 HX ING 2 CHA 15 CH2 2 TSC G1 104 Doc ID 022910 Rev 2 Ajddns 4 UM1525 3 Table 6 Hardware and layout MCU pin description versus board function page 2 of 7 Alternate functions 1 55 1 WS 2 CK INA 14 CH1 DAC1 OUT 1 INMA 2 INMA TSC G2 101 1 SCK 1 CK CEC IN5 2 CH1 ETR DAC2 OUT 1 INMS 2 5 TSC G2 102 1 MISO 1 MCK ING 3_CH1 1_BKIN 16 CH1 1 OUT TSC G2 EVENTOUT 1 MOSI 1 SD IN7 3 CH2 14 CH1 1 17 CH1 2 OUT TSC G2 104 EVENTOUT 1 CK 1 CH1 EVENTOUT MCO 1 TX 1 CH2 15 BKIN TSC GA Ajddns ENO 20 21 2 NO 23 4 42 Doc ID 022910 Rev 2 21 41 Hardware and layout UM1525 22 41 Table 6 MCU pin description versus board function page 3 of 7 fos 4 m functions 1 1 CH3 ias 17 BKIN TSC 64 102 1 CTS 1 CH4 PA11 1 OUT TSC G4 103 EVENTOUT 1 RTS 1 ETR PA12 2 OUT TSC_G4_104 EVENTOUT IR_OUT 2 TX 1 55 1 WS 2 HX 2_ 1_ EVENTOUT IN8 3 PBO 1 CH2N 94301 250 Ajddns ENO M 1OMS TSC G3 102 EVENTOUT IN9 3 CHA 14 CH1 1 TSC G3 103 TSC G3 104 28 1 SCK 1
15. OUT Alternate functions Ajddns INO 22050 VDD 1 VDD 2 VDDA VSS 1 VSS_2 o o o TH lt Doc ID 022910 Rev 2 25 41 Hardware and layout UM1525 26 41 Table 6 MCU pin description versus board function page 7 of 7 Alternate functions 4 Doc ID 022910 Rev 2 UM1525 5 5 1 4 Connecting modules prototyping board Connecting modules on the prototyping board This section gives some examples of how to connect ready to use modules available from different manufacturers to the STM32FODISCOVERY kit via the prototyping board included in the kit Software examples based on the connections described below are available at www st com stm32f0discovery Mikroelektronica accessory boards Mikroelektronika http www mikroe com has specified two standard connectors for their accessory boards named mikroBUS M http www mikroe com mikrobus specs pdf and IDC10 MikroBUS is a 16 pin connector to connect accessory boards very quickly and easily to a microcontroller board through SPI USART or I2C communications along with additional pins such as Analog Input PWM and Interrupt The set of mikroElektronika boards compatible with mikroBUS is called Click boards IDC10 is a 10 pin connector to connect the general purpose I O of an MCU to other accessory boards The tables below are one solution for connecting mikroBUS and IDC boa
16. RRANTY 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 TWO AUTHORIZED ST REPRESENTATIVES 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 2012 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Be
17. User push button connected to the I O PAO of the STM32F051R8T6 e B2 RESET Push button used to RESET the STM32F051R8T6 JP2 Idd Jumper JP2 labeled Idd allows the consumption of STM32F051R8T6 to be measured by removing the jumper and connecting an ammeter e Jumper STM32F051HR8T6 is powered default e Jumper off an ammeter must be connected to measure the STM32F051R8T6 current if there is no ammeter the STM32F051H8T6 is not powered Doc ID 022910 Rev 2 17 41 Hardware and layout UM1525 4 7 4 7 1 4 7 2 18 41 OSC clock OSC clock supply PFO and PF1 can be used as GPIO or as HSE oscillator By default these I Os are configured as GPIO so SB16 and SB17 are closed SB18 is open and R22 R23 C13 and C14 are not populated An external HSE clock can be provided to the MCU in three ways e ST LINK From of the STM32F103 This frequency cannot be changed it is fixed at 8 MHz and connected to PFO OSC_IN of the STM32F051R8T6 Configuration needed 6816 5818 CLOSED R22 R23 removed 6817 OPEN e Oscillator onboard From X2 crystal not provided For typical frequencies and its capacitors and resistors please refer to the STM32F051HR8T6 Datasheet Configuration needed 6816 5817 5818 OPEN R22 R23 C13 C14 soldered e Oscillator from external PFO From external oscillator through pin 7 of the P1 connector Configuration needed SB16 5817 CLOSED
18. a 144 on T E tdd E el Bs a Zd i 0Vd E 8d 204 6 vdd 4 E Sdd 104 I 98d B UB e 9 1 6 u un 8 88d 7 68d 1 s v Cd 2001495 5 XAZENLS n E OMS L ISUN L OIGMS SWL X TOMS NOL ANIT IS n OOGHOS ZA LS v I 37 41 Doc ID 022910 Rev 2 UM1525 Electrical schematics ST LINK V2 SWD only Figure 15 juo GMS ZA MNIT LS AM3AOO2SIGOJCEMLLS S2IUOJ 29 90J9 IIA LS IN IIAE09 LVH i d AS Id 110 ca In AS asn JON df 0125012 PAWL JON AE AI E M _ MNIT1S TA p XL ILAYSN OJCEWLS ut 61857 2 TERE 1 sal x55 CET SM Corva gt n 2 XA LLNVSO 0418 E 2 _ NI OIGMS 1 gt 2 5 MNIT LS lt 440 sJeduun ION _ e d pa328 9S AH3AOOSIG NO US 184 IVd aoe 149 L 49001 001 lt qc 48 uid SOTATEWLS 9 25012 Isn DY NIIS 31 ge OMS 1 eee zi 001 asn 9TA 77 dd asn A ZHINS OMS L LT SWI WLS 1185 TIJS 9 JopeoH 1 OIGMS wis 1SN 1 STA 1402 4402 68S 0185 nd
19. aces Figure 5 STM32F051R8T6 package STM32F051R8T6 64 Kbyte of Flash memory 8 Kbytes of RAM LQFP64 10 x 10 mm MS30026V1 STMS32 FO delivers 32 bit performance and STM32 DNA essentials into applications typically addressed by 8 or 16 bit microcontrollers It benefits from the combination of real time performance low power operation advanced architecture and peripherals associated to the STM32 ecosystem which has made the STM32 a reference in the market Now all this is accessible for cost sensitive applications The STM32 FO offers unparalleled flexibility and scalability for home entertainment products appliances and industrial equipment This device provides the following benefits e Superior code execution for better performance and excellent code efficiency for reduced embedded memory usage e High performance connectivity and advanced analog peripherals to support a wide range of applications e Flexible clock options and low power modes with fast wake up for low power consumption It has the following key features e Core and operating conditions ARM Cortex MO 0 9 DMIPS MHz up to 48 MHz 1 8 2 0 to 3 6 V supply range e High performance connectivity 6Mbit s USART 18 Mbit s SPI with 4 to 16 bit data frame 1Mbit s fast mode plus HDMI e Enhanced control 1 16 bit 3 phase PWM motor control timer 5x 16 bit PWM timers 1 16 bit basic timer 1x 32 bit PWM time
20. lgium 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 AA 0022910
21. llowing features STM32F051R8T6 microcontroller featuring 64 KB Flash 8 RAM an LQFP64 package On board ST LINK V2 with selection mode switch to use the kit as a standalone ST LINK V2 with SWD connector for programming and debugging Board power supply through USB bus or from an external 5 V supply voltage External application power supply 3 V and 5 V Four LEDs 101 red for 3 3 V power LD2 red green for USB communication 103 green for PC9 output 104 blue for output Two push buttons user and reset Extension header for LQFP64 I Os for quick connection to prototyping board and easy probing An additional board is provided with the kit which can be connected to the extension connector for even easier prototyping and probing A large number of free ready to run application firmware examples are available on www st com stm32f0discovery to support quick evaluation and development Doc ID 022910 Rev 2 ky UM1525 Hardware and layout 4 Hardware and layout The STM32FODISCOVERY is designed around the STM32F051R8T6 microcontroller in a 64 pin LQFP package Figure 2 illustrates the connections between the STM32F051HR8T6 and its peripherals ST LINK V2 push button LEDs and connectors Figure 3 and Figure 4 help you to locate these features on the STM32FODISCOVERY Figure 2 Hardware block diagram Embedded ST LINK V2 STM32F051R8T6 LED B2 LD3 PC9 RST LED B1 LD4 PC8 USER
22. of the SB19 STM32F051R8T6 MCU NRST OFF NRST signal of the CN3 connector is not connected to the NRST pin of the STM32F051R8T6 MCU OFF B2 push button is connected to the NRST pin of the STM32F051R8T6 MCU 5 14 15 SB22 SWO signal of the CN3 connector is connected to PBS T_SWO OFF SWO signal is not connected SB13 No incidence on STM32F103C8T6 ST LINK V2 NRST signal STM RST ON STM32F103C8T6 ST LINK V2 NRST signal is connected to GND signal of the STM32F051R8T6 MCU is held low through SB2 510 Ohm pull down resistor BOOTO BOOTO signal of the STM32F051R8T6 MCU can be set high through a 10 KOhm pull up resistor R27 to solder SB18 Provides the 8 MHz for OSC IN from MCO of STM32F103C8T6 See SB16 SB17 description 1 Default SBx state is shown in bold 2 OSC IN clock comes from MCO if SB18 is ON and SB16 17 are OFF and comes from X2 if SB18 is OFF and SB16 17 are ON Hardware and layout 4 9 20 41 Extension connectors The male headers P1 and P2 can connect the STM32FODISCOVERY to a standard prototyping wrapping board STM32F051HR8T6 GPI Os are available on these connectors P1 and P2 can also be probed by an oscilloscope logical analyzer or voltmeter Table 6 MCU 2 aes versus board function page 1 of 7 Alternate functions Board function UM1525 BOOTO NRST NRST 2 CTS INO 2 CH1 1 INM6 1 OUT TSC G1 101 TAMP2 W
23. ory Table 12 Document revision history even Deme 20 Mar 2012 Initial release 30 May 2012 2 5 Connecting modules the prototyping board 57 Doc ID 022910 Rev 2 UM1525 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 WA
24. r 12MHzI O toggling Doc ID 022910 Rev 2 ky Hardware and layout V POWER DD18 UM1525 Figure 6 STM32F051R8T6 block diagram SWCLK Serial Wire ot c Debug CPU NVIC GP DMA gt BusMatrix pansa K gt ag 5 era 6 groups of A channels 2 Analog SYNC AHB decoder Touch Sensing Controller switches EXT IT GUE lt gt MOSI SD MISO MCK SCKICK c SPI1 l2S1 lt gt SS WS as AF MOSI MISO Remb gt seme gt p as AF INPUT GP Comparator 1 INPUT lt gt OUTPUT GP Comparator 2 as Vppa lt gt Vssa Vppa 4 VOLT REG 3 8 V TO1 8V Vss FLASH E 64 KB 5 32 bits SUPPLY SUPERVISION NRST SRAM PDR VDDA 8 KB VDDA SRAM controller RC HS 14 MHz RC HS 8 MHz DD XTAL OSC a 4 32 MHz IWWDG OSCIN PFO OSCOUT PF 1 Controller ADCCLK e VBAT 1 65V to 3 6V USARTCLK OSC32 IN HCLK XTAL 32kHz 05632 OUT FCLK E Backup TAMPER RTC reg ALARM OUT TIMER 1 RTC interface 4 channels gt gt 3 compl channels BRK ETR input as AF gt 2 KL 4 ch ETR AF C TIMERS K 4ch ETR as 14 K gt 1 channel as AF AHB lt gt TIMER 15 2 channels 1 compl BRK as AF
25. rds to the STM32FODISCOVERY this solution used in the different examples is available at WWW sSt com stm32fOdiscovery Table 7 Connecting using mikroBUS Doc ID 022910 Rev 2 27 41 Connecting modules on the prototyping board UM1525 28 41 Table 8 Connecting using IDC10 o a rooe man ee es esse m joo a OUTPUT RV een joo e oPOOUTPUTGN awan Vw P8 GPO 3 GPIO OUTPUT tolerant 4 Doc ID 022910 Rev 2 UM1525 Connecting modules on the prototyping board The Figure 10 illustrates the connections between the STM32FO0 Discovery and the 2 connectors IDC10 and mikroBUS M Figure 10 Using IDC10 and mikroBUS connectors EIE S 20400654 eeees mikroBUs T lt 8 E E Connecting modules on the prototyping board UM1525 5 2 30 41 ST MEMS adapter boards standard DIL24 socket STMicroelectronics has defined a standard DIL24 connector to easily evaluate its MEMS sensors connected to a microcontroller through SPI or 12C communications Table 9 is one solution for connecting the DIL24 boards to the STM382FODISCOVERY this solution is used in different examples and available at www st com stm32fOdiscovery Table 9 Connecting with a DIL24 board ST MEMS DIL24 Eval board STM32FODISCOVERY V 3 LO CNN E
26. upply The 01 and D2 diodes protect the 5V and pins from external power supplies e 5V and can be used as output power supplies when another application board is connected to pins P1 and P2 In this case the 5V and 3V pins deliver a 5V or 3V power supply and power consumption must be lower than 100 mA e 5 also be used as input power supplies e g when the USB connector is not connected to the PC In this case the STM32FODISCOVERY board must be powered by a power supply unit 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 LEDs LD1 PWR Red LED indicates that the board is powered e 102 COM Tricolor LED COM advises on the communication status as follows Slow blinking Red LED Off At power on before USB initialization Fast blinking Red LED Off After the first correct communication between PC and STLINK V2 enumeration Red LED On When initialization between PC and ST LINK V2 is successfully finished Green LED On After successful target communication initialization Blinking Red Green LED During communication with target Red LED On Communication finished and OK Orange LED On Communication failure e User 03 Green user LED connected to the I O PC9 of the STM32F051HR8T6 e User LD4 Blue user LED connected to the I O of the STM32F051R8T6 Push buttons e Bi USER
27. y to use hardware and software See http www arduino cc for more information Arduino accessory boards are called Shields and can be easily connected to the STM32FO0 Discovery according to the following table Table 11 Connecting with Arduino shields Connecting with Arduino shields 0032 voCsVpowerine sv _ eterence Ground Reference Ground A NAR A3 Analoginputor Digital pin 17 Analog input or Digital pin 17 or Digital pin 17 ADCINIB IN13 EG as input or SDA or Digital or 5bEZ IN140rl2C2 SDA ien input or SCL or Digital or Pre ADC IN15orI2C2 Arduino digital connector STM32FODISCOVERY gt 06 DsiipnsoPWM _____ Pse meon 05 PM Doc ID 022910 Rev 2 33 41 Connecting modules on the prototyping board UM1525 Connecting with Arduino shields continued CK 4 34 41 Doc ID 022910 Rev 2 UM1525 Connecting modules on the prototyping board Figure 12 illustrates the connections between the STM32F0 Discovery and the Arduino shield boards Figure 12 Arduino shield board connections T NASI PB4 PB3 Mechanical drawing UM1525 6 Mechanical drawing Figure 13 STM32FODISCOVERY mechanical drawing 5 3 34mm 3V o
Download Pdf Manuals
Related Search
Related Contents
QB-78K0MINI On-Chip Debug Emulator UM Chap 1 Brief Introduction & Features Samsung SGH-E786 Manual de Usuario B - DiveSystem Copyright © All rights reserved.
Failed to retrieve file