STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

BUG: The __HAL_LOCK(x) macro needs a lock.

I can only imagine that __HAL_LOCK(x) is designed to make access to the HAL drivers thread safe. However, since the lock itself is not thread safe, the driver it's trying to protect is not thread safe either.I've spent a day trying to work out how t...

DOsbo by Senior
  • 1871 Views
  • 1 replies
  • 0 kudos

Resolved! Setting VREF voltage in CubeMX not working for STM32G4

I'd like to report 2 bugs/errors in CubeMx and the documentation in the stm32g4xx LL driver file:Setting the "Internal Voltage reference scale" in the "SYS" menu of CubeMX to SCALE2 (2.9V), won't take effect and the selected value always falls back t...

MScho.1 by Associate III
  • 1849 Views
  • 6 replies
  • 0 kudos

STM32CubeMX: generate buggy SystemClock_Config() ?

Using STM32Cube MX 5.5.0 and STM32Cube FW_H7 V1.6.0 I observed two curious things1) When I use LL drivers to generate a project, the function SystemClock_Config() contains:/* Intermediate AHB prescaler 2 when target frequency clock is higher than 80...