Table of Contents

Advertisement

Quick Links

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.
Table 1.
May 2012
Discovery kit for STM32 F0 microcontrollers
STM32F0DISCOVERY
Applicable tools
Type
Evaluation tools
Doc ID 022910 Rev 2
UM1525
User manual
STM32F0DISCOVERY
Part number
STM32F0DISCOVERY
1/41
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F051R8T6 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STM32F051R8T6

  • Page 1: Table 1. Applicable Tools

    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.
  • Page 2: Table Of Contents

    Embedded ST-LINK/V2 ........
  • Page 3 UM1525 Contents Revision history ......... . . 40 Doc ID 022910 Rev 2 3/41...
  • Page 4 List of tables UM1525 List of tables Table 1. Applicable tools............1 Table 2.
  • Page 5 STM32F051R8T6 block diagram ........
  • Page 6: Conventions

    Conventions UM1525 Conventions Table 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 6/41 Doc ID 022910 Rev 2...
  • Page 7: 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, please 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/stm32f0discovery.
  • Page 8: Features

    Features UM1525 Features The STM32F0DISCOVERY kit offers the following features: STM32F051R8T6 microcontroller featuring 64 KB Flash, 8 KB RAM in 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 ●...
  • Page 9: Hardware And Layout

    UM1525 Hardware and layout Hardware and layout The STM32F0DISCOVERY is designed around the STM32F051R8T6 microcontroller in a 64-pin LQFP package. Figure 2 illustrates the connections between the STM32F051R8T6 and its peripherals (ST- LINK/V2, push button, LEDs and connectors). Figure 3 Figure 4 help you to locate these features on the STM32F0DISCOVERY.
  • Page 10: Figure 3. Top Layout

    SWD connector ST-LINK/DISCOVERY selector IDD measurement SB1 (VBAT) SB3 (B1-USER) B2 reset button STM32F051R8T6 SB4 (B2-RESET) B1 user button (green LED) LD3 LD4 (blue LED) MS30024V1 Note: Pin 1 of CN2, CN3, P1 and P2 connectors are identified by a square.
  • Page 11: Figure 4. Bottom Layout

    UM1525 Hardware and layout Figure 4. Bottom layout SB5, SB7, SB9, SB11 (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) SB22 (T_SWO) MS30025V1 Doc ID 022910 Rev 2 11/41...
  • Page 12: Stm32F051R8T6 Microcontroller

    Hardware and layout UM1525 STM32F051R8T6 microcontroller This 32-bit low- and medium-density advanced ARM™ MCU with a high-performance ARM Cortex™-M0 32-bit RISC core has 64 Kbytes Flash, 8 Kbytes RAM, RTC, timers, ADC, DAC, comparators and communication interfaces. Figure 5. STM32F051R8T6 package The STM32 F0 delivers 32-bit performance and STM32 DNA essentials into applications typically addressed by 8- or 16-bit microcontrollers.
  • Page 13: Figure 6. Stm32F051R8T6 Block Diagram

    UM1525 Hardware and layout Figure 6. STM32F051R8T6 block diagram Doc ID 022910 Rev 2 13/41...
  • Page 14: Embedded St-Link/V2

    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.
  • Page 15: Using St-Link/V2 To Program/Debug The Stm32 F0 On Board

    UM1525 Hardware and layout 4.2.1 Using ST-LINK/V2 to program/debug the STM32 F0 on board To program the STM32 F0 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 STM32F0DISCOVERY.
  • Page 16: Using St-Link/V2 To Program/Debug An External Stm32 Application

    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...
  • Page 17: Power Supply And Power Selection

    Red LED On: Communication finished and OK – Orange LED On: Communication failure User LD3: Green user LED connected to the I/O PC9 of the STM32F051R8T6. ● User LD4: Blue user LED connected to the I/O PC8 of the STM32F051R8T6.
  • Page 18: Osc Clock

    An external HSE clock can be provided to the MCU in three ways: MCO from ST-LINK. From MCO of the STM32F103. This frequency cannot be ● changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of the STM32F051R8T6. Configuration needed: –...
  • Page 19: Solder Bridges

    P1. (X3 crystal) PC14, PC15 are only connected to P1 (R24, R25 must not be fitted). B2 push button is connected to the NRST pin of the STM32F051R8T6 MCU. (B2-RESET) B2 push button is not connected the NRST pin of the STM32F051R8T6 MCU.
  • Page 20: Extension Connectors

    Extension connectors The male headers P1 and P2 can connect the STM32F0DISCOVERY to a standard prototyping/wrapping board. STM32F051R8T6 GPI/Os are available on these connectors. P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter. Table 6.
  • Page 21 UM1525 Hardware and layout Table 6. MCU pin description versus board function (page 2 of 7) MCU pin Board function Main Alternate function functions 1_NSS / 1_WS, 2_CK, IN4, 14_CH1, DAC1_OUT, 1_INM4, 2_INM4, TSC_G2_IO1 1_SCK / 1_CK, CEC, IN5, 2_CH1_ETR, (DAC2_OUT), 1_INM5, 2_INM5,...
  • Page 22 Hardware and layout UM1525 Table 6. MCU pin description versus board function (page 3 of 7) MCU pin Board function Main Alternate function functions 1_RX, 1_CH3, PA10 17_BKIN, TSC_G4_IO2 1_CTS, 1_CH4, PA11 1_OUT, TSC_G4_IO3, EVENTOUT 1_RTS, 1_ETR, PA12 2_OUT, TSC_G4_IO4, EVENTOUT IR_OUT, PA13...
  • Page 23 UM1525 Hardware and layout Table 6. MCU pin description versus board function (page 4 of 7) MCU pin Board function Main Alternate function functions 1_MISO / 1_MCK, 3_CH1, TSC_G5_IO2, EVENTOUT 1_MOSI / 1_SD, 1_SMBA, 16_BKIN, 3_CH2 1_SCL, 1_TX, 16_CH1N, TSC_G5_IO3 1_SDA, 1_RX, 17_CH1N,...
  • Page 24 Hardware and layout UM1525 Table 6. MCU pin description versus board function (page 5 of 7) MCU pin Board function Main Alternate function functions 2_MISO, 1_CH2N, PB14 15_CH1, G6_IO4 2_MOSI, 1_CH3N, PB15 15_CH1N, 15_CH2, RTC_REFIN IN10, EVENTOUT IN11, EVENTOUT IN12, EVENTOUT IN13, EVENTOUT...
  • Page 25 UM1525 Hardware and layout Table 6. MCU pin description versus board function (page 6 of 7) MCU pin Board function Main Alternate function functions PC14- OSC32_ OSC32_IN PC15- OSC32_ OSC32_OUT 3_ETR PF0- OSC_IN OSC_IN PF1- OSC_ OSC_OUT EVENTOUT EVENTOUT 2_SCL 2_SDA VBAT VBAT...
  • Page 26 Hardware and layout UM1525 Table 6. MCU pin description versus board function (page 7 of 7) MCU pin Board function Main Alternate function functions 26/41 Doc ID 022910 Rev 2...
  • Page 27: Connecting Modules On The Prototyping Board

    STM32F0DISCOVERY 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™ (http://www.mikroe.com/mikrobus_specs.pdf) and IDC10.
  • Page 28: Table 8. Connecting Using Idc10

    Connecting modules on the prototyping board UM1525 Table 8. Connecting using IDC10 Mikroelektronica IDC10 connector STM32F0DISCOVERY GPIO GPIO OUTPUT (3.3V tolerant) GPIO GPIO OUTPUT (3.3V tolerant) GPIO GPIO OUTPUT (3.3V tolerant) GPIO GPIO OUTPUT (3.3V tolerant) GPIO GPIO OUTPUT (3.3V tolerant) GPIO GPIO OUTPUT (3.3V tolerant) GPIO...
  • Page 29: Figure 10. Using Idc10 And Mikrobus™ Connectors

    UM1525 Connecting modules on the prototyping board Figure 10 illustrates the connections between the STM32F0 Discovery and the 2 connectors, IDC10 and mikroBUS™. Figure 10. Using IDC10 and mikroBUS™ connectors Doc ID 022910 Rev 2 29/41...
  • Page 30: St Mems "Adapter Boards", Standard Dil24 Socket

    SPI or I2C communications. Table 9 is one solution for connecting the DIL24 boards to the STM32F0DISCOVERY, this solution is used in different examples and available at www.st.com/stm32f0discovery. Table 9. Connecting with a DIL24 board...
  • Page 31: Figure 11. Dil24 Socket Connections

    UM1525 Connecting modules on the prototyping board Figure 11 illustrates the connections between the STM32F0 Discovery and the DIL24 socket. Figure 11. DIL24 socket connections Doc ID 022910 Rev 2 31/41...
  • Page 32: Table 10. Supported Mems Adapter Boards

    STEVAL-MKI120V1 LPS331AP STEVAL-MKI122V1 LSM330DLC STEVAL-MKI123V1 LSM330D 10AXISMODULE [LSM303DLHC + L3GD20+ STEVAL-MKI124V1 LPS331AP] STEVAL-MKI125V1 A3G4250D Note: For an up-to-date list, visit http://www.st.com/internet/evalboard/subclass/1116.jsp. The DIL24 boards are described as “adapter boards” in the field “General Description”. 32/41 Doc ID 022910 Rev 2...
  • Page 33: Arduino Shield Boards

    UM1525 Connecting modules on the prototyping board Arduino shield boards Arduino™ is an open-source electronics prototyping platform based on flexible, easy-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 STM32F0 Discovery according to the following table.
  • Page 34 Connecting modules on the prototyping board UM1525 Connecting with Arduino shields (continued) Arduino ICSP connector STM32F0DISCOVERY MISO SPI1_MISO VCC 3.3V SPI1_SCK MOSI SPI1_MOSI NRST Reset discovery Reference Ground 34/41 Doc ID 022910 Rev 2...
  • Page 35: Figure 12. Arduino Shield Board Connections

    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 Doc ID 022910 Rev 2 35/41...
  • Page 36: Mechanical Drawing

    Mechanical drawing UM1525 Mechanical drawing Figure 13. STM32F0DISCOVERY mechanical drawing 36/41 Doc ID 022910 Rev 2...
  • Page 37: Electrical Schematics

    UM1525 Electrical schematics Electrical schematics Figure 14. STM32F0DISCOVERY Doc ID 022910 Rev 2 37/41...
  • Page 38: Figure 15. St-Link/V2 (Swd Only)

    Electrical schematics UM1525 Figure 15. ST-LINK/V2 (SWD only) 38/41 Doc ID 022910 Rev 2...
  • Page 39: Figure 16. Mcu

    UM1525 Electrical schematics Figure 16. MCU Doc ID 022910 Rev 2 39/41...
  • Page 40: Table 12. Document Revision History

    Revision history UM1525 Revision history Table 12. Document revision history Date Revision Changes 20-Mar-2012 Initial release. Added Section 5: Connecting modules on the prototyping board on 30-May-2012 page 40/41 Doc ID 022910 Rev 2...
  • Page 41 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.

Table of Contents

Save PDF