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

Resolved! Code generation fails on ArchLinux with OpenJDK 18.0.1.1

My code generation fails with the following exception :Exception in thread "Thread-4645" java.lang.IllegalAccessError: class parsers.FromScratchParser (in unnamed module @0x6a84a97d) cannot access class com.sun.org.apache.xerces.internal.parsers.DOMP...

JPOID.1 by Associate
  • 1612 Views
  • 2 replies
  • 0 kudos

Hi STMicroelectronics! I am using your STM32F429 DISC1-DISCOVERY board. I am facing trouble to debug the code which I have generated without using HAL / Cubemax.

The program is uploaded to the board but still unable to view the printf function data on SWO. I have soldered the SB9 to view data on SWV/ SWO pin but still unable to see the printf data on ITM SWV data console.The rest jumper status are:SB4, SB6, S...

Resolved! Will GPDSC option be removed in the near future in STM32CubeMX?

I get this message whenever I try generating code with the "Other Toolchains (GPDSC)" in STM32CubeMX:The support of the “Tool chain / IDE�? you have selected will be soon discontinued in further STM32CubeMX version.If you want to benefit from further...

SMade.1 by Associate
  • 2068 Views
  • 3 replies
  • 0 kudos

Stm32-nucleo-f401re-1.44-inch-oled-st7735

I try to drive ST7735 oled display with nucleo board. I worked with a ready-made example I found on the internet, but I could not print anything to the screen. When I compile my code, I don't get any errors and my screen is getting power. Is there a ...

0693W00000NriycQAB.png
Mboyr.1 by Associate
  • 552 Views
  • 0 replies
  • 0 kudos

When I setup the RANK for the ADC I want to read TemperatureSensor, VRef, IN0, IN1. But the order appears IN1, TemperatureSensor, Vref, IN0

In the MX program I set up the rank. to scan 4 values. TemperatureSensor, VRefint, IN0, IN1.I Initially saw this in DMA mode, But see it also happens in Discontinuous Mode. But when read the order is off by 1 position. It looks like it is reading IN1...

0693W00000NrLM9QAN.png

ADC do not work with 1.10 after migration.

The clock "to ADC (MHz)" is grey in clock configuration. Don't see prescaler field in configuration. Plus it remove PLL **** configuration in main.c. /* Configure the system clock */ SystemClock_Config();   //****** This below have been remove fro...

GerHebert by Associate II
  • 1671 Views
  • 9 replies
  • 0 kudos

STM32L4R9 HAL_TIMEOUT in HAL_RCC_OscConfig

Hello, At code start-up, the function HAL_RCC_OscConfig return error HAL_TIMEOUT. I configured code with STM32CubeIDE. I am attaching clock configuration and code. Error is not repeatable, so it does not happen any time. Does anyone have an idea on h...

0693W00000Nre2jQAB.png
lukin by Associate III
  • 1481 Views
  • 4 replies
  • 0 kudos

Resolved! Error on MMC_PowerON() on STM32H7. Why?

I have SDMMC1 configured for my H7 as follows: The card is inserted. I call generated init, and set debug to the HAL_MMC_InitCard of stm32h7xx_hal_mmc.c file, line:/* Identify card operating voltage */ errorstate = MMC_PowerON(hmmc); if (errorsta...

0693W00000NrcaKQAR.png 0693W00000NrcZCQAZ.png 0693W00000NrcZRQAZ.png
HTD by Senior III
  • 802 Views
  • 1 replies
  • 0 kudos