CH2_STM32_softwareProgramming_Part2.ppt
CH2_STM32_softwareProgramming_Part2.ppt
2
STM32F4-Discovery Board in zoom (1)
3
STM32F4-Discovery Board (2)
4
Ordering Information Scheme
5
Developement toolchains supported
⚫ IAR EWARM
⚫ CubeIDE
⚫ KEIL MDK-ARM
⚫ GCC-based IDEs including free SW4STM32 from AC6
⚫ ARM mbed Enabled™ online
6
STM32F4xx Value Line necessary docs
⚫ RM0090 (Reference Manual): Peripherals description…
7
The CMSIS programming standard
• Definition:
The Cortex-M™ Microcontroller Software Interface Standard (CMSIS) is defined in close
cooperation with various silicon and software vendors and provides a common approach
to interface to peripherals, real-time operating systems and middleware components. For
more details, please refer to www.onarm.com.
• CMSIS layer structure
8
HAL overview
HAL inclusion in user application
10
Using HAL Library 11
⚫ To access the functionality of the PPP peripheral, the user can use a set of
dedicated functions. These functions are specific to the peripheral and for
more details refer to STM32F4xx Firmware Library User Manual.
⚫ PPP_InitStructure.memberY = valY;
⚫ ………
13
🡪these informations are available in stm32f4xx_hal_gpio.h and stm32f4xx_hal_gpio.c
Environnement Cube IDE
14