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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1762 Views
  • 0 replies
  • 2 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
  • 3753 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
  • 1246 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
  • 1613 Views
  • 2 replies
  • 0 kudos

Problems with SMT32F427ZTGx and USB HID

Hello.I´m using a SMT32F427ZTGx. I have generated the code with CubeMX and compiled it with Keil 5.USB communications from the PC to the board work correctly but vice versa no. Some of the messages from the board to the PC are lost. Using a port sni...

SAlva.17 by Associate
  • 715 Views
  • 0 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.