September 2014 DocID026524 Rev 2 1/18
UM1784
User manual
STM32CubeF3 Nucleo demonstration firmware
Introduction
STMCube
TM
initiative was originated by STMicroelectronics to ease developers’ life by
reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.
STM32Cube Version 1.x includes:
The STM32CubeMX, a graphical software configuration tool that allows to generate C
initialization code using graphical wizards.
A comprehensive embedded software platform, delivered per series (such as
STM32CubeF3 for STM32F3 series)
The STM32CubeF3 HAL, an STM32 abstraction layer embedded software, ensuring
maximized portability across STM32 portfolio
A consistent set of middleware components such as RTOS, USB, STMTouch and
FatFs
All embedded software utilities coming with a full set of examples.
The STM32CubeF3 Nucleo Demonstration platform is built around the STM32Cube HAL,
BSP and FatFs middleware component and uses almost the whole STM32 capability to load
and display full color bitmaps from a microSD card.
www.st.com
Contents UM1784
2/18 DocID026524 Rev 2
Contents
1 STM32CubeF3 main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Getting started with the demonstration . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.1 STM32F302R8, STM32F303RE or STM32F334R8 Nucleo boards . . . . 6
2.1.2 Adafruit TFT shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.1 STM32 Nucleo board configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.2 Assembling the Adafruit shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Demonstration firmware package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Demonstration repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Nucleo board BSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2.1 Joystick . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2.2 LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2.3 MicroSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Demo functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1 Programming firmware application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5 FAQs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17