ST AN4062 handbook

This application note describes the peripheral firmware examples provided for the STM32F0DISCOVERY Kit. These ready-to-run examples are provided to help the user get started quickly with STM32F0xx peripherals and STM32F0DISCOVERY board hardware. Preconfigured projects for EWARM, MDK-ARM, TrueSTUDIO and TASKING toolchains are provided for each example. These examples are included in the firmware applications package available for download on www.st.com/stm32f0discovery. Users are advised to first read the document Getting started with software and firmware environments for the STM32F0DISCOVERY Kit (UM1523) to familiarize themselves with the STM32F0DISCOVERY Kit.


ST AN4062 handbook - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
204 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
47E956C97B12E647EEB91AF8F4827EB8

About this manual

The document details a collection of preconfigured software projects designed to help users quickly start working with STM32FOxx peripherals and the STM32FODISCOVERY board hardware. These examples are available within the firmware applications package downloadable from the ST website.

The note covers various aspects including clock configuration options (HSI, HSE, HSE bypass), GPIO toggling, external interrupts, system timers, power management modes (Standby and Stop), current consumption monitoring, flash programming, DMA operations, ADC/DAC usage, and timer configurations such as PWM input/output and complementary signals.

What's inside

  • Peripheral firmware examples structure overview
  • Clock configuration
  • GPIO toggle example
  • EXTI example
  • SysTick example
  • Standby mode example
  • Stop mode example
  • Current consumption example
  • Flash program example
  • DMA and ADC examples

Specifications

Clock frequency (default)48 MHz
Microcontroller SeriesSTM32 FO series

Frequently asked questions

What toolchains are supported for these examples?

Preconfigured projects are provided for EWARM, MDK-ARM, TrueSTUDIO and TASKING toolchains.

How can I modify the clock source from HSI to HSE?

The user must uncomment the adequate define in the 'system_stm32f0xx.c' file, though this requires hardware modification on the discovery kit.

Download PDF (204 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →