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

Resolved! CubeMx and configuring ADC channel(s)

Hi Guys,Im struggling in getting a good way to work with cubemx and multi channel ADC. I want to be able to only change the cubemx file whenever there is a hardware change. Currently i cannot do so because in my firmware i am using HAL_ADC_ConfigChan...

Taxara by Associate III
  • 1727 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX STM32H7 I2C Custom Timing not so Custom.

In STM32CubeMX (6.1.0) for STM32H7 the I2C parameter settings allow you to enable Custom Timing. However, the Timing parameter still remains disabled and cannot be set. I would expect that for custom timing, the user could change the Timing paramete...

DOsbo by Senior
  • 1398 Views
  • 4 replies
  • 0 kudos

LWIP PolarSSL Working example

The latest edition of Cube 6.1.1 provides config options for PolarSSL. Can anyone provide some info or working example on how to actually use it? Cannot see anything anywhere documenting the process? Thanks

RStep.2 by Associate
  • 641 Views
  • 1 replies
  • 0 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
  • 948 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
  • 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...