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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 2384 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
  • 1410 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
  • 1969 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
  • 1564 Views
  • 6 replies
  • 0 kudos