STM32Cube BSP Drivers Development Guidelines

stm32cubebsp drivers development guidelines


STM32Cube BSP Drivers Development Guidelines - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
User Manual
Language
English
Pages
160
File format
PDF
File size
1.8 MB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
B49D35172E8243847636D243AD15E1EB

About this manual

This document serves as a guide for developing Board Support Package (BSP) drivers for the STM32Cube ecosystem. It details the architecture of BSP drivers, which are organized into common, bus, component, and class categories, and explains how they integrate with the STM32Cube Hardware Abstraction Layer (HAL). The manual is intended for users familiar with the STM32Cube MCU and MPU Packages who wish to create high-level APIs for hardware components on evaluation boards, discovery kits, and Nucleo boards.

What's inside

  • Documentation conventions
  • What is STM32Cube
  • BSP driver architecture
  • BSP naming rules
  • BSP common driver
  • BSP bus driver
  • BSP component driver
  • BSP class driver
  • BSP IRQ handlers
  • BSP error management

Frequently asked questions

What is the purpose of the BSP drivers included in STM32Cube?

The BSP drivers provide a set of high-level APIs relative to the hardware components and features on Evaluation boards, Discovery kits, and Nucleo boards.

How does the BSP driver link with the HAL and external components?

The link with the HAL and the external components is made intrinsically within the drivers, so no specific configuration is required.

What must a user do from a project-setting point of view to use the BSP drivers?

The user has only to add the necessary driver files in the workspace and call the functions needed from the examples in Level0, Level1 or Level2.

Download PDF (1.8 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →