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
  • 1628 Views
  • 0 replies
  • 2 kudos

"mpu is null" Error after upgrade to Stm32CubeMX 6.16

After upgrade from 6.15 to 6.16 on linux ubuntu 24.04 I got this blocking error if I load project file (created with cubemx 6.15):cannot invoke com.st.microxploer.mcu.IP.getInstanceName() because mpu is nullI tried both "migrate" and "continue" optio...

CLanc.1 by Associate II
  • 907 Views
  • 7 replies
  • 0 kudos

MX_FLASH_Init does not launch option bytes loading

MCU: STM32H563VITx Stm32CubeMX version: 6.14.0 HAL Driver version: 1.5.0 When I enable EDATA option bytes in CubeMX, it generates the following code: void MX_FLASH_Init(void) { /* USER CODE BEGIN FLASH_Init 0 */ /* USER CODE END FLASH_Init 0 */...

continuum by Associate II
  • 1208 Views
  • 5 replies
  • 2 kudos

[BUG REPORT] STM32CubeMx 6.16 STM32U5A5

When enabling 2 ADCs ,  ADC1 and ADC2 of  STM32U5A5 ,both in Independent mode . The RCC enabling in MspInit called only for ADC1 and not for ADC2. What causes , that If one decide disable generataion of call to MX_ADC1_Init() in CubeMx , in order to ...

b3pr0 by Associate II
  • 638 Views
  • 4 replies
  • 2 kudos

Resolved! Searching for STM32s with Advanced Motor Control Timers

Hi,I'm searching for a MCU with one or two advanced motor control timers to control 1 or 2 bldc motors.For this purpose I use the MCU selection tool from here: STM32 family of 32-bit microcontrollers (MCUs) - STMicroelectronicsWhen I use the filter f...

rogdiv_0-1765810467013.png
rogdiv by Associate II
  • 600 Views
  • 3 replies
  • 2 kudos

CubeMX no longer generates BLE Notification functions

Hello Community,I have been working on a BLE project with one service and three characteristics, two of which have server notification properties, and I have noticed the following issue in CubeMX 6.15 (server side, custom template).The function Custo...

LucaP by Associate III
  • 1249 Views
  • 9 replies
  • 1 kudos

Resolved! STM32CubeMX bug

Hi, When I create a new project on STM32CubeMX, it either freezes when I try to set up some peripherals, or I just get a blank screen when I try to reopen the porject after generating the code. I have tried rolling back to an older version, completel...

SamVDA by Associate II
  • 827 Views
  • 6 replies
  • 1 kudos

IC20Div has no effect on clock tree

Hy,I try to configure MCO2 as adjustable clock out. For evaluation I use STM32N6 DK and STM32CubeMX 6.16.0 and STMCubeIDE 2.0.0I use all different settings and it works fine, but IC20 div setting has no effect. When I compare generated code, I see no...

harald_0-1765796043486.png
harald by Associate III
  • 514 Views
  • 2 replies
  • 0 kudos