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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 873 Views
  • 0 replies
  • 1 kudos

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
  • 1706 Views
  • 5 replies
  • 7 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
  • 2364 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
  • 720 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
KiptonM by Lead
  • 1094 Views
  • 3 replies
  • 0 kudos

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
  • 2021 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
  • 1720 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
  • 968 Views
  • 1 replies
  • 0 kudos

Resolved! UART reconnection issue

Hello!I'm receving data in UART rx, using DMA and ring buffer with idle detection, but when I disconnect and reconnect the cable in Rx the communication stops and my buffer fills up with '\0'. So, I need to resume the UART communication, how can I do...

0693W00000NrXpyQAF.png
SGonz.2 by Associate II
  • 1384 Views
  • 5 replies
  • 0 kudos