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

SO8N STM32G031C6 USART not working.

I'm trying to setup an USART for a very small MCU of the STM32G0 family, the MCU it's theoretically being programmed, but the USART is not responding, I configured the MCU just like I did in other projects (of bigger MCUs), I'm not able to find what ...

0693W00000YAa9tQAD.png 0693W00000YAaAhQAL.png
fancyrat by Associate III
  • 4363 Views
  • 18 replies
  • 1 kudos

Resolved! STM32CubeMX 6.7.0 does not configure SDMMC DMA correctly

I am having an issue similar to https://community.st.com/s/question/0D53W000027iXpbSAE/spi-dma-configuration-generated-by-stm32cubemx-does-not-work but with the SDMMC peripheral rather than SPI.I have an STM32CubeMX project targeting the 32F746GDISCO...

FPlow.1 by Associate II
  • 1123 Views
  • 2 replies
  • 0 kudos

Resolved! CAN: Clock Frequency Scaling Issues to Achieve Baud Rate

Hello,I am attempting to add CAN communication to one of my co-worker's boards, who is using the STM32F303RE MCU with an external 30 MHz crystal oscillator. The CAN communication uses the APB1 Peripheral Clock, which is currently using 30 MHz as well...

0693W00000YAiO3QAL.png
KMew by Senior III
  • 1096 Views
  • 3 replies
  • 1 kudos

Resolved! Why does CubeMX for the STM32H743i_EVAL board put the cart before the horse and completely ignore the BSP code when the SDMMCx is enabled?

Creating the project with CubeMX for the STM32H743i_EVAL board and allowing it to generate the Initializing function and call for the SDMMC1 (or 2 for that matter), generates initialization code that attempts to power up the card without checking to ...

Code is getting stuck at SystemClock_Config() function

Hello,I'm using STM32H747XIH6 MCU and I have developed the code on STM32 cube ide software 1.7.0 by generating the code in stm32 cube mx 6.5.0.I have written a simple code of GPIO toggle pin.Below is my code for clock configuration. I have connected ...

Aarra.1 by Senior
  • 3239 Views
  • 3 replies
  • 0 kudos

STM32CubeMX for STM32: Is it possible to use/set a Prefix or namespace for all functions/global variables generated by STMCubeMX C-Code Generator?

Reason for the question:We want to generate two different hardware settings (CubeMX projects) into one software program running on a STM32 controller. Then at startup, the controller finds out, which HW configuration it has to use and uses just one o...

Resolved! Timer - Conflict between ETR1 and Output Compare on CH1?

Hi,I've just tried to set up TIM2 on an STM32G0B1RE in CubeMX like this:The exact purpose shouldn't matter for this question, but the timer is supposed to generate an interrupt when a LOW pulse of a given minimum length is detected on an external sig...

0693W00000YACWKQA5.png