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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! Using STM32CubeMX generate code for STM32CubeIDE and than change main.c to main.cpp, and build project will show up undefined reference to 'main' error.

The error message like as:Core/Startup/startup_stm32f765vitx.o: In function `LoopFillZerobss':J:/STM32PRJ/CB_ENV/MS220_F765VI/VIDEOBOARD_V9A/20200520/Debug/../Core/Startup/startup_stm32f765vitx.s:97: undefined reference to `main'​collect2.exe: error:...

jcRuan by Associate II
  • 5730 Views
  • 6 replies
  • 0 kudos

hi guys, I'm trying to define a register range for uint32_t array. I couldn't find a place online that explain in properly. do you know a way to do so?

uint32_t REG_INIT[32];//// i dont think it is necessery that only for explanation #define MainAddr     ((uint64_t)0x801FEC0)#define step 0x8#define BiasRefInit *(uint64_t *)(MainAddr+0*step)#define BiasRefFinal *(uint64_t *)(MainAddr+1*step)#def...

Gbasi.1 by Associate II
  • 3017 Views
  • 14 replies
  • 0 kudos

VREFBUF not working on STM32H743?

The current STM32CubeMX package cannot generate proper code to initialize the VREFBUF in STM32H743 MCU. Modifications to HAL_MspInit() in stm32h7xx_hal_msp.c can fix this: Add "__HAL_RCC_VREF_CLK_ENABLE();" to user code section 0.In user code sectio...

FLiu.11 by Associate II
  • 600 Views
  • 1 replies
  • 1 kudos

STM32CubeMX 5.6.1 STM32G4 OPAMP/ PGA configuration issue?

Hello,Fully new with OPAMP, configuration, I made some tries, and for me ther is an issue on the CubeMX code generator. If I want use an OPAMP with PGA with positive gain, I only need non inverting input and output. There is no way to specify this co...

SDMMC fixed

I already reported this bug up at previous versions of the STM32H7 firmware.Now I'm using STM32CubeMX 5.6.1STM32CubeIDE 1.3.1 (arm-none-eabi-gcc 7.3.1)STM32Cube FW_H7 V1.7.0For those who find SDMMC not working, there still is an obvious bug , the way...

Jack3 by Senior II
  • 2526 Views
  • 10 replies
  • 1 kudos

Anyone got STM32H7XX + I2S full-duplex master working?

I have tried to use STM32CubeMX and STM32CubeIDE to generate code. But in CubeIDE I can't create a SPI2_RX DMA Request. And in CubeMX I can't generate a Master Clock Output.So I wonder if there is any handcrafted code anyone written to get this worki...

DViks.1 by Associate II
  • 1459 Views
  • 6 replies
  • 0 kudos

STM32CubeMX 5.6.0 released

What is new in STM32CubeMX V5.6.0? • Added the support of new part numbers in the STM32L0 Series: STM32L071C(B-Z)Ux, STM32L081CZUx, STM32L072C(B-Z)Ux, STM32L082CZUx, STM32L073C(B-Z)Ux, STM32L083CZUx, and STM32L073CZUx • Added the support of the new 8...