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

fatfs_platform.c needs a section /* USER CODE BEGIN Includes */ and /* USER CODE END Includes */ so we can call our user defined functions in BSP_PlatformIsDetected(), otherwise when the code is regenerated the manually inserted includes are lost.

Editing C:\ST\STM32CubeIDE_1.0.2\STM32CubeIDE\plugins\com.st.stm32cube.common.mx_6.1.1.202012091304\db\templates\fatfs_platform_c.ftl #include "fatfs_platform.h" /* USER CODE BEGIN Includes */   /* USER CODE END Includes */   uint8_t BSP_PlatformIsDe...

The latest versions of CubeMx do not, on my machines, correctly generate source code for the MDK-ARM IDE. I am currently running version 6.1.1.

At the end of the code generation process a message is produced that includes the text '..but MDK-ARM V5.27 project generation have a problem' (note: does this for all versions of the Keil IDE). It generates one file only; totally wrong. This...

JCool.1 by Associate II
  • 588 Views
  • 1 replies
  • 0 kudos

Resolved! STM32PackCreator - JavaFX not found

Hello,I am not able to launch STM32PackCreator 3.1.0. The program shows "JavaFX not found" on start. I have already tried multiple versions of JDK on Manjaro Linux and Windows 10 without any success. Tested Java JDK versions on Manjaro Linux:Amazon C...

Resolved! STM32F042 RTC wont start

I seem to be unable to get the RTC to start. I can set the time, and read from it, but it doesn't increment.I have tried using the external and internal oscillator, neither have been successful. Everything has been set up with CubeMx, and I have used...

lmill.1 by Associate II
  • 2560 Views
  • 12 replies
  • 0 kudos

Where is the "stm32l5xx_hal.h"?

I made a project based on NECLEO STM32L552ZE-Q, when I made it from MX configuration tool, I found there was no "stm32l5xx_hal.h", while it was included in main.c, where could I find it?

0693W000006HUTzQAO.png
MQi.1 by Senior II
  • 2278 Views
  • 14 replies
  • 0 kudos

STM32H730VB USB HS via external ULPI PHY not available in CubeMX

MCU selector in CubeMX finds H730VB when i set requirements to USB HS and 2x FDCAN. Unfortunately, it is not possible to select external ULPI PHY in USB_OTG_HS configuration. Only internal PHY is available. When checked against datasheet, H730VB shou...

xorly by Associate II
  • 1594 Views
  • 6 replies
  • 1 kudos

How to connect the display using FSMC?

Dear professionals, please give me help if possible.I'm just starting to study the F4 series. I can't connect this display and initialize SSD1963. I'm trying to move the project from Keil to CubeIDE and from F103 to F407. I did everything (almost cor...

Wsitc.1 by Associate II
  • 1074 Views
  • 4 replies
  • 0 kudos

Resolved! Should these be these?

I found these prompt in my "main.c" of NonSecure generated by MX for NUCLEO L552ZE-Q: /* USER CODE BEGIN WHILE */ while (1) { /* USER CODE END WHILE */   /* USER CODE BEGIN 3 */ } /* USER CODE END 3 */ }should it be this? /* USER CO...

MQi.1 by Senior II
  • 766 Views
  • 4 replies
  • 0 kudos