Home
Getting started with the STM32F072 Discovery kit
Contents
1. The four LEDs will indicate the board motion direction and speed Function 2 Connect STM32F072 Discovery board to a PC with a USB type A to Micro B cable through USB connector CN2 USB USER This converts the board to a standard mouse Press User button to start the USB test Move the STM32F072 Discovery board and see the mouse move according to the board movement Function 3 Press the User button again to enable the linear touch sensor the four LEDs will be ON or Off according to the position of the fingertip on the linear touch sensor d DoclD025256 Rev 1 5 9 Firmware package UM1674 2 Firmware package To get started with the STM32F072 Discovery kit a firmware package that contains a set of IP examples and demos of some features is available at www st com stm32f0 discovery 2 1 Package description The STM32F072 Discovery firmware applications and related documentation are provided in one single package and supplied in one single ZIP file The extraction of the ZIP file generates one folder STM32F072B Discovery FW VX Y Z which contains the following subfolders Figure 3 Package contents STM32F 072Bb Discovery FW VX Y Z F L F H STM32 USB Device Driver STM32 USB Device Library STM32F xx StdPeriph Driver STMTouch Driver H E E h Demonstration l l Master Workspace d Peripheral Examples fH Template Ll Utilities CH STM32F072B Discovery ag MCD ST Liberty SW License Ag
2. 1 QUICK Stale ous iis cee Kate eheS owe be dee Re ee ders ee bale Wn She 4 1 1 Hardware requirements 000 cece cette eee 4 1 2 Run pre loaded demo tees 5 2 Firmware Package lt i aaa eR RREERRRER ARA NREEEERERERRRR 6 2 1 Package description UP aate REA ee eee PAK ee REOR ES bees 6 2 2 Programming firmware application 0 0000 eee ee eee 7 2 2 1 IDE requirements lille 7 2 2 2 Programming application c ee ee 7 3 Revision history runc BANKER ede Sed BKA KATAS ADA SPERR ESO E E EUEE 8 2 9 DoclD025256 Rev 1 Ly UM1674 List of figures List of figures Figure 1 STM32F072 Discovery board STM32F072B DISCO a 1 Figure 2 Hardware environment 0 00 00 4 Figure 3 Package contents a AA AA ee eee ee eee eee 6 d DoclD025256 Rev 1 3 9 Quick start UM1674 1 Quick start The STM32F072 Discovery kit demonstration software is already preloaded in the Flash memory on the board The latest versions of the source code and associated documentation can be downloaded from www st com stm32f0 discovery This document describes step by step how to start using the STM32F072 Discovery kit demonstration 1 1 Hardware requirements To configure the STM32F072B DISCO board and start the demo two USB type A to Micro B cables are required Connect them between the host PC and the board as follows e USB connector CN1 to power on the STM32F072B DISCO board from the USB ST LINK e
3. USB connector CN2 to connect the board to the host PC as a USB Device Establish the connection with the STM32F072 Discovery board as shown in Figure 2 Check jumper positions on the board JP2 and CN5 are set to ON Discovery mode Figure 2 Hardware environment 4 419 DoclD025256 Rev 1 UM1674 Quick start 1 2 Run pre loaded demo Follow the sequence below Function 0 to Function 3 to launch the demo application Function 1 is executed and each click on user button B1 changes the executed function as shown in Table 1 Table 1 STM32F072B DISCO functions and LEDs Function LED Displayed description Main function 0 LD3 4 5 6 Four LEDs LD3 LD4 LD5 LD6 are blinking LEDs blinking blinking LD3 4 5 6 TERES 1 ON or OFF The four LEDs will indicate the board movement MEMS sensor LD3 6 Connect a second USB type A to Micro B cable 2 S between CN2 and the PC then observe the mouse Standard mouse blinking A cursor moving according to the board movement LD3 4 5 6 The LEDs will light up according to the position of the 3 3 Linear sensor ON or OFF user s fingertip on the linear touch sensor The following is the detailed procedure and description of each function Function 0 When connecting the STM32F072 Discovery board to a PC the LEDs LD1 COM and LD2 PWR will light up and four LEDs LD3 LD4 LD5 LD6 are blinking Function 1 Press the User button B1 to enable the gyroscope MEMS sensor L3GD20
4. of the three tool chains supported to program applications on the STM32F072B DISCO board To program the Template example follow the sequence below 1 Open application folder STM32F072B Discovery FW VX Y Z Projects Template 2 Selectthe desired IDE project EWARM for IAR MDK ARM for Keil or TrueSTUDIO for Atollic Double click on the project file for example Template eww for EWARM Rebuild all files Project gt Rebuild all Load project image Project gt Debug 6 Run program Debug gt Go nm RO The demo software as well as other software examples that allow you to discover the STM32 FO series features are available at www st com stm32f0 discovery DoclD025256 Rev 1 7 9 Revision history UM1674 3 Revision history Table 2 Document revision history Date Revision Changes 14 Jan 2014 Initial release Ly 8 9 DoclD025256 Rev 1 UM1674 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 t
5. 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 owners 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 Ly DocID025256 Rev 1 9 9
6. o 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 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
7. reement V2 pdf E Release Nates html Libraries folder e CMSIS subfolder Cortex MO CMSIS files e STM32 USB Device Driver subfolder USB device low level driver e STM32 USB Device Library subfolder USB device library core and class drivers e STM32F0xx StdPeriph Driver subfolder standard peripherals drivers e STMTouch subfolder STMTouch drivers d 6 9 DoclD025256 Rev 1 UM1674 2 2 2 2 1 Note 2 2 2 3 Firmware package Project folder e Demonstration subfolder firmware of preloaded demo e Master Workspace subfolder common project for all examples e Peripheral Examples subfolder examples ready to run e Template subfolder pre configured project templates Utilities folder e STM32F072 Discovery subfolder for the abstraction layer of the supported board The user can run examples provided within this package A set of examples for each peripheral are ready to be run Programming firmware application IDE requirements To start programming user must e Install the preferred Integrated Development Environment IDE e Install the ST LINK V2 driver from the ST web site Required information to download and install desired IDE and ST LINK V2 are detailed in Getting started with STM32F072 Discovery software development tools Programming application Several IP examples are provided with the firmware package see Figure 3 under STM32F072B Discovery FW VX Y Z Projects and the user must use one
8. wa UM1674 WI life augmented User manual Getting started with the STM32F072 Discovery kit Introduction This document describes the software firmware environment and development recommendations required to build an application around the STM32F072 Discovery kit 32F072BDISCOVERY with demonstration firmware STSW STM32139 The STM32F072 Discovery kit is a low cost and easy to use development kit to quickly evaluate and start applications with an STM32FO series ARM 32 bit Cortex MO high performance microcontroller Before installing and using the product please accept the Evaluation Product License Agreement from www st com stm32f0 discovery For more information on the STM32F072 Discovery kit visit www st com stm32f0 discovery To order the STM32F072 Discovery kit use the STM32F072B DISCO order code Figure 1 STM32F072 Discovery board STM32F072B DISCO RF EEPROM USB ST LINK USB user daughter board mg z E piem connector NG Extension headers STM32F072RBT6 microcontroller USER button RESET button Linear touch sensor Be iil MS31961V1 References e STM32F072x datasheet e STM32FO0x1 STM32F0x2 STM32F0x8 advanced ARM based 32 bit MCUs reference manual RM0091 e Discovery kit for STM32F072 line UM1690 e Getting started with STM32F072 Discovery software development tools e Forum user questions discussion January 2014 DoclD025256 Rev 1 1 9 www st com Contents UM1674 Contents
Download Pdf Manuals
Related Search
Related Contents
サーボ・アンプ Copyright © All rights reserved.
Failed to retrieve file