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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 685 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1588 Views
  • 5 replies
  • 7 kudos

Resolved! Write the data into the flash memory

Dear @KDJEM.1 I need to write the data to flash memory also read from the flash memory. I am using STM32L4P5-Dk(1MB of flash is available) in that ,say 0xABFF23 should be stored in the flash memory. How it can be done ?which hal function should be us...

ajimathew by Associate III
  • 22079 Views
  • 2 replies
  • 1 kudos

STM32H7 CubeMX DCMI code generation bugs

Hi,I've found three bugs in CubeMX for the DCMI code generation.uC: STM32H7A3IITxQCubeMX Version: 6.5.0Firmware Package: STM32Cube FW_H7 V1.10.0The IOC-file is attached.1.Following lines are getting generated in HAL_DCMI_MspDeInit:HAL_DMA_DeInit(dcmi...

Resolved! STM32U585QII CUbeMX 6.7.0 Error with code generation

Hello, Just a quick heads up regarding LL implementation of LSI.It fails to start, while same setup generated for HAL works as it should.Now looking in detail whats wrong in register level calls, will post my results.ST, I hope you will find and fix ...

Linas L by Senior II
  • 1837 Views
  • 6 replies
  • 1 kudos

CubeMX Migration Bug - UART4 Pull-up/down settings not retained.

Auto-conversion from a CubeMX 6.2.1 File to a CubeMX 6.8.1 compatible file through CubeMX 6.8.1 does NOT retain the UART4 GPIO Pull-up/Pull-down settings from the original file. Thought I'd share it here in case someone else is running into this prob...

STMCubeMxBug.JPG
df by Associate
  • 973 Views
  • 1 replies
  • 0 kudos

Resolved! SDMMC init error since STM32CubeIDE 1.11.0 update

There is a newly introduced bug in the freshly upgraded package coming with the IDE 1.11. MX_SDMMC1_SD_Init(void) does not configure hsd1.Init.BusWide = SDMMC_BUS_WIDE_1B but directly to the final state choosen in CubeMX (in my case 4B). But the SD r...

Brieuc by Associate III
  • 4998 Views
  • 9 replies
  • 2 kudos

Resolved! FMC Clock Mux not found

Hello,Im working on a Project, which i use with it STM32F750N8H6 with external Memory and im trying to interface them to each other.I have so far now done the Configuation of GPIO, TimingParameters..etc but i wanted giving too the Value of the Clock ...

mids400 by Associate III
  • 1552 Views
  • 2 replies
  • 0 kudos

Fail to upgrade to CubeMX 6.9.0

Hello,I started the upgrade process as always under administrator rights, the download and installation finished successfully and then I need to restart with administrator rights again to fulfil the installation and I get this:I close all the other a...

Egolt1_0-1689092574718.png
Egolt.1 by Associate III
  • 1758 Views
  • 3 replies
  • 0 kudos

sensorless bldc motor controlling issue

I am experiencing issues while trying to operate the BR2804 1700Kv BLDC motor with the IHM07M1 motor controller and either the L476RG or G071RB board. we are just using the software like cube mx , cube ide to genarate code . while using L476RG , all ...

#iR by Associate II
  • 766 Views
  • 0 replies
  • 0 kudos