English
Language : 

UM1766 Datasheet, PDF (2/29 Pages) STMicroelectronics – Getting started with STM32CubeF3 for STM32F3 Series
UM1766
Contents
Contents
1
STM32CubeF3 main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
STM32CubeF3 architecture overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Level 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.1
2.1.2
Board Support Package (BSP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Hardware Abstraction Layer (HAL) and Low Layer (LL) . . . . . . . . . . . . . 9
2.1.3 Basic peripheral usage examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Level 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.1 Middleware components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.2 Examples based on the middleware components . . . . . . . . . . . . . . . . . 11
2.3 Level 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3
STM32CubeF3 firmware package overview . . . . . . . . . . . . . . . . . . . . . 12
3.1 Supported STM32F3 devices and hardware . . . . . . . . . . . . . . . . . . . . . . 12
3.2 Firmware package overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4
Getting started with STM32CubeF3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1 Running the first example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 Developing your own application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2.1 HAL application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2.2 LL application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3 Using STM32CubeMX to generate the initialization C code . . . . . . . . . . 23
4.4 Getting STM32CubeF3 release updates . . . . . . . . . . . . . . . . . . . . . . . . . 23
5
FAQs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.1 What is the license scheme for the STM32CubeF3 firmware? . . . . . . . . 24
5.2 Which boards are supported by the STM32CubeF3 firmware package? . 24
5.3 Are any examples provided with the ready-to-use toolset projects? . . . . 24
5.4 Is there any link with Standard Peripheral Libraries? . . . . . . . . . . . . . . . . 24
5.5 Does the HAL take benefit from interrupts or DMA?
How can this be controlled? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.6 How are the product/peripheral specific features managed? . . . . . . . . . . 25
5.7 How can STM32CubeMX generate code based on embedded software? 25
DocID026352 Rev 8
2/29
3