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

How to set 80MHZ frequency of SPI4 of STM32h745Kii

Hello I am working on stm32h745 controller, I am configuring the DAC SPI . For the DAC minimum frequency is 80 MHz. I want to set that frequency for SPI4 , but uanble to set how I can set the 80 Mhz frequency to SPI4. How can I set that if I set th...

0693W00000WI0IJQA1.png
MDeva.1 by Associate II
  • 748 Views
  • 2 replies
  • 0 kudos

MDK-ARM V5 generator uses the wrong line endings(CRLF and not LF)

I've beenm struggling against some issues related to line-ending (CRLF vs LF) and git repos shared between different developers.And I discovered that MDK-ARM V5 generator in STM32CubeMX 6.6.1 under Windows generates the uvprojx file with the wrong li...

vix by Associate II
  • 1211 Views
  • 1 replies
  • 0 kudos

Cube Interrupts and C++

I am trying to port C libraries I made using LL Libraries generated from STM32CubeMX to C++ under STM32CubeIDE and I am looking for advice on how to accomplish the following:I Created and object wich uses USART_LL Libraries and wanted to have somethi...

VLe R.1 by Associate II
  • 1616 Views
  • 3 replies
  • 1 kudos

tooltips in .ioc file view disappear or appear randomly

When having those yellow /!\-info icons beside entries, like in the picture below,it is hard to catch them by hovering over them. They pop up too short to read them. (macOS BigSur in this case, Apple mouse) How can I read what's in there?

Resolved! Bug STM32L452CEU6 Internal WakeUp using RTC using CubeMX

Hi AllI switched form a STM32L412CBU6 to a STM32L452CEU6 MCU and created therefore a new project. The enable of the Internal Wakeup with RTC is not generated anymore into the rtc.c file using CubeMX Version 6.6.1. (I'm using the option seperte .c/.h ...

michi_22 by Associate
  • 803 Views
  • 2 replies
  • 0 kudos

Resolved! [STM32F446xxx] Synchronise 6 PWM outputs

Hello,I try to synchronise 6 PWM outputs for an BLDC controller.I use 3 timers :My target is STM32F446RET6 and I'm using STM32CubeIDE.I read that I add to use master/slave mode. I'm not sure it is the best way, but I configured TIM2 (slave) as follow...

0693W00000WHjN3QAL.png 0693W00000WHjXRQA1.png 0693W00000WHjQvQAL.png
VGros.3 by Associate III
  • 920 Views
  • 2 replies
  • 0 kudos

RTC reading wrong value on STM32L4

Hi. I am using STM32L412KB for my application and internal RTC for maintaining time. I get epoch time over UART and then I call the following function to set the time.void set_rtc_time(time_t epoch_time) { rtc_time = epoch_time; struct tm *ti...

SBhon.1 by Associate III
  • 930 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX V6.6.1 HAL driver crashes, LL interface works

This is my first STM32 project and I am using an STM32F030C6T as a MODBUS slave device. I used the STM32CubeMX V6.6.1 to create a project template and STM32CubeIDE Version: 1.10.1 Build: 12716_20220707_0928 (UTC), along with an STlink interface.When ...

0693W00000VOIHgQAP.png 0693W00000VOIIjQAP.png
RMurt.3 by Associate III
  • 2561 Views
  • 9 replies
  • 0 kudos

STM32G4 comparator output can‘t disable the PWM outputs when I want to use the fault protection mechanism。Is there something wrong in STM32CubeIDE configuration?

I tried to do a lot of changes of configuration,but it didn’t work. when I use comparator output as FLT input pin,fault protection works,however it‘s used as FLT_Int signal,it always doesn’t work.Hope your kind help,Thanks!

0693W00000AOITxQAP.jpg 0693W00000AOITsQAP.jpg 0693W00000AOITiQAP.jpg 0693W00000AOITYQA5.jpg
lshan.1 by Associate II
  • 1005 Views
  • 1 replies
  • 0 kudos