STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! Generate demo code for custom hardware

Hello,what is the best way to run some of the demos provided by CubeMx on a custom HW?Probably like this: Generate demo code for an evaluation board. Then merge the generated initialization code for the custom board into the demo code folder?Or can C...

regjoe by Associate III
  • 304 Views
  • 10 replies
  • 4 kudos

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

STM32CubeMX Generation error with Eclipse under MacOS

Hello everyone,I am now using a MacBook Pro with M4Pro chip, running STM32CubeMX 6.13.0 with MacOS Sequoia 15.2 (24C101) Darwin 24.2.0When SIP (System Integrity Protection) is on, an error of Eclipse occurred each time trying to generate code in STM3...

sirin by Associate II
  • 188 Views
  • 1 replies
  • 0 kudos

USB Host High Speed HID_MIN_POOL Can not set to 1

I am using an STM32F405RGT6 and USB3300 to implement a USB Host for a keyboard. When I set hid_min_poll to 1, the keyboard is recognized but key presses are not detected. However, when I set hid_min_poll to 2 or higher, the keyboard works fine, and k...

jim_hu by Associate
  • 61 Views
  • 0 replies
  • 0 kudos

STM32H747 freezes waiting for VOSRDY

I'm trying to boot the M7 core on a STM32H747 with a 480MHz clock rate. I have the project and clock settings configured in STM32CubeMX.  When ran, the program freezes while waiting for the VOSRDY flag to be set, which never happens.The code appears ...

TDK by Guru
  • 4017 Views
  • 11 replies
  • 0 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
  • 103 Views
  • 0 replies
  • 0 kudos

Potential overflow in HAL_Delay

I *think* that the check on line 7 below is to make sure that wait doesn't overflow when adding uwTickFreq. This isn't guaranteed to work unless uwTickFreq is 1.  __weak void HAL_Delay(uint32_t Delay) { uint32_t tickstart = HAL_GetTick(); uint32_...

abellia by Associate
  • 99 Views
  • 2 replies
  • 3 kudos