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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1274 Views
  • 0 replies
  • 2 kudos

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
  • 4684 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

Resolved! I have used CubeMX to configure some GPIO pins for an interface to some other I/O devices. CubeMX generates initialization code for some other GPIO pins in gpio.c and main.h, but nothing for the I/O I defined.

I'm working on a project using a STM32H747XIHx dual core processor.  I believe I have the latest STM32CubeIDE and STM32CubeMX tools.  How do I configure CubeMX to generate GPIO initialization code for my I/O signals?

RGate.2 by Associate II
  • 4093 Views
  • 4 replies
  • 0 kudos

How to use usb hs in stm32f407zgt6 using usb3300?

The usb fs works fine for me, but when I try the usb hs, it gives me error_handler(). I don't know how I have to put it to make it work.My configuration:I use stm32cubeide.I don't know if my configuration is correct respect to pull up and pull down, ...

0693W00000Y7zayQAB.png 0693W00000Y7zbwQAB.png 0693W00000Y7zcaQAB.png 0693W00000Y7zd9QAB.png
IOR.1 by Associate
  • 2088 Views
  • 1 replies
  • 0 kudos

How to set the desired clock frequency(SCL) for Nucleo-f401RE (Master-Receive- Half Duplex I2S Communication with MEMS Microhone - CUI Device (Slave) ).

Hello , I am using STM Cube IDE for I2S communication between NUCLEO-F401RE and CUI MEMS microphone namely CMM-4030DT-26354-TR . I am current facing a problem to set a clock frequency for SCL pin of Nucleo board. The SCL clock frequency range for ...

smit1 by Associate
  • 3658 Views
  • 2 replies
  • 0 kudos