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

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
  • 2104 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
  • 1158 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
  • 1872 Views
  • 2 replies
  • 0 kudos

I'm trying to generate code for a STM32U558 USB device The USB initialization function MX_USB_Device_Init is empty

STM32CubeMx version 6.7.0STM32Cube_FW_U5_V1.1.1STM32Cube_FW_U5_V1.1.1\Projects\B-U585I-IOT02A\Applications\USBX\Ux_Device_HID_CDC_ACM\Ux_Device_HID_CDC_ACM.iocCopying the ioc file to a new location, double clicking and clicking "generate code" shows ...

Inbara by Associate II
  • 1461 Views
  • 6 replies
  • 0 kudos