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

Resolved! How to integrate I2C (on the STMod+ I2C Grove connector) accelerometer with STM32L4R9I-DISCO board on CubeMX?

I cannot find the corresponding pins on MCU to the I2C Grove connector located on the fanout board. Currently I have an acceleromater connected to the Grove connector and would like to collect data from that. I have tried to open a new CubeMX project...

BSara by Associate II
  • 1306 Views
  • 5 replies
  • 0 kudos

CubeMX 4.26.1 Makefile project generation bug?

When a TSC is selected, CubeMX populates two lines of the same source file in the Makefile. In other words, there are two lines of:Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tsc.cin the Makefile created by CubeMX. To reproduce, create a new proje...

Resolved! STMCubeMX 's bug

1 The code was generated by STMCube and the MCU is stm32f030k6t62 I use 8M HSI RC as clock source .3 If I set SYSCLK to 8M (use HSI RC directly), the code can work on the board correctly 4 if I set SYSCLK to 48M (use PLLMUL). the code didn't work at ...

zstev by Associate II
  • 1832 Views
  • 5 replies
  • 0 kudos

[STM32F429I-DISC1]USB not responsed

HI, There .​I bought STM32F429I-DISC1 evaluation board.In first. I download demonstration firmware.\STM32Cube_FW_F4_V1.21.0\Projects\STM32F429I-Discovery\Demonstrations\STemWin​Run that . feel so good .ST-LINK is active and I can see USB Mass storage...

THosh by Associate
  • 826 Views
  • 2 replies
  • 0 kudos

CubeMX changes optimization flags again

Hello,CubeMX and libs version as in this topic: https://community.st.com/s/question/0D50X00009cegytSAA/l4-cubemx-package-ver-112-inconsistency?t=1534139773066The problem is that each time one regenerates the project using CubeMX, the optimization fla...

0690X000006BsmLQAS.png

STM32Cube FW_F7 V1.12.0 CDC problem

After updating STM32Cube FW from F7 1.11.0 to 1.12.0 I encountered some problems with CDC FS on STM32F745VET. Short examples of simple code:main.h/* USER CODE BEGIN Private defines */ struct rxDataStruct { unsigned char dataReceived; uint8_t data[2...

Vthe by Associate II
  • 427 Views
  • 0 replies
  • 0 kudos

CubeMX - Terrible ERROR!

Hi,I have an unpleasant experience with NEW CubeMX 4.26.1. I had project for Cube in veriosn 4.20 or something like that. But unfortunately, when I updated the CubeMX to vesrion 4.26.1. Then I opened my project in it, and then after generating code ...

JAN R by Associate III
  • 547 Views
  • 2 replies
  • 0 kudos