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.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
  • 896 Views
  • 5 replies
  • 7 kudos

SDCard Not Working (FR_NOT_READY) on CubeIDE 1.10.1

Hello Guys, Last week I tried to add an SDCard Module on my STM32L476 project and i followed this tutorial: embetronicx.com/tutorials/microcontrollers/stm32/stm32-sd-card-interfacing-with-example/I can't read the SD in fact I get back FR_NOT_READY ...

0693W00000aH53XQAS.png 0693W00000aH53XQAS.png 0693W00000aH53XQAS.png
HNefz.1 by Associate II
  • 2234 Views
  • 6 replies
  • 0 kudos

Resolved! HAL_PWREx_EnableVddA(); was not generated when enabling ADC1.

I configured ADC1 in CubeMX for a NUCLEO-U575ZI-Q board. When testing my application HAL_ADC_Enable(); returned error, RDYFLAG was not set after the timeout.When comparing my configuration to an example I discovered that HAL_PWREx_EnableVddA(); is no...

MCseh.377 by Associate II
  • 1378 Views
  • 1 replies
  • 1 kudos

Resolved! I2C not always starting up properly

I have a design with an STM32F415 MCU which has two I2C-peripherals: a CAT24AA16 serial EEPROM and a TSC2007 touch screen controller on the same I2C bus. I2C setup is standard as generated by CubeMX. I find that 90% of the time the system starts up O...

RHarte by Associate II
  • 4025 Views
  • 6 replies
  • 0 kudos

STM32CubeMX 6.8.1 and STM32CubeIDE 1.12.1 released

 STM32CubeIDE/CLT 1.12.1  was released on st.com as well as an in-tool update patch.  Aligned with STM32CubeMX v6.8.1 that is available for download .Caution: The in-tool update does not allow updating drivers and ST-LINK server tool. Full installer ...

Resolved! STM32CubeMX 6.8.1 Generate Code is freezing

I created STM32CubeMX project (.ioc) on my old Windows 10 computer, GENERATE CODE worked without any issues, and after a certain time I copy .ioc file on my new Windows 11 computer (fresh install of STM32CubeMX). When I press GENERATE CODE, IDE is fr...

PKova.1 by Associate II
  • 1592 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMx doesn't appear to be setting CSSON bit for STM32U5

I'm configuring an STM32U575 within the STM32CubeMx tool where the HSE clock is being used. I'm trying to enable the CSS for the HSE clock via the Clock Configuration menu, however enabling/disabling the CSS via this tool doesn't seem to actually set...

AGula.1 by Associate
  • 880 Views
  • 1 replies
  • 0 kudos