![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
may 2012 doc id 022910 rev 2 1/41 um1525 user manual STM32F0DISCOVERY discovery kit for stm32 f0 microcontrollers introduction the STM32F0DISCOVERY helps you to discover the stm32 f0 cortex?-m0 features and to develop your applications easily. it is based on stm32f051r8t6, an stm32 f0 series 32-bit arm? cortex? microcontroller, and includes an st-link/v2 embedded debug tool, leds, push buttons and a prototyping board. figure 1. STM32F0DISCOVERY table 1. applicable tools type part number evaluation tools STM32F0DISCOVERY www.st.com
contents um1525 2/41 doc id 022910 rev 2 contents 1 conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 development toolchain supporting the STM32F0DISCOVERY . . . . . . . . . 7 2.4 order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.1 stm32f051r8t6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 embedded st-link/v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.2.1 using st-link/v2 to program/debug the stm32 f0 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 leds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.5 push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.6 jp2 (idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.7 osc clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.1 osc clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.2 osc 32 khz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.8 solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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.3 arduino shield boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6 mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7 electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 um1525 contents doc id 022910 rev 2 3/41 8 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 list of tables um1525 4/41 doc id 022910 rev 2 list of tables table 1. applicable tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. on/off conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 table 3. jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 table 4. debug connector cn3 (swd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 table 5. solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 6. mcu pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 7. connecting using mikrobus? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 7 table 8. connecting using idc10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 9. connecting with a dil24 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 10. supported mems adapter boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 11. connecting with arduino shields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 um1525 list of figures doc id 022910 rev 2 5/41 list of figures figure 1. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 2. hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 3. top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 4. bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 5. stm32f051r8t6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 6. stm32f051r8t6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 7. typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 8. STM32F0DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 9. st-link connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 10. using idc10 and mikrobus? connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 11. dil24 socket connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 12. arduino shield board connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 13. STM32F0DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 14. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 15. st-link/v2 (swd only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 16. mcu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 conventions um1525 6/41 doc id 022910 rev 2 1 conventions ta bl e 2 provides the definition of some conventions used in the present document. table 2. on/off conventions convention definition 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 um1525 quick start doc id 022910 rev 2 7/41 2 quick start the STM32F0DISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate and start development with an stm32 f0 series microcontroller. before installing and using the product, pleas e accept the evaluation product license agreement from www.st.com/STM32F0DISCOVERY . for more information on the STM32F0DISCOVERY and for demonstration software, visit www.st.com/stm3 2f0discovery . 2.1 getting started follow the sequence below to configure the STM32F0DISCOVERY board and launch the discover application: 1. check jumper position on the board, jp2 on, cn2 on (discovery selected). 2. connect the STM32F0DISCOVERY 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 ld4. 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. 2.2 system requirements features um1525 8/41 doc id 022910 rev 2 3 features the STM32F0DISCOVERY kit offers the following features: um1525 hardware and layout doc id 022910 rev 2 9/41 4 hardware and layout the STM32F0DISCOVERY is designed around the stm32f051r8t6 microcontroller in a 64-pin lqfp package. figure 2 illustrates the connections between the s tm32f051r8t6 and its peripherals (st- link/v2, push button, leds and connectors). figure 3 and figure 4 help you to locate these features on the STM32F0DISCOVERY. figure 2. hardware block diagram - 3 6 " 5 3 % 2 ) / - i n i 5 3 " , $ 0 # " 2 3 4 2 % 3 % 4 ) / ) / ( e a d e r ( e a d e r 3 7 $ % m b e d d e d 3 4 , ) . + 6 3 4 - & |