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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 685 Views
  • 5 replies
  • 7 kudos

Resolved! STM32F4 HAL_RTCEx_WakeUpTimerIRQHandler

While looking at the HAL's RTC code, I noticed that in the IRQ handler for WakeUpTimer, there is no enabling of access to backup domain registers before clearing flag WUTF in RTC register ISR...Should this not be needed?When testing in my own impleme...

TLin.5 by Associate III
  • 1965 Views
  • 3 replies
  • 1 kudos

Resolved! CubeMX won't install on macos Sonoma 14.2.1

I downloaded CubeMX and I followed the instructions on the attached Readme.html.I run it by ctrl-click and then select Open to mark the author as trusted, but then nothing happens. Does anyone encountered the same problem? How did you solve it? 

ubaldot by Senior
  • 2323 Views
  • 7 replies
  • 1 kudos

Resolved! STM32 CubeMX Login does not work

Hello, i installed STM32 CubeMX 6.2.9 today. I tried to add software packages by clicking "help" -> "Manage embedded software packages", but nothing happens. Then i tried to log in using "myST" -> "Login", but again nothing happens and i can not log ...

M_Ehe by Associate II
  • 2737 Views
  • 2 replies
  • 2 kudos

Inconsistancies in U5 device headers

Hello,most devices define helper definitions, like selecting the system clock source. E.g. L412:#define RCC_CFGR_SWS_MSI (0x00000000UL) /*!< MSI oscillator used as system clock */#define RCC_CFGR_SWS_HSI (0x00000004UL) /*!< HSI16 oscillator used as s...

Not executing while condition

 float init_sensor(void){ uint32_t numTicks; float distance; RCC->AHB1ENR |= (1U<<1); GPIOB->MODER &=~ (1U<<19); // pin 9 as output GPIOB->MODER |= (1U<<18); // pin 9 as output GPIOB->MODER &=~ (1U<<16); // pin 8 as input GPIOB->M...

Avisr by Associate II
  • 2371 Views
  • 8 replies
  • 1 kudos