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
  • 272 Views
  • 3 replies
  • 5 kudos

Bug report: PLL configuration in HAL_RCC_OscConfig() returns HAL_ERROR, if HSE is configured and PLL is the system clock source

Working with the STM32F429 Discovery board and STMCube_FW_F4_V1.21.0 I've got the same problem several times.If I use the main.c provided with the application examples, the code will run into an endless loop after calling HAL_RCC_OscConfig and taking...

TS1 by Associate
  • 990 Views
  • 2 replies
  • 1 kudos

STM32L1 IWDG setup problem

Hi All,​I am using 32L100C Discovery board to develop my own project at the moment and I just need to add watch dog in my code. Everything works fine until I code generate IWDG according to the attached slides although settings are different and RCC ...

WHuan.16 by Associate II
  • 685 Views
  • 0 replies
  • 0 kudos

STM32L100 watchdog setup

Hi Everyone,I am using STM32L100RCT6 at the moment for my own personal project and I want to add watchdog function in my code especially IWDG. So I want to ask if there is any tutorial and example code I could use or does anyone has experience in set...

WHuan.16 by Associate II
  • 1159 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX Installer Java RTE

Posted on February 22, 2017 at 15:30I'm trying to install STM32CubeMX on Win10 64bit.I know I have Java Version 8 Update 121 installed and I'm sure it's working (since I'm using it).Now when I invoke SetupSTM32CubeMX-4.19.0.exe a window pops open af...

STM32CubeMX I2C Timing Register Calc Wrong?

Posted on March 30, 2018 at 00:30I was looking at the timing value that STM32CubeMX calculated for the I2C timing register in my STM32F486.  I have the I2C1 clock in at 80MHz.  I checked the data sheet and did not see a maximum value for the I2CCLK ...

Resolved! STM32CubeMX issues with STM32H743ZITx

I tried to use the STM32CubeMX to configure DAC to work with DMA which would enable me to transfer data from memory, all clocked by TIM6. I used same configuration for STM32F334 and it worked without any problems. After I never got this working, I tr...

0690X0000060R5tQAE.png
RichardS1 by Associate II
  • 1055 Views
  • 3 replies
  • 0 kudos

CubeMX and One Pulse Mode

Posted on September 28, 2017 at 11:49In STM32CubeF4 STM32F446ZE, there is a timer one pulse mode example.Setting TIM3 CH2 as input capture and CH1 as Output Compare to work as One pulse mode.(Set slave mode as trigger mode and trigger source as TI2F...

0690X00000602UmQAI.bmp 0690X00000602V0QAI.bmp
Zt Liu by Senior III
  • 1443 Views
  • 1 replies
  • 1 kudos