ST provides a complete development package, the STM32vldiscovery_package, which
allows users to get started easily with the STM32VLDISCOVERY board by simplifying
application code development and execution using the standard peripheral drivers.
This package can be downloaded, together with the user manual, from
http://www.st.com/stm32vldiscovery.
The package is structured as shown in Figure 1.
Figure 1.Stm32vldiscovery_package content
1.1 Libraries
This folder contains all the CMSIS files and the STM32F10x standard peripheral's drivers.
●CMSIS subfolder: Contains the STM32F10xxx CMSIS files: Device Peripheral Access
Layer and Core Peripheral Access Layer.
●STM32F10x_StdPeriph_Driver subfolder: Contains all the subdirectories and files that
make up the core of the library.
4/16Doc ID 17901 Rev 1
AN3268Package structure
1.1.1 CMSIS
CMSIS (Cortex microcontroller software interface standard) answers the challenges that are
faced when software components are deployed to physical microcontroller devices based on
a Cortex-M0 or Cortex-M3 processor. It is defined in close co-operation with various silicon
and software vendors and provides a common approach to interface with peripherals, realtime operating systems, and middleware components.
ARM provides as part of the CMSIS the following software layers that are available for
various compiler implementations:
●Core Peripheral Access Layer: contains name definitions, address definitions and
helper functions to access core registers and peripherals. It defines also a device
independent interface for RTOS Kernels that includes debug channel definitions. This
software layer is expanded by Silicon partners with:
–Device Peripheral Access Layer: provides definitions for all device peripherals.
–Access functions for peripherals (optional): provides additional helper functions for
peripherals.
CMSIS defines for a Cortex-M microcontroller system:
●A common way to access peripheral registers.
●A common way to define exception vectors.
●Register names of the core peripherals and the names of the core exception vectors.
●An device independent interface for RTOS kernels including a debug channel.
By using CMSIS compliant software components, the user can easier re-use template code.
CMSIS enables the combination of software components from multiple middleware vendors.
1.1.2 STM32F10x_StdPeriph_Driver
This driver corresponds to the STM32F10x Standard Peripherals Library:
http://www.st.com/stonline/products/support/micro/files/stm32f10x_stdperiph_lib.zip.
It is a complete firmware package, consisting of device drivers for all of the standard device
peripherals, for STM32 value line (medium and low), Connectivity line, XL-, high-, mediumand low- density device 32-bit Flash microcontrollers.
The device drivers contain a collection of routines, data structures and macros covering the
features of STM32 peripherals. It includes a description of the device drivers plus a set of
examples for each peripheral. The firmware library allows any device to be used in the user
application without the need for in-depth study of each peripheral’s specification.
Using the Standard Peripherals Library has two advantages: it saves significant time that
would otherwise be spent in coding, while simultaneously reducing application development
and integration costs.
The STM32F10x Standard Peripherals library covers 3 abstraction levels, and includes:
●A complete register address mapping with all bits, bit fields and registers declared in C.
This avoids a cumbersome task and more important, it brings the benefits of a bug free
reference mapping file, speeding up the early project phase.
●A collection of routines and data structures which covers all peripheral functions
(drivers with common API). It can be used directly as a reference framework, since it
also includes macros for supporting core-related intrinsic features and common
constants and data type definitions.
Doc ID 17901 Rev 15/16
Loading...
+ 11 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.