Skip to main content
Associate II
August 10, 2026
Question

STM32CubeMX2 peripheral init

  • August 10, 2026
  • 3 replies
  • 25 views

Despite the peripherals are callable, the code preview from STM32CubeMX2 does not call the init functions of the peripherals.
What is the trick to get this done ?

We also see in the HAL common settings, the option to toggle generated vs callable is not selectable.

Is this something to do with the older version of STM32CubeMX2 v1.1.1 and STM32CubeMX2 v1.0.0 ?

Please suggest 

3 replies

Andrew Neil
Super User
August 10, 2026

In MX1, there was an option to generate the init functions, but not call them ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
August 12, 2026

so which version is more easy to use?1.1.1or 1.0.0

 

SrikarAuthor
Associate II
August 12, 2026

V1.1.1