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.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! Systick configuration, STM32F4 Disc, FreeRTOS

I just started a new project with FreeRTOS on the board.When generating code via MX, there is a message about Systick configuration issue.The problem is, I cannot change the configuration about SYS and TIM.What can be the issue? What do I have to cha...

image.png image.png
stefluik by Associate II
  • 475 Views
  • 2 replies
  • 0 kudos

Resolved! Trouble configuring I2C pins in CubeMx

Can someone please explain to me how this is even possible on the same device? They are the exact same device yet I can not seem to get the same pin config in different projects.The one project somehow got the PIN Layout where PB6(SCL) and PB7(SDA)...

STM32F030C8T6New.png STM32F030C8T6Old.png
table by Associate II
  • 492 Views
  • 1 replies
  • 1 kudos

STM32G0 minimum ADC frequency

I'm configuring an STM32G031, using the STM32CubeMX perspective in STM32CubeIDE.  I want to optimise for low power consumption.  My device uses the ADC and I see the ADC has a minimum acceptable frequency, 140kHz according to the data sheet (data she...

GrahamAU by Associate II
  • 495 Views
  • 2 replies
  • 0 kudos

Simulink error for programming ST Nucleo board

Hi,I want to program my STM32H753ZI Nucleo board with Simulink. I successfully programmed it to blink an LED. However, I get the following error when I try to enable a timer (for PWM, or Encoder). C:/ProgramData/MATLAB/SupportPackages/R2023b/toolbox/...

hsafamehr by Associate II
  • 1913 Views
  • 5 replies
  • 4 kudos

Resolved! CubeMX bug when configurating ADC for stm32u031

Hello,I get error messages in Cube MX trying to configure the ADC in STM32U031F6Px to Not Fully Configurable.To reproduce:Start a new project, choose STM32U031F6P6 as MCUGo to ADC, check any channel (e.g. temperature)Change sequencer to "sequencer se...