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

Where is the code generator gone?

Hello!I have upgraded to version 5. Can anybody tell me where the generator command is gone? It used to be directly in one of the 3 menus as far as I remember, something like generate code or something like that.Thanks!K

KY by Associate II
  • 784 Views
  • 4 replies
  • 0 kudos

STM32CubeMX generated MX_TIMx_Init() functions

Hi.I have the latest STM32CubeMX with a STM32L433 project.I have selected in CubeMX Advanced Settings to use "LL" drivers for TIM1 & TIM2, and the option to "Not Generated Function Call" for these timers.As expected, In the auto generated main() ther...

Resolved! change default value of pins (gpio) in cubeMX

Hello,I searched in cubemx where to change the default value of gpio pins, but couldn't find it.Does anyone knows ? In generated code, all output gpio are set to 0, for example :HAL_GPIO_WritePin(GPIOK, SW_LED1_Pin, GPIO_PIN_RESET);Thanks,ranran

ranran by Senior II
  • 2703 Views
  • 1 replies
  • 0 kudos

CubeMX RTC Code Generated Not Working

Hi,I'm new STM32L072 (Discovery Kit) and I had generated a code to run the RTC using the LSI Clock and displaying the values via UART2 but the RTC values are not incremented even if rest button is pressed, Then I deactivated the calendar and observed...

0690X000006DFmvQAG.jpg

Understanding external clock configurations

For my CubeMX application on the STM32F091RC we are trying to setup an active external clock source. We do this by selection 'BYPASS Clock Source' for 'High Speed Clock (HSE) Mode', correct?Seems confusingly simple, I wanted to ask here before resear...

Justin1 by Senior
  • 462 Views
  • 1 replies
  • 0 kudos

Resolved! RCC Mode Definitions

I could not find direct definition for the RCC mode options in CubeMX, are these correct?RCC Mode Options:'Disable' - External oscillator disconnected'BYPASS Clock Source' -  External active clock source'Crystal/Ceramic Resonator' -  External passive...

Justin1 by Senior
  • 771 Views
  • 2 replies
  • 0 kudos