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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

HAL_RTC_MSPInit generated code fails assert_params check in gpio initialization when "Generate peripheral initialization as a pair of .c/.h filer per peripheral" project option selected and PC13 is configured as RTC_OUT_CALIB.

The generated code in rtc.c passes zeros in GPIO_InitStruct to HAL_GPIO_Init, causing assert_param(IS_GPIO_PIN_AVAILABLE(GPIOx, (GPIO_Init->Pin))); to fail. void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle) {   GPIO_InitTypeDef GPIO_InitStruct = ...

Jshelson by Associate II
  • 1862 Views
  • 5 replies
  • 0 kudos

B-L475-IOT01A+FREERTOS+X-CUBE-BLE1 does not build

Hi there,I am using the latest CubeMX to generate code for B-L475-IOT01A with FREERTOS and X-CUBE-BLE1 4.4.0. However the code it generate does not even build. I tried various samples, including SensorDemoBLESensor, Beacon, but yield the same resul...

CLiu.0 by Associate
  • 891 Views
  • 2 replies
  • 1 kudos

Resolved! HAL vs. CMSIS layer in STM32CubeIDE (CubeMX)

Hi,I'm wondering whether I'm always getting into the HAL layer when configuring a project using the CubeMX configurator in STM32CubeIDE? Is it configurable? How to I get rid of the HAL layer while still being able to use the configurator? Where is th...

CubeIDE compatibility issues

When I use CubeMX in CubeIDE, the drop-down box for selecting a chip always closes automatically before I click. When I edit ioc files in CubeIDE, the chip area and the middle function selection area often flash. Especially in the Software Packs Comp...

0693W00000aJPSSQA4.png
AKevi.1 by Associate
  • 592 Views
  • 0 replies
  • 0 kudos

Resolved! Error during migration of project (.ioc) from STM32CubeMX V6.5.0 to STM32CubeMX V6.8.0 (STM32Cube FW_F3 V1.11.4 used)

When I try to migrate project (.ioc) from STM32CubeMX V6.5.0 to STM32CubeMX V6.8.0 (STM32Cube FW_F3 V1.11.4 used) the following hint pops up:After selection of 'Migrate' or 'Continue' the following error pops up:My question:Is there a way to migrate ...

0693W00000aJOxOQAW.jpg 0693W00000aJOxnQAG.jpg
KWoll.2 by Associate II
  • 956 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX 6.8 Changes VOS on STM32H745 again

I'm building several projects based on STM32H745 and upgraded to STM32CubeMX 6.8. Upon doing so, VOS0 no longer is an option when using PWR_DIRECT_SMPS_SUPPLY:6.7: Now with 6.8: Of course, this changes all the peripheral speeds and causes many proble...

0693W00000aJHdgQAG.png 0693W00000aJHdqQAG.png

Resolved! SPI transmit with interrupt not work

Hello to everybody,I have program for stm32f103 mcu. Now I want to do my SPI transmit routine using interrupt.Before:HAL_StatusTypeDef status = HAL_SPI_Transmit(&afe_spi, (uint8_t*) pData, 4,100);Now I tried this (and many variants also):HAL_StatusTy...

0693W00000aJKXCQA4.png 0693W00000aJKXWQA4.png 0693W00000aJKXqQAO.png
EBurk.1 by Associate II
  • 2568 Views
  • 7 replies
  • 0 kudos

STM32G4A1KEU6 - FreeRTOS - CubeMX Break at address "0x1fff4cf8" with no debug information available, or outside of program code.

When generating a blank project for a STM32G4A1KEU6 I'm able to debug the code.As soon as FreeRTOS is added (USE_NEWLIB_REENTRANT activated, Time base source is TIM6, Debug is Serial Wire) and no other peripherals are activated, I'm not able anymore ...