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.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
  • 971 Views
  • 5 replies
  • 7 kudos

Resolved! TIM6 and TIM7 not selectable for ADC

Hallo i´m using STM32F107 and i want to choose in STMCubeMX the TIM6 for triggering the adc in specific times for measuring. My Problem is that i can´t select TIM6 for triggering. What i don´t find is why. In the manual and so on is this possibility ...

0693W000007C2VmQAK.png 0693W000007C2UjQAK.png
TSchi.1 by Associate
  • 1163 Views
  • 3 replies
  • 1 kudos

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
  • 782 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
  • 3065 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
  • 2652 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
  • 1923 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
  • 1330 Views
  • 4 replies
  • 0 kudos