STM32Cube is an STMicroelectronics original initiative to make developers' lives easier by reducing development effort, time and cost. STM32Cube™ covers the whole STM32 portfolio.
STM32Cube includes STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code using graphical wizards.
It also comprises the STM32CubeG4 MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB and FAT file system). All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.
The STM32CubeG4 embeds specific APIs (such as HRTIMER, a rich set of analog APIs, FMAC and CORDIC mathematical accelerators), that make it particularly tailored for motor control and switched-mode power supply applications.
The STM32Cube HAL is an STM32 embedded software layer that ensures maximized portability across the STM32 portfolio, while the LL APIs make up a fast, light-weight, expert-oriented layer, which is closer to the hardware than the HAL. HAL and LL APIs can be used simultaneously with a few restrictions.
Both HAL and LL drivers are production-ready and have been developed in compliance with V-Model requirements for design, implementation and tests. Furthermore, STMicroelectronics specific validation process adds a deeper qualification level, such as compliance with MISRA-C®:2012 guidelines and elimination of possible runtime errors thanks to a static analysis tool. Reports are available on demand.
The STM32CubeG4 gathers in one single package all the generic embedded software components required to develop an application on STM32G4 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within the STM32G4 Series but also to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeG4 HAL at the cost of portability and simplicity.
HAL and LL APIs are available in open-source BSD license for user convenience.
- Consistent and complete embedded software that provides hardware abstraction to easily develop end-user firmware
- Maximized portability between all STM32 series supported by STM32Cube
- More than 300 examples and applications for easy understanding, all compatible with STM32CubeMX to facilitate the configuration through a graphical tool.
- High quality HAL and low-layer API drivers using MISRA-C® static analysis tool
- STM32G4 dedicated middleware including USB Device, USB Power Delivery, FAT file system and RTOS
- Free user-friendly license terms
- Update mechanism with new-release notification capability
STM32 Nucleo-64 development board with STM32G491
The P-NUCLEO-IHM03 STM32 motor-control pack is a kit composed of the X-NUCLEO-IHM16M1 board, the NUCLEO-G431RB board, a brushless Gimbal motor (GBM2804H-100T), and the DC power supply.
The STM32G4 Series combines a 32-bit Arm® Cortex®-M4 core (with FPU and DSP instructions) running at 170 MHz combined with 3 different hardware accelerators: ART Accelerator™, CCM-SRAM routine booster and mathematical accelerators.
Recommended for you