
2.3.1.1 STM32F4xx-Nucleo/STM32G4xx_Nucleo
Depending on the STM32 Nucleo development board used, these BSPs provide an interface to configure and use
the development board peripherals with the X-NUCLEO-OUT03A1 and X-NUCLEO-OUT04A1 expansion boards.
Each STM32XXxx-Nucleo sub-folder contains couples of .c/.h files (stm32XXxx_nucleo.c/h) which come from the
STM32Cube framework without modification and provide the functions to handle the corresponding user button
and LEDs of the corresponding development board.
2.3.1.2 IPS1025H_2050H
The IPS1025H_2050H BSP component provides the driver functions for the STMicroelectronics intelligent power
switch devices in the X-CUBE_IPS\Drivers\BSP\Components\ips1025h_2050h folder, which contains:
•ips1025h_2050h.c: core functions of the IPS2050H and IPS2050H-32 drivers
•ips1025h_2050h.h: declaration of the IPS2050H and IPS2050H-32 driver functions and their associated
definitions
2.3.1.3 OUT0xA1
The OUT0xA1 BSP component contains board support package files for X-NUCLEO-OUT0xA1 board family
(X-NUCLEO-OUT03A1, X-NUCLEO-OUT04A1, etc.), which are dedicated to the functions necessary to drive the
power switches in steady-state and in PWM mode using GPIOs.
The files are also used to obtain the status of diagnostics and output feedback pins. Through these functions, the
channel can be set and reset or configured in PWM mode with a specific frequency and duty cycle.
2.3.2 Projects
For each STM32 Nucleo platform, an example project is available in the folders:
• Projects\STM32F401RE-Nucleo\Examples\Out03_04
• Projects\STM32G431RB-Nucleo\Examples\Out03_04
Each example has a folder dedicated to the targeted IDE:
•EWARM containing the project files for IAR
•MDK-ARM containing the project files for Keil
•STM32CubeIDE containing the project files for OpenSTM32
Each example also contains the following code files:
•Projects\STM32F401RE-Nucleo\Examples\Out03_04
–Inc\main.h - Header for main.c module
–Inc\out03_04a1_conf.h - Header for BSP/OUT0xA1 driver configuration
–Inc\app_switch.h - Header for app_switch.c module
–Inc\stm32f4xx_hal_conf.h - HAL configuration file for STM32F4xx
–Inc\stm32f4xx_it.h - Interrupt handlers header file for STM32F4xx
–Inc\stm32f4xx_nucleo_errno.h - Error codes for STM32F4xx-Nucleo
–Inc\ips2050h_conf.h - Header for BSP/Components/ips1025h_2050h driver configuration
–Src\main.c - Main program
–Src\app_switch.c - Code for application example customization
–Src\stm32f4xx_hal_msp.c - HAL MSP module for STM32F4xx
–Src\stm32f4xx_it.c - Interrupt handlers for STM32F4xx
–Src\system_stm32f4xx.c - System source file for STM32F4xx
UM2863
Folder structure
UM2863 - Rev 1 page 5/18