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
  • 329 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
  • 1361 Views
  • 5 replies
  • 7 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
  • 3739 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
  • 2781 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
  • 1562 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
  • 2107 Views
  • 2 replies
  • 0 kudos