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

Unable to get proper QSPI output with NUCLEO-H743ZI2

Figure 1: QUADSPI General ParametersFigure 2: QSPI GPIO SettingsOS: Linux Mint 64-bit Tessa (19.1)IDE: cubeMX IDE 1.0.1code generator: cubeMX 5.2.1MCU: STM32H743ZIT6UDevBoard: NUCLEO-H743ZI2Target: FPGA (Not assembled, currently prototyping the drive...

0690X000009YarKQAS.png 0690X000009YasXQAS.png 0690X000009YatVQAS.png 0690X000009YatuQAC.png
SScot by Associate
  • 637 Views
  • 1 replies
  • 0 kudos

CubeMX compilation error in stm32f0xx_hal_irda.c

Hi,In current CubeMX (I had this problem for F0) when adding an IRDA interface there are some UART_ defines which are fogotten to be replaced by their IRDA_ counterparts in stm32f0xx_hal_irda.c.This results in a compilation error of the file stm32f0x...

MStoh by Associate
  • 405 Views
  • 0 replies
  • 0 kudos

FreeRTOS Heap - CubeMx Bug?

Dear,In CubeMx I have 3 statically allocated tasks wit stack size 256 words for each one, and also I have some Heap for dynamic allocation.My Question:Why in Cube I can not set TOTAL_HEAP_SIZE for example to 1000 (for my dynamic allocation pvPortMall...

JAN R by Associate III
  • 1935 Views
  • 6 replies
  • 0 kudos

BLE_p2pServer.ioc [v1.2.0]

Hello,There is an error during code generation in new version of FW. I wanted back to previous version, but the new STM32CubeMX is not backward compatible.There is a problem with "CFG_RTC_SYNCH_PRESCALER".So I can not generate a project.How to solve ...

0690X0000098PRAQA2.jpg 0690X0000098PRFQA2.jpg

F405 USB HID Clock Configuration

I'm trying to get a custom F405 board (open hardware from stm32duino) to run a simple HID example (https://notes.iopush.net/stm32-custom-usb-hid-step-by-step-2/). I got it running on an F103 and am trying to get it running on the F405, but it doesn't...

0690X0000098Oy3QAE.png 0690X0000098Oy8QAE.png
RBoer by Associate II
  • 805 Views
  • 2 replies
  • 0 kudos

BUG: release build missing NDEBUG define

In projects generated by CubeMX, the release build is missing predefined preprocessor symbol NDEBUG. This is part of the C/C++ standard for decades (implicitly in the assert.h specification). Lots of existing code depends on this symbol to exclude de...

CubeMX 5.0 USB OTG does not work

Two bugs; would appreciate any work-around...Use attached IOC file to replicate problems.1) Serious bug: I need to configure OTG FS with:device mode CDChost mode mass storageIf I select USB-OTG the generated setup routine MX_USB_OTG_FS_USB_Init is em...

0690X000006DoJrQAK.png