STM32CubeG4

Active

STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Graphic - and examples running on ST boards)

Get Software Download databrief
Overview
Sample & Buy
Solutions
Documentation
Tools & Software
Quality & Reliability
eDesignSuite
Get Started
Partner products
Sales Briefcase
  • 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.

    Key Features

    • 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

Get Software

Recommended for you

Latest from ST

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      STM32CubeMX

      Active

      STM32Cube initialization code generator

      STM32 Configurators and Code Generators ST

      STM32CubeMonUCPD

      Active

      Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications

      STM32 Performance and Debuggers ST
      STM32CubeMX

      Description:

      STM32Cube initialization code generator
      STM32CubeMonUCPD

      Description:

      Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications
    • Part number
      Status
      Description
      Type
      Supplier

      NUCLEO-G431KB

      Active

      STM32 Nucleo-32 development board with STM32G431KB MCU, supports Arduino nano connectivity

      STM32 Nucleo Boards ST

      NUCLEO-G431RB

      Active

      STM32 Nucleo-64 development board with STM32G431RB MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo Boards ST

      NUCLEO-G474RE

      Active

      STM32 Nucleo-64 development board with STM32G474RE MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo Boards ST

      P-NUCLEO-IHM03

      Active

      Motor Control Nucleo Pack with NUCLEO-G431RB and X-NUCLEO-IHM16M1

      STM32 Nucleo expansion boards ST

      STM32G474E-EVAL

      Active

      Evaluation board with STM32G474QE MCU

      STM32 Eval Boards ST

      STM32G484E-EVAL

      Active

      Evaluation board with STM32G484QE MCU

      STM32 Eval Boards ST
      NUCLEO-G431KB

      Description:

      STM32 Nucleo-32 development board with STM32G431KB MCU, supports Arduino nano connectivity
      NUCLEO-G431RB

      Description:

      STM32 Nucleo-64 development board with STM32G431RB MCU, supports Arduino and ST morpho connectivity
      NUCLEO-G474RE

      Description:

      STM32 Nucleo-64 development board with STM32G474RE MCU, supports Arduino and ST morpho connectivity
      P-NUCLEO-IHM03

      Description:

      Motor Control Nucleo Pack with NUCLEO-G431RB and X-NUCLEO-IHM16M1
      STM32G474E-EVAL

      Description:

      Evaluation board with STM32G474QE MCU
      STM32G484E-EVAL

      Description:

      Evaluation board with STM32G484QE MCU
    • Part number
      Status
      Description
      Type
      Supplier

      ST Trainings

      Active

      STM32, STM8 and ST Ecosystem trainings

      Trainings MASTERS
      ST Trainings

      Description:

      STM32, STM8 and ST Ecosystem trainings