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
  • 441 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
  • 1435 Views
  • 5 replies
  • 7 kudos

Support HiDPI screens

On laptops with 4k displays it is often necessary to use 2x scaling in order to enlarge text for legibility. Most modern software behaves well in this HiDPI environment.Unfortunately ST's apps (such as CubeProgrammer) do not. Text in those apps is ve...

miles f by Associate II
  • 2650 Views
  • 2 replies
  • 3 kudos

Lockup in I2C driver with STM32Cube_FW_H7_V1.11.0

This is more of a notice than a question.I just spend the past week looking into an issue we had with reads from an I2C connected EEPROM. We noticed that our system started hanging after some time; sometimes after over 5h.After a lot of searching we ...

Arno1 by Senior
  • 3623 Views
  • 9 replies
  • 1 kudos

STM32 USB HS DMA stuck

Hello.I try to setup CDC USB HS with DMA but it blocks after few samples sent.Here is the minimal code that replicate the problemint main(void) { /* USER CODE BEGIN 1 */   /* USER CODE END 1 */   /* MCU Configuration----------------------------...

0693W00000UnWheQAF.png 0693W00000UnWhtQAF.png 0693W00000UnWjpQAF.png 0693W00000UnWirQAF.png
VSerb.1 by Associate
  • 1440 Views
  • 2 replies
  • 0 kudos

CubeMX define "USE_HAL_USART_REGISTER_CALLBACKS"

Hello,The CubeMX and the ST HAL has in the files "stm32XXxx_hal_conf.h" the#define USE_HAL_USART_REGISTER_CALLBACKSWhen I looking in the source code, there is no position to find where is this define used:Searching for 'USE_HAL_USART_REGISTER_CALLBAC...

_legacyfs_online_stmicro_images_0693W00000biiOIQAY.png
MMüll.6 by Associate III
  • 1782 Views
  • 3 replies
  • 0 kudos

Resolved! Flashing empty memory pages with cubemx locks my mcu

Good evening stm32 dwellings, i have a flash problem.I find myself with the need to write a config file independent to my programm code.In order to do that my programm uses pointers to specific memory pages of my stm32f105:define ADDR_FLASH_PAGE_54 ...

0693W000007EwP0QAK.png
Javier1 by Principal
  • 1901 Views
  • 2 replies
  • 1 kudos

I have most recent version STM32CubeMX, but it keeps popping up do you want to generate code every few minutes, it is annoying. I prefer to generate code when I exit the CubeMX, how to restore that configfuration?

I have most recent version STM32CubeMX, but it keeps popping up do you want to generate code every few minutes, it is annoying. I prefer to generate code when I exit the CubeMX, how to restore that configfuration?

Occasional Data Corruption in the external SDRAM in STM32F429

Hi,I run an application with stm32f429zg using freertos. An external 8Mb SDRAM from winbond (W9864G6KH-6) is used with fmc protocol. I set timing settings in stm32cubemx based on the sdram datasheet.The common clock of sdram is 72Mhz. All other setti...

0693W00000bhPdvQAE.png
MZoli.1 by Associate II
  • 1534 Views
  • 2 replies
  • 0 kudos